{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"7500","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"f785a9e3-42cc-4322-956c-5d19f446a2c3","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 historical orderbook snapshots data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as end_time, limit, start_time, and retrieve structured data including continuation flag, reported count, result limit, returned pagination key field, and returned ask depth field for market reference and account inspection, and integration reference.","descriptionTranslations":{"ar":"استخدم أسواق التنبؤ والمشتقات — جلب لقطات سجل الأوامر التاريخية لسوق Kalshi API عبر OpenAny، مع تقديم end_time, start_time, ticker بصيغة طلب GET الموثقة، لدعم مرجع السوق وفحص الحسابات. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から 予測市場とデリバティブ——Kalshi マーケットの過去のオーダーブックスナップショットを取得 API を利用し、GET リクエスト形式で end_time, start_time, ticker を指定して、市場参照と口座の確認に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 预测市场与衍生品——获取 Kalshi 市场的历史订单簿快照 API，按所选实现的 GET 请求格式提供 end_time, start_time, ticker，用于市场参考和账户检查。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"f9b5ca93-c8fb-4246-8f4a-1ef3722c9dac","includedContentHtml":"","inputs":[{"description":"End time in Unix timestamp (milliseconds)","location":"query","name":"end_time","nullable":false,"required":true,"type":"integer"},{"description":"Maximum number of snapshots to return","location":"query","maximum":"2000","minimum":"1","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"Pagination key to get the next chunk of data","location":"query","name":"pagination_key","nullable":true,"required":false,"type":"string"},{"description":"Start time in Unix timestamp (milliseconds)","location":"query","name":"start_time","nullable":false,"required":true,"type":"integer"},{"description":"The Kalshi market ticker","location":"query","name":"ticker","nullable":false,"required":true,"type":"string"}],"logoUrl":"https://blockrun.ai/apple-touch-icon.png","method":"GET","name":"Prediction Markets and Derivatives — Fetch historical orderbook snapshots for a Kalshi market","nameTranslations":{"ar":"أسواق التنبؤ والمشتقات — جلب لقطات سجل الأوامر التاريخية لسوق Kalshi","ja":"予測市場とデリバティブ——Kalshi マーケットの過去のオーダーブックスナップショットを取得","zh":"预测市场与衍生品——获取 Kalshi 市场的历史订单簿快照"},"overviewHtml":"\u003ch2\u003eBlockrun Fetch historical orderbook snapshots for a Kalshi market API\u003c/h2\u003e\n\u003cp\u003eRetrieve historical orderbook snapshots for a Kalshi market with the BlockRun API. Provide end_time in query, start_time in query, ticker in query. 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: end_time, limit, pagination_key, start_time, ticker\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eblockrun · Prediction Markets and Derivatives — Fetch historical orderbook snapshots for a Kalshi market\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\u003esnapshots[].ask_depth\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned ask depth field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esnapshots[].best_ask\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned best ask field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esnapshots[].best_bid\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned best bid field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esnapshots[].bid_depth\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned bid depth 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/kalshi/orderbooks?end_time=1793450200000\u0026amp;limit=1\u0026amp;start_time=1793450140000\u0026amp;ticker=CONTROLH-2026-R\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/f9b5ca93-c8fb-4246-8f4a-1ef3722c9dac\"\u003ePublished Blockrun Fetch historical orderbook snapshots for a Kalshi market 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 end_time in query (integer); start_time in query (integer); ticker in query (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 2000; 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\u003eWhat type does end_time use?\u003c/h3\u003e\n\u003cp\u003eend_time uses the JSON type integer in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.\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-get-per-market-performance-breakdown-for-a-wallet\"\u003ePrediction Markets and Derivatives — Get per-market performance breakdown for a wallet\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-get-the-global-leaderboard-of-smart-wallets\"\u003ePrediction Markets and Derivatives — Get the global leaderboard of smart wallets\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-list-uma-oracle-questions-filtered-by-state-proposed\"\u003ePrediction Markets and Derivatives — List UMA oracle questions filtered by state (proposed, disputed, resolved, …)\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockrun/blockrun-prediction-markets-and-derivatives-fetch-historical-orderbook-snapshots-for-a-kalshi-ma?offering=f9b5ca93-c8fb-4246-8f4a-1ef3722c9dac","providerId":"blockrun","publicPath":"/v1/agent-apis/blockrun/v1/pm/kalshi/orderbooks","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Documentation example (source abbreviated)","request":{"body":null,"headers":{},"path":{},"query":{"end_time":1793450200000,"limit":1,"start_time":1793450140000,"ticker":"CONTROLH-2026-R"}},"response_body":{"pagination":{"count":1,"has_more":true,"limit":1,"pagination_key":"eyJ0aWNrZXIiOiJDT05UUk9MSC0yMDI2LVIiLCJ0aW1lc3RhbXBfbXMiOjE3OTM0NTAxNTE0NTUsInNlcXVlbmNlIjozMTc1MTYsInBvIjoxLCJzY29wZSI6eyJ0aWNrZXIiOiJDT05UUk9MSC0yMDI2LVIiLCJzdGFydF90aW1lIjoxNzkzNDUwMTQwMDAwLCJlbmRfdGltZSI6MTc5MzQ1MDIwMDAwMH19"},"snapshots":[{"ask_depth":14741232,"best_ask":7,"best_bid":6,"bid_depth":6636365,"sequence":317516,"ticker":"CONTROLH-2026-R","timestamp":1793450151455,"yes_asks":[{"price":7,"size":604687},{"price":8,"size":1093095},{"price":9,"size":401549},{"price":10,"size":608589},{"price":11,"size":212293}],"yes_bids":[{"price":6,"size":19047},{"price":5,"size":103165},{"price":4,"size":140333},{"price":3,"size":331361},{"price":2,"size":99306}]}]}}],"seoDescription":"Get historical orderbook snapshots data via REST or MCP powered by BlockRun. Pay per call, no subscription. Retrieve continuation flag and reported count.","updatedAt":"2026-12-03T02:49:53.237Z","usageInstructionsHtml":""}}