{"uid":"cap_3rlFb43_8ygz3_4TtEs1F","slug":"market2000-trading-portfolio-e0af205e","name":"Market2000 Trading Portfolio","description":"Trading Portfolio — the book as it stands right now.\n\nEvery open position with its size, entry, live mark and unrealized PnL, plus total account equity. Real fills on a real venue, not a delayed report.\n\nHOW TO CALL:\n  GET /trading/portfolio\n\nRESPONSE:\n  account_value_usd  — total equity in USD\n  open_positions     — [{asset, side, size, entry_price, mark_price, unrealized_pnl}]\n\nPRICING: $0.0001 per call.","url":"https://api.market2000.xyz/trading/portfolio","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FGU5BLw7Nu9cXBXxsUVzk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current state of a live trading account, including all open positions with size, entry price, mark price, and unrealized PnL, plus total account equity in USD.","exampleAgentPrompt":"Show me my current trading portfolio — all open positions with their sizes, entry prices, live mark prices, and unrealized PnL, plus my total account equity in USD.","exampleUseCases":[{"title":"Live PnL check during volatile market","prompt":"What's my current unrealized PnL on all open positions right now? I want to see each asset, which side I'm on, and how much I'm up or down at the live mark price."},{"title":"Account equity snapshot before placing new trade","prompt":"Before I put on another position, can you tell me what my total account equity is and what I'm already holding in my trading book?"},{"title":"Automated portfolio monitoring alert","prompt":"Check my trading portfolio every few minutes and let me know if my total unrealized PnL drops below negative $500 or if any single position moves more than 5% against my entry."}],"resultDescription":"A JSON object containing total account equity in USD (account_value_usd) and an array of open positions, each with fields: asset (e.g. BTC, ETH), side (long/short), size, entry_price, mark_price, and unrealized_pnl. Data reflects real fills on a live trading venue, not delayed or simulated data.","failureModes":["No open positions returns an empty open_positions array — not an error","Authentication or authorization failure if the API key does not have access to the account","Stale mark prices if the venue experiences latency or connectivity issues","Network errors or timeouts if the API server is unreachable","Invalid endpoint path returns a 404 response"],"whenToPreferThis":"Use this endpoint when you need a real-time, live snapshot of an active trading account's positions and equity — especially when decisions depend on current mark prices and unrealized PnL rather than historical or delayed data. Prefer this over exchange REST APIs when you need a single unified portfolio view already aggregated by market2000.xyz. Best suited for agents that need to monitor, alert on, or reason about live trading exposure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:30:25.446Z","isFirstParty":false}