{
"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 runs Darvas market structure engines over the newest candles of a Darvas aggregated pair (by default) or a single exchange instrument. Each requested engine returns its own top-level object (smc, order_blocks, fvg_sessions, swings, volume_zones, or monte_carlo) alongside candle window metadata (bars, from, to, and price).
Coverage
Details
Aggregated feed
darvas (default) reads Darvas aggregated candles across every primary exchange listing the pair, including ALLUSD pairs (BTC-ALLUSD, BTC-ALLUSD-SWAP)
Single exchanges
okx, binance, bybit, hyperliquid, coinbase, kraken, bitstamp, deribit and bitfinex
Formulas
Inverses, ratios, spreads and arithmetic over listed crypto instruments, typed (USDTBTC, BTCUSDT*USDTETH, BTCUSDT/NVDAUSDT, COINBASE:BTCUSD - BINANCE:BTCUSDT) or canonical (1 / [okx:BTC-USDT-SWAP]), on exchange=formula
Timeframes
1m, 5m, 15m, 30m, 1H (default), 4H, 1D and 1W
Modules
Comma-separated smc, order_blocks, fvg_sessions, swings, volume_zones and monte_carlo; defaults to smc,swings
Lookback window
lookback from 50 to 500 newest candles (default 300)
Up to 20 high-volume support and resistance zones nearest price, with volume_delta, broken, break_time and distance_pct
Sorted nearest to price first
monte_carlo
100 shuffled paths forward over the last 50 candle bodies, with start_price, end_price, highest_price, lowest_price, standard_deviation and 50-bar envelope
Returns null if too few candles are available
Tuning parameters and related endpoints
Pivot and swing overrides. Pass swing_length (5 to 100) to override the pivot window for both smc and order_blocks. Pass deviation_pct (0.1 to 20) to override the minimum percentage move for swings.
Venue filtering. With exchange=darvas, pass comma-separated venues (such as venues=binance,bybit,okx) to restrict aggregation; sending venues with any single exchange returns 400. Aggregated answers return constituents and venues (null when unfiltered); single-exchange answers omit both.
Formulas. A formula ticker such as USDTBTC, BTCUSDT*USDTETH, BTCUSDT/NVDAUSDT or 1 / [okx:BTC-USDT-SWAP] runs every engine over the formula’s candles, joined from its legs’ candles at the times all of them hold one. The answer carries exchangeformula, market_typesynthetic, the canonical ticker, a display_symbol and the legs. Volume-weighted engines (volume_zones) see volume 0 on a multi-leg formula. The prices page explains the syntax and the crypto-only rule.
# Smart Money Concepts and swings of the BTC to NVDA ratio on hourly candlescurl -H "X-API-KEY: $DARVAS_API_KEY" -G "https://api.darvas.app/v1/crypto/market-structure" \ --data-urlencode "ticker=BTCUSDT/NVDAUSDT" \ --data-urlencode "modules=smc,swings"# Run session fair value gaps and Monte Carlo projection on 15-minute aggregated ETH perpetual candlescurl -H "X-API-KEY: $DARVAS_API_KEY" \ "https://api.darvas.app/v1/crypto/market-structure?ticker=ETH-USDT-SWAP&exchange=darvas&venues=binance,bybit,okx&timeframe=15m&modules=fvg_sessions,monte_carlo&lookback=250"
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. A formula over listed crypto instruments is typed as in the chart's pair search, such as USDTBTC (the inverse of BTC-USDT), BTCUSDT*USDTETH, BTCUSDT/NVDAUSDT, BTC/NVDA, COINBASE:BTCUSD - BINANCE:BTCUSDT or (BTCUSDT + ETHUSDT) / 2, or sent in the canonical form an answer names it by, such as 1 / [okx:BTC-USDT-SWAP]. Every leg is a listed instrument on a crypto exchange. With exchange formula the ticker is read as a formula; without it, a ticker no exchange lists is read as one, its symbols looked up on the exchange sent first.
Maximum string length: 512
Pattern: ^[A-Za-z0-9 ._:@/()\[\]*+^-]{1,512}$
exchange
enum<string>
default:darvas
The exchange whose candles the engines read, darvas for Darvas's aggregated pair, or formula for a formula ticker; darvas without it.
Available options:
darvas,
okx,
binance,
bybit,
hyperliquid,
coinbase,
kraken,
bitstamp,
deribit,
bitfinex,
formula
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.
The pivot length of smc and order_blocks; without it smc uses 50 and order_blocks 5.
Required range: 5 <= x <= 100
deviation_pct
number<double>
The smallest move in percent that makes a new swing; without it, one fitting the frame, from 0.4 at 1m to 8 at 1W.
Required range: 0.1 <= x <= 20
Response
Read a crypto market's structure: one page.
The answer of GET /crypto/market-structure: one object per engine named in modules.
ticker
string
required
The instrument id of the candles the engines read, or with exchange formula the canonical formula, such as 1 / [okx:BTC-USDT-SWAP].
Maximum string length: 512
Pattern: ^[A-Za-z0-9 ._:@/()\[\]*+^-]{1,512}$
Example:
"BTC-USDT-SWAP"
exchange
enum<string>
required
The exchange of the candles the engines read, or formula.
Available options:
darvas,
okx,
binance,
bybit,
hyperliquid,
coinbase,
kraken,
bitstamp,
deribit,
bitfinex,
formula
Example:
"okx"
market_type
enum<string>
required
The market of the candles the engines read; synthetic for a formula.
Available options:
spot,
swap,
futures,
option,
synthetic
Example:
"spot"
timeframe
enum<string>
required
The candle frame the engines read.
Available options:
1m,
5m,
15m,
30m,
1H,
4H,
1D,
1W
Example:
"1H"
bars
integer<int32>
required
The number of candles the engines read.
Required range: 0 <= x <= 500
Example:
300
from
string<date-time>
required
The oldest candle the engines read.
Maximum string length: 30
Example:
"2026-11-16T01:00:00.000Z"
to
string<date-time>
required
The newest candle the engines read, perhaps still open.
Maximum string length: 30
Example:
"2026-11-28T12:00:00.000Z"
price
number<double> | null
required
The close of the newest candle the engines read.
Example:
97811.4
modules
enum<string>[]
required
The structure engines in the answer.
Maximum array length: 6
Available options:
smc,
order_blocks,
fvg_sessions,
swings,
volume_zones,
monte_carlo
Example:
["smc", "swings"]
constituents
string[]
With exchange darvas: every exchange the analyzed pair 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 analyzed 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
display_symbol
string
With exchange formula: the name Darvas shows for the formula of the candles the engines read, such as USDTBTC or BTC/NVDA. Absent otherwise.
Maximum string length: 512
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:
"USDTBTC"
legs
object[]
With exchange formula: the listed crypto instruments the formula of the candles the engines read reads. Absent otherwise.
Maximum array length: 10
Show child attributes
smc
object
Smart Money Concepts, newest first where a list is cut.
{"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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-structure","slug":"/crypto/market-structure","pageMetadata":{"title":"Crypto Market Structure, FVG \u0026 SMC Levels API","sidebarTitle":"Market structure","description":"Detect swing highs/lows, Break of Structure (BOS), Change of Character (CHoCH), Fair Value Gaps (FVG) and liquidity pools on crypto charts via API.","keywords":["crypto market structure API","Smart Money Concepts API","order blocks API","fair value gap API","zigzag trend regime API","crypto volume zones","crypto ratio market structure","MCP crypto data"],"openapi":"openapi.yaml GET /crypto/market-structure","hideApiMarker":true,"href":"/crypto/market-structure"},"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: \"Detect swing highs/lows, Break of Structure (BOS), Change of Character (CHoCH), Fair Value Gaps (FVG) and liquidity pools on crypto charts via API.\"\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`,_jsxs(_components.p,{children:[`This endpoint runs Darvas market structure engines over the newest candles of a Darvas aggregated pair (by default) or a single exchange instrument. Each requested engine returns its own top-level object (`,_jsx(_components.code,{children:`smc`}),`, `,_jsx(_components.code,{children:`order_blocks`}),`, `,_jsx(_components.code,{children:`fvg_sessions`}),`, `,_jsx(_components.code,{children:`swings`}),`, `,_jsx(_components.code,{children:`volume_zones`}),`, or `,_jsx(_components.code,{children:`monte_carlo`}),`) alongside candle window metadata (`,_jsx(_components.code,{children:`bars`}),`, `,_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`to`}),`, and `,_jsx(_components.code,{children:`price`}),`).`]}),`\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) reads Darvas aggregated candles across every primary exchange listing the pair, including `,_jsx(_components.code,{children:`ALLUSD`}),` pairs (`,_jsx(_components.code,{children:`BTC-ALLUSD`}),`, `,_jsx(_components.code,{children:`BTC-ALLUSD-SWAP`}),`)`]})]}),_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:`Formulas`}),_jsxs(_components.td,{children:[`Inverses, ratios, spreads and arithmetic over listed crypto instruments, typed (`,_jsx(_components.code,{children:`USDTBTC`}),`, `,_jsx(_components.code,{children:`BTCUSDT*USDTETH`}),`, `,_jsx(_components.code,{children:`BTCUSDT/NVDAUSDT`}),`, `,_jsx(_components.code,{children:`COINBASE:BTCUSD - BINANCE:BTCUSDT`}),`) or canonical (`,_jsx(_components.code,{children:`1 / [okx:BTC-USDT-SWAP]`}),`), on `,_jsx(_components.code,{children:`exchange=formula`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Timeframes`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`1m`}),`, `,_jsx(_components.code,{children:`5m`}),`, `,_jsx(_components.code,{children:`15m`}),`, `,_jsx(_components.code,{children:`30m`}),`, `,_jsx(_components.code,{children:`1H`}),` (default), `,_jsx(_components.code,{children:`4H`}),`, `,_jsx(_components.code,{children:`1D`}),` and `,_jsx(_components.code,{children:`1W`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Modules`}),_jsxs(_components.td,{children:[`Comma-separated `,_jsx(_components.code,{children:`smc`}),`, `,_jsx(_components.code,{children:`order_blocks`}),`, `,_jsx(_components.code,{children:`fvg_sessions`}),`, `,_jsx(_components.code,{children:`swings`}),`, `,_jsx(_components.code,{children:`volume_zones`}),` and `,_jsx(_components.code,{children:`monte_carlo`}),`; defaults to `,_jsx(_components.code,{children:`smc,swings`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Lookback window`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`lookback`}),` from `,_jsx(_components.code,{children:`50`}),` to `,_jsx(_components.code,{children:`500`}),` newest candles (default `,_jsx(_components.code,{children:`300`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`MCP tool`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get_crypto_market_structure`}),` on the `,_jsx(_components.a,{href:`/mcp-server`,children:`data API MCP server`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`structure-engines`,children:`Structure engines`}),`\n`,_jsxs(_components.p,{children:[`Request only the engines you need with `,_jsx(_components.code,{children:`modules`}),`. Unrequested engine keys are omitted from the response.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Module`}),_jsx(_components.th,{children:`What it returns`}),_jsx(_components.th,{children:`Notes and caps`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`smc`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`structures`}),` (`,_jsx(_components.code,{children:`BOS`}),` and `,_jsx(_components.code,{children:`CHoCH`}),`), `,_jsx(_components.code,{children:`order_blocks`}),`, `,_jsx(_components.code,{children:`fair_value_gaps`}),`, `,_jsx(_components.code,{children:`equal_levels`}),` (`,_jsx(_components.code,{children:`EQH`}),`, `,_jsx(_components.code,{children:`EQL`}),`), `,_jsx(_components.code,{children:`zones`}),` (`,_jsx(_components.code,{children:`premium`}),`, `,_jsx(_components.code,{children:`equilibrium`}),`, `,_jsx(_components.code,{children:`discount`}),`), `,_jsx(_components.code,{children:`strong_weak_levels`}),`, `,_jsx(_components.code,{children:`swing_points`})]}),_jsxs(_components.td,{children:[`Up to 20 newest structures; up to 10 order blocks, fair value gaps, equal levels and swing pivots; default pivot length `,_jsx(_components.code,{children:`50`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_blocks`})}),_jsxs(_components.td,{children:[`Active swing `,_jsx(_components.code,{children:`order_blocks`}),` (with `,_jsx(_components.code,{children:`overlapping_blocks`}),`) and broken `,_jsx(_components.code,{children:`breaker_blocks`}),` (with `,_jsx(_components.code,{children:`break_time`}),`)`]}),_jsxs(_components.td,{children:[`Sorted nearest to `,_jsx(_components.code,{children:`price`}),` by `,_jsx(_components.code,{children:`distance_pct`}),` (negative below price); default pivot length `,_jsx(_components.code,{children:`5`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fvg_sessions`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`current_session`}),` UTC range and up to 10 newest session opening `,_jsx(_components.code,{children:`gaps`}),` with `,_jsx(_components.code,{children:`mitigated`}),` and `,_jsx(_components.code,{children:`mitigation_time`})]}),_jsxs(_components.td,{children:[`Marks UTC sessions; sending `,_jsx(_components.code,{children:`timeframe`}),` coarser than `,_jsx(_components.code,{children:`1H`}),` returns `,_jsx(_components.code,{children:`400`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`swings`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`deviation_pct`}),`, trend `,_jsx(_components.code,{children:`regime`}),` (`,_jsx(_components.code,{children:`uptrend`}),`, `,_jsx(_components.code,{children:`downtrend`}),`, `,_jsx(_components.code,{children:`range`}),`, `,_jsx(_components.code,{children:`transition`}),`, `,_jsx(_components.code,{children:`indeterminate`}),`), `,_jsx(_components.code,{children:`last_bos`}),`, `,_jsx(_components.code,{children:`last_choch`}),`, and up to 50 newest zigzag `,_jsx(_components.code,{children:`points`}),` (`,_jsx(_components.code,{children:`HH`}),`, `,_jsx(_components.code,{children:`HL`}),`, `,_jsx(_components.code,{children:`LH`}),`, `,_jsx(_components.code,{children:`LL`}),`)`]}),_jsxs(_components.td,{children:[`Default `,_jsx(_components.code,{children:`deviation_pct`}),` adapts to `,_jsx(_components.code,{children:`timeframe`}),`: `,_jsx(_components.code,{children:`0.4`}),` (`,_jsx(_components.code,{children:`1m`}),`, `,_jsx(_components.code,{children:`5m`}),`), `,_jsx(_components.code,{children:`0.7`}),` (`,_jsx(_components.code,{children:`15m`}),`, `,_jsx(_components.code,{children:`30m`}),`), `,_jsx(_components.code,{children:`1`}),` (`,_jsx(_components.code,{children:`1H`}),`), `,_jsx(_components.code,{children:`2`}),` (`,_jsx(_components.code,{children:`4H`}),`), `,_jsx(_components.code,{children:`5`}),` (`,_jsx(_components.code,{children:`1D`}),`), `,_jsx(_components.code,{children:`8`}),` (`,_jsx(_components.code,{children:`1W`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`volume_zones`})}),_jsxs(_components.td,{children:[`Up to 20 high-volume support and resistance `,_jsx(_components.code,{children:`zones`}),` nearest `,_jsx(_components.code,{children:`price`}),`, with `,_jsx(_components.code,{children:`volume_delta`}),`, `,_jsx(_components.code,{children:`broken`}),`, `,_jsx(_components.code,{children:`break_time`}),` and `,_jsx(_components.code,{children:`distance_pct`})]}),_jsxs(_components.td,{children:[`Sorted nearest to `,_jsx(_components.code,{children:`price`}),` first`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`monte_carlo`})}),_jsxs(_components.td,{children:[`100 shuffled paths forward over the last 50 candle bodies, with `,_jsx(_components.code,{children:`start_price`}),`, `,_jsx(_components.code,{children:`end_price`}),`, `,_jsx(_components.code,{children:`highest_price`}),`, `,_jsx(_components.code,{children:`lowest_price`}),`, `,_jsx(_components.code,{children:`standard_deviation`}),` and 50-bar `,_jsx(_components.code,{children:`envelope`})]}),_jsxs(_components.td,{children:[`Returns `,_jsx(_components.code,{children:`null`}),` if too few candles are available`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`tuning-parameters-and-related-endpoints`,children:`Tuning parameters and related endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pivot and swing overrides.`}),` Pass `,_jsx(_components.code,{children:`swing_length`}),` (`,_jsx(_components.code,{children:`5`}),` to `,_jsx(_components.code,{children:`100`}),`) to override the pivot window for both `,_jsx(_components.code,{children:`smc`}),` and `,_jsx(_components.code,{children:`order_blocks`}),`. Pass `,_jsx(_components.code,{children:`deviation_pct`}),` (`,_jsx(_components.code,{children:`0.1`}),` to `,_jsx(_components.code,{children:`20`}),`) to override the minimum percentage move for `,_jsx(_components.code,{children:`swings`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Venue filtering.`}),` With `,_jsx(_components.code,{children:`exchange=darvas`}),`, pass comma-separated `,_jsx(_components.code,{children:`venues`}),` (such as `,_jsx(_components.code,{children:`venues=binance,bybit,okx`}),`) to restrict aggregation; sending `,_jsx(_components.code,{children:`venues`}),` with any single exchange returns `,_jsx(_components.code,{children:`400`}),`. Aggregated answers return `,_jsx(_components.code,{children:`constituents`}),` and `,_jsx(_components.code,{children:`venues`}),` (`,_jsx(_components.code,{children:`null`}),` when unfiltered); single-exchange answers omit both.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Formulas.`}),` A formula `,_jsx(_components.code,{children:`ticker`}),` such as `,_jsx(_components.code,{children:`USDTBTC`}),`, `,_jsx(_components.code,{children:`BTCUSDT*USDTETH`}),`, `,_jsx(_components.code,{children:`BTCUSDT/NVDAUSDT`}),` or `,_jsx(_components.code,{children:`1 / [okx:BTC-USDT-SWAP]`}),` runs every engine over the formula’s candles, joined from its legs’ candles at the times all of them hold one. The answer carries `,_jsx(_components.code,{children:`exchange`}),` `,_jsx(_components.code,{children:`formula`}),`, `,_jsx(_components.code,{children:`market_type`}),` `,_jsx(_components.code,{children:`synthetic`}),`, the canonical `,_jsx(_components.code,{children:`ticker`}),`, a `,_jsx(_components.code,{children:`display_symbol`}),` and the `,_jsx(_components.code,{children:`legs`}),`. Volume-weighted engines (`,_jsx(_components.code,{children:`volume_zones`}),`) see volume `,_jsx(_components.code,{children:`0`}),` on a multi-leg formula. The `,_jsx(_components.a,{href:`/crypto/prices#inverse-ratio-and-spread-formulas`,children:`prices page`}),` explains the syntax and the crypto-only rule.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Related endpoints.`}),` Combine structure levels with precomputed moving averages and momentum at `,_jsx(_components.a,{href:`/crypto/technical-indicators`,children:_jsx(_components.code,{children:`/crypto/indicators`})}),`, full OHLCV history at `,_jsx(_components.a,{href:`/crypto/prices`,children:_jsx(_components.code,{children:`/crypto/prices`})}),`, price-level order flow at `,_jsx(_components.a,{href:`/crypto/footprint-charts`,children:_jsx(_components.code,{children:`/crypto/footprint`})}),`, and single-call positioning context at `,_jsx(_components.a,{href:`/crypto/market-context`,children:_jsx(_components.code,{children:`/crypto/context`})}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,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:`20`,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:`resp `}),_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/market-structure\"`}),_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:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,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:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"timeframe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1H\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"modules\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"smc,order_blocks,swings,volume_zones\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"lookback\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300`}),_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:` },`})}),`\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:`\"Price:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, resp[`}),_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:`\"Regime:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, resp[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"swings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"regime\"`}),_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:`\"Latest SMC break:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, resp[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"smc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"structures\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resp[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"smc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"structures\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`else`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`}),_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:`nearest_ob `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resp[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order_blocks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order_blocks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_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:` ob `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nearest_ob:`})]}),`\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:`\"Order block:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ob[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bias\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], ob[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bottom\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], ob[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"top\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dist %:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ob[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"distance_pct\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Smart Money Concepts and swings of the BTC to NVDA ratio on hourly candles`})}),`\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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.darvas.app/v1/crypto/market-structure\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ticker=BTCUSDT/NVDAUSDT\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"modules=smc,swings\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Run session fair value gaps and Monte Carlo projection on 15-minute aggregated ETH perpetual candles`})}),`\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/market-structure?ticker=ETH-USDT-SWAP\u0026exchange=darvas\u0026venues=binance,bybit,okx\u0026timeframe=15m\u0026modules=fvg_sessions,monte_carlo\u0026lookback=250\"`})}),`\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 Structure, FVG \u0026 SMC Levels API","sidebarTitle":"Market structure","description":"Detect swing highs/lows, Break of Structure (BOS), Change of Character (CHoCH), Fair Value Gaps (FVG) and liquidity pools on crypto charts via API.","keywords":["crypto market structure API","Smart Money Concepts API","order blocks API","fair value gap API","zigzag trend regime API","crypto volume zones","crypto ratio market structure","MCP crypto data"],"openapi":"openapi.yaml GET /crypto/market-structure","hideApiMarker":true,"href":"/crypto/market-structure"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Structure engines","slug":"structure-engines","depth":2,"children":[]},{"title":"Tuning parameters and related endpoints","slug":"tuning-parameters-and-related-endpoints","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".\\[okx\\:BTC-USDT-SWAP\\] {\n okx: BTC-USDT-SWAP\n}","openApiReferenceData":{"operation":{"operationId":"getCryptoMarketStructure","tags":["crypto"],"summary":"Read a crypto market's structure","description":"Detect swing highs/lows, Break of Structure (BOS), Change of Character (CHoCH), Fair Value Gaps (FVG) and liquidity pools on crypto charts via API.","parameters":["ccf54962-c0ff-4273-b5e4-dd0f81a91a63","7355be64-ca5d-4f1a-982f-4576e1924e3b","8750cfda-f85b-4f45-9b0d-4542bc500dad","57181036-88fd-43f0-92ed-83f0470c34b7","da7991fe-629c-4fea-b9af-08465bec4e5e","cc95ff07-421b-42f6-894e-fb8617f56b29","f26093aa-ab90-4836-b714-699fa858504c","7e935359-dd88-41a0-84aa-b757d7d085e2","7668587f-1e6b-41f0-83f0-3b3f552f7e05"],"responses":{"200":"7ac945f6-5247-4458-84f8-a8312536ae19","400":"5db0a209-8852-4778-bed1-5756c1aefd08","401":"d4708275-949f-418b-934a-13e9079e67f1","403":"fc5ab722-73d3-4b80-a4c2-aea6e83ed719","404":"297d4584-31e8-477c-9879-34bf865aa4ea","429":"b68364f2-b5b3-4ad6-8274-479ea891e18c","500":"79e94de0-001a-41a2-92c7-c38127335c13","503":"7b9e9616-aa1d-46bb-8088-7d2d321f91d5"},"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/market-structure","baseUrlOptions":["https://api.darvas.app/v1","https://darvas.app/api/data/v1"],"title":"Read a crypto market's structure","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ccf54962-c0ff-4273-b5e4-dd0f81a91a63":{"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. A formula over listed crypto instruments is typed as in the chart's pair search, such as USDTBTC (the inverse of BTC-USDT), BTCUSDT*USDTETH, BTCUSDT/NVDAUSDT, BTC/NVDA, COINBASE:BTCUSD - BINANCE:BTCUSDT or (BTCUSDT + ETHUSDT) / 2, or sent in the canonical form an answer names it by, such as 1 / [okx:BTC-USDT-SWAP]. Every leg is a listed instrument on a crypto exchange. With exchange formula the ticker is read as a formula; without it, a ticker no exchange lists is read as one, its symbols looked up on the exchange sent first.","schema":{"type":"string","pattern":"^[A-Za-z0-9 ._:@/()\\[\\]*+^-]{1,512}$","maxLength":512,"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. A formula over listed crypto instruments is typed as in the chart's pair search, such as USDTBTC (the inverse of BTC-USDT), BTCUSDT*USDTETH, BTCUSDT/NVDAUSDT, BTC/NVDA, COINBASE:BTCUSD - BINANCE:BTCUSDT or (BTCUSDT + ETHUSDT) / 2, or sent in the canonical form an answer names it by, such as 1 / [okx:BTC-USDT-SWAP]. Every leg is a listed instrument on a crypto exchange. With exchange formula the ticker is read as a formula; without it, a ticker no exchange lists is read as one, its symbols looked up on the exchange sent first.","uniqueKey":"","typeLabel":"string"},"example":"BTC-USDT"},"7355be64-ca5d-4f1a-982f-4576e1924e3b":{"name":"exchange","in":"query","required":false,"description":"The exchange whose candles the engines read, darvas for Darvas's aggregated pair, or formula for a formula ticker; darvas without it.","schema":{"type":"string","enum":["darvas","okx","binance","bybit","hyperliquid","coinbase","kraken","bitstamp","deribit","bitfinex","formula"],"default":"darvas","isRequired":false,"description":"The exchange whose candles the engines read, darvas for Darvas's aggregated pair, or formula for a formula ticker; darvas without it.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"darvas"},"8750cfda-f85b-4f45-9b0d-4542bc500dad":{"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"},"57181036-88fd-43f0-92ed-83f0470c34b7":{"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"},"da7991fe-629c-4fea-b9af-08465bec4e5e":{"name":"timeframe","in":"query","required":false,"description":"The candle frame the engines read; 1H without it.","schema":{"type":"string","enum":["1m","5m","15m","30m","1H","4H","1D","1W"],"default":"1H","isRequired":false,"description":"The candle frame the engines read; 1H without it.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"4H"},"cc95ff07-421b-42f6-894e-fb8617f56b29":{"name":"modules","in":"query","required":false,"description":"Comma-separated engines: smc, order_blocks, fvg_sessions (1H and finer), swings, volume_zones and monte_carlo; smc,swings without it.","schema":{"type":"string","pattern":"^(smc|order_blocks|fvg_sessions|swings|volume_zones|monte_carlo)(,(smc|order_blocks|fvg_sessions|swings|volume_zones|monte_carlo)){0,5}$","maxLength":80,"default":"smc,swings","isRequired":false,"description":"Comma-separated engines: smc, order_blocks, fvg_sessions (1H and finer), swings, volume_zones and monte_carlo; smc,swings without it.","uniqueKey":"","typeLabel":"string"},"example":"smc,order_blocks,monte_carlo"},"f26093aa-ab90-4836-b714-699fa858504c":{"name":"lookback","in":"query","required":false,"description":"The newest candles the engines read.","schema":{"type":"integer","format":"int32","minimum":50,"maximum":500,"default":300,"isRequired":false,"description":"The newest candles the engines read.","uniqueKey":"","typeLabel":"integer\u003cint32>"},"example":300},"7e935359-dd88-41a0-84aa-b757d7d085e2":{"name":"swing_length","in":"query","required":false,"description":"The pivot length of smc and order_blocks; without it smc uses 50 and order_blocks 5.","schema":{"type":"integer","format":"int32","minimum":5,"maximum":100,"isRequired":false,"description":"The pivot length of smc and order_blocks; without it smc uses 50 and order_blocks 5.","uniqueKey":"","typeLabel":"integer\u003cint32>"},"example":50},"7668587f-1e6b-41f0-83f0-3b3f552f7e05":{"name":"deviation_pct","in":"query","required":false,"description":"The smallest move in percent that makes a new swing; without it, one fitting the frame, from 0.4 at 1m to 8 at 1W.","schema":{"type":"number","format":"double","minimum":0.1,"maximum":20,"isRequired":false,"description":"The smallest move in percent that makes a new swing; without it, one fitting the frame, from 0.4 at 1m to 8 at 1W.","uniqueKey":"","typeLabel":"number\u003cdouble>"},"example":2}},"responses":{"7ac945f6-5247-4458-84f8-a8312536ae19":{"description":"Read a crypto market's structure: 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/market-structure: one object per engine named in modules.","additionalProperties":false,"required":["ticker","exchange","market_type","timeframe","bars","from","to","price","modules"],"properties":{"ticker":{"type":"string","pattern":"^[A-Za-z0-9 ._:@/()\\[\\]*+^-]{1,512}$","maxLength":512,"description":"The instrument id of the candles the engines read, or with exchange formula the canonical formula, such as 1 / [okx:BTC-USDT-SWAP].","examples":["BTC-USDT-SWAP"],"isRequired":true,"uniqueKey":"ticker","typeLabel":"string"},"exchange":{"type":"string","enum":["darvas","okx","binance","bybit","hyperliquid","coinbase","kraken","bitstamp","deribit","bitfinex","formula"],"description":"The exchange of the candles the engines read, or formula.","examples":["okx"],"isRequired":true,"uniqueKey":"exchange","typeLabel":"enum\u003cstring>"},"market_type":{"type":"string","enum":["spot","swap","futures","option","synthetic"],"description":"The market of the candles the engines read; synthetic for a formula.","examples":["spot"],"isRequired":true,"uniqueKey":"market_type","typeLabel":"enum\u003cstring>"},"timeframe":{"type":"string","enum":["1m","5m","15m","30m","1H","4H","1D","1W"],"description":"The candle frame the engines read.","examples":["1H"],"isRequired":true,"uniqueKey":"timeframe","typeLabel":"enum\u003cstring>"},"bars":{"type":"integer","format":"int32","minimum":0,"maximum":500,"description":"The number of candles the engines read.","examples":[300],"isRequired":true,"uniqueKey":"bars","typeLabel":"integer\u003cint32>"},"from":{"type":"string","format":"date-time","maxLength":30,"description":"The oldest candle the engines read.","examples":["2026-11-16T01:00:00.000Z"],"isRequired":true,"uniqueKey":"from","typeLabel":"string\u003cdate-time>"},"to":{"type":"string","format":"date-time","maxLength":30,"description":"The newest candle the engines read, perhaps still open.","examples":["2026-11-28T12:00:00.000Z"],"isRequired":true,"uniqueKey":"to","typeLabel":"string\u003cdate-time>"},"price":{"oneOf":[{"type":"number","format":"double","description":"The close of the newest candle the engines read.","examples":[97811.4],"isRequired":true,"uniqueKey":"price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The close of the newest candle the engines read.","examples":[97811.4],"isRequired":true,"uniqueKey":"price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"price","typeLabel":"number\u003cdouble> | null"},"modules":{"type":"array","maxItems":6,"description":"The structure engines in the answer.","items":{"type":"string","enum":["smc","order_blocks","fvg_sessions","swings","volume_zones","monte_carlo"],"uniqueKey":"modules.items.[INDEX]","typeLabel":"enum\u003cstring>"},"examples":[["smc","swings"]],"isRequired":true,"uniqueKey":"modules","typeLabel":"enum\u003cstring>[]"},"constituents":{"type":"array","maxItems":16,"description":"With exchange darvas: every exchange the analyzed pair 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 analyzed 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 analyzed 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"},"display_symbol":{"type":"string","pattern":"^[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*$","maxLength":512,"description":"With exchange formula: the name Darvas shows for the formula of the candles the engines read, such as USDTBTC or BTC/NVDA. Absent otherwise.","examples":["USDTBTC"],"uniqueKey":"display_symbol","typeLabel":"string"},"legs":{"type":"array","maxItems":10,"description":"With exchange formula: the listed crypto instruments the formula of the candles the engines read reads. Absent otherwise.","items":{"type":"object","description":"One listed crypto instrument a formula reads.","additionalProperties":false,"required":["exchange","ticker","market_type"],"properties":{"exchange":{"type":"string","enum":["darvas","okx","binance","bybit","hyperliquid","coinbase","kraken","bitstamp","deribit","bitfinex"],"description":"The leg's exchange.","examples":["okx"],"isRequired":true,"uniqueKey":"legs.items.[INDEX].exchange","typeLabel":"enum\u003cstring>"},"ticker":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$","description":"The leg's instrument id.","examples":["BTC-USDT-SWAP"],"isRequired":true,"uniqueKey":"legs.items.[INDEX].ticker","typeLabel":"string"},"market_type":{"type":"string","enum":["spot","swap","futures","option"],"description":"The leg's market.","examples":["spot"],"isRequired":true,"uniqueKey":"legs.items.[INDEX].market_type","typeLabel":"enum\u003cstring>"}},"examples":[{"exchange":"okx","ticker":"BTC-USDT-SWAP","market_type":"swap"}],"uniqueKey":"legs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"legs","typeLabel":"object[]"},"smc":{"type":"object","description":"Smart Money Concepts, newest first where a list is cut.","additionalProperties":false,"required":["structures","order_blocks","fair_value_gaps","equal_levels","zones","strong_weak_levels","swing_points"],"properties":{"structures":{"type":"array","maxItems":20,"description":"The newest 20 SMC breaks, newest first.","items":{"type":"object","description":"A break of structure (BOS) or change of character (CHoCH).","additionalProperties":false,"required":["scope","bias","tag","level","start_time","end_time"],"properties":{"scope":{"type":"string","enum":["internal","swing"],"description":"Whether the SMC break is of the internal or the swing structure.","examples":["swing"],"isRequired":true,"uniqueKey":"smc.structures.items.[INDEX].scope","typeLabel":"enum\u003cstring>"},"bias":{"type":"string","enum":["bullish","bearish"],"description":"The side the SMC break points to.","examples":["bullish"],"isRequired":true,"uniqueKey":"smc.structures.items.[INDEX].bias","typeLabel":"enum\u003cstring>"},"tag":{"type":"string","enum":["BOS","CHoCH"],"description":"BOS when the SMC break continues the trend, CHoCH when it turns it.","examples":["BOS"],"isRequired":true,"uniqueKey":"smc.structures.items.[INDEX].tag","typeLabel":"enum\u003cstring>"},"level":{"oneOf":[{"type":"number","format":"double","description":"The price of the pivot the SMC break took out.","examples":[97250.5],"isRequired":true,"uniqueKey":"smc.structures.items.[INDEX].level.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The price of the pivot the SMC break took out.","examples":[97250.5],"isRequired":true,"uniqueKey":"smc.structures.items.[INDEX].level.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.structures.items.[INDEX].level","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"When the pivot the SMC break took out formed.","examples":["2026-11-27T08:00:00.000Z"],"isRequired":true,"uniqueKey":"smc.structures.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"},"end_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle whose close made the SMC break.","examples":["2026-11-28T03:00:00.000Z"],"isRequired":true,"uniqueKey":"smc.structures.items.[INDEX].end_time","typeLabel":"string\u003cdate-time>"}},"examples":[{"scope":"swing","bias":"bullish","tag":"BOS","level":97250.5,"start_time":"2026-11-27T08:00:00.000Z","end_time":"2026-11-28T03:00:00.000Z"}],"uniqueKey":"smc.structures.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"smc.structures","typeLabel":"object[]"},"order_blocks":{"type":"array","maxItems":10,"description":"Up to 10 SMC order blocks.","items":{"type":"object","description":"An order block of the internal or swing structure.","additionalProperties":false,"required":["scope","bias","top","bottom","midpoint","start_time","mitigated"],"properties":{"scope":{"type":"string","enum":["internal","swing"],"description":"Whether the SMC order block is of the internal or the swing structure.","examples":["internal"],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].scope","typeLabel":"enum\u003cstring>"},"bias":{"type":"string","enum":["bullish","bearish"],"description":"Bullish SMC order blocks support price, bearish ones resist it.","examples":["bullish"],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].bias","typeLabel":"enum\u003cstring>"},"top":{"oneOf":[{"type":"number","format":"double","description":"The SMC order block's top price.","examples":[96980],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].top.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The SMC order block's top price.","examples":[96980],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].top.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].top","typeLabel":"number\u003cdouble> | null"},"bottom":{"oneOf":[{"type":"number","format":"double","description":"The SMC order block's bottom price.","examples":[96610.5],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].bottom.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The SMC order block's bottom price.","examples":[96610.5],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].bottom.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].bottom","typeLabel":"number\u003cdouble> | null"},"midpoint":{"oneOf":[{"type":"number","format":"double","description":"The middle of the SMC order block.","examples":[96795.25],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].midpoint.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The middle of the SMC order block.","examples":[96795.25],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].midpoint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].midpoint","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle the SMC order block was drawn from.","examples":["2026-11-27T14:00:00.000Z"],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"},"mitigated":{"type":"boolean","description":"Whether price has traded through the SMC order block.","examples":[false],"isRequired":true,"uniqueKey":"smc.order_blocks.items.[INDEX].mitigated","typeLabel":"boolean"}},"examples":[{"scope":"internal","bias":"bullish","top":96980,"bottom":96610.5,"midpoint":96795.25,"start_time":"2026-11-27T14:00:00.000Z","mitigated":false}],"uniqueKey":"smc.order_blocks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"smc.order_blocks","typeLabel":"object[]"},"fair_value_gaps":{"type":"array","maxItems":10,"description":"Up to 10 SMC fair value gaps.","items":{"type":"object","description":"A three-candle fair value gap.","additionalProperties":false,"required":["bias","top","bottom","midpoint","start_time","mitigated"],"properties":{"bias":{"type":"string","enum":["bullish","bearish"],"description":"The side the SMC fair value gap opened toward.","examples":["bearish"],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].bias","typeLabel":"enum\u003cstring>"},"top":{"oneOf":[{"type":"number","format":"double","description":"The SMC fair value gap's top price.","examples":[98120],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].top.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The SMC fair value gap's top price.","examples":[98120],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].top.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].top","typeLabel":"number\u003cdouble> | null"},"bottom":{"oneOf":[{"type":"number","format":"double","description":"The SMC fair value gap's bottom price.","examples":[97960.4],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].bottom.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The SMC fair value gap's bottom price.","examples":[97960.4],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].bottom.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].bottom","typeLabel":"number\u003cdouble> | null"},"midpoint":{"oneOf":[{"type":"number","format":"double","description":"The middle of the SMC fair value gap.","examples":[98040.2],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].midpoint.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The middle of the SMC fair value gap.","examples":[98040.2],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].midpoint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].midpoint","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"The first candle of the SMC fair value gap.","examples":["2026-11-28T06:00:00.000Z"],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"},"mitigated":{"type":"boolean","description":"Whether price has filled the SMC fair value gap.","examples":[false],"isRequired":true,"uniqueKey":"smc.fair_value_gaps.items.[INDEX].mitigated","typeLabel":"boolean"}},"examples":[{"bias":"bearish","top":98120,"bottom":97960.4,"midpoint":98040.2,"start_time":"2026-11-28T06:00:00.000Z","mitigated":false}],"uniqueKey":"smc.fair_value_gaps.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"smc.fair_value_gaps","typeLabel":"object[]"},"equal_levels":{"type":"array","maxItems":10,"description":"The newest 10 equal highs and lows.","items":{"type":"object","description":"Equal highs (EQH) or equal lows (EQL): resting liquidity.","additionalProperties":false,"required":["type","bias","level","start_time","end_time"],"properties":{"type":{"type":"string","enum":["EQH","EQL"],"description":"EQH for equal highs, EQL for equal lows.","examples":["EQH"],"isRequired":true,"uniqueKey":"smc.equal_levels.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"bias":{"type":"string","enum":["bullish","bearish"],"description":"Bearish for equal highs, bullish for equal lows.","examples":["bearish"],"isRequired":true,"uniqueKey":"smc.equal_levels.items.[INDEX].bias","typeLabel":"enum\u003cstring>"},"level":{"oneOf":[{"type":"number","format":"double","description":"The price the equal highs or lows share.","examples":[98240],"isRequired":true,"uniqueKey":"smc.equal_levels.items.[INDEX].level.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The price the equal highs or lows share.","examples":[98240],"isRequired":true,"uniqueKey":"smc.equal_levels.items.[INDEX].level.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.equal_levels.items.[INDEX].level","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"The first of the two equal pivots.","examples":["2026-11-26T19:00:00.000Z"],"isRequired":true,"uniqueKey":"smc.equal_levels.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"},"end_time":{"type":"string","format":"date-time","maxLength":30,"description":"The second of the two equal pivots.","examples":["2026-11-28T05:00:00.000Z"],"isRequired":true,"uniqueKey":"smc.equal_levels.items.[INDEX].end_time","typeLabel":"string\u003cdate-time>"}},"examples":[{"type":"EQH","bias":"bearish","level":98240,"start_time":"2026-11-26T19:00:00.000Z","end_time":"2026-11-28T05:00:00.000Z"}],"uniqueKey":"smc.equal_levels.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"smc.equal_levels","typeLabel":"object[]"},"zones":{"type":"array","maxItems":3,"description":"The premium, equilibrium and discount zones.","items":{"type":"object","description":"The premium, equilibrium or discount part of the swing range.","additionalProperties":false,"required":["type","top","bottom","midpoint","start_time"],"properties":{"type":{"type":"string","enum":["premium","equilibrium","discount"],"description":"Which part of the swing range the zone is.","examples":["premium"],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"top":{"oneOf":[{"type":"number","format":"double","description":"The premium or discount zone's top price.","examples":[98240],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].top.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The premium or discount zone's top price.","examples":[98240],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].top.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].top","typeLabel":"number\u003cdouble> | null"},"bottom":{"oneOf":[{"type":"number","format":"double","description":"The premium or discount zone's bottom price.","examples":[97790.6],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].bottom.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The premium or discount zone's bottom price.","examples":[97790.6],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].bottom.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].bottom","typeLabel":"number\u003cdouble> | null"},"midpoint":{"oneOf":[{"type":"number","format":"double","description":"The middle of the premium or discount zone.","examples":[98015.3],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].midpoint.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The middle of the premium or discount zone.","examples":[98015.3],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].midpoint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].midpoint","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"Where the swing range of the zone begins.","examples":["2026-11-25T10:00:00.000Z"],"isRequired":true,"uniqueKey":"smc.zones.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"}},"examples":[{"type":"premium","top":98240,"bottom":97790.6,"midpoint":98015.3,"start_time":"2026-11-25T10:00:00.000Z"}],"uniqueKey":"smc.zones.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"smc.zones","typeLabel":"object[]"},"strong_weak_levels":{"type":"array","maxItems":2,"description":"The swing range's strong or weak high and low.","items":{"type":"object","description":"The swing range's high or low, strong when the trend protects it.","additionalProperties":false,"required":["type","bias","strength","level","start_time"],"properties":{"type":{"type":"string","enum":["high","low"],"description":"The swing range's high or its low.","examples":["high"],"isRequired":true,"uniqueKey":"smc.strong_weak_levels.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"bias":{"type":"string","enum":["bullish","bearish"],"description":"Bearish for the range high, bullish for the range low.","examples":["bearish"],"isRequired":true,"uniqueKey":"smc.strong_weak_levels.items.[INDEX].bias","typeLabel":"enum\u003cstring>"},"strength":{"type":"string","enum":["strong","weak"],"description":"Strong when the trend protects the extreme, weak when it is a target.","examples":["weak"],"isRequired":true,"uniqueKey":"smc.strong_weak_levels.items.[INDEX].strength","typeLabel":"enum\u003cstring>"},"level":{"oneOf":[{"type":"number","format":"double","description":"The price of the range extreme.","examples":[98240],"isRequired":true,"uniqueKey":"smc.strong_weak_levels.items.[INDEX].level.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The price of the range extreme.","examples":[98240],"isRequired":true,"uniqueKey":"smc.strong_weak_levels.items.[INDEX].level.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.strong_weak_levels.items.[INDEX].level","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"When the range extreme formed.","examples":["2026-11-26T19:00:00.000Z"],"isRequired":true,"uniqueKey":"smc.strong_weak_levels.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"}},"examples":[{"type":"high","bias":"bearish","strength":"weak","level":98240,"start_time":"2026-11-26T19:00:00.000Z"}],"uniqueKey":"smc.strong_weak_levels.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"smc.strong_weak_levels","typeLabel":"object[]"},"swing_points":{"type":"array","maxItems":10,"description":"The newest 10 SMC swing pivots, newest first.","items":{"type":"object","description":"A swing pivot labelled against the one before it.","additionalProperties":false,"required":["type","bias","level","time"],"properties":{"type":{"type":"string","enum":["HH","HL","LH","LL"],"description":"HH, HL, LH or LL against the SMC pivot of its kind before it.","examples":["HL"],"isRequired":true,"uniqueKey":"smc.swing_points.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"bias":{"type":"string","enum":["bullish","bearish"],"description":"Bullish for HH and HL, bearish for LH and LL.","examples":["bullish"],"isRequired":true,"uniqueKey":"smc.swing_points.items.[INDEX].bias","typeLabel":"enum\u003cstring>"},"level":{"oneOf":[{"type":"number","format":"double","description":"The price of the SMC swing pivot.","examples":[95910.2],"isRequired":true,"uniqueKey":"smc.swing_points.items.[INDEX].level.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The price of the SMC swing pivot.","examples":[95910.2],"isRequired":true,"uniqueKey":"smc.swing_points.items.[INDEX].level.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"smc.swing_points.items.[INDEX].level","typeLabel":"number\u003cdouble> | null"},"time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle of the SMC swing pivot.","examples":["2026-11-27T02:00:00.000Z"],"isRequired":true,"uniqueKey":"smc.swing_points.items.[INDEX].time","typeLabel":"string\u003cdate-time>"}},"examples":[{"type":"HL","bias":"bullish","level":95910.2,"time":"2026-11-27T02:00:00.000Z"}],"uniqueKey":"smc.swing_points.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"smc.swing_points","typeLabel":"object[]"}},"examples":[{"structures":[{"scope":"swing","bias":"bullish","tag":"BOS","level":97250.5,"start_time":"2026-11-27T08:00:00.000Z","end_time":"2026-11-28T03:00:00.000Z"}],"order_blocks":[{"scope":"internal","bias":"bullish","top":96980,"bottom":96610.5,"midpoint":96795.25,"start_time":"2026-11-27T14:00:00.000Z","mitigated":false}],"fair_value_gaps":[{"bias":"bearish","top":98120,"bottom":97960.4,"midpoint":98040.2,"start_time":"2026-11-28T06:00:00.000Z","mitigated":false}],"equal_levels":[{"type":"EQH","bias":"bearish","level":98240,"start_time":"2026-11-26T19:00:00.000Z","end_time":"2026-11-28T05:00:00.000Z"}],"zones":[{"type":"premium","top":98240,"bottom":97790.6,"midpoint":98015.3,"start_time":"2026-11-25T10:00:00.000Z"}],"strong_weak_levels":[{"type":"high","bias":"bearish","strength":"weak","level":98240,"start_time":"2026-11-26T19:00:00.000Z"}],"swing_points":[{"type":"HL","bias":"bullish","level":95910.2,"time":"2026-11-27T02:00:00.000Z"}]}],"uniqueKey":"smc","typeLabel":"object"},"order_blocks":{"type":"object","description":"Order and breaker blocks, nearest the last price first.","additionalProperties":false,"required":["order_blocks","breaker_blocks"],"properties":{"order_blocks":{"type":"array","maxItems":500,"description":"Active swing order blocks, nearest first.","items":{"type":"object","description":"An active order block from a swing break.","additionalProperties":false,"required":["bias","top","bottom","midpoint","start_time","distance_pct","overlapping_blocks"],"properties":{"bias":{"type":"string","enum":["bullish","bearish"],"description":"Bullish swing order blocks support price, bearish ones resist it.","examples":["bullish"],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].bias","typeLabel":"enum\u003cstring>"},"top":{"oneOf":[{"type":"number","format":"double","description":"The swing order block's top price.","examples":[96980],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].top.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The swing order block's top price.","examples":[96980],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].top.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].top","typeLabel":"number\u003cdouble> | null"},"bottom":{"oneOf":[{"type":"number","format":"double","description":"The swing order block's bottom price.","examples":[96610.5],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].bottom.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The swing order block's bottom price.","examples":[96610.5],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].bottom.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].bottom","typeLabel":"number\u003cdouble> | null"},"midpoint":{"oneOf":[{"type":"number","format":"double","description":"The middle of the swing order block.","examples":[96795.25],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].midpoint.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The middle of the swing order block.","examples":[96795.25],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].midpoint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].midpoint","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle the swing order block was drawn from.","examples":["2026-11-27T14:00:00.000Z"],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"},"distance_pct":{"oneOf":[{"type":"number","format":"double","description":"How far the swing order block's middle is from the last price, in percent: negative below it.","examples":[-1.04],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].distance_pct.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"How far the swing order block's middle is from the last price, in percent: negative below it.","examples":[-1.04],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].distance_pct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].distance_pct","typeLabel":"number\u003cdouble> | null"},"overlapping_blocks":{"type":"integer","format":"int32","minimum":0,"maximum":500,"description":"Other active swing order blocks it overlaps: more makes it stronger.","examples":[0],"isRequired":true,"uniqueKey":"order_blocks.order_blocks.items.[INDEX].overlapping_blocks","typeLabel":"integer\u003cint32>"}},"examples":[{"bias":"bullish","top":96980,"bottom":96610.5,"midpoint":96795.25,"start_time":"2026-11-27T14:00:00.000Z","distance_pct":-1.04,"overlapping_blocks":0}],"uniqueKey":"order_blocks.order_blocks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"order_blocks.order_blocks","typeLabel":"object[]"},"breaker_blocks":{"type":"array","maxItems":500,"description":"Breaker blocks, nearest first.","items":{"type":"object","description":"An order block price closed through, which now acts the other way.","additionalProperties":false,"required":["bias","top","bottom","midpoint","start_time","distance_pct","break_time"],"properties":{"bias":{"type":"string","enum":["bullish","bearish"],"description":"The breaker block's side before price broke it.","examples":["bearish"],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].bias","typeLabel":"enum\u003cstring>"},"top":{"oneOf":[{"type":"number","format":"double","description":"The breaker block's top price.","examples":[99120],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].top.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The breaker block's top price.","examples":[99120],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].top.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].top","typeLabel":"number\u003cdouble> | null"},"bottom":{"oneOf":[{"type":"number","format":"double","description":"The breaker block's bottom price.","examples":[98760],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].bottom.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The breaker block's bottom price.","examples":[98760],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].bottom.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].bottom","typeLabel":"number\u003cdouble> | null"},"midpoint":{"oneOf":[{"type":"number","format":"double","description":"The middle of the breaker block.","examples":[98940],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].midpoint.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The middle of the breaker block.","examples":[98940],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].midpoint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].midpoint","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle the breaker block was drawn from.","examples":["2026-11-24T21:00:00.000Z"],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"},"distance_pct":{"oneOf":[{"type":"number","format":"double","description":"How far the breaker block's middle is from the last price, in percent: negative below it.","examples":[1.15],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].distance_pct.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"How far the breaker block's middle is from the last price, in percent: negative below it.","examples":[1.15],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].distance_pct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].distance_pct","typeLabel":"number\u003cdouble> | null"},"break_time":{"oneOf":[{"type":"string","format":"date-time","maxLength":30,"description":"When price closed through the block and made it a breaker.","examples":["2026-11-26T09:00:00.000Z"],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].break_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","maxLength":30,"description":"When price closed through the block and made it a breaker.","examples":["2026-11-26T09:00:00.000Z"],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].break_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX].break_time","typeLabel":"string\u003cdate-time> | null"}},"examples":[{"bias":"bearish","top":99120,"bottom":98760,"midpoint":98940,"start_time":"2026-11-24T21:00:00.000Z","distance_pct":1.15,"break_time":"2026-11-26T09:00:00.000Z"}],"uniqueKey":"order_blocks.breaker_blocks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"order_blocks.breaker_blocks","typeLabel":"object[]"}},"examples":[{"order_blocks":[{"bias":"bullish","top":96980,"bottom":96610.5,"midpoint":96795.25,"start_time":"2026-11-27T14:00:00.000Z","distance_pct":-1.04,"overlapping_blocks":0}],"breaker_blocks":[{"bias":"bearish","top":99120,"bottom":98760,"midpoint":98940,"start_time":"2026-11-24T21:00:00.000Z","distance_pct":1.15,"break_time":"2026-11-26T09:00:00.000Z"}]}],"uniqueKey":"order_blocks","typeLabel":"object"},"fvg_sessions":{"type":"object","description":"Session fair value gaps.","additionalProperties":false,"required":["current_session","gaps"],"properties":{"current_session":{"oneOf":[{"type":"object","description":"The current UTC session; null without candles.","required":["direction","high","low","start_time","end_time"],"example":{"direction":"bullish","high":98240,"low":96900.4,"start_time":"2026-11-28T00:00:00.000Z","end_time":"2026-11-28T12:00:00.000Z"},"properties":{"direction":{"oneOf":[{"type":"string","enum":["bullish","bearish",null],"description":"The side of the session's first gap; null before one opens.","examples":["bullish"],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.direction.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["bullish","bearish",null],"description":"The side of the session's first gap; null before one opens.","examples":["bullish"],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.direction.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.direction","typeLabel":"enum\u003cstring> | null"},"high":{"oneOf":[{"type":"number","format":"double","description":"The current UTC session's high.","examples":[98240],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.high.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current UTC session's high.","examples":[98240],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.high.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.high","typeLabel":"number\u003cdouble> | null"},"low":{"oneOf":[{"type":"number","format":"double","description":"The current UTC session's low.","examples":[96900.4],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.low.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current UTC session's low.","examples":[96900.4],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.low.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.low","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"When the current UTC session began.","examples":["2026-11-28T00:00:00.000Z"],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.start_time","typeLabel":"string\u003cdate-time>"},"end_time":{"type":"string","format":"date-time","maxLength":30,"description":"The newest candle of the current UTC session.","examples":["2026-11-28T12:00:00.000Z"],"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0.end_time","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.0","typeLabel":"object"},{"type":"null","description":"The current UTC session; null without candles.","isRequired":true,"uniqueKey":"fvg_sessions.current_session.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fvg_sessions.current_session","typeLabel":"object | null"},"gaps":{"type":"array","maxItems":10,"description":"The newest 10 session gaps, newest first.","items":{"type":"object","description":"The first fair value gap of a UTC session.","additionalProperties":false,"required":["bias","top","bottom","midpoint","average","start_time","end_time","mitigated","mitigation_time"],"properties":{"bias":{"type":"string","enum":["bullish","bearish"],"description":"The side the session gap opened toward.","examples":["bullish"],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].bias","typeLabel":"enum\u003cstring>"},"top":{"oneOf":[{"type":"number","format":"double","description":"The session gap's top price.","examples":[97310],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].top.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The session gap's top price.","examples":[97310],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].top.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].top","typeLabel":"number\u003cdouble> | null"},"bottom":{"oneOf":[{"type":"number","format":"double","description":"The session gap's bottom price.","examples":[97150.2],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].bottom.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The session gap's bottom price.","examples":[97150.2],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].bottom.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].bottom","typeLabel":"number\u003cdouble> | null"},"midpoint":{"oneOf":[{"type":"number","format":"double","description":"The middle of the session gap.","examples":[97230.1],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].midpoint.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The middle of the session gap.","examples":[97230.1],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].midpoint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].midpoint","typeLabel":"number\u003cdouble> | null"},"average":{"oneOf":[{"type":"number","format":"double","description":"The average price of the session gap.","examples":[97230.1],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].average.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The average price of the session gap.","examples":[97230.1],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].average.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].average","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"The first candle of the session gap.","examples":["2026-11-28T02:00:00.000Z"],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"},"end_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle the session gap is drawn to.","examples":["2026-11-28T12:00:00.000Z"],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].end_time","typeLabel":"string\u003cdate-time>"},"mitigated":{"type":"boolean","description":"Whether price has filled the session gap.","examples":[true],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].mitigated","typeLabel":"boolean"},"mitigation_time":{"oneOf":[{"type":"string","format":"date-time","maxLength":30,"description":"When price filled the session gap.","examples":["2026-11-28T07:00:00.000Z"],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].mitigation_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","maxLength":30,"description":"When price filled the session gap.","examples":["2026-11-28T07:00:00.000Z"],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].mitigation_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fvg_sessions.gaps.items.[INDEX].mitigation_time","typeLabel":"string\u003cdate-time> | null"}},"examples":[{"bias":"bullish","top":97310,"bottom":97150.2,"midpoint":97230.1,"average":97230.1,"start_time":"2026-11-28T02:00:00.000Z","end_time":"2026-11-28T12:00:00.000Z","mitigated":true,"mitigation_time":"2026-11-28T07:00:00.000Z"}],"uniqueKey":"fvg_sessions.gaps.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fvg_sessions.gaps","typeLabel":"object[]"}},"examples":[{"current_session":{"direction":"bullish","high":98240,"low":96900.4,"start_time":"2026-11-28T00:00:00.000Z","end_time":"2026-11-28T12:00:00.000Z"},"gaps":[{"bias":"bullish","top":97310,"bottom":97150.2,"midpoint":97230.1,"average":97230.1,"start_time":"2026-11-28T02:00:00.000Z","end_time":"2026-11-28T12:00:00.000Z","mitigated":true,"mitigation_time":"2026-11-28T07:00:00.000Z"}]}],"uniqueKey":"fvg_sessions","typeLabel":"object"},"swings":{"type":"object","description":"Zigzag swings and the trend they make.","additionalProperties":false,"required":["deviation_pct","regime","last_bos","last_choch","points"],"properties":{"deviation_pct":{"oneOf":[{"type":"number","format":"double","description":"The smallest move that made a zigzag swing, in percent.","examples":[1],"isRequired":true,"uniqueKey":"swings.deviation_pct.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The smallest move that made a zigzag swing, in percent.","examples":[1],"isRequired":true,"uniqueKey":"swings.deviation_pct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"swings.deviation_pct","typeLabel":"number\u003cdouble> | null"},"regime":{"type":"string","enum":["uptrend","downtrend","range","transition","indeterminate"],"description":"The trend the zigzag swings make.","examples":["uptrend"],"isRequired":true,"uniqueKey":"swings.regime","typeLabel":"enum\u003cstring>"},"last_bos":{"oneOf":[{"type":"object","description":"The newest zigzag break of structure.","required":["type","direction","level","time","confirmed_at"],"example":{"type":"BOS","direction":"up","level":97250.5,"time":"2026-11-27T08:00:00.000Z","confirmed_at":"2026-11-28T03:00:00.000Z"},"properties":{"type":{"type":"string","enum":["BOS","CHoCH"],"description":"BOS when the zigzag break continues the trend, CHoCH when it turns it.","examples":["BOS"],"isRequired":true,"uniqueKey":"swings.last_bos.oneOf.0.type","typeLabel":"enum\u003cstring>"},"direction":{"type":"string","enum":["up","down"],"description":"Up through a swing high, down through a swing low.","examples":["up"],"isRequired":true,"uniqueKey":"swings.last_bos.oneOf.0.direction","typeLabel":"enum\u003cstring>"},"level":{"oneOf":[{"type":"number","format":"double","description":"The price of the zigzag pivot that broke.","examples":[97250.5],"isRequired":true,"uniqueKey":"swings.last_bos.oneOf.0.level.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The price of the zigzag pivot that broke.","examples":[97250.5],"isRequired":true,"uniqueKey":"swings.last_bos.oneOf.0.level.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"swings.last_bos.oneOf.0.level","typeLabel":"number\u003cdouble> | null"},"time":{"type":"string","format":"date-time","maxLength":30,"description":"The zigzag pivot that broke.","examples":["2026-11-27T08:00:00.000Z"],"isRequired":true,"uniqueKey":"swings.last_bos.oneOf.0.time","typeLabel":"string\u003cdate-time>"},"confirmed_at":{"type":"string","format":"date-time","maxLength":30,"description":"The zigzag pivot whose print confirmed the break.","examples":["2026-11-28T03:00:00.000Z"],"isRequired":true,"uniqueKey":"swings.last_bos.oneOf.0.confirmed_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"swings.last_bos.oneOf.0","typeLabel":"object"},{"type":"null","description":"The newest zigzag break of structure.","isRequired":true,"uniqueKey":"swings.last_bos.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"swings.last_bos","typeLabel":"object | null"},"last_choch":{"oneOf":[{"type":"object","description":"The newest zigzag change of character.","required":["type","direction","level","time","confirmed_at"],"example":{"type":"BOS","direction":"up","level":97250.5,"time":"2026-11-27T08:00:00.000Z","confirmed_at":"2026-11-28T03:00:00.000Z"},"properties":{"type":{"type":"string","enum":["BOS","CHoCH"],"description":"BOS when the zigzag break continues the trend, CHoCH when it turns it.","examples":["BOS"],"isRequired":true,"uniqueKey":"swings.last_choch.oneOf.0.type","typeLabel":"enum\u003cstring>"},"direction":{"type":"string","enum":["up","down"],"description":"Up through a swing high, down through a swing low.","examples":["up"],"isRequired":true,"uniqueKey":"swings.last_choch.oneOf.0.direction","typeLabel":"enum\u003cstring>"},"level":{"oneOf":[{"type":"number","format":"double","description":"The price of the zigzag pivot that broke.","examples":[97250.5],"isRequired":true,"uniqueKey":"swings.last_choch.oneOf.0.level.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The price of the zigzag pivot that broke.","examples":[97250.5],"isRequired":true,"uniqueKey":"swings.last_choch.oneOf.0.level.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"swings.last_choch.oneOf.0.level","typeLabel":"number\u003cdouble> | null"},"time":{"type":"string","format":"date-time","maxLength":30,"description":"The zigzag pivot that broke.","examples":["2026-11-27T08:00:00.000Z"],"isRequired":true,"uniqueKey":"swings.last_choch.oneOf.0.time","typeLabel":"string\u003cdate-time>"},"confirmed_at":{"type":"string","format":"date-time","maxLength":30,"description":"The zigzag pivot whose print confirmed the break.","examples":["2026-11-28T03:00:00.000Z"],"isRequired":true,"uniqueKey":"swings.last_choch.oneOf.0.confirmed_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"swings.last_choch.oneOf.0","typeLabel":"object"},{"type":"null","description":"The newest zigzag change of character.","isRequired":true,"uniqueKey":"swings.last_choch.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"swings.last_choch","typeLabel":"object | null"},"points":{"type":"array","maxItems":50,"description":"The newest 50 zigzag pivots, oldest first.","items":{"type":"object","description":"A zigzag pivot.","additionalProperties":false,"required":["type","label","price","time","change_pct"],"properties":{"type":{"type":"string","enum":["high","low"],"description":"A zigzag swing high or swing low.","examples":["high"],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"label":{"oneOf":[{"type":"string","enum":["HH","LH","HL","LL",null],"description":"Against the zigzag pivot of its kind before it; null for the first.","examples":["HH"],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].label.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["HH","LH","HL","LL",null],"description":"Against the zigzag pivot of its kind before it; null for the first.","examples":["HH"],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].label","typeLabel":"enum\u003cstring> | null"},"price":{"oneOf":[{"type":"number","format":"double","description":"The price of the zigzag pivot.","examples":[98240],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The price of the zigzag pivot.","examples":[98240],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].price","typeLabel":"number\u003cdouble> | null"},"time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle of the zigzag pivot.","examples":["2026-11-28T05:00:00.000Z"],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].time","typeLabel":"string\u003cdate-time>"},"change_pct":{"oneOf":[{"type":"number","format":"double","description":"The move from the zigzag pivot before it, in percent.","examples":[2.43],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].change_pct.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The move from the zigzag pivot before it, in percent.","examples":[2.43],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].change_pct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"swings.points.items.[INDEX].change_pct","typeLabel":"number\u003cdouble> | null"}},"examples":[{"type":"high","label":"HH","price":98240,"time":"2026-11-28T05:00:00.000Z","change_pct":2.43}],"uniqueKey":"swings.points.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"swings.points","typeLabel":"object[]"}},"examples":[{"deviation_pct":1,"regime":"uptrend","last_bos":{"type":"BOS","direction":"up","level":97250.5,"time":"2026-11-27T08:00:00.000Z","confirmed_at":"2026-11-28T03:00:00.000Z"},"last_choch":null,"points":[{"type":"high","label":"HH","price":98240,"time":"2026-11-28T05:00:00.000Z","change_pct":2.43}]}],"uniqueKey":"swings","typeLabel":"object"},"volume_zones":{"type":"object","description":"High-volume zones, nearest the last price first.","additionalProperties":false,"required":["zones"],"properties":{"zones":{"type":"array","maxItems":20,"description":"The 20 volume zones nearest the last price.","items":{"type":"object","description":"A support or resistance zone where volume stood out.","additionalProperties":false,"required":["type","top","bottom","midpoint","start_time","volume_delta","broken","break_time","distance_pct"],"properties":{"type":{"type":"string","enum":["support","resistance"],"description":"Support below the price, resistance above it.","examples":["support"],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"top":{"oneOf":[{"type":"number","format":"double","description":"The volume zone's top price.","examples":[97120],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].top.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The volume zone's top price.","examples":[97120],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].top.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].top","typeLabel":"number\u003cdouble> | null"},"bottom":{"oneOf":[{"type":"number","format":"double","description":"The volume zone's bottom price.","examples":[96880],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].bottom.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The volume zone's bottom price.","examples":[96880],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].bottom.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].bottom","typeLabel":"number\u003cdouble> | null"},"midpoint":{"oneOf":[{"type":"number","format":"double","description":"The middle of the volume zone.","examples":[97000],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].midpoint.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The middle of the volume zone.","examples":[97000],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].midpoint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].midpoint","typeLabel":"number\u003cdouble> | null"},"start_time":{"type":"string","format":"date-time","maxLength":30,"description":"The candle the volume zone was drawn from.","examples":["2026-11-27T11:00:00.000Z"],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"},"volume_delta":{"oneOf":[{"type":"number","format":"double","description":"Buying minus selling volume of the candles that formed the volume zone.","examples":[1824.6],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].volume_delta.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Buying minus selling volume of the candles that formed the volume zone.","examples":[1824.6],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].volume_delta.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].volume_delta","typeLabel":"number\u003cdouble> | null"},"broken":{"type":"boolean","description":"Whether price closed through the volume zone.","examples":[false],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].broken","typeLabel":"boolean"},"break_time":{"oneOf":[{"type":"string","format":"date-time","maxLength":30,"description":"When price closed through the volume zone.","examples":[null],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].break_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","maxLength":30,"description":"When price closed through the volume zone.","examples":[null],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].break_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].break_time","typeLabel":"string\u003cdate-time> | null"},"distance_pct":{"oneOf":[{"type":"number","format":"double","description":"How far the volume zone's middle is from the last price, in percent: negative below it.","examples":[-0.83],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].distance_pct.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"How far the volume zone's middle is from the last price, in percent: negative below it.","examples":[-0.83],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].distance_pct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_zones.zones.items.[INDEX].distance_pct","typeLabel":"number\u003cdouble> | null"}},"examples":[{"type":"support","top":97120,"bottom":96880,"midpoint":97000,"start_time":"2026-11-27T11:00:00.000Z","volume_delta":1824.6,"broken":false,"break_time":null,"distance_pct":-0.83}],"uniqueKey":"volume_zones.zones.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"volume_zones.zones","typeLabel":"object[]"}},"examples":[{"zones":[{"type":"support","top":97120,"bottom":96880,"midpoint":97000,"start_time":"2026-11-27T11:00:00.000Z","volume_delta":1824.6,"broken":false,"break_time":null,"distance_pct":-0.83}]}],"uniqueKey":"volume_zones","typeLabel":"object"},"monte_carlo":{"oneOf":[{"type":"object","description":"The Monte Carlo projection; null with too few candles.","required":["lookback_bars","simulations","start_price","end_price","highest_price","lowest_price","standard_deviation","envelope"],"example":{"lookback_bars":50,"simulations":100,"start_price":97811.4,"end_price":98402.7,"highest_price":99630.1,"lowest_price":96220.8,"standard_deviation":512.3,"envelope":[{"time":"2026-11-28T13:00:00.000Z","upper":98120.4,"lower":97510.2}]},"properties":{"lookback_bars":{"type":"integer","format":"int32","minimum":0,"maximum":50,"description":"The candle bodies the Monte Carlo projection shuffled.","examples":[50],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.lookback_bars","typeLabel":"integer\u003cint32>"},"simulations":{"type":"integer","format":"int32","minimum":0,"maximum":1000,"description":"The Monte Carlo paths simulated.","examples":[100],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.simulations","typeLabel":"integer\u003cint32>"},"start_price":{"oneOf":[{"type":"number","format":"double","description":"The last close, where every Monte Carlo path starts.","examples":[97811.4],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.start_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The last close, where every Monte Carlo path starts.","examples":[97811.4],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.start_price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.start_price","typeLabel":"number\u003cdouble> | null"},"end_price":{"oneOf":[{"type":"number","format":"double","description":"Where every Monte Carlo path ends: a shuffle keeps the sum of the moves.","examples":[98402.7],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.end_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Where every Monte Carlo path ends: a shuffle keeps the sum of the moves.","examples":[98402.7],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.end_price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.end_price","typeLabel":"number\u003cdouble> | null"},"highest_price":{"oneOf":[{"type":"number","format":"double","description":"The highest price any Monte Carlo path reached.","examples":[99630.1],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.highest_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The highest price any Monte Carlo path reached.","examples":[99630.1],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.highest_price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.highest_price","typeLabel":"number\u003cdouble> | null"},"lowest_price":{"oneOf":[{"type":"number","format":"double","description":"The lowest price any Monte Carlo path reached.","examples":[96220.8],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.lowest_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The lowest price any Monte Carlo path reached.","examples":[96220.8],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.lowest_price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.lowest_price","typeLabel":"number\u003cdouble> | null"},"standard_deviation":{"oneOf":[{"type":"number","format":"double","description":"The average spread of the Monte Carlo paths at a bar.","examples":[512.3],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.standard_deviation.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The average spread of the Monte Carlo paths at a bar.","examples":[512.3],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.standard_deviation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.standard_deviation","typeLabel":"number\u003cdouble> | null"},"envelope":{"type":"array","maxItems":50,"description":"The Monte Carlo range at each projected bar.","items":{"type":"object","description":"The simulated range one bar ahead.","additionalProperties":false,"required":["time","upper","lower"],"properties":{"time":{"type":"string","format":"date-time","maxLength":30,"description":"The bar the Monte Carlo range is for.","examples":["2026-11-28T13:00:00.000Z"],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.envelope.items.[INDEX].time","typeLabel":"string\u003cdate-time>"},"upper":{"oneOf":[{"type":"number","format":"double","description":"The highest simulated price at that bar.","examples":[98120.4],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.envelope.items.[INDEX].upper.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The highest simulated price at that bar.","examples":[98120.4],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.envelope.items.[INDEX].upper.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.envelope.items.[INDEX].upper","typeLabel":"number\u003cdouble> | null"},"lower":{"oneOf":[{"type":"number","format":"double","description":"The lowest simulated price at that bar.","examples":[97510.2],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.envelope.items.[INDEX].lower.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The lowest simulated price at that bar.","examples":[97510.2],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.envelope.items.[INDEX].lower.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.envelope.items.[INDEX].lower","typeLabel":"number\u003cdouble> | null"}},"examples":[{"time":"2026-11-28T13:00:00.000Z","upper":98120.4,"lower":97510.2}],"uniqueKey":"monte_carlo.oneOf.0.envelope.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"monte_carlo.oneOf.0.envelope","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"monte_carlo.oneOf.0","typeLabel":"object"},{"type":"null","description":"The Monte Carlo projection; null with too few candles.","uniqueKey":"monte_carlo.oneOf.1","typeLabel":"null"}],"uniqueKey":"monte_carlo","typeLabel":"object | null"}},"examples":[{"ticker":"BTC-USDT-SWAP","exchange":"darvas","market_type":"swap","constituents":["binance","bybit","okx"],"venues":null,"timeframe":"1H","bars":300,"from":"2026-11-16T01:00:00.000Z","to":"2026-11-28T12:00:00.000Z","price":97811.4,"modules":["smc","swings"],"smc":{"structures":[{"scope":"swing","bias":"bullish","tag":"BOS","level":97250.5,"start_time":"2026-11-27T08:00:00.000Z","end_time":"2026-11-28T03:00:00.000Z"}],"order_blocks":[{"scope":"internal","bias":"bullish","top":96980,"bottom":96610.5,"midpoint":96795.25,"start_time":"2026-11-27T14:00:00.000Z","mitigated":false}],"fair_value_gaps":[{"bias":"bearish","top":98120,"bottom":97960.4,"midpoint":98040.2,"start_time":"2026-11-28T06:00:00.000Z","mitigated":false}],"equal_levels":[{"type":"EQH","bias":"bearish","level":98240,"start_time":"2026-11-26T19:00:00.000Z","end_time":"2026-11-28T05:00:00.000Z"}],"zones":[{"type":"premium","top":98240,"bottom":97790.6,"midpoint":98015.3,"start_time":"2026-11-25T10:00:00.000Z"}],"strong_weak_levels":[{"type":"high","bias":"bearish","strength":"weak","level":98240,"start_time":"2026-11-26T19:00:00.000Z"}],"swing_points":[{"type":"HL","bias":"bullish","level":95910.2,"time":"2026-11-27T02:00:00.000Z"}]},"swings":{"deviation_pct":1,"regime":"uptrend","last_bos":{"type":"BOS","direction":"up","level":97250.5,"time":"2026-11-27T08:00:00.000Z","confirmed_at":"2026-11-28T03:00:00.000Z"},"last_choch":null,"points":[{"type":"high","label":"HH","price":98240,"time":"2026-11-28T05:00:00.000Z","change_pct":2.43}]}}],"uniqueKey":"","typeLabel":"object"},"example":{"ticker":"BTC-USDT-SWAP","exchange":"darvas","market_type":"swap","constituents":["binance","bybit","okx"],"venues":null,"timeframe":"1H","bars":300,"from":"2026-11-16T01:00:00.000Z","to":"2026-11-28T12:00:00.000Z","price":97811.4,"modules":["smc","swings"],"smc":{"structures":[{"scope":"swing","bias":"bullish","tag":"BOS","level":97250.5,"start_time":"2026-11-27T08:00:00.000Z","end_time":"2026-11-28T03:00:00.000Z"}],"order_blocks":[{"scope":"internal","bias":"bullish","top":96980,"bottom":96610.5,"midpoint":96795.25,"start_time":"2026-11-27T14:00:00.000Z","mitigated":false}],"fair_value_gaps":[{"bias":"bearish","top":98120,"bottom":97960.4,"midpoint":98040.2,"start_time":"2026-11-28T06:00:00.000Z","mitigated":false}],"equal_levels":[{"type":"EQH","bias":"bearish","level":98240,"start_time":"2026-11-26T19:00:00.000Z","end_time":"2026-11-28T05:00:00.000Z"}],"zones":[{"type":"premium","top":98240,"bottom":97790.6,"midpoint":98015.3,"start_time":"2026-11-25T10:00:00.000Z"}],"strong_weak_levels":[{"type":"high","bias":"bearish","strength":"weak","level":98240,"start_time":"2026-11-26T19:00:00.000Z"}],"swing_points":[{"type":"HL","bias":"bullish","level":95910.2,"time":"2026-11-27T02:00:00.000Z"}]},"swings":{"deviation_pct":1,"regime":"uptrend","last_bos":{"type":"BOS","direction":"up","level":97250.5,"time":"2026-11-27T08:00:00.000Z","confirmed_at":"2026-11-28T03:00:00.000Z"},"last_choch":null,"points":[{"type":"high","label":"HH","price":98240,"time":"2026-11-28T05:00:00.000Z","change_pct":2.43}]}},"examples":{"Example":{"title":"Example","value":{"ticker":"BTC-USDT-SWAP","exchange":"darvas","market_type":"swap","constituents":["binance","bybit","okx"],"venues":null,"timeframe":"1H","bars":300,"from":"2026-11-16T01:00:00.000Z","to":"2026-11-28T12:00:00.000Z","price":97811.4,"modules":["smc","swings"],"smc":{"structures":[{"scope":"swing","bias":"bullish","tag":"BOS","level":97250.5,"start_time":"2026-11-27T08:00:00.000Z","end_time":"2026-11-28T03:00:00.000Z"}],"order_blocks":[{"scope":"internal","bias":"bullish","top":96980,"bottom":96610.5,"midpoint":96795.25,"start_time":"2026-11-27T14:00:00.000Z","mitigated":false}],"fair_value_gaps":[{"bias":"bearish","top":98120,"bottom":97960.4,"midpoint":98040.2,"start_time":"2026-11-28T06:00:00.000Z","mitigated":false}],"equal_levels":[{"type":"EQH","bias":"bearish","level":98240,"start_time":"2026-11-26T19:00:00.000Z","end_time":"2026-11-28T05:00:00.000Z"}],"zones":[{"type":"premium","top":98240,"bottom":97790.6,"midpoint":98015.3,"start_time":"2026-11-25T10:00:00.000Z"}],"strong_weak_levels":[{"type":"high","bias":"bearish","strength":"weak","level":98240,"start_time":"2026-11-26T19:00:00.000Z"}],"swing_points":[{"type":"HL","bias":"bullish","level":95910.2,"time":"2026-11-27T02:00:00.000Z"}]},"swings":{"deviation_pct":1,"regime":"uptrend","last_bos":{"type":"BOS","direction":"up","level":97250.5,"time":"2026-11-27T08:00:00.000Z","confirmed_at":"2026-11-28T03:00:00.000Z"},"last_choch":null,"points":[{"type":"high","label":"HH","price":98240,"time":"2026-11-28T05:00:00.000Z","change_pct":2.43}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"5db0a209-8852-4778-bed1-5756c1aefd08":{"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"},"d4708275-949f-418b-934a-13e9079e67f1":{"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"},"fc5ab722-73d3-4b80-a4c2-aea6e83ed719":{"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"},"297d4584-31e8-477c-9879-34bf865aa4ea":{"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"},"b68364f2-b5b3-4ad6-8274-479ea891e18c":{"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"},"79e94de0-001a-41a2-92c7-c38127335c13":{"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"},"7b9e9616-aa1d-46bb-8088-7d2d321f91d5":{"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 Structure, FVG \u0026 SMC Levels API - Darvas","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T03:37:55.593Z","originalFileLocation":"crypto/market-structure.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=\"Detect swing highs/lows, Break of Structure (BOS), Change of Character (CHoCH), Fair Value Gaps (FVG) and liquidity pools on crypto charts via API.\">\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 Structure, FVG \u0026amp; SMC Levels API - Darvas\">\u003cmeta data-mint-head property=\"og:description\" content=\"Detect swing highs/lows, Break of Structure (BOS), Change of Character (CHoCH), Fair Value Gaps (FVG) and liquidity pools on crypto charts via API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Darvas\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.darvas.app/crypto/market-structure\">\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+Profiles+%26+Structure\u0026amp;title=Crypto+Market+Structure%2C+FVG+%26+SMC+Levels+API\u0026amp;description=Detect+swing+highs%2Flows%2C+Break+of+Structure+%28BOS%29%2C+Change+of+Character+%28CHoCH%29%2C+Fair+Value+Gaps+%28FVG%29+and+liquidity+pools+on+crypto+charts+via+API.\u0026amp;theme=1955d92658daca36b1634c66\u0026amp;signature=6c6e8b5b85ac0ab581b11c8f953a98fd63a10e03ae34c4dded149eb7f7ef88ca\">\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 Structure, FVG \u0026amp; SMC Levels API - Darvas\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Detect swing highs/lows, Break of Structure (BOS), Change of Character (CHoCH), Fair Value Gaps (FVG) and liquidity pools on crypto charts via API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://darvas.mintlify.site/_mintlify/api/og/v2?division=Crypto+Profiles+%26+Structure\u0026amp;title=Crypto+Market+Structure%2C+FVG+%26+SMC+Levels+API\u0026amp;description=Detect+swing+highs%2Flows%2C+Break+of+Structure+%28BOS%29%2C+Change+of+Character+%28CHoCH%29%2C+Fair+Value+Gaps+%28FVG%29+and+liquidity+pools+on+crypto+charts+via+API.\u0026amp;theme=1955d92658daca36b1634c66\u0026amp;signature=6c6e8b5b85ac0ab581b11c8f953a98fd63a10e03ae34c4dded149eb7f7ef88ca\">\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-structure\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/crypto/market-structure.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-structure#webpage\",\"url\":\"https://docs.darvas.app/crypto/market-structure\",\"name\":\"Crypto Market Structure, FVG \u0026 SMC Levels API\",\"description\":\"Detect swing highs/lows, Break of Structure (BOS), Change of Character (CHoCH), Fair Value Gaps (FVG) and liquidity pools on crypto charts via API.\",\"dateModified\":\"2026-11-30T03:37:55.593Z\",\"isPartOf\":{\"@id\":\"https://docs.darvas.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.darvas.app/crypto/market-structure#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.darvas.app/crypto/market-structure#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Datasets\",\"item\":\"https://docs.darvas.app/companies/dossier\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Crypto Profiles \u0026 Structure\",\"item\":\"https://docs.darvas.app/crypto/volume-profile\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Crypto Market Structure, FVG \u0026 SMC Levels API\",\"item\":\"https://docs.darvas.app/crypto/market-structure\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.darvas.app/crypto/market-structure#apireference\",\"headline\":\"Crypto Market Structure, FVG \u0026 SMC Levels API\",\"name\":\"Crypto Market Structure, FVG \u0026 SMC Levels API\",\"description\":\"Detect swing highs/lows, Break of Structure (BOS), Change of Character (CHoCH), Fair Value Gaps (FVG) and liquidity pools on crypto charts via API.\",\"url\":\"https://docs.darvas.app/crypto/market-structure\",\"mainEntityOfPage\":{\"@id\":\"https://docs.darvas.app/crypto/market-structure#webpage\"},\"dateModified\":\"2026-11-30T03:37:55.593Z\",\"keywords\":\"crypto market structure API, Smart Money Concepts API, order blocks API, fair value gap API, zigzag trend regime API, crypto volume zones, crypto ratio market structure, 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-structure.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","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","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","description":"Build Time Price Opportunity (TPO) Market Profile distributions with Initial Balance, single prints, poor highs/lows and TPO POC for crypto sessions.","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","description":"Compute server-side RSI-14, MACD, EMA, SMA, Bollinger Bands, ATR-14, relative volume and returns on multi-exchange crypto bars across timeframes.","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 Structure, FVG \u0026 SMC Levels API - 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"]}