{"uid":"cap_sLTtZyaIR1o1Nhcq6uIDI","slug":"madeonsol-com-open-positions-endpoint-93197551","name":"madeonsol.com Open Positions Endpoint","description":"Open positions only — lighter slice of /pnl, shares the same cache","url":"https://madeonsol.com/api/x402/wallet/2FxiPRPLYX3H84FZkdRiUHDgDm4U5u98etbL4yvZ3qRq/positions","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PVDy-aWJiqxxYZ9cbhUiC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns only the currently open positions for a given Solana wallet address, as a lightweight slice of the full PnL data","exampleAgentPrompt":"What open positions is wallet 2FxiPRPLYX3H84FZkdRiUHDgDm4U5u98etbL4yvZ3qRq currently holding on Solana — just the active ones, not the closed trades?","exampleUseCases":[{"title":"Real-time portfolio monitoring dashboard","prompt":"Can you pull the open positions for wallet 9B5X2a1bK9vJ3mL7cQ2wR5sT8uY6pZ4nM1oE3hF6gA8 and tell me which tokens they're actively holding right now?"},{"title":"Risk assessment for trading counterparty","prompt":"I need to quickly check what open positions wallet 7cK8mQ1vJ9sB2rT5pL3wX6yZ4nM8hF1cE7dG2kA9u is currently exposed to before we engage with them."},{"title":"Unrealized PnL snapshot for performance review","prompt":"Show me just the active trades for wallet 5hL2jM4bP8rY1qT9sN3vW6uX7cZ2kE1aD5fG3hJ8m — I want to see their unrealized gains and losses on everything they haven't closed yet."}],"resultDescription":"A list of currently open positions for the specified Solana wallet, including unrealized PnL and position details, drawn from a cached lightweight slice of the full PnL dataset.","failureModes":["Invalid or malformed wallet address returns an error or empty result","Wallet with no open positions returns an empty positions list","Cache staleness may cause slightly delayed position data","Network or payment failure for x402 $0.01 USDC charge prevents response"],"whenToPreferThis":"Use this endpoint when you only need open/active positions for a Solana wallet and want a faster, cheaper response than the full /pnl endpoint. It shares the same cache as the full PnL endpoint but returns a lighter payload. Ideal for real-time monitoring of active trades without the overhead of historical closed position data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:35:41.990Z","isFirstParty":false}