{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"7500","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"87e28d30-c250-4d56-9f3d-d5b5680d7d4d","catalogType":"api","categories":["finance"],"dataPlatform":"BlockRun","dataPlatformLogoUrl":"https://blockrun.ai/apple-touch-icon.png","dataPlatformTranslations":{"ar":"BlockRun","ja":"BlockRun","zh":"BlockRun"},"dataProduct":"prediction","description":"Get Blockrun Get open and historical positions for a wallet address data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as limit, and retrieve structured data including continuation flag, reported count, result limit, returned pagination key field, and returned current field for market reference and account inspection, and integration reference.","descriptionTranslations":{"ar":"استخدم أسواق التنبؤ والمشتقات — الحصول على المراكز المفتوحة والتاريخية لعنوان محفظة معين API عبر OpenAny، مع تقديم wallet بصيغة طلب GET الموثقة، لدعم مرجع السوق وفحص الحسابات. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から 予測市場とデリバティブ — ウォレットアドレスのオープンポジションと過去のポジションを取得 API を利用し、GET リクエスト形式で wallet を指定して、市場参照と口座の確認に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 预测市场与衍生品——获取某钱包地址的当前持仓和历史持仓 API，按所选实现的 GET 请求格式提供 wallet，用于市场参考和账户检查。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"f55963ec-87b1-4ad1-aad7-a443b799095e","includedContentHtml":"","inputs":[{"description":"Wallet address whose public data is queried.","location":"path","name":"wallet","nullable":false,"required":true,"type":"string"},{"description":"Filter to a specific market by condition ID","location":"query","name":"condition_id","nullable":true,"required":false,"type":"string"},{"description":"Include zero-balance (closed) positions","location":"query","name":"include_closed","nullable":false,"required":false,"type":"boolean"},{"description":"Maximum number of positions to return (1-200)","location":"query","maximum":"200","minimum":"1","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"Filter by market slug","location":"query","name":"market_slug","nullable":true,"required":false,"type":"string"},{"description":"Minimum number of shares to include","location":"query","minimum":"0.0","name":"min_shares","nullable":false,"required":false,"type":"number"},{"description":"Sort order: asc or desc","enum_values":["asc","desc"],"location":"query","name":"order","nullable":false,"required":false,"type":"string"},{"description":"Cursor for pagination","location":"query","name":"pagination_key","nullable":true,"required":false,"type":"string"},{"description":"Field to sort by","enum_values":["value","unrealized_pnl","realized_pnl","cost","avg_price","current_price","entry_date"],"location":"query","name":"sort_by","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://blockrun.ai/apple-touch-icon.png","method":"GET","name":"Prediction Markets and Derivatives — Get open and historical positions for a wallet address","nameTranslations":{"ar":"أسواق التنبؤ والمشتقات — الحصول على المراكز المفتوحة والتاريخية لعنوان محفظة معين","ja":"予測市場とデリバティブ — ウォレットアドレスのオープンポジションと過去のポジションを取得","zh":"预测市场与衍生品——获取某钱包地址的当前持仓和历史持仓"},"overviewHtml":"\u003ch2\u003eBlockrun Get open and historical positions for a wallet address API\u003c/h2\u003e\n\u003cp\u003eRetrieve open and historical positions for a wallet address with the BlockRun API. Provide wallet in path. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003epath: wallet; query: condition_id, include_closed, limit, market_slug, min_shares, order, pagination_key, sort_by\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eblockrun · Prediction Markets and Derivatives — Get open and historical positions for a wallet address\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eFollow the selected implementation pricing, billing unit, quantity and charge rules\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eMarket reference and account inspection\u003c/strong\u003e: Keep market, asset and account identities distinct when interpreting records.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIntegration reference\u003c/strong\u003e: Use the selected request format and keep source identifiers with the returned result.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epagination.has_more\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eContinuation flag\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epagination.count\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epagination.limit\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eResult limit\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epagination.pagination_key\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned pagination key field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epositions[].current\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned current field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epositions[].market\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned market field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epositions[].pnl\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned pnl field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epositions[].position\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned position field\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the supported inputs and set any required query value shown in the template.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl \\\n  \u0026#39;https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/wallet/positions/0x2c335066fe58fe9237c3d3dc7b275c2a034a0563?limit=1\u0026#39; \\\n  -X GET \\\n  -H \u0026#34;Authorization: Bearer $OPENANY_API_KEY\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/f55963ec-87b1-4ad1-aad7-a443b799095e\"\u003ePublished Blockrun Get open and historical positions for a wallet address API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich inputs identify this request?\u003c/h3\u003e\n\u003cp\u003eProvide wallet in path (string). Keep identifiers and URLs in the formats documented for this implementation.\u003c/p\u003e\n\u003ch3\u003eWhich pagination or result-size inputs are exposed?\u003c/h3\u003e\n\u003cp\u003elimit is integer with minimum 1 and maximum 200. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.\u003c/p\u003e\n\u003ch3\u003eWhich values can I use for order?\u003c/h3\u003e\n\u003cp\u003eThe selected schema accepts asc, desc. Keep the documented string type and exact spelling for this input.\u003c/p\u003e\n\u003ch3\u003eWhere do URL parameters belong?\u003c/h3\u003e\n\u003cp\u003eUse the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-bulk-identity-lookup-for-up-to-200-wallet-addresses\"\u003ePrediction Markets and Derivatives — Bulk identity lookup for up to 200 wallet addresses (POST body: {addresses: [..]})\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-get-current-uma-oracle-status-and-event-timeline-for\"\u003ePrediction Markets and Derivatives — Get current UMA oracle status and event timeline for a single market\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-get-historical-orderbook-snapshots-for-a-token\"\u003ePrediction Markets and Derivatives — Get historical orderbook snapshots for a token\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockrun/blockrun-prediction-markets-and-derivatives-get-open-and-historical-positions-for-a-wallet-addre?offering=f55963ec-87b1-4ad1-aad7-a443b799095e","providerId":"blockrun","publicPath":"/v1/agent-apis/blockrun/v1/pm/polymarket/wallet/positions/{wallet}","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Documentation example (source abbreviated)","request":{"body":null,"headers":{},"path":{"wallet":"0x2c335066fe58fe9237c3d3dc7b275c2a034a0563"},"query":{"limit":1}},"response_body":{"pagination":{"count":1,"has_more":true,"limit":1,"pagination_key":"eyJzdiI6MTMyNjc4LjI4OTQ4Nzk5OTQ2LCJ0aWQiOiI1NDUzMzU2OTUyODkyNzA4MjQzMDEzMzA0NzU1Njg0OTYwMDUxMTk4NTE5MTE1ODkyNzQ3NzUzMzEyNDYzMDMwMTkzNDQ4OTQ5ODUzMCIsInNjb3BlIjp7ImluY2x1ZGVfY2xvc2VkIjpmYWxzZSwibWluX3NoYXJlcyI6MC4wLCJjb25kaXRpb25faWQiOm51bGwsInNvcnRfYnkiOiJ2YWx1ZSIsIm9yZGVyIjoiZGVzYyJ9fQ=="},"positions":[{"current":{"price":0.5766993234822859,"value_usd":132678.28948799946},"market":{"condition_id":"0x7586a96520578acaaaa4ea84a2582f197f84255da1f3392a7aa300386c187b37","market_slug":"will-benjamin-netanyahu-be-the-next-prime-minister-of-israel","side":"NO","side_label":"No","status":"open","title":"Will Benjamin Netanyahu be the next Prime Minister of Israel?","token_id":"54533569528927082430133047556849600511985191158927477533124630301934489498530"},"pnl":{"realized_usd":0,"unrealized_pct":-15.066873909095403,"unrealized_usd":-23536.718241720548},"position":{"avg_entry_price":0.679004,"net_fees_usd":0,"shares":230064.93,"total_bought_usd":156215.1557,"total_cost_usd":156215.00772972,"total_shares_bought":230065.14792254538}}],"summary":{"fees_paid":2685107.875564,"fees_refunded":0,"losing_positions":8245,"total_cost_usd":4021065.007139276,"total_positions":413,"total_realized_pnl_usd":-3517125.383922001,"total_unrealized_pnl_usd":-3542163.433746994,"total_value_usd":478901.57339228224,"win_rate":0.5425036067029186,"winning_positions":9777},"wallet_address":"0x2c335066fe58fe9237c3d3dc7b275c2a034a0563"}}],"seoDescription":"Get Blockrun Get open and historical positions via REST or MCP powered by BlockRun. Pay per call, no subscription. Get structured JSON with one API key.","updatedAt":"2026-12-03T02:49:54.625Z","usageInstructionsHtml":""}}