{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"abe4297d-04db-4662-8e94-3bbe0551e2e3","catalogType":"api","categories":["finance"],"dataPlatform":"BlockRun","dataPlatformLogoUrl":"https://blockrun.ai/apple-touch-icon.png","dataPlatformTranslations":{"ar":"BlockRun","ja":"BlockRun","zh":"BlockRun"},"dataProduct":"market","description":"Get Blockrun Market Data — Crypto OHLC History data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as from, resolution, to, and retrieve structured data including returned c field, returned h field, returned l field, returned o field, and returned t field for market reference and account inspection, and integration reference.","descriptionTranslations":{"ar":"استخدم بيانات السوق — تاريخ OHLC للعملات المشفرة API عبر OpenAny، مع تقديم symbol, from بصيغة طلب GET الموثقة، لدعم مرجع السوق وفحص الحسابات. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から マーケットデータ — 暗号資産 OHLC 履歴 API を利用し、GET リクエスト形式で symbol, from を指定して、市場参照と口座の確認に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 市场数据 — 加密货币 OHLC 历史 API，按所选实现的 GET 请求格式提供 symbol, from，用于市场参考和账户检查。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"c8db41ce-57b0-435a-a662-f7dd470c4e92","includedContentHtml":"","inputs":[{"description":"Asset symbol in the format verified for this operation. List coverage may exceed free price coverage; not every listed symbol can be queried.","location":"path","name":"symbol","nullable":false,"required":true,"type":"string"},{"description":"History start time in Unix seconds, not milliseconds.","location":"query","name":"from","nullable":false,"required":true,"type":"integer"},{"description":"Bar resolution. Common values: 1, 5, 15, 60, 240, D, W.","enum_values":["1","5","15","60","240","D","W","M"],"location":"query","name":"resolution","nullable":false,"required":false,"type":"string"},{"description":"The web documentation and OpenAPI enums conflict. Free non-stock examples omit this parameter rather than choose an unverified enum.","location":"query","name":"session","nullable":false,"required":false,"type":"string"},{"description":"End unix timestamp (seconds). Defaults to now.","location":"query","name":"to","nullable":false,"required":false,"type":"integer"}],"logoUrl":"https://blockrun.ai/apple-touch-icon.png","method":"GET","name":"Market Data — Crypto OHLC History","nameTranslations":{"ar":"بيانات السوق — تاريخ OHLC للعملات المشفرة","ja":"マーケットデータ — 暗号資産 OHLC 履歴","zh":"市场数据 — 加密货币 OHLC 历史"},"overviewHtml":"\u003ch2\u003eBlockrun Market Data — Crypto OHLC History API\u003c/h2\u003e\n\u003cp\u003eRetrieve market Data Crypto OHLC History with the BlockRun API. Provide symbol in path, from 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\u003epath: symbol; query: from, resolution, session, to\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eblockrun · Market Data — Crypto OHLC History\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\u003ebars[].c\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned c field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebars[].h\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned h field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebars[].l\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned l field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebars[].o\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned o field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebars[].t\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned t field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebars[].v\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned v field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecategory\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned category field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edelayed\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned delayed 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/api/v1/crypto/history/BTC-USD?from=1\u0026amp;resolution=D\u0026amp;to=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/c8db41ce-57b0-435a-a662-f7dd470c4e92\"\u003ePublished Blockrun Market Data — Crypto OHLC History 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 symbol in path (string); from in query (integer). Keep identifiers and URLs in the formats documented for this implementation.\u003c/p\u003e\n\u003ch3\u003eWhich values can I use for resolution?\u003c/h3\u003e\n\u003cp\u003eThe selected schema accepts 1, 5, 15, 60, 240, D, W, M. 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\u003eHow should I map the returned fields?\u003c/h3\u003e\n\u003cp\u003eUse the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.\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-read-only-dex-0x-firm-permit2-swap-quote-with-permit2-eip712-tx-data\"\u003eRead-only DEX — 0x — Firm Permit2 swap quote with permit2.eip712 + tx data\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-read-only-dex-0x-poll-status-of-a-gasless-trade-by-tradehash-path-gasless-status-tradeh\"\u003eRead-only DEX — 0x — Poll status of a gasless trade by tradeHash. Path = /gasless/status/{tradeHash}\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-market-data-list-commodity-symbols\"\u003eMarket Data — List Commodity Symbols\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockrun/blockrun-market-data-crypto-ohlc-history?offering=c8db41ce-57b0-435a-a662-f7dd470c4e92","providerId":"blockrun","publicPath":"/v1/agent-apis/blockrun/api/v1/crypto/history/{symbol}","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{"symbol":"BTC-USD"},"query":{"from":"1793232000","resolution":"D","to":"1793404800"}},"response_body":{"bars":[{"c":77998.5,"h":81870.5,"l":77899.6,"o":81304.9,"t":1793232000,"v":76.47245},{"c":77186.4,"h":78691.6,"l":76206.6,"o":78024,"t":1793318400,"v":75.57671}],"category":"crypto","delayed":true,"free":true,"from":1793232000,"note":"Daily close, not realtime. Realtime feeds and full global coverage are available on request — contact us.","realtime":false,"resolution":"D","source":"backpack","symbol":"BTC-USD","to":1793404800}}],"seoDescription":"Get Blockrun Market Data — Crypto OHLC History data via REST or MCP powered by BlockRun. Pay per call, no subscription. Structured JSON with one API key.","updatedAt":"2026-12-03T02:49:51.078Z","usageInstructionsHtml":""}}