{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}
{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}
{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}
{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}
{
"error": "RATE_LIMITED",
"message": "Too many requests"
}
{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}
{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}
Overview
This endpoint bundles one crypto instrument’s recent price action, perpetual positioning across venues, and nearby high-impact macro releases into a single JSON response. It reads 24 hours of 5-minute candles on a Darvas aggregated pair (by default) or a single exchange, then assembles trailing price windows, hourly OHLCV bars, per-venue funding and open interest changes, and economic calendar releases.
Coverage
Details
Aggregated feed
darvas (default) aggregates candles across constituent exchanges and pulls derivatives positioning from every derivative venue in the pair
Single exchanges
okx, binance, bybit, hyperliquid, coinbase, kraken, bitstamp, deribit and bitfinex
Price windows
Trailing last_1h, last_4h, and last_24h changes, highs, lows, and timestamps built from 288 five-minute candles
Derivatives venues
Live funding rate and USD open interest with 1h, 4h, and 24h changes on okx, binance, bybit, and hyperliquid (perpetual swaps only)
Macro window
High-impact releases from 24 hours before to 48 hours after observed_at (up to 15 past and 15 upcoming)
Optional flags
include_hourly_bars (true default, or false) and include_macro (true default, or false)
Each section fails independently so a single slow feed does not block the full market brief.
price and windows.price reports the latest 5-minute candle close (last), open timestamp (time, time_milliseconds), bar_interval ("5m"), and last_bar_closed. windows returns last_1h, last_4h, and last_24h, each with from, to, bars, change_percent, high, high_time, low, and low_time.
hourly_bars. Up to 25 UTC hourly OHLCV bars rolled up from the 5-minute series, oldest first. Pass include_hourly_bars=false to return null and shrink the payload.
derivatives. Populated when market_type is swap, and null for spot, futures, or options. Contains total_open_interest_usd (sum of venues that answered) and a venues array with funding_rate, next_funding_rate, next_funding_time, funding_interval_hours, open_interest_usd, open_interest_time, and open_interest_change_pct_1h, _4h, and _24h. On hyperliquid, open interest history is not published so the three OI change fields are null. On exchange=darvas, passing venues filters both the candles and the derivatives.venues list; sending venues with a single exchange returns 400.
macro. High-impact releases from the economic calendar with event_name, currency, country_name, importance, release_at, released, actual, forecast, and previous. Returns null when include_macro=false or when the calendar store is unavailable.
import osimport requestsheaders = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}ctx = requests.get( "https://api.darvas.app/v1/crypto/context", headers=headers, params={"ticker": "BTC-USDT-SWAP", "exchange": "darvas"},).json()print("Last:", ctx["price"]["last"], "24h %:", ctx["windows"]["last_24h"]["change_percent"])print("Total OI USD:", ctx["derivatives"]["total_open_interest_usd"])for v in ctx["derivatives"]["venues"]: print(" ", v["exchange"], "funding:", v["funding_rate"], "OI 24h %:", v["open_interest_change_pct_24h"])print("Upcoming high-impact events:", len([r for r in ctx["macro"]["releases"] if not r["released"]]))
# Compact ETH perpetual context without hourly bars or macro events, limited to Binance and OKXcurl -H "X-API-KEY: $DARVAS_API_KEY" \ "https://api.darvas.app/v1/crypto/context?ticker=ETH-USDT-SWAP&exchange=darvas&venues=binance,okx&include_hourly_bars=false&include_macro=false"
Authorizations
apiKeybearerKey
X-API-KEY
string
header
required
A Darvas data API key: dvk_ and 43 characters.
Query Parameters
ticker
string
required
The instrument id: BTC-USDT or BTC-USDT-SWAP on OKX, ETH-USDC-SWAP on Hyperliquid, BTC-USD on Coinbase, spot:BTCUSDT or perpetual:BTCUSDT on Binance and Bybit. A Binance or Bybit symbol such as BTCUSDT also works with market_type, spot without it. A Darvas aggregated pair is BASE-QUOTE or BASE-QUOTE-SWAP, such as BTC-USDT-SWAP, or BTC-ALLUSD for one combining its USD, USDT and USDC markets.
Maximum string length: 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$
exchange
enum<string>
default:darvas
The exchange whose pairs or instrument to read, or darvas for Darvas's aggregated pairs; darvas without it.
Available options:
darvas,
okx,
binance,
bybit,
hyperliquid,
coinbase,
kraken,
bitstamp,
deribit,
bitfinex
market_type
enum<string>
spot, swap, futures or option; without it, the type the id implies.
Available options:
spot,
swap,
futures,
option
venues
string
With exchange darvas: combine only these of the pair's exchanges, comma-separated. Any other exchange refuses it.
With exchange darvas: every exchange the pair of the context combines. Absent for one exchange.
Maximum array length: 16
Maximum string length: 32
Pattern: ^[a-z0-9][a-z0-9-]{0,31}$
Example:
["binance", "bybit", "okx"]
venues
string[] | null
With exchange darvas: the exchanges the context's candles combine when venues narrowed them, null when they combine all of them. Absent for one exchange.
Maximum array length: 16
Maximum string length: 32
Pattern: ^[a-z0-9][a-z0-9-]{0,31}$
Example:
null
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Darvas","description":"Darvas financial data API docs: SEC filings, statements, 13F, stock, macro, crypto, DeFi and prediction market data, an MCP server and Pine Script.","colors":{"primary":"#171717","light":"#ffffff","dark":"#000000"},"logo":{"light":"https://mintcdn.com/darvas/Na2K1B20UdMWYBqp/logo/light.svg?fit=max\u0026auto=format\u0026n=Na2K1B20UdMWYBqp\u0026q=85\u0026s=cc77f05ba014bdbbcad50ccecd61ac95","dark":"https://mintcdn.com/darvas/Na2K1B20UdMWYBqp/logo/dark.svg?fit=max\u0026auto=format\u0026n=Na2K1B20UdMWYBqp\u0026q=85\u0026s=ba0bf43439049392b2691e1edf56a4e3","href":"https://darvas.app"},"favicon":"https://mintcdn.com/darvas/xg8jC7HCoz4AUtfx/favicon.svg?fit=max\u0026auto=format\u0026n=xg8jC7HCoz4AUtfx\u0026q=85\u0026s=20122e133664fd875819b4e1642c5ba2","api":{"playground":{"display":"none"},"examples":{"defaults":"required","languages":["curl","python","javascript"]}},"appearance":{"default":"system","strict":false},"background":{"color":{"light":"#ffffff","dark":"#000000"}},"navbar":{"links":[{"href":"mailto:support@darvas.app","label":"Support"}],"primary":{"type":"button","label":"Open Darvas","href":"https://darvas.app/terminal"}},"footer":{"socials":{"x":"https://x.com/askdarvas","github":"https://github.com/cberktavsan/darvas-docs"}},"seo":{"metatags":{"twitter:site":"@askdarvas"},"organization":{"name":"Darvas","url":"https://darvas.app","sameAs":["https://x.com/askdarvas","https://github.com/cberktavsan/darvas-docs"]},"indexing":"navigable"},"fonts":{"family":"Inter"},"styling":{"latex":false},"contextual":{"options":["copy","view","claude","chatgpt","perplexity","grok","aistudio","devin","mcp","add-mcp","cursor","vscode","windsurf","devin-mcp",{"title":"Connect the Financial Data MCP","description":"Add https://api.darvas.app/mcp to your agent with your API key","icon":"server","href":"https://docs.darvas.app/mcp-server"},"download-spec"],"display":"header"},"markdown":{"instructions":["These docs cover the Darvas financial data API, its MCP server, data API and Darvas Pro+ webhooks, and Pine Script custom indicators for Darvas charts.","https://docs.darvas.app/llms.txt lists every indexed page with a summary, and https://docs.darvas.app/llms-full.txt holds them in one file. Add .md to any page URL to read that page as Markdown. The lookup lists of tickers, types and series are named at https://docs.darvas.app/ai-agents.","The docs MCP server https://docs.darvas.app/mcp searches and reads these docs. It needs no key.","Call the REST API at https://api.darvas.app/v1. Send the API key, which starts with dvk_, in the X-API-KEY header or as Authorization: Bearer. The OpenAPI 3.1 spec of all 168 operations is https://docs.darvas.app/openapi.yaml.","Name a company by ticker or cik. A share class takes a dot or a dash, so BRK.B and BRK-B name the same shares. Dates are YYYY-MM-DD.","A list answer holds one page. Request its next_page_url as it is until the answer has none. limit counts rows across all pages.","Errors are JSON with a stable error code and a message: 400 VALIDATION_ERROR, 401 UNAUTHORIZED, 403 PLAN_REQUIRED, 404 NOT_FOUND, 429 RATE_LIMITED or QUOTA_EXCEEDED, 500 INTERNAL_ERROR and 503 UNAVAILABLE. On a 429, wait the seconds in Retry-After. 1 credit = 1 successful call: a 2xx answer with data costs one credit however many rows it holds (at most 1,000 a page), and empty answers, errors and FINRA /short-volume cost 0 credits.","The Financial Data MCP server is https://api.darvas.app/mcp (Streamable HTTP, protocol 2025-11-25, the same API key in X-API-KEY or as a Bearer token). tools/list answers 8 flagship tools plus search_data_tools and call_data_tool by default; ?mode=full lists all 164 tools and ?toolsets=sec,crypto,macro lists domains. Every tool is callable by name, takes response_format (json, compact or tsv) and fields, and a list answer's cursor value goes in the cursor argument. The darvas://catalog/* resources cost 0 credits. Setup for each client is at https://docs.darvas.app/mcp-server.","The data API covers SEC filers and their filings, statements, XBRL facts, debt maturities, ownership and earnings, US stock prices, technicals and FINRA short volume, macro series and a global economic calendar.","Its crypto data covers prices, indices, order books, order flow, volume profiles, derivatives, options, liquidations, spot ETF flows and a screener across 9 exchanges. It also covers DeFi protocols, stablecoins, yields and DEX pairs, and Polymarket, Kalshi and OKX prediction markets. https://docs.darvas.app/market-coverage gives the history and update time of each dataset.","https://docs.darvas.app/ai-agents names the endpoint and the MCP tool that answer each kind of question about these datasets.","Custom indicators for Darvas charts are Pine Script v5 or v6 indicator() or strategy() scripts. Darvas rewrites Pine v1 to v4 to v5 and runs no other indicator language. Start at https://docs.darvas.app/pine-script/introduction.","https://docs.darvas.app/pine-script/support lists the Pine Script that Darvas runs. https://docs.darvas.app/pine-script/request-security covers request.security() and request.financial(), and https://docs.darvas.app/pine-script/limits lists the run limits.","Darvas Pro+ webhooks send a signed POST for alarm fires and pauses, scheduled answers, economic calendar alerts, ETF flow updates, ended connections and the data API events. https://docs.darvas.app/pro/webhooks lists every event, its object and how to verify the Darvas-Signature header."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"darvas","hasAudioNarration":false,"actualSubdomain":"darvas","customDomains":["docs.darvas.app"],"gitSource":{"type":"github","owner":"cberktavsan","repo":"darvas-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0d34b139962319b6d1f550","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Datasets","count":131},{"language":"default","tag":"Macro \u0026 GPU Economics","count":15},{"language":"default","tag":"Crypto Derivatives","count":12},{"language":"default","tag":"Crypto Markets","count":12},{"language":"default","tag":"Ownership, Insiders \u0026 13F","count":12},{"language":"default","tag":"SEC EDGAR Filings","count":11},{"language":"default","tag":"Stocks \u0026 Short Interest","count":10},{"language":"default","tag":"Pine Script","count":9},{"language":"default","tag":"Overview","count":8},{"language":"default","tag":"Crypto Order Flow","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"div:has(>#sidebar){max-width:none!important}#navbar .max-w-8xl{max-width:none!important}#navigation-items>div+div{margin-top:0.875rem;padding-top:0.875rem;border-top:1px solid rgb(0 0 0 / 0.08)}:is(.dark,[class~=\"dark\"]) #navigation-items>div+div{border-top-color:rgb(255 255 255 / 0.1)}.tryit-button{background-color:#000000!important;border-color:#000000!important;color:#ffffff!important}.tryit-button:hover{background-color:#2a2a2a!important}.tryit-button svg{background-color:#ffffff!important}:is(.dark,[class~=\"dark\"]) .tryit-button{background-color:#ffffff!important;border-color:#ffffff!important;color:#000000!important}:is(.dark,[class~=\"dark\"]) .tryit-button:hover{background-color:#d4d4d4!important}:is(.dark,[class~=\"dark\"]) .tryit-button svg{background-color:#000000!important}.method-pill,.method-nav-pill>*{background-color:rgb(0 0 0 / 0.08)!important;color:#171717!important}:is(.dark,[class~=\"dark\"]) .method-pill,:is(.dark,[class~=\"dark\"]) .method-nav-pill>*{background-color:rgb(255 255 255 / 0.12)!important;color:#ededed!important}#content-side-layout pre,#content-side-layout pre code,#content-side-layout .whitespace-pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important}#content-side-layout pre{overflow-x:hidden!important}#content-side-layout pre code{width:auto!important;min-width:0!important}@media (min-width: 1536px){#content-side-layout,#content-side-layout>div{width:34rem!important;max-width:34rem!important}}"}]}
{"page":{"pagePath":"crypto/market-context","slug":"/crypto/market-context","pageMetadata":{"title":"Crypto Market Context API: Price, Flow \u0026 Macro","sidebarTitle":"Market context","description":"Get a single-call crypto trading brief with last price, 1H/4H/24H ranges, hourly bars, cross-venue funding and open interest deltas plus macro events.","keywords":["crypto market context API","AI agent crypto endpoint","crypto funding and OI brief","BTC market summary API","crypto macro calendar API","MCP crypto data"],"openapi":"openapi.yaml GET /crypto/context","hideApiMarker":true,"href":"/crypto/market-context"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get a single-call crypto trading brief with last price, 1H/4H/24H ranges, hourly bars, cross-venue funding and open interest deltas plus macro events.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`This endpoint bundles one crypto instrument’s recent price action, perpetual positioning across venues, and nearby high-impact macro releases into a single JSON response. It reads 24 hours of 5-minute candles on a Darvas aggregated pair (by default) or a single exchange, then assembles trailing price windows, hourly OHLCV bars, per-venue funding and open interest changes, and economic calendar releases.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Coverage`}),_jsx(_components.th,{children:`Details`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Aggregated feed`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`darvas`}),` (default) aggregates candles across constituent exchanges and pulls derivatives positioning from every derivative venue in the pair`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Single exchanges`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`okx`}),`, `,_jsx(_components.code,{children:`binance`}),`, `,_jsx(_components.code,{children:`bybit`}),`, `,_jsx(_components.code,{children:`hyperliquid`}),`, `,_jsx(_components.code,{children:`coinbase`}),`, `,_jsx(_components.code,{children:`kraken`}),`, `,_jsx(_components.code,{children:`bitstamp`}),`, `,_jsx(_components.code,{children:`deribit`}),` and `,_jsx(_components.code,{children:`bitfinex`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Price windows`}),_jsxs(_components.td,{children:[`Trailing `,_jsx(_components.code,{children:`last_1h`}),`, `,_jsx(_components.code,{children:`last_4h`}),`, and `,_jsx(_components.code,{children:`last_24h`}),` changes, highs, lows, and timestamps built from 288 five-minute candles`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Derivatives venues`}),_jsxs(_components.td,{children:[`Live funding rate and USD open interest with 1h, 4h, and 24h changes on `,_jsx(_components.code,{children:`okx`}),`, `,_jsx(_components.code,{children:`binance`}),`, `,_jsx(_components.code,{children:`bybit`}),`, and `,_jsx(_components.code,{children:`hyperliquid`}),` (perpetual swaps only)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Macro window`}),_jsxs(_components.td,{children:[`High-impact releases from 24 hours before to 48 hours after `,_jsx(_components.code,{children:`observed_at`}),` (up to 15 past and 15 upcoming)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Optional flags`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`include_hourly_bars`}),` (`,_jsx(_components.code,{children:`true`}),` default, or `,_jsx(_components.code,{children:`false`}),`) and `,_jsx(_components.code,{children:`include_macro`}),` (`,_jsx(_components.code,{children:`true`}),` default, or `,_jsx(_components.code,{children:`false`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`MCP tool`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get_crypto_market_context`}),` on the `,_jsx(_components.a,{href:`/mcp-server`,children:`data API MCP server`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-sections-and-partial-degradation`,children:`Response sections and partial degradation`}),`\n`,_jsx(_components.p,{children:`Each section fails independently so a single slow feed does not block the full market brief.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`price`}),` and `,_jsx(_components.code,{children:`windows`}),`.`]}),` `,_jsx(_components.code,{children:`price`}),` reports the latest 5-minute candle close (`,_jsx(_components.code,{children:`last`}),`), open timestamp (`,_jsx(_components.code,{children:`time`}),`, `,_jsx(_components.code,{children:`time_milliseconds`}),`), `,_jsx(_components.code,{children:`bar_interval`}),` (`,_jsx(_components.code,{children:`\"5m\"`}),`), and `,_jsx(_components.code,{children:`last_bar_closed`}),`. `,_jsx(_components.code,{children:`windows`}),` returns `,_jsx(_components.code,{children:`last_1h`}),`, `,_jsx(_components.code,{children:`last_4h`}),`, and `,_jsx(_components.code,{children:`last_24h`}),`, each with `,_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`to`}),`, `,_jsx(_components.code,{children:`bars`}),`, `,_jsx(_components.code,{children:`change_percent`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`high_time`}),`, `,_jsx(_components.code,{children:`low`}),`, and `,_jsx(_components.code,{children:`low_time`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`hourly_bars`}),`.`]}),` Up to 25 UTC hourly OHLCV bars rolled up from the 5-minute series, oldest first. Pass `,_jsx(_components.code,{children:`include_hourly_bars=false`}),` to return `,_jsx(_components.code,{children:`null`}),` and shrink the payload.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`derivatives`}),`.`]}),` Populated when `,_jsx(_components.code,{children:`market_type`}),` is `,_jsx(_components.code,{children:`swap`}),`, and `,_jsx(_components.code,{children:`null`}),` for spot, futures, or options. Contains `,_jsx(_components.code,{children:`total_open_interest_usd`}),` (sum of venues that answered) and a `,_jsx(_components.code,{children:`venues`}),` array with `,_jsx(_components.code,{children:`funding_rate`}),`, `,_jsx(_components.code,{children:`next_funding_rate`}),`, `,_jsx(_components.code,{children:`next_funding_time`}),`, `,_jsx(_components.code,{children:`funding_interval_hours`}),`, `,_jsx(_components.code,{children:`open_interest_usd`}),`, `,_jsx(_components.code,{children:`open_interest_time`}),`, and `,_jsx(_components.code,{children:`open_interest_change_pct_1h`}),`, `,_jsx(_components.code,{children:`_4h`}),`, and `,_jsx(_components.code,{children:`_24h`}),`. On `,_jsx(_components.code,{children:`hyperliquid`}),`, open interest history is not published so the three OI change fields are `,_jsx(_components.code,{children:`null`}),`. On `,_jsx(_components.code,{children:`exchange=darvas`}),`, passing `,_jsx(_components.code,{children:`venues`}),` filters both the candles and the `,_jsx(_components.code,{children:`derivatives.venues`}),` list; sending `,_jsx(_components.code,{children:`venues`}),` with a single exchange returns `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`macro`}),`.`]}),` High-impact releases from the economic calendar with `,_jsx(_components.code,{children:`event_name`}),`, `,_jsx(_components.code,{children:`currency`}),`, `,_jsx(_components.code,{children:`country_name`}),`, `,_jsx(_components.code,{children:`importance`}),`, `,_jsx(_components.code,{children:`release_at`}),`, `,_jsx(_components.code,{children:`released`}),`, `,_jsx(_components.code,{children:`actual`}),`, `,_jsx(_components.code,{children:`forecast`}),`, and `,_jsx(_components.code,{children:`previous`}),`. Returns `,_jsx(_components.code,{children:`null`}),` when `,_jsx(_components.code,{children:`include_macro=false`}),` or when the calendar store is unavailable.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Related endpoints.`}),` For deeper structure analysis, see `,_jsx(_components.a,{href:`/crypto/market-structure`,children:_jsx(_components.code,{children:`/crypto/market-structure`})}),`. For single-venue live mark price and basis, see `,_jsx(_components.a,{href:`/crypto/derivatives-snapshot`,children:_jsx(_components.code,{children:`/crypto/derivatives/snapshot`})}),`. For the full calendar filter set, see `,_jsx(_components.a,{href:`/macro/economic-calendar`,children:_jsx(_components.code,{children:`/macro/economic-calendar`})}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DARVAS_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ctx `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.darvas.app/v1/crypto/context\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ticker\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BTC-USDT-SWAP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"exchange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"darvas\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).json()`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Last:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ctx[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"24h %:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ctx[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"windows\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last_24h\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"change_percent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Total OI USD:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ctx[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"derivatives\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"total_open_interest_usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` v `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ctx[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"derivatives\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"venues\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\" \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, v[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"exchange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"funding:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, v[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"funding_rate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OI 24h %:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, v[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"open_interest_change_pct_24h\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Upcoming high-impact events:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`len`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([r `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` r `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ctx[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"macro\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"releases\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` not`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` r[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"released\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]]))`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Compact ETH perpetual context without hourly bars or macro events, limited to Binance and OKX`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$DARVAS_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.darvas.app/v1/crypto/context?ticker=ETH-USDT-SWAP\u0026exchange=darvas\u0026venues=binance,okx\u0026include_hourly_bars=false\u0026include_macro=false\"`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Crypto Market Context API: Price, Flow \u0026 Macro","sidebarTitle":"Market context","description":"Get a single-call crypto trading brief with last price, 1H/4H/24H ranges, hourly bars, cross-venue funding and open interest deltas plus macro events.","keywords":["crypto market context API","AI agent crypto endpoint","crypto funding and OI brief","BTC market summary API","crypto macro calendar API","MCP crypto data"],"openapi":"openapi.yaml GET /crypto/context","hideApiMarker":true,"href":"/crypto/market-context"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Response sections and partial degradation","slug":"response-sections-and-partial-degradation","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getCryptoMarketContext","tags":["crypto"],"summary":"Read a crypto market's context","description":"Get a single-call crypto trading brief with last price, 1H/4H/24H ranges, hourly bars, cross-venue funding and open interest deltas plus macro events.","parameters":["d63b5ec7-a04b-41fc-8d9e-4418c81cd2d6","32496027-1914-4b5b-8e5b-aac0ce7973fe","f7ccccea-710f-4e5a-aa7c-cdcbfcdd5b95","25ba3c69-c04d-4833-adc1-72adac451b1e","d2895ed1-ac6e-414d-a120-15014af106b3","23df3756-6713-40c2-b642-5b131d772151"],"responses":{"200":"ad06ed54-dc43-4133-86dc-76f33eb2ef0f","400":"5c4eb274-6ca5-4e38-9ca1-82c15a0fc478","401":"33c67e6a-1340-4405-8c40-83ea8dd84e36","403":"73ed1365-6dac-4963-87ec-8e43db1e20e6","404":"5efd75c8-ecd7-411a-9006-3e3b9304f67a","429":"48da29a7-b70b-4b33-9960-37e3f13c6636","500":"a37b24db-f607-47bd-b6aa-cdd54f1cf1ee","503":"7f4b5bbd-2633-4ead-b468-ee5227ab4cee"},"method":"get","type":"path","servers":["b5a4eca9-4129-4c18-b2fb-ddd83bca49ad","e05efeb4-dfa9-49f1-addf-6734766c7ea5"],"security":["ab04bde2-2272-40e1-a6f9-c6dace9214b5","58f312db-6a05-4694-b304-997fd491a6a6"],"path":"/crypto/context","baseUrlOptions":["https://api.darvas.app/v1","https://darvas.app/api/data/v1"],"title":"Read a crypto market's context","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d63b5ec7-a04b-41fc-8d9e-4418c81cd2d6":{"name":"ticker","in":"query","required":true,"description":"The instrument id: BTC-USDT or BTC-USDT-SWAP on OKX, ETH-USDC-SWAP on Hyperliquid, BTC-USD on Coinbase, spot:BTCUSDT or perpetual:BTCUSDT on Binance and Bybit. A Binance or Bybit symbol such as BTCUSDT also works with market_type, spot without it. A Darvas aggregated pair is BASE-QUOTE or BASE-QUOTE-SWAP, such as BTC-USDT-SWAP, or BTC-ALLUSD for one combining its USD, USDT and USDC markets.","schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$","maxLength":64,"isRequired":true,"description":"The instrument id: BTC-USDT or BTC-USDT-SWAP on OKX, ETH-USDC-SWAP on Hyperliquid, BTC-USD on Coinbase, spot:BTCUSDT or perpetual:BTCUSDT on Binance and Bybit. A Binance or Bybit symbol such as BTCUSDT also works with market_type, spot without it. A Darvas aggregated pair is BASE-QUOTE or BASE-QUOTE-SWAP, such as BTC-USDT-SWAP, or BTC-ALLUSD for one combining its USD, USDT and USDC markets.","uniqueKey":"","typeLabel":"string"},"example":"BTC-USDT"},"32496027-1914-4b5b-8e5b-aac0ce7973fe":{"name":"exchange","in":"query","required":false,"description":"The exchange whose pairs or instrument to read, or darvas for Darvas's aggregated pairs; darvas without it.","schema":{"type":"string","enum":["darvas","okx","binance","bybit","hyperliquid","coinbase","kraken","bitstamp","deribit","bitfinex"],"default":"darvas","isRequired":false,"description":"The exchange whose pairs or instrument to read, or darvas for Darvas's aggregated pairs; darvas without it.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"darvas"},"f7ccccea-710f-4e5a-aa7c-cdcbfcdd5b95":{"name":"market_type","in":"query","required":false,"description":"spot, swap, futures or option; without it, the type the id implies.","schema":{"type":"string","enum":["spot","swap","futures","option"],"isRequired":false,"description":"spot, swap, futures or option; without it, the type the id implies.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"spot"},"25ba3c69-c04d-4833-adc1-72adac451b1e":{"name":"venues","in":"query","required":false,"description":"With exchange darvas: combine only these of the pair's exchanges, comma-separated. Any other exchange refuses it.","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,31}(,[a-z0-9][a-z0-9-]{0,31}){0,15}$","maxLength":528,"isRequired":false,"description":"With exchange darvas: combine only these of the pair's exchanges, comma-separated. Any other exchange refuses it.","uniqueKey":"","typeLabel":"string"},"example":"binance,okx"},"d2895ed1-ac6e-414d-a120-15014af106b3":{"name":"include_hourly_bars","in":"query","required":false,"description":"false leaves out the day's hourly bars; true without it.","schema":{"type":"string","enum":["true","false"],"default":"true","isRequired":false,"description":"false leaves out the day's hourly bars; true without it.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"true"},"23df3756-6713-40c2-b642-5b131d772151":{"name":"include_macro","in":"query","required":false,"description":"false leaves out the macro releases; true without it.","schema":{"type":"string","enum":["true","false"],"default":"true","isRequired":false,"description":"false leaves out the macro releases; true without it.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"true"}},"responses":{"ad06ed54-dc43-4133-86dc-76f33eb2ef0f":{"description":"Read a crypto market's context: one page.","headers":{"X-RateLimit-Limit":{"description":"Requests per minute the key may send; on a 401 the limit a new key gets.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":6000},"example":60},"X-Quota-Unit":{"description":"What the quota counts: credits. One credit is one successful call that returns data.","schema":{"type":"string","enum":["credits"],"maxLength":7},"example":"credits"},"X-Credits-Used":{"description":"Credits this answer cost: one for a 2xx answer with data, however many rows it holds. An empty answer, a refusal, an error and a FINRA /short-volume answer cost 0.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":1},"X-Quota-Limit":{"description":"The plan's credits for its period plus the account's pay-as-you-go credit balance, as the request found them.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2500000},"X-Quota-Remaining":{"description":"Credits left after this answer: the plan's own first, then the credit balance.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2499999},"X-Quota-Reset":{"description":"When the plan's credits start again, or the trial ends, in seconds since 1970 (UTC). Pay-as-you-go answers leave it out: their credits never expire.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":4102444800},"example":1767225600}},"content":{"application/json":{"schema":{"type":"object","description":"The answer of GET /crypto/context.","additionalProperties":false,"required":["ticker","exchange","market_type","observed_at","price","windows","hourly_bars","derivatives","macro"],"properties":{"ticker":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$","maxLength":64,"description":"The instrument id of the context.","examples":["BTC-USDT-SWAP"],"isRequired":true,"uniqueKey":"ticker","typeLabel":"string"},"exchange":{"type":"string","enum":["darvas","okx","binance","bybit","hyperliquid","coinbase","kraken","bitstamp","deribit","bitfinex"],"description":"The exchange of the context's candles.","examples":["okx"],"isRequired":true,"uniqueKey":"exchange","typeLabel":"enum\u003cstring>"},"market_type":{"type":"string","enum":["spot","swap","futures","option"],"description":"The market of the context's candles.","examples":["swap"],"isRequired":true,"uniqueKey":"market_type","typeLabel":"enum\u003cstring>"},"observed_at":{"type":"string","format":"date-time","maxLength":30,"description":"When Darvas read the context.","examples":["2026-11-28T12:00:00.000Z"],"isRequired":true,"uniqueKey":"observed_at","typeLabel":"string\u003cdate-time>"},"price":{"type":"object","description":"The newest five-minute candle's close.","additionalProperties":false,"required":["last","time","time_milliseconds","bar_interval","last_bar_closed"],"properties":{"last":{"oneOf":[{"type":"number","format":"double","description":"The context's last price.","examples":[97811.4],"isRequired":true,"uniqueKey":"price.last.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The context's last price.","examples":[97811.4],"isRequired":true,"uniqueKey":"price.last.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"price.last","typeLabel":"number\u003cdouble> | null"},"time":{"type":"string","format":"date-time","maxLength":30,"description":"The open of the newest five-minute candle.","examples":["2026-11-28T11:55:00.000Z"],"isRequired":true,"uniqueKey":"price.time","typeLabel":"string\u003cdate-time>"},"time_milliseconds":{"type":"integer","format":"int64","minimum":0,"maximum":9999999999999,"description":"That open in Unix milliseconds.","examples":[1795866900000],"isRequired":true,"uniqueKey":"price.time_milliseconds","typeLabel":"integer\u003cint64>"},"bar_interval":{"type":"string","enum":["5m"],"description":"The candle frame the context reads.","examples":["5m"],"isRequired":true,"uniqueKey":"price.bar_interval","typeLabel":"enum\u003cstring>"},"last_bar_closed":{"type":"boolean","description":"Whether the newest five-minute candle has closed.","examples":[false],"isRequired":true,"uniqueKey":"price.last_bar_closed","typeLabel":"boolean"}},"examples":[{"last":97811.4,"time":"2026-11-28T11:55:00.000Z","time_milliseconds":1795866900000,"bar_interval":"5m","last_bar_closed":false}],"isRequired":true,"uniqueKey":"price","typeLabel":"object"},"windows":{"type":"object","description":"The trailing hour, four hours and day; null without a candle in it.","additionalProperties":false,"required":["last_1h","last_4h","last_24h"],"properties":{"last_1h":{"oneOf":[{"type":"object","description":"The hour before the last candle.","required":["from","to","bars","change_percent","high","high_time","low","low_time"],"example":{"from":"2026-11-28T11:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"properties":{"from":{"type":"string","format":"date-time","maxLength":30,"description":"The first candle of the trailing window.","examples":["2026-11-28T11:00:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.from","typeLabel":"string\u003cdate-time>"},"to":{"type":"string","format":"date-time","maxLength":30,"description":"The last candle of the trailing window.","examples":["2026-11-28T11:55:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.to","typeLabel":"string\u003cdate-time>"},"bars":{"type":"integer","format":"int32","minimum":0,"maximum":288,"description":"The candles in the trailing window.","examples":[12],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.bars","typeLabel":"integer\u003cint32>"},"change_percent":{"oneOf":[{"type":"number","format":"double","description":"From the window's first open to its last close, in percent.","examples":[0.42],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.change_percent.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"From the window's first open to its last close, in percent.","examples":[0.42],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.change_percent.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.change_percent","typeLabel":"number\u003cdouble> | null"},"high":{"oneOf":[{"type":"number","format":"double","description":"The trailing window's highest price.","examples":[97990],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.high.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The trailing window's highest price.","examples":[97990],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.high.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.high","typeLabel":"number\u003cdouble> | null"},"high_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle of the trailing window's high.","examples":["2026-11-28T11:35:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.high_time","typeLabel":"string\u003cdate-time>"},"low":{"oneOf":[{"type":"number","format":"double","description":"The trailing window's lowest price.","examples":[97302.6],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.low.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The trailing window's lowest price.","examples":[97302.6],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.low.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.low","typeLabel":"number\u003cdouble> | null"},"low_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle of the trailing window's low.","examples":["2026-11-28T11:05:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0.low_time","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"windows.last_1h.oneOf.0","typeLabel":"object"},{"type":"null","description":"The hour before the last candle.","isRequired":true,"uniqueKey":"windows.last_1h.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_1h","typeLabel":"object | null"},"last_4h":{"oneOf":[{"type":"object","description":"The four hours before the last candle.","required":["from","to","bars","change_percent","high","high_time","low","low_time"],"example":{"from":"2026-11-28T11:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"properties":{"from":{"type":"string","format":"date-time","maxLength":30,"description":"The first candle of the trailing window.","examples":["2026-11-28T11:00:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.from","typeLabel":"string\u003cdate-time>"},"to":{"type":"string","format":"date-time","maxLength":30,"description":"The last candle of the trailing window.","examples":["2026-11-28T11:55:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.to","typeLabel":"string\u003cdate-time>"},"bars":{"type":"integer","format":"int32","minimum":0,"maximum":288,"description":"The candles in the trailing window.","examples":[12],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.bars","typeLabel":"integer\u003cint32>"},"change_percent":{"oneOf":[{"type":"number","format":"double","description":"From the window's first open to its last close, in percent.","examples":[0.42],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.change_percent.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"From the window's first open to its last close, in percent.","examples":[0.42],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.change_percent.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.change_percent","typeLabel":"number\u003cdouble> | null"},"high":{"oneOf":[{"type":"number","format":"double","description":"The trailing window's highest price.","examples":[97990],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.high.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The trailing window's highest price.","examples":[97990],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.high.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.high","typeLabel":"number\u003cdouble> | null"},"high_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle of the trailing window's high.","examples":["2026-11-28T11:35:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.high_time","typeLabel":"string\u003cdate-time>"},"low":{"oneOf":[{"type":"number","format":"double","description":"The trailing window's lowest price.","examples":[97302.6],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.low.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The trailing window's lowest price.","examples":[97302.6],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.low.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.low","typeLabel":"number\u003cdouble> | null"},"low_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle of the trailing window's low.","examples":["2026-11-28T11:05:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0.low_time","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"windows.last_4h.oneOf.0","typeLabel":"object"},{"type":"null","description":"The four hours before the last candle.","isRequired":true,"uniqueKey":"windows.last_4h.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_4h","typeLabel":"object | null"},"last_24h":{"oneOf":[{"type":"object","description":"The day before the last candle.","required":["from","to","bars","change_percent","high","high_time","low","low_time"],"example":{"from":"2026-11-28T11:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"properties":{"from":{"type":"string","format":"date-time","maxLength":30,"description":"The first candle of the trailing window.","examples":["2026-11-28T11:00:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.from","typeLabel":"string\u003cdate-time>"},"to":{"type":"string","format":"date-time","maxLength":30,"description":"The last candle of the trailing window.","examples":["2026-11-28T11:55:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.to","typeLabel":"string\u003cdate-time>"},"bars":{"type":"integer","format":"int32","minimum":0,"maximum":288,"description":"The candles in the trailing window.","examples":[12],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.bars","typeLabel":"integer\u003cint32>"},"change_percent":{"oneOf":[{"type":"number","format":"double","description":"From the window's first open to its last close, in percent.","examples":[0.42],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.change_percent.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"From the window's first open to its last close, in percent.","examples":[0.42],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.change_percent.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.change_percent","typeLabel":"number\u003cdouble> | null"},"high":{"oneOf":[{"type":"number","format":"double","description":"The trailing window's highest price.","examples":[97990],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.high.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The trailing window's highest price.","examples":[97990],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.high.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.high","typeLabel":"number\u003cdouble> | null"},"high_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle of the trailing window's high.","examples":["2026-11-28T11:35:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.high_time","typeLabel":"string\u003cdate-time>"},"low":{"oneOf":[{"type":"number","format":"double","description":"The trailing window's lowest price.","examples":[97302.6],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.low.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The trailing window's lowest price.","examples":[97302.6],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.low.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.low","typeLabel":"number\u003cdouble> | null"},"low_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle of the trailing window's low.","examples":["2026-11-28T11:05:00.000Z"],"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0.low_time","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"windows.last_24h.oneOf.0","typeLabel":"object"},{"type":"null","description":"The day before the last candle.","isRequired":true,"uniqueKey":"windows.last_24h.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"windows.last_24h","typeLabel":"object | null"}},"examples":[{"last_1h":{"from":"2026-11-28T11:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"last_4h":{"from":"2026-11-28T08:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"last_24h":{"from":"2026-11-27T12:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"}}],"isRequired":true,"uniqueKey":"windows","typeLabel":"object"},"hourly_bars":{"oneOf":[{"type":"array","maxItems":25,"description":"The day as UTC hours, oldest first; null with include_hourly_bars false.","items":{"type":"object","description":"One UTC hour of the day.","additionalProperties":false,"required":["time","open","high","low","close","volume"],"properties":{"time":{"type":"string","format":"date-time","maxLength":30,"description":"The UTC hour of the context bar.","examples":["2026-11-28T11:00:00.000Z"],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].time","typeLabel":"string\u003cdate-time>"},"open":{"oneOf":[{"type":"number","format":"double","description":"The hour's first price.","examples":[97401.2],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].open.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The hour's first price.","examples":[97401.2],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].open","typeLabel":"number\u003cdouble> | null"},"high":{"oneOf":[{"type":"number","format":"double","description":"The hour's highest price.","examples":[97990],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].high.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The hour's highest price.","examples":[97990],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].high.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].high","typeLabel":"number\u003cdouble> | null"},"low":{"oneOf":[{"type":"number","format":"double","description":"The hour's lowest price.","examples":[97302.6],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].low.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The hour's lowest price.","examples":[97302.6],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].low.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].low","typeLabel":"number\u003cdouble> | null"},"close":{"oneOf":[{"type":"number","format":"double","description":"The hour's last price.","examples":[97811.4],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].close.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The hour's last price.","examples":[97811.4],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].close","typeLabel":"number\u003cdouble> | null"},"volume":{"oneOf":[{"type":"number","format":"double","description":"The amount traded in the hour, in the base currency.","examples":[1204.36],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].volume.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The amount traded in the hour, in the base currency.","examples":[1204.36],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].volume.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX].volume","typeLabel":"number\u003cdouble> | null"}},"examples":[{"time":"2026-11-28T11:00:00.000Z","open":97401.2,"high":97990,"low":97302.6,"close":97811.4,"volume":1204.36}],"uniqueKey":"hourly_bars.oneOf.0.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"hourly_bars.oneOf.0","typeLabel":"object[]"},{"type":"null","maxItems":25,"description":"The day as UTC hours, oldest first; null with include_hourly_bars false.","items":{"type":"object","description":"One UTC hour of the day.","additionalProperties":false,"required":["time","open","high","low","close","volume"],"properties":{"time":{"type":"string","format":"date-time","maxLength":30,"description":"The UTC hour of the context bar.","examples":["2026-11-28T11:00:00.000Z"]},"open":{"oneOf":[{"type":"number","format":"double","description":"The hour's first price.","examples":[97401.2]},{"type":"null","format":"double","description":"The hour's first price.","examples":[97401.2]}]},"high":{"oneOf":[{"type":"number","format":"double","description":"The hour's highest price.","examples":[97990]},{"type":"null","format":"double","description":"The hour's highest price.","examples":[97990]}]},"low":{"oneOf":[{"type":"number","format":"double","description":"The hour's lowest price.","examples":[97302.6]},{"type":"null","format":"double","description":"The hour's lowest price.","examples":[97302.6]}]},"close":{"oneOf":[{"type":"number","format":"double","description":"The hour's last price.","examples":[97811.4]},{"type":"null","format":"double","description":"The hour's last price.","examples":[97811.4]}]},"volume":{"oneOf":[{"type":"number","format":"double","description":"The amount traded in the hour, in the base currency.","examples":[1204.36]},{"type":"null","format":"double","description":"The amount traded in the hour, in the base currency.","examples":[1204.36]}]}},"examples":[{"time":"2026-11-28T11:00:00.000Z","open":97401.2,"high":97990,"low":97302.6,"close":97811.4,"volume":1204.36}]},"isRequired":true,"uniqueKey":"hourly_bars.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hourly_bars","typeLabel":"object[] | null"},"derivatives":{"oneOf":[{"type":"object","description":"Funding and open interest; null for spot.","required":["total_open_interest_usd","venues"],"example":{"total_open_interest_usd":3120440211.2,"venues":[{"exchange":"okx","ticker":"BTC-USDT-SWAP","funding_rate":0.0001,"next_funding_rate":null,"next_funding_time":"2026-11-28T16:00:00.000Z","funding_interval_hours":null,"open_interest_usd":3120440211.2,"open_interest_time":"2026-11-28T11:00:00.000Z","open_interest_change_pct_1h":0.35,"open_interest_change_pct_4h":1.12,"open_interest_change_pct_24h":-2.08}]},"properties":{"total_open_interest_usd":{"oneOf":[{"type":"number","format":"double","description":"The open interest of the exchanges that answered, in US dollars.","examples":[3120440211.2],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.total_open_interest_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The open interest of the exchanges that answered, in US dollars.","examples":[3120440211.2],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.total_open_interest_usd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.total_open_interest_usd","typeLabel":"number\u003cdouble> | null"},"venues":{"type":"array","maxItems":16,"description":"Each exchange's funding and open interest of the perpetual.","items":{"type":"object","description":"One exchange's funding and open interest of the perpetual; null where it did not answer.","additionalProperties":false,"required":["exchange","ticker","funding_rate","next_funding_rate","next_funding_time","funding_interval_hours","open_interest_usd","open_interest_time","open_interest_change_pct_1h","open_interest_change_pct_4h","open_interest_change_pct_24h"],"properties":{"exchange":{"type":"string","enum":["okx","binance","bybit","hyperliquid"],"description":"The exchange that lists the perpetual.","examples":["okx"],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].exchange","typeLabel":"enum\u003cstring>"},"ticker":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$","maxLength":64,"description":"That exchange's id of the perpetual.","examples":["BTC-USDT-SWAP"],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].ticker","typeLabel":"string"},"funding_rate":{"oneOf":[{"type":"number","format":"double","description":"The perpetual's current funding rate there, as a fraction.","examples":[0.0001],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].funding_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The perpetual's current funding rate there, as a fraction.","examples":[0.0001],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].funding_rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].funding_rate","typeLabel":"number\u003cdouble> | null"},"next_funding_rate":{"oneOf":[{"type":"number","format":"double","description":"The predicted next funding rate, where the exchange gives one.","examples":[null],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].next_funding_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The predicted next funding rate, where the exchange gives one.","examples":[null],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].next_funding_rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].next_funding_rate","typeLabel":"number\u003cdouble> | null"},"next_funding_time":{"oneOf":[{"type":"string","format":"date-time","maxLength":30,"description":"The perpetual's next funding there.","examples":["2026-11-28T16:00:00.000Z"],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].next_funding_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","maxLength":30,"description":"The perpetual's next funding there.","examples":["2026-11-28T16:00:00.000Z"],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].next_funding_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].next_funding_time","typeLabel":"string\u003cdate-time> | null"},"funding_interval_hours":{"oneOf":[{"type":"number","format":"double","description":"Hours between the perpetual's fundings, where the exchange says.","examples":[null],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].funding_interval_hours.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Hours between the perpetual's fundings, where the exchange says.","examples":[null],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].funding_interval_hours.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].funding_interval_hours","typeLabel":"number\u003cdouble> | null"},"open_interest_usd":{"oneOf":[{"type":"number","format":"double","description":"The perpetual's open interest there, in US dollars.","examples":[3120440211.2],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The perpetual's open interest there, in US dollars.","examples":[3120440211.2],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_usd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_usd","typeLabel":"number\u003cdouble> | null"},"open_interest_time":{"oneOf":[{"type":"string","format":"date-time","maxLength":30,"description":"When the exchange's open interest was read.","examples":["2026-11-28T11:00:00.000Z"],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","maxLength":30,"description":"When the exchange's open interest was read.","examples":["2026-11-28T11:00:00.000Z"],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_time","typeLabel":"string\u003cdate-time> | null"},"open_interest_change_pct_1h":{"oneOf":[{"type":"number","format":"double","description":"The open interest's change over the last hour, in percent.","examples":[0.35],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_change_pct_1h.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The open interest's change over the last hour, in percent.","examples":[0.35],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_change_pct_1h.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_change_pct_1h","typeLabel":"number\u003cdouble> | null"},"open_interest_change_pct_4h":{"oneOf":[{"type":"number","format":"double","description":"The open interest's change over the last four hours, in percent.","examples":[1.12],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_change_pct_4h.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The open interest's change over the last four hours, in percent.","examples":[1.12],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_change_pct_4h.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_change_pct_4h","typeLabel":"number\u003cdouble> | null"},"open_interest_change_pct_24h":{"oneOf":[{"type":"number","format":"double","description":"The open interest's change over the last 24 hours, in percent.","examples":[-2.08],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_change_pct_24h.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The open interest's change over the last 24 hours, in percent.","examples":[-2.08],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_change_pct_24h.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX].open_interest_change_pct_24h","typeLabel":"number\u003cdouble> | null"}},"examples":[{"exchange":"okx","ticker":"BTC-USDT-SWAP","funding_rate":0.0001,"next_funding_rate":null,"next_funding_time":"2026-11-28T16:00:00.000Z","funding_interval_hours":null,"open_interest_usd":3120440211.2,"open_interest_time":"2026-11-28T11:00:00.000Z","open_interest_change_pct_1h":0.35,"open_interest_change_pct_4h":1.12,"open_interest_change_pct_24h":-2.08}],"uniqueKey":"derivatives.oneOf.0.venues.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"derivatives.oneOf.0.venues","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"derivatives.oneOf.0","typeLabel":"object"},{"type":"null","description":"Funding and open interest; null for spot.","isRequired":true,"uniqueKey":"derivatives.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"derivatives","typeLabel":"object | null"},"macro":{"oneOf":[{"type":"object","description":"Macro releases; null with include_macro false or while the calendar is unavailable.","required":["past_hours","future_hours","releases"],"example":{"past_hours":24,"future_hours":48,"releases":[{"event_name":"Nonfarm Payrolls","currency":"USD","country_name":"United States","importance":"high","release_at":"2026-12-04T13:30:00.000Z","released":false,"actual":null,"forecast":"180K","previous":"150K"}]},"properties":{"past_hours":{"type":"integer","format":"int32","minimum":0,"maximum":168,"description":"Hours before now the macro releases cover.","examples":[24],"isRequired":true,"uniqueKey":"macro.oneOf.0.past_hours","typeLabel":"integer\u003cint32>"},"future_hours":{"type":"integer","format":"int32","minimum":0,"maximum":168,"description":"Hours after now the macro releases cover.","examples":[48],"isRequired":true,"uniqueKey":"macro.oneOf.0.future_hours","typeLabel":"integer\u003cint32>"},"releases":{"type":"array","maxItems":30,"description":"The releases, up to 15 on each side of now.","items":{"type":"object","description":"One high-impact macro release.","additionalProperties":false,"required":["event_name","currency","country_name","importance","release_at","released","actual","forecast","previous"],"properties":{"event_name":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":200,"description":"The macro release's name.","examples":["Nonfarm Payrolls"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].event_name","typeLabel":"string"},"currency":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":8,"description":"The currency the release moves.","examples":["USD"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].currency","typeLabel":"string"},"country_name":{"oneOf":[{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":80,"description":"The country that publishes the release.","examples":["United States"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].country_name.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":80,"description":"The country that publishes the release.","examples":["United States"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].country_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].country_name","typeLabel":"string | null"},"importance":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":16,"description":"The release's expected impact.","examples":["high"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].importance","typeLabel":"string"},"release_at":{"type":"string","format":"date-time","maxLength":30,"description":"When the release is published.","examples":["2026-12-04T13:30:00.000Z"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].release_at","typeLabel":"string\u003cdate-time>"},"released":{"type":"boolean","description":"Whether the release has been published.","examples":[false],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].released","typeLabel":"boolean"},"actual":{"oneOf":[{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":40,"description":"The release's published value.","examples":[null],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].actual.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":40,"description":"The release's published value.","examples":[null],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].actual.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].actual","typeLabel":"string | null"},"forecast":{"oneOf":[{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":40,"description":"The release's consensus forecast.","examples":["180K"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].forecast.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":40,"description":"The release's consensus forecast.","examples":["180K"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].forecast.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].forecast","typeLabel":"string | null"},"previous":{"oneOf":[{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":40,"description":"The release's value the time before.","examples":["150K"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].previous.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":40,"description":"The release's value the time before.","examples":["150K"],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].previous.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"macro.oneOf.0.releases.items.[INDEX].previous","typeLabel":"string | null"}},"examples":[{"event_name":"Nonfarm Payrolls","currency":"USD","country_name":"United States","importance":"high","release_at":"2026-12-04T13:30:00.000Z","released":false,"actual":null,"forecast":"180K","previous":"150K"}],"uniqueKey":"macro.oneOf.0.releases.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"macro.oneOf.0.releases","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"macro.oneOf.0","typeLabel":"object"},{"type":"null","description":"Macro releases; null with include_macro false or while the calendar is unavailable.","isRequired":true,"uniqueKey":"macro.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"macro","typeLabel":"object | null"},"constituents":{"type":"array","maxItems":16,"description":"With exchange darvas: every exchange the pair of the context combines. Absent for one exchange.","items":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,31}$","maxLength":32,"uniqueKey":"constituents.items.[INDEX]","typeLabel":"string"},"examples":[["binance","bybit","okx"]],"uniqueKey":"constituents","typeLabel":"string[]"},"venues":{"oneOf":[{"type":"array","maxItems":16,"description":"With exchange darvas: the exchanges the context's candles combine when venues narrowed them, null when they combine all of them. Absent for one exchange.","items":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,31}$","maxLength":32,"uniqueKey":"venues.oneOf.0.items.[INDEX]","typeLabel":"string"},"examples":[null],"uniqueKey":"venues.oneOf.0","typeLabel":"string[]"},{"type":"null","maxItems":16,"description":"With exchange darvas: the exchanges the context's candles combine when venues narrowed them, null when they combine all of them. Absent for one exchange.","items":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,31}$","maxLength":32},"examples":[null],"uniqueKey":"venues.oneOf.1","typeLabel":"null"}],"uniqueKey":"venues","typeLabel":"string[] | null"}},"examples":[{"ticker":"BTC-USDT-SWAP","exchange":"okx","market_type":"swap","observed_at":"2026-11-28T12:00:00.000Z","price":{"last":97811.4,"time":"2026-11-28T11:55:00.000Z","time_milliseconds":1795866900000,"bar_interval":"5m","last_bar_closed":false},"windows":{"last_1h":{"from":"2026-11-28T11:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"last_4h":{"from":"2026-11-28T08:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"last_24h":{"from":"2026-11-27T12:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"}},"hourly_bars":[{"time":"2026-11-28T11:00:00.000Z","open":97401.2,"high":97990,"low":97302.6,"close":97811.4,"volume":1204.36}],"derivatives":{"total_open_interest_usd":3120440211.2,"venues":[{"exchange":"okx","ticker":"BTC-USDT-SWAP","funding_rate":0.0001,"next_funding_rate":null,"next_funding_time":"2026-11-28T16:00:00.000Z","funding_interval_hours":null,"open_interest_usd":3120440211.2,"open_interest_time":"2026-11-28T11:00:00.000Z","open_interest_change_pct_1h":0.35,"open_interest_change_pct_4h":1.12,"open_interest_change_pct_24h":-2.08}]},"macro":{"past_hours":24,"future_hours":48,"releases":[{"event_name":"Nonfarm Payrolls","currency":"USD","country_name":"United States","importance":"high","release_at":"2026-12-04T13:30:00.000Z","released":false,"actual":null,"forecast":"180K","previous":"150K"}]}}],"uniqueKey":"","typeLabel":"object"},"example":{"ticker":"BTC-USDT-SWAP","exchange":"okx","market_type":"swap","observed_at":"2026-11-28T12:00:00.000Z","price":{"last":97811.4,"time":"2026-11-28T11:55:00.000Z","time_milliseconds":1795866900000,"bar_interval":"5m","last_bar_closed":false},"windows":{"last_1h":{"from":"2026-11-28T11:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"last_4h":{"from":"2026-11-28T08:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"last_24h":{"from":"2026-11-27T12:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"}},"hourly_bars":[{"time":"2026-11-28T11:00:00.000Z","open":97401.2,"high":97990,"low":97302.6,"close":97811.4,"volume":1204.36}],"derivatives":{"total_open_interest_usd":3120440211.2,"venues":[{"exchange":"okx","ticker":"BTC-USDT-SWAP","funding_rate":0.0001,"next_funding_rate":null,"next_funding_time":"2026-11-28T16:00:00.000Z","funding_interval_hours":null,"open_interest_usd":3120440211.2,"open_interest_time":"2026-11-28T11:00:00.000Z","open_interest_change_pct_1h":0.35,"open_interest_change_pct_4h":1.12,"open_interest_change_pct_24h":-2.08}]},"macro":{"past_hours":24,"future_hours":48,"releases":[{"event_name":"Nonfarm Payrolls","currency":"USD","country_name":"United States","importance":"high","release_at":"2026-12-04T13:30:00.000Z","released":false,"actual":null,"forecast":"180K","previous":"150K"}]}},"examples":{"Example":{"title":"Example","value":{"ticker":"BTC-USDT-SWAP","exchange":"okx","market_type":"swap","observed_at":"2026-11-28T12:00:00.000Z","price":{"last":97811.4,"time":"2026-11-28T11:55:00.000Z","time_milliseconds":1795866900000,"bar_interval":"5m","last_bar_closed":false},"windows":{"last_1h":{"from":"2026-11-28T11:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"last_4h":{"from":"2026-11-28T08:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"},"last_24h":{"from":"2026-11-27T12:00:00.000Z","to":"2026-11-28T11:55:00.000Z","bars":12,"change_percent":0.42,"high":97990,"high_time":"2026-11-28T11:35:00.000Z","low":97302.6,"low_time":"2026-11-28T11:05:00.000Z"}},"hourly_bars":[{"time":"2026-11-28T11:00:00.000Z","open":97401.2,"high":97990,"low":97302.6,"close":97811.4,"volume":1204.36}],"derivatives":{"total_open_interest_usd":3120440211.2,"venues":[{"exchange":"okx","ticker":"BTC-USDT-SWAP","funding_rate":0.0001,"next_funding_rate":null,"next_funding_time":"2026-11-28T16:00:00.000Z","funding_interval_hours":null,"open_interest_usd":3120440211.2,"open_interest_time":"2026-11-28T11:00:00.000Z","open_interest_change_pct_1h":0.35,"open_interest_change_pct_4h":1.12,"open_interest_change_pct_24h":-2.08}]},"macro":{"past_hours":24,"future_hours":48,"releases":[{"event_name":"Nonfarm Payrolls","currency":"USD","country_name":"United States","importance":"high","release_at":"2026-12-04T13:30:00.000Z","released":false,"actual":null,"forecast":"180K","previous":"150K"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"5c4eb274-6ca5-4e38-9ca1-82c15a0fc478":{"description":"A parameter is missing or malformed.","headers":{"X-RateLimit-Limit":{"description":"Requests per minute the key may send; on a 401 the limit a new key gets.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":6000},"example":60},"X-Quota-Unit":{"description":"What the quota counts: credits. One credit is one successful call that returns data.","schema":{"type":"string","enum":["credits"],"maxLength":7},"example":"credits"},"X-Credits-Used":{"description":"Credits this answer cost: one for a 2xx answer with data, however many rows it holds. An empty answer, a refusal, an error and a FINRA /short-volume answer cost 0.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":1},"X-Quota-Limit":{"description":"The plan's credits for its period plus the account's pay-as-you-go credit balance, as the request found them.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2500000},"X-Quota-Remaining":{"description":"Credits left after this answer: the plan's own first, then the credit balance.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2499999},"X-Quota-Reset":{"description":"When the plan's credits start again, or the trial ends, in seconds since 1970 (UTC). Pay-as-you-go answers leave it out: their credits never expire.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":4102444800},"example":1767225600}},"content":{"application/json":{"schema":{"type":"object","description":"A refusal or failure.","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"string","pattern":"^[A-Z_]{1,64}$","description":"A stable code.","examples":["NOT_FOUND"],"isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":500,"description":"What went wrong, in English.","examples":["No company has this ticker or CIK"],"uniqueKey":"message","typeLabel":"string"}},"examples":[{"error":"NOT_FOUND","message":"No company has this ticker or CIK"}],"uniqueKey":"","typeLabel":"object"},"example":{"error":"VALIDATION_ERROR","message":"Send ticker or cik"},"examples":{"Example":{"title":"Example","value":{"error":"VALIDATION_ERROR","message":"Send ticker or cik"}}},"exampleType":"examples"}},"exampleType":"examples"},"33c67e6a-1340-4405-8c40-83ea8dd84e36":{"description":"The API key is missing, unknown or revoked.","headers":{"X-RateLimit-Limit":{"description":"Requests per minute the key may send; on a 401 the limit a new key gets.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":6000},"example":60},"X-Quota-Unit":{"description":"What the quota counts: credits. One credit is one successful call that returns data.","schema":{"type":"string","enum":["credits"],"maxLength":7},"example":"credits"},"X-Credits-Used":{"description":"Credits this answer cost: one for a 2xx answer with data, however many rows it holds. An empty answer, a refusal, an error and a FINRA /short-volume answer cost 0.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":1},"X-Quota-Limit":{"description":"The plan's credits for its period plus the account's pay-as-you-go credit balance, as the request found them.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2500000},"X-Quota-Remaining":{"description":"Credits left after this answer: the plan's own first, then the credit balance.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2499999},"X-Quota-Reset":{"description":"When the plan's credits start again, or the trial ends, in seconds since 1970 (UTC). Pay-as-you-go answers leave it out: their credits never expire.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":4102444800},"example":1767225600}},"content":{"application/json":{"schema":{"type":"object","description":"A refusal or failure.","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"string","pattern":"^[A-Z_]{1,64}$","description":"A stable code.","examples":["NOT_FOUND"],"isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":500,"description":"What went wrong, in English.","examples":["No company has this ticker or CIK"],"uniqueKey":"message","typeLabel":"string"}},"examples":[{"error":"NOT_FOUND","message":"No company has this ticker or CIK"}],"uniqueKey":"","typeLabel":"object"},"example":{"error":"UNAUTHORIZED","message":"The API key is not valid"},"examples":{"Example":{"title":"Example","value":{"error":"UNAUTHORIZED","message":"The API key is not valid"}}},"exampleType":"examples"}},"exampleType":"examples"},"73ed1365-6dac-4963-87ec-8e43db1e20e6":{"description":"The account of the key has no active data API plan.","headers":{"X-RateLimit-Limit":{"description":"Requests per minute the key may send; on a 401 the limit a new key gets.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":6000},"example":60},"X-Quota-Unit":{"description":"What the quota counts: credits. One credit is one successful call that returns data.","schema":{"type":"string","enum":["credits"],"maxLength":7},"example":"credits"},"X-Credits-Used":{"description":"Credits this answer cost: one for a 2xx answer with data, however many rows it holds. An empty answer, a refusal, an error and a FINRA /short-volume answer cost 0.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":1},"X-Quota-Limit":{"description":"The plan's credits for its period plus the account's pay-as-you-go credit balance, as the request found them.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2500000},"X-Quota-Remaining":{"description":"Credits left after this answer: the plan's own first, then the credit balance.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2499999},"X-Quota-Reset":{"description":"When the plan's credits start again, or the trial ends, in seconds since 1970 (UTC). Pay-as-you-go answers leave it out: their credits never expire.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":4102444800},"example":1767225600}},"content":{"application/json":{"schema":{"type":"object","description":"A refusal or failure.","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"string","pattern":"^[A-Z_]{1,64}$","description":"A stable code.","examples":["NOT_FOUND"],"isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":500,"description":"What went wrong, in English.","examples":["No company has this ticker or CIK"],"uniqueKey":"message","typeLabel":"string"}},"examples":[{"error":"NOT_FOUND","message":"No company has this ticker or CIK"}],"uniqueKey":"","typeLabel":"object"},"example":{"error":"PLAN_REQUIRED","message":"The account of this key has no active data API plan"},"examples":{"Example":{"title":"Example","value":{"error":"PLAN_REQUIRED","message":"The account of this key has no active data API plan"}}},"exampleType":"examples"}},"exampleType":"examples"},"5efd75c8-ecd7-411a-9006-3e3b9304f67a":{"description":"No company has this ticker or CIK.","headers":{"X-RateLimit-Limit":{"description":"Requests per minute the key may send; on a 401 the limit a new key gets.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":6000},"example":60},"X-Quota-Unit":{"description":"What the quota counts: credits. One credit is one successful call that returns data.","schema":{"type":"string","enum":["credits"],"maxLength":7},"example":"credits"},"X-Credits-Used":{"description":"Credits this answer cost: one for a 2xx answer with data, however many rows it holds. An empty answer, a refusal, an error and a FINRA /short-volume answer cost 0.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":1},"X-Quota-Limit":{"description":"The plan's credits for its period plus the account's pay-as-you-go credit balance, as the request found them.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2500000},"X-Quota-Remaining":{"description":"Credits left after this answer: the plan's own first, then the credit balance.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2499999},"X-Quota-Reset":{"description":"When the plan's credits start again, or the trial ends, in seconds since 1970 (UTC). Pay-as-you-go answers leave it out: their credits never expire.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":4102444800},"example":1767225600}},"content":{"application/json":{"schema":{"type":"object","description":"A refusal or failure.","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"string","pattern":"^[A-Z_]{1,64}$","description":"A stable code.","examples":["NOT_FOUND"],"isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":500,"description":"What went wrong, in English.","examples":["No company has this ticker or CIK"],"uniqueKey":"message","typeLabel":"string"}},"examples":[{"error":"NOT_FOUND","message":"No company has this ticker or CIK"}],"uniqueKey":"","typeLabel":"object"},"example":{"error":"NOT_FOUND","message":"No company has this ticker or CIK"},"examples":{"Example":{"title":"Example","value":{"error":"NOT_FOUND","message":"No company has this ticker or CIK"}}},"exampleType":"examples"}},"exampleType":"examples"},"48da29a7-b70b-4b33-9960-37e3f13c6636":{"description":"The key sent more requests in a minute than its limit (RATE_LIMITED), or its account has no credits left (QUOTA_EXCEEDED).","headers":{"X-RateLimit-Limit":{"description":"Requests per minute the key may send; on a 401 the limit a new key gets.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":6000},"example":60},"X-Quota-Unit":{"description":"What the quota counts: credits. One credit is one successful call that returns data.","schema":{"type":"string","enum":["credits"],"maxLength":7},"example":"credits"},"X-Credits-Used":{"description":"Credits this answer cost: one for a 2xx answer with data, however many rows it holds. An empty answer, a refusal, an error and a FINRA /short-volume answer cost 0.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":1},"X-Quota-Limit":{"description":"The plan's credits for its period plus the account's pay-as-you-go credit balance, as the request found them.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2500000},"X-Quota-Remaining":{"description":"Credits left after this answer: the plan's own first, then the credit balance.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2499999},"X-Quota-Reset":{"description":"When the plan's credits start again, or the trial ends, in seconds since 1970 (UTC). Pay-as-you-go answers leave it out: their credits never expire.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":4102444800},"example":1767225600},"Retry-After":{"description":"Seconds to wait before the next request.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":60},"example":1}},"content":{"application/json":{"schema":{"type":"object","description":"A refusal or failure.","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"string","pattern":"^[A-Z_]{1,64}$","description":"A stable code.","examples":["NOT_FOUND"],"isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":500,"description":"What went wrong, in English.","examples":["No company has this ticker or CIK"],"uniqueKey":"message","typeLabel":"string"}},"examples":[{"error":"NOT_FOUND","message":"No company has this ticker or CIK"}],"uniqueKey":"","typeLabel":"object"},"example":{"error":"RATE_LIMITED","message":"Too many requests"},"examples":{"Example":{"title":"Example","value":{"error":"RATE_LIMITED","message":"Too many requests"}}},"exampleType":"examples"}},"exampleType":"examples"},"a37b24db-f607-47bd-b6aa-cdd54f1cf1ee":{"description":"Darvas failed; the error is reported.","headers":{"X-RateLimit-Limit":{"description":"Requests per minute the key may send; on a 401 the limit a new key gets.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":6000},"example":60},"X-Quota-Unit":{"description":"What the quota counts: credits. One credit is one successful call that returns data.","schema":{"type":"string","enum":["credits"],"maxLength":7},"example":"credits"},"X-Credits-Used":{"description":"Credits this answer cost: one for a 2xx answer with data, however many rows it holds. An empty answer, a refusal, an error and a FINRA /short-volume answer cost 0.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":1},"X-Quota-Limit":{"description":"The plan's credits for its period plus the account's pay-as-you-go credit balance, as the request found them.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2500000},"X-Quota-Remaining":{"description":"Credits left after this answer: the plan's own first, then the credit balance.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2499999},"X-Quota-Reset":{"description":"When the plan's credits start again, or the trial ends, in seconds since 1970 (UTC). Pay-as-you-go answers leave it out: their credits never expire.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":4102444800},"example":1767225600}},"content":{"application/json":{"schema":{"type":"object","description":"A refusal or failure.","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"string","pattern":"^[A-Z_]{1,64}$","description":"A stable code.","examples":["NOT_FOUND"],"isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":500,"description":"What went wrong, in English.","examples":["No company has this ticker or CIK"],"uniqueKey":"message","typeLabel":"string"}},"examples":[{"error":"NOT_FOUND","message":"No company has this ticker or CIK"}],"uniqueKey":"","typeLabel":"object"},"example":{"error":"INTERNAL_ERROR","message":"Something went wrong"},"examples":{"Example":{"title":"Example","value":{"error":"INTERNAL_ERROR","message":"Something went wrong"}}},"exampleType":"examples"}},"exampleType":"examples"},"7f4b5bbd-2633-4ead-b468-ee5227ab4cee":{"description":"The data store is unavailable.","headers":{"X-RateLimit-Limit":{"description":"Requests per minute the key may send; on a 401 the limit a new key gets.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":6000},"example":60},"X-Quota-Unit":{"description":"What the quota counts: credits. One credit is one successful call that returns data.","schema":{"type":"string","enum":["credits"],"maxLength":7},"example":"credits"},"X-Credits-Used":{"description":"Credits this answer cost: one for a 2xx answer with data, however many rows it holds. An empty answer, a refusal, an error and a FINRA /short-volume answer cost 0.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":1},"X-Quota-Limit":{"description":"The plan's credits for its period plus the account's pay-as-you-go credit balance, as the request found them.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2500000},"X-Quota-Remaining":{"description":"Credits left after this answer: the plan's own first, then the credit balance.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":9007199254740991},"example":2499999},"X-Quota-Reset":{"description":"When the plan's credits start again, or the trial ends, in seconds since 1970 (UTC). Pay-as-you-go answers leave it out: their credits never expire.","schema":{"type":"integer","format":"int64","minimum":0,"maximum":4102444800},"example":1767225600}},"content":{"application/json":{"schema":{"type":"object","description":"A refusal or failure.","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"string","pattern":"^[A-Z_]{1,64}$","description":"A stable code.","examples":["NOT_FOUND"],"isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":500,"description":"What went wrong, in English.","examples":["No company has this ticker or CIK"],"uniqueKey":"message","typeLabel":"string"}},"examples":[{"error":"NOT_FOUND","message":"No company has this ticker or CIK"}],"uniqueKey":"","typeLabel":"object"},"example":{"error":"UNAVAILABLE","message":"The data service is unavailable"},"examples":{"Example":{"title":"Example","value":{"error":"UNAVAILABLE","message":"The data service is unavailable"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ab04bde2-2272-40e1-a6f9-c6dace9214b5":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"A Darvas data API key: dvk_ and 43 characters.","scopes":[],"schemeName":"apiKey"}},"58f312db-6a05-4694-b304-997fd491a6a6":{"bearerKey":{"type":"http","scheme":"bearer","description":"The same key as a Bearer token.","scopes":[],"schemeName":"bearerKey"}}},"servers":{"b5a4eca9-4129-4c18-b2fb-ddd83bca49ad":{"url":"https://api.darvas.app/v1","description":"Production."},"e05efeb4-dfa9-49f1-addf-6734766c7ea5":{"url":"https://darvas.app/api/data/v1","description":"Production, on the darvas.app host."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"A Darvas data API key: dvk_ and 43 characters.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-API-KEY","type":"string","description":"A Darvas data API key: dvk_ and 43 characters.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-KEY"}],"title":"apiKey"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"The same key as a Bearer token.","scopes":[],"schemeName":"bearerKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The same key as a Bearer token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerKey","name":"Authorization"}],"title":"bearerKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"darvas","siteName":"Darvas","title":"Crypto Market Context API: Price, Flow \u0026 Macro - Darvas","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T03:37:55.593Z","originalFileLocation":"crypto/market-context.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get a single-call crypto trading brief with last price, 1H/4H/24H ranges, hourly bars, cross-venue funding and open interest deltas plus macro events.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Darvas\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Crypto Market Context API: Price, Flow \u0026amp; Macro - Darvas\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a single-call crypto trading brief with last price, 1H/4H/24H ranges, hourly bars, cross-venue funding and open interest deltas plus macro events.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Darvas\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.darvas.app/crypto/market-context\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://darvas.mintlify.site/_mintlify/api/og/v2?division=Crypto+Markets\u0026amp;title=Crypto+Market+Context+API%3A+Price%2C+Flow+%26+Macro\u0026amp;description=Get+a+single-call+crypto+trading+brief+with+last+price%2C+1H%2F4H%2F24H+ranges%2C+hourly+bars%2C+cross-venue+funding+and+open+interest+deltas+plus+macro+events.\u0026amp;theme=1955d92658daca36b1634c66\u0026amp;signature=e565dc153612049a95ac19c7808573c4f3ed7413053f185c229361d309a56138\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Crypto Market Context API: Price, Flow \u0026amp; Macro - Darvas\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a single-call crypto trading brief with last price, 1H/4H/24H ranges, hourly bars, cross-venue funding and open interest deltas plus macro events.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://darvas.mintlify.site/_mintlify/api/og/v2?division=Crypto+Markets\u0026amp;title=Crypto+Market+Context+API%3A+Price%2C+Flow+%26+Macro\u0026amp;description=Get+a+single-call+crypto+trading+brief+with+last+price%2C+1H%2F4H%2F24H+ranges%2C+hourly+bars%2C+cross-venue+funding+and+open+interest+deltas+plus+macro+events.\u0026amp;theme=1955d92658daca36b1634c66\u0026amp;signature=e565dc153612049a95ac19c7808573c4f3ed7413053f185c229361d309a56138\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/darvas/usJ4SVuk7L1LUViZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Darvas\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#171717\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.darvas.app/crypto/market-context\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/crypto/market-context.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://darvas.app/#organization\",\"name\":\"Darvas\",\"url\":\"https://darvas.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/darvas/Na2K1B20UdMWYBqp/logo/light.svg?fit=max\u0026auto=format\u0026n=Na2K1B20UdMWYBqp\u0026q=85\u0026s=cc77f05ba014bdbbcad50ccecd61ac95\"},\"sameAs\":[\"https://x.com/askdarvas\",\"https://github.com/cberktavsan/darvas-docs\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.darvas.app#website\",\"name\":\"Darvas\",\"url\":\"https://docs.darvas.app\",\"publisher\":{\"@id\":\"https://darvas.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.darvas.app/crypto/market-context#webpage\",\"url\":\"https://docs.darvas.app/crypto/market-context\",\"name\":\"Crypto Market Context API: Price, Flow \u0026 Macro\",\"description\":\"Get a single-call crypto trading brief with last price, 1H/4H/24H ranges, hourly bars, cross-venue funding and open interest deltas plus macro events.\",\"dateModified\":\"2026-11-30T03:37:55.593Z\",\"isPartOf\":{\"@id\":\"https://docs.darvas.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.darvas.app/crypto/market-context#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.darvas.app/crypto/market-context#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Datasets\",\"item\":\"https://docs.darvas.app/companies/dossier\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Crypto Markets\",\"item\":\"https://docs.darvas.app/crypto/prices\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Crypto Market Context API: Price, Flow \u0026 Macro\",\"item\":\"https://docs.darvas.app/crypto/market-context\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.darvas.app/crypto/market-context#apireference\",\"headline\":\"Crypto Market Context API: Price, Flow \u0026 Macro\",\"name\":\"Crypto Market Context API: Price, Flow \u0026 Macro\",\"description\":\"Get a single-call crypto trading brief with last price, 1H/4H/24H ranges, hourly bars, cross-venue funding and open interest deltas plus macro events.\",\"url\":\"https://docs.darvas.app/crypto/market-context\",\"mainEntityOfPage\":{\"@id\":\"https://docs.darvas.app/crypto/market-context#webpage\"},\"dateModified\":\"2026-11-30T03:37:55.593Z\",\"keywords\":\"crypto market context API, AI agent crypto endpoint, crypto funding and OI brief, BTC market summary API, crypto macro calendar API, MCP crypto data\",\"publisher\":{\"@id\":\"https://darvas.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.darvas.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Darvas\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Darvas\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/crypto/market-context.md","siteName":"Darvas","nav":{"global":null,"groups":[{"group":"Overview","pages":[{"title":"Financial Data API, MCP Server \u0026 Pine Script","sidebarTitle":"Overview","href":"/overview"},{"title":"Financial Data API Quickstart Guide in 5 Min","sidebarTitle":"Quickstart","href":"/quickstart"},{"title":"API Keys, Credits, Rate Limits \u0026 Error Codes","sidebarTitle":"Authentication \u0026 pricing","href":"/authentication"},{"title":"Financial Data MCP Server for AI Agents","sidebarTitle":"MCP server","href":"/mcp-server"},{"title":"AI Agent Integration: llms.txt \u0026 MCP Routing","sidebarTitle":"AI agents","href":"/ai-agents"},{"title":"Financial Data Webhooks \u0026 HMAC Verification","sidebarTitle":"Webhooks","href":"/webhooks"},{"title":"Cursor Pagination, Limits \u0026 Response Paging","sidebarTitle":"Pagination","href":"/pagination"},{"title":"Financial Data Coverage, History \u0026 Freshness","sidebarTitle":"Market coverage","href":"/market-coverage"}]},{"group":"Datasets","pages":[{"title":"Company Dossier API: All-in-One Equity Brief","sidebarTitle":"Company dossier","openapi":"openapi.yaml GET /company/dossier","hideApiMarker":true,"href":"/companies/dossier"},{"group":"Company Profiles","pages":[{"title":"Company Profile \u0026 SEC Entity Facts API","sidebarTitle":"Company profile","openapi":"openapi.yaml GET /company/facts","hideApiMarker":true,"href":"/companies/profile"},{"title":"SEC Company Tickers Directory API Reference","sidebarTitle":"Supported tickers","openapi":"openapi.yaml GET /company/facts/tickers","hideApiMarker":true,"href":"/companies/tickers"},{"title":"SEC CIK Number Directory \u0026 Lookup API","sidebarTitle":"Supported CIKs","openapi":"openapi.yaml GET /company/facts/ciks","hideApiMarker":true,"href":"/companies/ciks"},{"title":"Company Search API: Name, CUSIP, ISIN, FIGI","sidebarTitle":"Company search","openapi":"openapi.yaml GET /companies/search","hideApiMarker":true,"href":"/companies/search"},{"title":"Federal Government Contracts API by Ticker","sidebarTitle":"Government contracts","openapi":"openapi.yaml GET /government/contracts","hideApiMarker":true,"href":"/companies/government-contracts"}]},{"group":"Earnings \u0026 KPIs","pages":[{"title":"Corporate Earnings Releases API: EPS \u0026 Revenue","sidebarTitle":"Earnings releases","openapi":"openapi.yaml GET /earnings","hideApiMarker":true,"href":"/earnings/releases"},{"title":"Earnings Release Coverage Tickers API","sidebarTitle":"Earnings tickers","openapi":"openapi.yaml GET /earnings/tickers","hideApiMarker":true,"href":"/earnings/tickers"},{"title":"Sector Operating KPIs API from Earnings Releases","sidebarTitle":"Operating KPIs","openapi":"openapi.yaml GET /kpi/metrics","hideApiMarker":true,"href":"/earnings/kpis"},{"title":"Management Earnings Guidance \u0026 Outlook API","sidebarTitle":"Management guidance","openapi":"openapi.yaml GET /kpi/guidance","hideApiMarker":true,"href":"/earnings/guidance"},{"title":"Non-GAAP Earnings \u0026 Adjusted Metrics API","sidebarTitle":"Non-GAAP metrics","openapi":"openapi.yaml GET /kpi/non-gaap","hideApiMarker":true,"href":"/earnings/non-gaap"},{"title":"Company Operating KPI Coverage Tickers API","sidebarTitle":"KPI tickers","openapi":"openapi.yaml GET /kpi/metrics/tickers","hideApiMarker":true,"href":"/earnings/kpi-tickers"},{"title":"Sector KPI Taxonomy \u0026 Industry Groups API","sidebarTitle":"KPI sectors","openapi":"openapi.yaml GET /kpi/metrics/sectors","hideApiMarker":true,"href":"/earnings/kpi-sectors"}]},{"group":"SEC EDGAR Filings","pages":[{"title":"SEC EDGAR Filings API: 10-K, 10-Q, 8-K \u0026 More","sidebarTitle":"SEC filings","openapi":"openapi.yaml GET /filings","hideApiMarker":true,"href":"/sec-edgar/filings"},{"title":"SEC EDGAR Filings Supported Tickers API","sidebarTitle":"Filings tickers","openapi":"openapi.yaml GET /filings/tickers","hideApiMarker":true,"href":"/sec-edgar/filings-tickers"},{"title":"SEC EDGAR Filings Supported CIKs API","sidebarTitle":"Filings CIKs","openapi":"openapi.yaml GET /filings/ciks","hideApiMarker":true,"href":"/sec-edgar/filings-ciks"},{"title":"SEC EDGAR Form Types Directory API Reference","sidebarTitle":"Filing types","openapi":"openapi.yaml GET /filings/types","hideApiMarker":true,"href":"/sec-edgar/filing-types"},{"title":"SEC 10-K, 10-Q \u0026 8-K Filing Sections API","sidebarTitle":"Filing sections","openapi":"openapi.yaml GET /filings/items","hideApiMarker":true,"href":"/sec-edgar/filing-items"},{"title":"Async SEC Filing Section Extraction Status API","sidebarTitle":"Section status","openapi":"openapi.yaml GET /filings/items/requests/{request_id}","hideApiMarker":true,"href":"/sec-edgar/filing-items-requests"},{"title":"SEC 10-K, 10-Q \u0026 8-K Item Codes Directory API","sidebarTitle":"Filing item codes","openapi":"openapi.yaml GET /filings/items/types","hideApiMarker":true,"href":"/sec-edgar/filing-item-types"},{"title":"SEC Form 8-K Material Events \u0026 Disclosures API","sidebarTitle":"8-K material events","openapi":"openapi.yaml GET /filings/events","hideApiMarker":true,"href":"/sec-edgar/8k-events"},{"title":"SEC Form 8-K Item Event Codes Reference API","sidebarTitle":"8-K event codes","openapi":"openapi.yaml GET /filings/events/types","hideApiMarker":true,"href":"/sec-edgar/8k-event-types"},{"title":"SEC EDGAR Full-Text Filing Search API","sidebarTitle":"Full-text search","openapi":"openapi.yaml POST /search","hideApiMarker":true,"href":"/sec-edgar/full-text-search"},{"title":"IPO Filings API: SEC S-1, F-1 \u0026 424B Tracker","sidebarTitle":"IPO filings","openapi":"openapi.yaml GET /ipos","hideApiMarker":true,"href":"/sec-edgar/ipo-filings"},{"title":"Real-Time SEC Filings Feed API","sidebarTitle":"Filings feed","openapi":"openapi.yaml GET /filings/feed","hideApiMarker":true,"href":"/sec-edgar/filings-feed"},{"title":"Structured 8-K Events API: CEO, Auditor, Cyber","sidebarTitle":"Structured 8-K events","openapi":"openapi.yaml GET /events/8k-structured","hideApiMarker":true,"href":"/sec-edgar/8k-structured-events"},{"title":"Rule 10b5-1 Trading Plan API","sidebarTitle":"Rule 10b5-1 plans","openapi":"openapi.yaml GET /sec/rule-10b5-1","hideApiMarker":true,"href":"/sec-edgar/rule-10b5-1-plans"},{"title":"Corporate Bitcoin Treasury Holdings API","sidebarTitle":"Crypto treasuries","openapi":"openapi.yaml GET /sec/crypto-treasuries","hideApiMarker":true,"href":"/sec-edgar/crypto-treasuries"},{"title":"SEC Form D Private Offerings API","sidebarTitle":"Form D offerings","openapi":"openapi.yaml GET /filings/form-d","hideApiMarker":true,"href":"/sec-edgar/form-d-offerings"}]},{"group":"Financial Statements","pages":[{"title":"Income Statement API: Annual, Quarterly \u0026 TTM","sidebarTitle":"Income statements","openapi":"openapi.yaml GET /financials/income-statements","hideApiMarker":true,"href":"/financials/income-statements"},{"title":"Balance Sheet API: Assets, Debt \u0026 Equity Data","sidebarTitle":"Balance sheets","openapi":"openapi.yaml GET /financials/balance-sheets","hideApiMarker":true,"href":"/financials/balance-sheets"},{"title":"Cash Flow Statement API: OCF, CapEx \u0026 FCF","sidebarTitle":"Cash flow statements","openapi":"openapi.yaml GET /financials/cash-flow-statements","hideApiMarker":true,"href":"/financials/cash-flow-statements"},{"title":"All Financial Statements API in One Request","sidebarTitle":"All statements","openapi":"openapi.yaml GET /financials","hideApiMarker":true,"href":"/financials/all-statements"},{"title":"Financial Statements Coverage Tickers API","sidebarTitle":"Statement tickers","openapi":"openapi.yaml GET /financials/income-statements/tickers","hideApiMarker":true,"href":"/financials/tickers"},{"title":"Financial Line Items Multi-Ticker Query API","sidebarTitle":"Line items search","openapi":"openapi.yaml POST /financials/search/line-items","hideApiMarker":true,"href":"/financials/line-items"},{"title":"Fundamental Stock Screener API with Filters","sidebarTitle":"Stock screener","openapi":"openapi.yaml POST /financials/search/screener","hideApiMarker":true,"href":"/financials/stock-screener"},{"title":"Stock Screener Filter Fields \u0026 Operators API","sidebarTitle":"Screener filters","openapi":"openapi.yaml GET /financials/search/screener/filters","hideApiMarker":true,"href":"/financials/screener-filters"},{"title":"Corporate Debt Maturity Schedule API (SEC)","sidebarTitle":"Debt schedule","openapi":"openapi.yaml GET /financials/debt-schedule","hideApiMarker":true,"href":"/financials/debt-schedule"}]},{"group":"As-Reported \u0026 XBRL","pages":[{"title":"As-Reported XBRL Income Statements API (SEC)","sidebarTitle":"As-reported income","openapi":"openapi.yaml GET /financials/income-statements/as-reported","hideApiMarker":true,"href":"/financials/as-reported-income-statements"},{"title":"As-Reported XBRL Balance Sheets API (SEC)","sidebarTitle":"As-reported balance","openapi":"openapi.yaml GET /financials/balance-sheets/as-reported","hideApiMarker":true,"href":"/financials/as-reported-balance-sheets"},{"title":"As-Reported XBRL Cash Flow Statements API","sidebarTitle":"As-reported cash flow","openapi":"openapi.yaml GET /financials/cash-flow-statements/as-reported","hideApiMarker":true,"href":"/financials/as-reported-cash-flow-statements"},{"title":"All As-Reported SEC XBRL Statements API","sidebarTitle":"All as-reported","openapi":"openapi.yaml GET /financials/as-reported","hideApiMarker":true,"href":"/financials/as-reported-statements"},{"title":"SEC EDGAR XBRL Company Facts to JSON API","sidebarTitle":"XBRL facts","openapi":"openapi.yaml GET /financials/xbrl-facts","hideApiMarker":true,"href":"/financials/xbrl-facts"}]},{"group":"Segments","pages":[{"title":"Business \u0026 Geographic Segment Revenue API","sidebarTitle":"Segment income","openapi":"openapi.yaml GET /financials/income-statements/segments","hideApiMarker":true,"href":"/financials/segment-income-statements"},{"title":"Segment Balance Sheet \u0026 Asset Allocation API","sidebarTitle":"Segment balance","openapi":"openapi.yaml GET /financials/balance-sheets/segments","hideApiMarker":true,"href":"/financials/segment-balance-sheets"},{"title":"Segment Cash Flow \u0026 CapEx Breakdown API","sidebarTitle":"Segment cash flow","openapi":"openapi.yaml GET /financials/cash-flow-statements/segments","hideApiMarker":true,"href":"/financials/segment-cash-flow-statements"},{"title":"All Company Segment Financial Disclosures API","sidebarTitle":"All segments","openapi":"openapi.yaml GET /financials/segments","hideApiMarker":true,"href":"/financials/segments"}]},{"group":"Valuation \u0026 Peers","pages":[{"title":"Historical Valuation Ratios \u0026 Metrics API","sidebarTitle":"Historical metrics","openapi":"openapi.yaml GET /financial-metrics","hideApiMarker":true,"href":"/financials/metrics"},{"title":"Live Stock Valuation Ratios \u0026 TTM Metrics API","sidebarTitle":"Metrics snapshot","openapi":"openapi.yaml GET /financial-metrics/snapshot","hideApiMarker":true,"href":"/financials/metrics-snapshot"},{"title":"Financial Metrics Coverage Tickers API","sidebarTitle":"Metrics tickers","openapi":"openapi.yaml GET /financial-metrics/snapshot/tickers","hideApiMarker":true,"href":"/financials/metrics-tickers"},{"title":"Stock Peer Comparison \u0026 Valuation Comps API","sidebarTitle":"Peer comparison","openapi":"openapi.yaml GET /financials/peer-comparison","hideApiMarker":true,"href":"/financials/peer-comparison"},{"title":"Extended Financial Metrics API: 150+ Ratios","sidebarTitle":"Extended metrics","openapi":"openapi.yaml GET /financial-metrics/extended","hideApiMarker":true,"href":"/financials/extended-metrics"},{"title":"Financial Metrics Catalog: Formulas \u0026 Units","sidebarTitle":"Metrics catalog","openapi":"openapi.yaml GET /financial-metrics/catalog","hideApiMarker":true,"href":"/financials/metrics-catalog"},{"title":"Altman Z, Piotroski F \u0026 Beneish M Score API","sidebarTitle":"Quality scores","openapi":"openapi.yaml GET /financials/scores","hideApiMarker":true,"href":"/financials/quality-scores"},{"title":"DCF Valuation API with Reverse DCF","sidebarTitle":"DCF valuation","openapi":"openapi.yaml GET /valuation/dcf","hideApiMarker":true,"href":"/financials/dcf-valuation"},{"title":"Historical P/E \u0026 EV/EBITDA Valuation API","sidebarTitle":"Valuation history","openapi":"openapi.yaml GET /valuation/history","hideApiMarker":true,"href":"/financials/valuation-history"}]},{"group":"Ownership, Insiders \u0026 13F","pages":[{"title":"SEC Form 4 Insider Trading Data API Reference","sidebarTitle":"Insider trading (Form 4)","openapi":"openapi.yaml GET /insider-trades","hideApiMarker":true,"href":"/ownership/insider-trading"},{"title":"SEC Form 144 Proposed Insider Sale Notices API","sidebarTitle":"Form 144 sale notices","openapi":"openapi.yaml GET /insider-trades/sale-notices","hideApiMarker":true,"href":"/ownership/form-144-sale-notices"},{"title":"Corporate Insider Ownership \u0026 Holdings API","sidebarTitle":"Insider holdings","openapi":"openapi.yaml GET /insider-ownership","hideApiMarker":true,"href":"/ownership/insider-holdings"},{"title":"SEC Schedule 13D \u0026 13G Beneficial Owners API","sidebarTitle":"Beneficial (13D / 13G)","openapi":"openapi.yaml GET /beneficial-ownership","hideApiMarker":true,"href":"/ownership/beneficial-13d-13g"},{"title":"Activist Investor Schedule 13D Stakes API","sidebarTitle":"Activist stakes (13D)","openapi":"openapi.yaml GET /activist-ownership","hideApiMarker":true,"href":"/ownership/activist-13d"},{"title":"ETF \u0026 Mutual Fund Holdings API (SEC N-PORT)","sidebarTitle":"ETF \u0026 fund holdings","openapi":"openapi.yaml GET /index-funds","hideApiMarker":true,"href":"/ownership/etf-fund-holdings"},{"title":"ETF \u0026 Mutual Fund Holdings Coverage Tickers","sidebarTitle":"Fund tickers","openapi":"openapi.yaml GET /index-funds/tickers","hideApiMarker":true,"href":"/ownership/fund-tickers"},{"title":"SEC 13F Institutional Holdings \u0026 Hedge Funds","sidebarTitle":"13F holdings","openapi":"openapi.yaml GET /institutional-holdings","hideApiMarker":true,"href":"/ownership/13f-institutional-holdings"},{"title":"SEC 13F Institutional Investor Name Lookup API","sidebarTitle":"13F investors","openapi":"openapi.yaml GET /institutional-holdings/investors","hideApiMarker":true,"href":"/ownership/13f-investors"},{"title":"SEC 13F Institutional Holdings Tickers API","sidebarTitle":"13F tickers","openapi":"openapi.yaml GET /institutional-holdings/tickers","hideApiMarker":true,"href":"/ownership/13f-tickers"},{"title":"13F Holdings Changes API: New, Added, Sold","sidebarTitle":"13F position changes","openapi":"openapi.yaml GET /institutional-ownership/changes","hideApiMarker":true,"href":"/ownership/13f-position-changes"},{"title":"Most Bought Stocks by 13F Institutions API","sidebarTitle":"13F most bought","openapi":"openapi.yaml GET /institutional-ownership/top-bought","hideApiMarker":true,"href":"/ownership/13f-most-bought"},{"title":"Insider Trading Screener API: Form 4 Buys","sidebarTitle":"Insider screener","openapi":"openapi.yaml GET /insider-trades/screener","hideApiMarker":true,"href":"/ownership/insider-screener"},{"title":"Insider Cluster Buying API: Form 4 Clusters","sidebarTitle":"Insider cluster buys","openapi":"openapi.yaml GET /insider-trades/clusters","hideApiMarker":true,"href":"/ownership/insider-cluster-buys"},{"title":"Company Ownership Summary API: 13F, 13D, Insiders","sidebarTitle":"Ownership summary","openapi":"openapi.yaml GET /ownership/summary","hideApiMarker":true,"href":"/ownership/ownership-summary"}]},{"group":"Stocks \u0026 Short Interest","pages":[{"title":"Historical Stock Prices API: Split-Adjusted","sidebarTitle":"Historical prices","openapi":"openapi.yaml GET /prices","hideApiMarker":true,"href":"/stocks/historical-prices"},{"title":"Stock Dividend History \u0026 Ex-Dividend Date API","sidebarTitle":"Dividends","openapi":"openapi.yaml GET /dividends","hideApiMarker":true,"href":"/stocks/dividends"},{"title":"Stock Splits History \u0026 Split Ratio API","sidebarTitle":"Stock splits","openapi":"openapi.yaml GET /splits","hideApiMarker":true,"href":"/stocks/splits"},{"title":"Latest US Stock Price Snapshot \u0026 Quote API","sidebarTitle":"Price snapshot","openapi":"openapi.yaml GET /prices/snapshot","hideApiMarker":true,"href":"/stocks/price-snapshot"},{"title":"US Stock Market Snapshot API (Multi-Ticker)","sidebarTitle":"Market snapshot","openapi":"openapi.yaml GET /prices/snapshot/market","hideApiMarker":true,"href":"/stocks/market-snapshot"},{"title":"Historical Stock Prices Coverage Tickers API","sidebarTitle":"Price tickers","openapi":"openapi.yaml GET /prices/tickers","hideApiMarker":true,"href":"/stocks/tickers"},{"title":"Stock Price Snapshot Coverage Tickers API","sidebarTitle":"Snapshot tickers","openapi":"openapi.yaml GET /prices/snapshot/tickers","hideApiMarker":true,"href":"/stocks/snapshot-tickers"},{"title":"Stock Technical Indicators API: RSI, MACD, EMA","sidebarTitle":"Technical indicators","openapi":"openapi.yaml GET /prices/technicals","hideApiMarker":true,"href":"/stocks/technical-indicators"},{"title":"Financial \u0026 Stock Market News API by Ticker","sidebarTitle":"Financial news","openapi":"openapi.yaml GET /news","hideApiMarker":true,"href":"/stocks/financial-news"},{"title":"SEC Fails-to-Deliver (FTD) Stock Data API","sidebarTitle":"Fails to deliver","openapi":"openapi.yaml GET /fails-to-deliver","hideApiMarker":true,"href":"/stocks/fails-to-deliver"},{"title":"FINRA Daily Short Sale Volume \u0026 Ratio API","sidebarTitle":"Short volume","openapi":"openapi.yaml GET /short-volume","hideApiMarker":true,"href":"/stocks/short-volume"},{"title":"Stock Beta, Sharpe \u0026 Drawdown Risk API","sidebarTitle":"Risk statistics","openapi":"openapi.yaml GET /prices/risk","hideApiMarker":true,"href":"/stocks/risk-statistics"}]},{"group":"Futures (CFTC COT)","pages":[{"title":"CFTC Commitment of Traders (COT) Data API","sidebarTitle":"Commitment of Traders","openapi":"openapi.yaml GET /cot","hideApiMarker":true,"href":"/futures/commitment-of-traders"},{"title":"CFTC COT Futures Markets \u0026 Codes Directory","sidebarTitle":"COT markets","openapi":"openapi.yaml GET /cot/markets","hideApiMarker":true,"href":"/futures/cot-markets"},{"title":"COT Index \u0026 Positioning Extremes API","sidebarTitle":"COT analytics","openapi":"openapi.yaml GET /cot/analytics","hideApiMarker":true,"href":"/futures/cot-analytics"}]},{"group":"Tokenized Stocks","pages":[{"title":"Tokenized US Stock Price Snapshot \u0026 NAV API","sidebarTitle":"Price snapshot","openapi":"openapi.yaml GET /tokenized-stocks/prices/snapshot","hideApiMarker":true,"href":"/tokenized-stocks/snapshot"},{"title":"24/7 Tokenized US Stocks Directory API","sidebarTitle":"Supported markets","openapi":"openapi.yaml GET /tokenized-stocks","hideApiMarker":true,"href":"/tokenized-stocks/markets"},{"title":"Tokenized Stock Historical Prices \u0026 NAV API","sidebarTitle":"Historical prices","openapi":"openapi.yaml GET /tokenized-stocks/prices","hideApiMarker":true,"href":"/tokenized-stocks/prices"},{"title":"Tokenized Stock Trades \u0026 On-Chain Swaps API","sidebarTitle":"Trade executions","openapi":"openapi.yaml GET /tokenized-stocks/trades","hideApiMarker":true,"href":"/tokenized-stocks/trades"}]},{"group":"Crypto Markets","pages":[{"title":"Crypto Historical OHLCV Prices \u0026 Formula API","sidebarTitle":"Crypto prices","openapi":"openapi.yaml GET /crypto/prices","hideApiMarker":true,"href":"/crypto/prices"},{"title":"Live Crypto Price Snapshot API (Multi-Venue)","sidebarTitle":"Price snapshot","openapi":"openapi.yaml GET /crypto/prices/snapshot","hideApiMarker":true,"href":"/crypto/price-snapshot"},{"title":"Crypto Market Snapshot API Across All Pairs","sidebarTitle":"Market snapshot","openapi":"openapi.yaml GET /crypto/prices/snapshot/market","hideApiMarker":true,"href":"/crypto/market-snapshot"},{"title":"Crypto Exchanges \u0026 Supported Symbols API","sidebarTitle":"Crypto tickers","openapi":"openapi.yaml GET /crypto/tickers","hideApiMarker":true,"href":"/crypto/tickers"},{"title":"Aggregated Multi-Exchange Crypto Volume API","sidebarTitle":"Aggregated volume","description":"Sum rolling 24-hour crypto perpetual USD notional and base trading volume across OKX, Binance, Bybit and Hyperliquid with per-venue market shares.","openapi":"openapi.yaml GET /crypto/volume/aggregated","hideApiMarker":true,"href":"/crypto/aggregated-volume"},{"title":"Crypto Market Context API: Price, Flow \u0026 Macro","sidebarTitle":"Market context","openapi":"openapi.yaml GET /crypto/context","hideApiMarker":true,"href":"/crypto/market-context"},{"title":"Composite Crypto Spot Index Historical API","sidebarTitle":"Index prices","description":"Query historical OHLC bars for composite crypto spot price indices such as BTC-USD and ETH-USD aggregated across major liquid spot exchanges.","openapi":"openapi.yaml GET /crypto/index/prices","hideApiMarker":true,"href":"/crypto/index-prices"},{"title":"Live Composite Crypto Spot Index Snapshot API","sidebarTitle":"Index snapshot","openapi":"openapi.yaml GET /crypto/index/snapshot","hideApiMarker":true,"href":"/crypto/index-snapshot"},{"title":"Hyperliquid Perpetual Markets, Funding \u0026 OI","sidebarTitle":"Hyperliquid markets","openapi":"openapi.yaml GET /crypto/hyperliquid/markets","hideApiMarker":true,"href":"/crypto/hyperliquid-markets"},{"title":"Bitcoin, Ethereum \u0026 Solana Spot ETF Flows API","sidebarTitle":"Crypto ETF flows","openapi":"openapi.yaml GET /crypto/etf-flows","hideApiMarker":true,"href":"/crypto/etf-flows"},{"title":"Coinbase Premium Index API","sidebarTitle":"Coinbase premium","openapi":"openapi.yaml GET /crypto/coinbase-premium","hideApiMarker":true,"href":"/crypto/coinbase-premium"},{"title":"Crypto Fear \u0026 Greed and Altcoin Season API","sidebarTitle":"Sentiment index","openapi":"openapi.yaml GET /crypto/sentiment","hideApiMarker":true,"href":"/crypto/sentiment-index"},{"title":"Crypto Volatility Cone \u0026 Correlation API","sidebarTitle":"Volatility \u0026 correlation","openapi":"openapi.yaml GET /crypto/analytics","hideApiMarker":true,"href":"/crypto/volatility-correlation"}]},{"group":"Crypto Order Flow","pages":[{"title":"Crypto Tick Trades \u0026 Tape Executions API","sidebarTitle":"Tick trades","openapi":"openapi.yaml GET /crypto/trades","hideApiMarker":true,"href":"/crypto/trades"},{"title":"Crypto Order Flow, CVD \u0026 Delta Bars API","sidebarTitle":"Order flow \u0026 CVD","openapi":"openapi.yaml GET /crypto/order-flow","hideApiMarker":true,"href":"/crypto/order-flow"},{"title":"Crypto Footprint Chart \u0026 Bid/Ask Cluster API","sidebarTitle":"Footprint charts","openapi":"openapi.yaml GET /crypto/footprint","hideApiMarker":true,"href":"/crypto/footprint-charts"},{"title":"Crypto Whale \u0026 Large Trades Tape API","sidebarTitle":"Large trades","openapi":"openapi.yaml GET /crypto/large-trades","hideApiMarker":true,"href":"/crypto/large-trades"},{"title":"Crypto Whale Trade Clusters \u0026 Price Zones API","sidebarTitle":"Whale trade zones","openapi":"openapi.yaml GET /crypto/large-trades/zones","hideApiMarker":true,"href":"/crypto/whale-trade-zones"},{"title":"Live L2 Crypto Order Book Depth \u0026 Spread API","sidebarTitle":"L2 order book","openapi":"openapi.yaml GET /crypto/order-book","hideApiMarker":true,"href":"/crypto/order-book"},{"title":"Crypto Order Book Liquidity Heatmap Data API","sidebarTitle":"Order book heatmap","openapi":"openapi.yaml GET /crypto/order-book/heatmap","hideApiMarker":true,"href":"/crypto/order-book-heatmap"},{"title":"Order Book Imbalance \u0026 Slippage History API","sidebarTitle":"Book imbalance history","openapi":"openapi.yaml GET /crypto/order-book/imbalance-history","hideApiMarker":true,"href":"/crypto/order-book-imbalance"}]},{"group":"Crypto Profiles \u0026 Structure","pages":[{"title":"Crypto Volume Profile, POC \u0026 Value Area API","sidebarTitle":"Volume profile","openapi":"openapi.yaml GET /crypto/volume-profile","hideApiMarker":true,"href":"/crypto/volume-profile"},{"title":"Fixed-Range Crypto Volume Profile API","sidebarTitle":"Fixed-range profile","openapi":"openapi.yaml GET /crypto/volume-profile/fixed-range","hideApiMarker":true,"href":"/crypto/fixed-range-volume-profile"},{"title":"Crypto TPO \u0026 Market Profile Distribution API","sidebarTitle":"TPO market profile","openapi":"openapi.yaml GET /crypto/tpo","hideApiMarker":true,"href":"/crypto/tpo-market-profile"},{"title":"Crypto Market Structure, FVG \u0026 SMC Levels API","sidebarTitle":"Market structure","openapi":"openapi.yaml GET /crypto/market-structure","hideApiMarker":true,"href":"/crypto/market-structure"},{"title":"Crypto Technical Indicators API: RSI, MACD","sidebarTitle":"Technical indicators","openapi":"openapi.yaml GET /crypto/indicators","hideApiMarker":true,"href":"/crypto/technical-indicators"}]},{"group":"Crypto Derivatives","pages":[{"title":"Crypto Funding Rate, Open Interest \u0026 Basis API","sidebarTitle":"Derivatives history","openapi":"openapi.yaml GET /crypto/derivatives","hideApiMarker":true,"href":"/crypto/derivatives"},{"title":"Live Crypto Funding Rate \u0026 Open Interest API","sidebarTitle":"Derivatives snapshot","openapi":"openapi.yaml GET /crypto/derivatives/snapshot","hideApiMarker":true,"href":"/crypto/derivatives-snapshot"},{"title":"Crypto Open Interest Scanner \u0026 Surge API","sidebarTitle":"Open interest scanner","openapi":"openapi.yaml POST /crypto/derivatives/oi-scan","hideApiMarker":true,"href":"/crypto/open-interest-scanner"},{"title":"Live Crypto Options Chain \u0026 Greeks API (OKX)","sidebarTitle":"Options chain","openapi":"openapi.yaml GET /crypto/derivatives/option-chain","hideApiMarker":true,"href":"/crypto/options-chain"},{"title":"Crypto Options IV Skew \u0026 Term Structure API","sidebarTitle":"Options IV skew","openapi":"openapi.yaml GET /crypto/derivatives/iv-skew","hideApiMarker":true,"href":"/crypto/options-iv-skew"},{"title":"Crypto Liquidations Feed API (BTC, ETH, Alts)","sidebarTitle":"Liquidations feed","openapi":"openapi.yaml GET /crypto/liquidations","hideApiMarker":true,"href":"/crypto/liquidations"},{"title":"Bitcoin \u0026 Crypto Liquidation Heatmap Data API","sidebarTitle":"Liquidation heatmap","openapi":"openapi.yaml GET /crypto/liquidations/heatmap","hideApiMarker":true,"href":"/crypto/liquidation-heatmap"},{"title":"Crypto Funding Rate Arbitrage API","sidebarTitle":"Funding arbitrage","openapi":"openapi.yaml GET /crypto/funding-arbitrage","hideApiMarker":true,"href":"/crypto/funding-arbitrage"},{"title":"Aggregated Open Interest, Funding \u0026 CVD API","sidebarTitle":"Aggregated derivatives","openapi":"openapi.yaml GET /crypto/aggregated-derivatives","hideApiMarker":true,"href":"/crypto/aggregated-derivatives"},{"title":"Crypto Basis \u0026 Futures Term Structure API","sidebarTitle":"Basis \u0026 term structure","openapi":"openapi.yaml GET /crypto/basis","hideApiMarker":true,"href":"/crypto/basis"},{"title":"Crypto Options Max Pain, GEX \u0026 IV Surface API","sidebarTitle":"Options analytics","openapi":"openapi.yaml GET /crypto/derivatives/options-analytics","hideApiMarker":true,"href":"/crypto/options-analytics"},{"title":"DVOL Index API: IV Rank \u0026 Realized Cone","sidebarTitle":"DVOL \u0026 IV rank","openapi":"openapi.yaml GET /crypto/derivatives/dvol","hideApiMarker":true,"href":"/crypto/dvol-index"}]},{"group":"Crypto Screener","pages":[{"title":"Crypto Screener API: 77 Technical \u0026 Flow Metrics","sidebarTitle":"Crypto screener","openapi":"openapi.yaml POST /crypto/screener","hideApiMarker":true,"href":"/crypto/screener"},{"title":"Crypto Screener 77 Metric IDs \u0026 Operators API","sidebarTitle":"Screener metrics","openapi":"openapi.yaml GET /crypto/screener/metrics","hideApiMarker":true,"href":"/crypto/screener-metrics"}]},{"group":"DeFi","pages":[{"title":"DeFi Protocols TVL \u0026 Multi-Chain Metrics API","sidebarTitle":"Protocols \u0026 TVL","openapi":"openapi.yaml GET /defi/protocols","hideApiMarker":true,"href":"/defi/protocols-tvl"},{"title":"Stablecoin Supply, Market Cap \u0026 Peg Data API","sidebarTitle":"Stablecoins","openapi":"openapi.yaml GET /defi/stablecoins","hideApiMarker":true,"href":"/defi/stablecoins"},{"title":"DeFi Yield Pools, Base APY \u0026 Reward APY API","sidebarTitle":"DeFi yields","openapi":"openapi.yaml GET /defi/yields","hideApiMarker":true,"href":"/defi/yields"},{"title":"On-Chain DEX Tokens, Liquidity \u0026 Volume API","sidebarTitle":"DEX tokens","openapi":"openapi.yaml GET /defi/dex-tokens","hideApiMarker":true,"href":"/defi/dex-tokens"},{"title":"DeFi Protocol Fees \u0026 Revenue API","sidebarTitle":"Fees \u0026 revenue","openapi":"openapi.yaml GET /defi/fees","hideApiMarker":true,"href":"/defi/fees-revenue"},{"title":"DEX Volume API: Spot, Aggregators \u0026 Options","sidebarTitle":"DEX volumes","openapi":"openapi.yaml GET /defi/dex-volumes","hideApiMarker":true,"href":"/defi/dex-volumes"},{"title":"DeFi Protocol Profile \u0026 TVL History API","sidebarTitle":"Protocol profile","openapi":"openapi.yaml GET /defi/protocols/{slug}","hideApiMarker":true,"href":"/defi/protocol-profile"}]},{"group":"Prediction Markets","pages":[{"title":"Prediction Markets API: Polymarket, Kalshi, OKX","sidebarTitle":"Prediction markets","openapi":"openapi.yaml GET /prediction-markets","hideApiMarker":true,"href":"/prediction-markets/markets"},{"title":"Prediction Market Event Series \u0026 Categories","sidebarTitle":"Market series","openapi":"openapi.yaml GET /prediction-markets/series","hideApiMarker":true,"href":"/prediction-markets/series"},{"title":"Cross-Venue Prediction Market Arbitrage API","sidebarTitle":"Arbitrage scanner","openapi":"openapi.yaml GET /prediction-markets/arbitrage","hideApiMarker":true,"href":"/prediction-markets/arbitrage"},{"title":"Prediction Market Detail API: Odds \u0026 Rules","sidebarTitle":"Market detail","openapi":"openapi.yaml GET /prediction-markets/markets/{id}","hideApiMarker":true,"href":"/prediction-markets/market-detail"},{"title":"Prediction Market Order Book API","sidebarTitle":"Order book","openapi":"openapi.yaml GET /prediction-markets/orderbook","hideApiMarker":true,"href":"/prediction-markets/order-book"},{"title":"FOMC \u0026 CPI Market-Implied Odds API","sidebarTitle":"Macro odds","openapi":"openapi.yaml GET /prediction-markets/macro-odds","hideApiMarker":true,"href":"/prediction-markets/macro-odds"}]},{"group":"Macro \u0026 GPU Economics","pages":[{"group":"Economic Calendar","pages":[{"title":"Economic Calendar API: CPI, FOMC \u0026 Global Data","sidebarTitle":"Economic calendar","openapi":"openapi.yaml GET /macro/economic-calendar","hideApiMarker":true,"href":"/macro/economic-calendar"},{"title":"Economic Calendar Countries \u0026 ISO Codes API","sidebarTitle":"Calendar countries","openapi":"openapi.yaml GET /macro/economic-calendar/countries","hideApiMarker":true,"href":"/macro/economic-calendar-countries"}]},{"group":"Interest Rates","pages":[{"title":"Global Central Bank Interest Rates API (BIS)","sidebarTitle":"Interest rates","openapi":"openapi.yaml GET /macro/interest-rates","hideApiMarker":true,"href":"/macro/interest-rates"},{"title":"Latest Global Central Bank Policy Rates API","sidebarTitle":"Rates snapshot","openapi":"openapi.yaml GET /macro/interest-rates/snapshot","hideApiMarker":true,"href":"/macro/interest-rates-snapshot"},{"title":"Supported Central Bank Codes Directory API","sidebarTitle":"Central banks","openapi":"openapi.yaml GET /macro/interest-rates/banks","hideApiMarker":true,"href":"/macro/central-banks"}]},{"group":"Yield Curve","pages":[{"title":"US Treasury Yield Curve Historical Rates API","sidebarTitle":"Yield curve","openapi":"openapi.yaml GET /macro/yield-curve","hideApiMarker":true,"href":"/macro/treasury-yield-curve"},{"title":"Latest US Treasury Yield Curve Snapshot API","sidebarTitle":"Yield curve snapshot","openapi":"openapi.yaml GET /macro/yield-curve/snapshot","hideApiMarker":true,"href":"/macro/treasury-yield-curve-snapshot"}]},{"group":"Liquidity \u0026 Recession Signals","pages":[{"title":"Fed Net Liquidity API: WALCL, TGA, RRP","sidebarTitle":"Fed net liquidity","openapi":"openapi.yaml GET /macro/liquidity","hideApiMarker":true,"href":"/macro/fed-net-liquidity"},{"title":"Yield Curve Spread \u0026 Sahm Rule API","sidebarTitle":"Yield curve spreads","openapi":"openapi.yaml GET /macro/spreads","hideApiMarker":true,"href":"/macro/yield-curve-spreads"}]},{"group":"Inflation","pages":[{"title":"US CPI \u0026 PCE Inflation Historical Data API","sidebarTitle":"CPI \u0026 PCE inflation","openapi":"openapi.yaml GET /macro/inflation","hideApiMarker":true,"href":"/macro/cpi-pce-inflation"},{"title":"Latest US CPI \u0026 PCE Inflation Snapshot API","sidebarTitle":"Inflation snapshot","openapi":"openapi.yaml GET /macro/inflation/snapshot","hideApiMarker":true,"href":"/macro/inflation-snapshot"},{"title":"CPI \u0026 PCE Inflation Series IDs Reference API","sidebarTitle":"Inflation series","openapi":"openapi.yaml GET /macro/inflation/series","hideApiMarker":true,"href":"/macro/inflation-series"}]},{"group":"Labor Market","pages":[{"title":"US Labor Market API: Payrolls, JOLTS \u0026 Claims","sidebarTitle":"Labor market","openapi":"openapi.yaml GET /macro/labor","hideApiMarker":true,"href":"/macro/labor-market"},{"title":"Latest US Jobs, Payrolls \u0026 Claims Snapshot","sidebarTitle":"Labor snapshot","openapi":"openapi.yaml GET /macro/labor/snapshot","hideApiMarker":true,"href":"/macro/labor-market-snapshot"},{"title":"US Labor Market 24 Series IDs Directory API","sidebarTitle":"Labor series","openapi":"openapi.yaml GET /macro/labor/series","hideApiMarker":true,"href":"/macro/labor-market-series"}]},{"group":"GDP \u0026 Income","pages":[{"title":"US GDP Growth, GDI \u0026 Corporate Profits API","sidebarTitle":"GDP \u0026 income","openapi":"openapi.yaml GET /macro/gdp","hideApiMarker":true,"href":"/macro/gdp-income"},{"title":"Latest US GDP \u0026 Corporate Profits Snapshot","sidebarTitle":"GDP snapshot","openapi":"openapi.yaml GET /macro/gdp/snapshot","hideApiMarker":true,"href":"/macro/gdp-snapshot"},{"title":"BEA GDP \u0026 National Accounts Series IDs API","sidebarTitle":"GDP series","openapi":"openapi.yaml GET /macro/gdp/series","hideApiMarker":true,"href":"/macro/gdp-series"}]},{"group":"GPU Rental Prices","pages":[{"title":"Cloud GPU Rental Prices API: H100, H200, GB200","sidebarTitle":"GPU rental prices","openapi":"openapi.yaml GET /macro/gpu-prices","hideApiMarker":true,"href":"/macro/gpu-rental-prices"},{"title":"Live Cloud GPU Hourly Rental Price Snapshot","sidebarTitle":"GPU prices snapshot","openapi":"openapi.yaml GET /macro/gpu-prices/snapshot","hideApiMarker":true,"href":"/macro/gpu-prices-snapshot"},{"title":"Cloud GPU Benchmark Series IDs Directory API","sidebarTitle":"GPU price series","openapi":"openapi.yaml GET /macro/gpu-prices/series","hideApiMarker":true,"href":"/macro/gpu-prices-series"}]}]}]},{"group":"Darvas Pro+","pages":[{"title":"Darvas Pro+ Trading Alerts \u0026 Account Webhooks","sidebarTitle":"Pro+ webhooks","href":"/pro/webhooks"}]},{"group":"Pine Script","pages":[{"group":"Getting Started","pages":[{"title":"Pine Script v5 \u0026 v6 Custom Indicators Guide","sidebarTitle":"Introduction","href":"/pine-script/introduction"},{"title":"Pine Script Quickstart: Build Your First Chart","sidebarTitle":"Quickstart","href":"/pine-script/quickstart"},{"title":"Pine Script Code Editor, Logs \u0026 Versions","sidebarTitle":"Editor walkthrough","href":"/pine-script/editor"}]},{"group":"Language Reference","pages":[{"title":"Pine Script v5 \u0026 v6 Language Support Matrix","sidebarTitle":"Language support","href":"/pine-script/support"},{"title":"Pine Script request.security \u0026 Financial Data","sidebarTitle":"request.security \u0026 data","href":"/pine-script/request-security"},{"title":"Pine Script Execution Limits, Bars \u0026 Alerts","sidebarTitle":"Execution limits","href":"/pine-script/limits"}]},{"group":"Guides","pages":[{"title":"Pine Script AI Generator \u0026 Code Assistant","sidebarTitle":"AI assistant","href":"/pine-script/ai-assistant"},{"title":"Publish \u0026 Share Private Pine Script Indicators","sidebarTitle":"Sharing indicators","href":"/pine-script/sharing"},{"title":"Pine Script alert() \u0026 alertcondition() Alerts","sidebarTitle":"Indicator alerts","href":"/pine-script/alerts"}]}]}]},"basePath":"","title":"Crypto Market Context API: Price, Flow \u0026 Macro - Darvas","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}