{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"7500","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"8e3cbb0b-31d1-4499-8333-3c4859dadef8","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 Query historical Polymarket trade data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as limit, order, and retrieve structured data including continuation flag, reported count, result limit, returned pagination key field, and title for market reference and account inspection, and integration reference.","descriptionTranslations":{"ar":"استخدم أسواق التنبؤ والمشتقات — الاستعلام عن بيانات تداول Polymarket التاريخية بتصفية مرنة API عبر OpenAny، مع مراجعة المدخلات المدعومة لهذا التنفيذ وبصيغة GET الموثقة، لدعم مرجع السوق وفحص الحسابات. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から 予測市場とデリバティブ — 柔軟なフィルタリングで Polymarket の履歴取引データをクエリ API を利用し、対応する入力を確認し、指定された GET リクエスト形式で、市場参照と口座の確認に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 预测市场与衍生品 — 通过灵活筛选查询 Polymarket 历史交易数据 API，请核对所选实现支持的输入，并采用已说明的 GET 请求格式，用于市场参考和账户检查。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"c3357446-948b-427c-9a78-f658c554853f","includedContentHtml":"","inputs":[{"description":"Filter by V2 builder attribution tag (bytes32 hex, 0x + 64 hex chars)","location":"query","name":"builder","nullable":true,"required":false,"type":"string"},{"description":"Filter by condition ID","location":"query","name":"condition_id","nullable":true,"required":false,"type":"string"},{"description":"Unix timestamp (seconds) for end","location":"query","name":"end_time","nullable":true,"required":false,"type":"integer"},{"description":"Number of trades to return","location":"query","maximum":"500","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 trade amount in USD","location":"query","minimum":"0.0","name":"min_total","nullable":true,"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":"Filter by order hash (bytes32 hex, 0x + 64 hex chars)","location":"query","name":"order_hash","nullable":true,"required":false,"type":"string"},{"description":"Cursor for pagination","location":"query","name":"pagination_key","nullable":true,"required":false,"type":"string"},{"description":"Unix timestamp (seconds) for start","location":"query","name":"start_time","nullable":true,"required":false,"type":"integer"},{"description":"Filter by token ID","location":"query","name":"token_id","nullable":true,"required":false,"type":"string"},{"description":"Filter by transaction hash (bytes32 hex, 0x + 64 hex chars)","location":"query","name":"tx_hash","nullable":true,"required":false,"type":"string"},{"description":"Filter by wallet address(es) — single address or comma-separated list (max 50)","location":"query","name":"wallet","nullable":true,"required":false,"type":"string"}],"logoUrl":"https://blockrun.ai/apple-touch-icon.png","method":"GET","name":"Prediction Markets and Derivatives — Query historical Polymarket trade data with flexible filtering","nameTranslations":{"ar":"أسواق التنبؤ والمشتقات — الاستعلام عن بيانات تداول Polymarket التاريخية بتصفية مرنة","ja":"予測市場とデリバティブ — 柔軟なフィルタリングで Polymarket の履歴取引データをクエリ","zh":"预测市场与衍生品 — 通过灵活筛选查询 Polymarket 历史交易数据"},"overviewHtml":"\u003ch2\u003eBlockrun Query historical Polymarket trade data with flexible filtering API\u003c/h2\u003e\n\u003cp\u003eQuery historical Polymarket trade data with flexible filtering with the BlockRun API. Review the optional inputs supported by the selected implementation. 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\u003equery: builder, condition_id, end_time, limit, market_slug, min_total, order, order_hash, pagination_key, start_time, token_id, tx_hash, wallet\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eblockrun · Prediction Markets and Derivatives — Query historical Polymarket trade data with flexible filtering\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\u003etrades[].title\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTitle\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etrades[].amount_usd\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned amount usd field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etrades[].condition_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned condition id field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etrades[].market_slug\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned market slug 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/trades?limit=1\u0026amp;order=desc\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/c3357446-948b-427c-9a78-f658c554853f\"\u003ePublished Blockrun Query historical Polymarket trade data with flexible filtering 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\u003eDoes this implementation require business input parameters?\u003c/h3\u003e\n\u003cp\u003eNo business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.\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 500; start_time is integer. 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-batch-retrieve-wallet-profiles-for-multiple-addresse\"\u003ePrediction Markets and Derivatives — Batch retrieve wallet profiles for multiple addresses\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-fetch-historical-orderbook-snapshots-for-a-predict-f\"\u003ePrediction Markets and Derivatives — Fetch historical orderbook snapshots for a Predict.Fun market\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-list-polymarket-events-with-cursor-based-keyset-pagi\"\u003ePrediction Markets and Derivatives — List Polymarket events with cursor-based keyset pagination\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockrun/blockrun-prediction-markets-and-derivatives-query-historical-polymarket-trade-data-with-flexible?offering=c3357446-948b-427c-9a78-f658c554853f","providerId":"blockrun","publicPath":"/v1/agent-apis/blockrun/v1/pm/polymarket/trades","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Documentation example (source abbreviated)","request":{"body":null,"headers":{},"path":{},"query":{"limit":1,"order":"desc"}},"response_body":{"pagination":{"count":1,"has_more":true,"limit":1,"pagination_key":"eyJ0cyI6MTc5MzQ1MDE2MywiYm4iOjk2NDk2NDcxLCJsaSI6NTAxLCJwbyI6MSwic2NvcGUiOnsiY29uZGl0aW9uX2lkIjpudWxsLCJtYXJrZXRfc2x1ZyI6bnVsbCwidG9rZW5faWQiOm51bGwsInVzZXIiOm51bGwsImJ1aWxkZXIiOm51bGwsInN0YXJ0X3RpbWUiOm51bGwsImVuZF90aW1lIjpudWxsLCJtaW5fdG90YWwiOm51bGwsIm9yZGVyIjoiZGVzYyJ9fQ=="},"trades":[{"amount_usd":1.92,"condition_id":"0x54a1bfbab3a9ebd2761ec2bc5f06b6c7b03aa06eae0de40f25c2bcfec1723673","market_slug":"cfb-minnst-ind-2026-10-31-spread-home-20pt5","price":0.48,"shares":4000000,"shares_normalized":4,"side":"BUY","title":"Spread: Indiana (-20.5)","token_id":"42356562910850310722772587374429042669248036407566323679593011382225452967645","tx_hash":"0x981e7d8e91981618b7ca078ccdb0f595233f1b2195be54028408f2d36f0da83b"}]}}],"seoDescription":"Get Query historical Polymarket trade data via REST or MCP powered by BlockRun. Pay per call, no subscription. Get structured JSON with one API key.","updatedAt":"2026-12-03T02:49:53.057Z","usageInstructionsHtml":""}}