{"openapi":"3.1.0","info":{"title":"Jittero public API","description":"Read supported symbols, historical matches, and market CVD summaries for hourly crypto candles. The public API serves 1h data. The website also serves derived 4h, 12h, and 1d candles. Price match endpoints accept search_mode=normal (default) or patterns. /cvd/matches returns the full set of spot and futures CVD shape matches. Normal search accepts sort_by=price (default) or relevance. Historical return horizons are 3, 6, 12 (default) and 24 hours. Returns after historical matches are descriptive observations, not forecasts. Periods use UTC inclusive starts and exclusive ends. Send an API key as Authorization: Bearer <key>. Anonymous access is available only when enabled by the operator. Limits apply per user across all keys; admitted requests, including polling and errors, consume daily quota. Respect Retry-After and retry at most twice.","version":"1.6.0"},"servers":[{"url":"https://jittero.si/api/v1"}],"paths":{"/symbols":{"get":{"summary":"List all supported hourly crypto symbols","description":"Lists public candle durations and the earliest saved hour with CVD volume per source. Coverage dates are UTC candle opening times. They can be null. Later gaps are possible.","operationId":"listSupportedSymbols","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Symbols"}}},"headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}}},"400":{"description":"Ambiguous alias or rejected search parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Key scopes or current plan do not allow this service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Unsupported symbol.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid, unknown or repeated parameter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Request limit exceeded.","headers":{"Retry-After":{"description":"Minimum seconds before retrying.","schema":{"type":"integer"}},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Data or authentication/quota storage is temporarily unavailable.","headers":{"Retry-After":{"description":"Minimum seconds before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-openai-isConsequential":false}},"/cvd":{"get":{"summary":"Compare spot and futures flow over closed hourly windows","description":"Uses closed hourly data. Returns 3-, 6-, 12- and 24-hour windows in this release. Select a window by its hours value. Ignore window lengths you do not use. An explicit end is the exclusive UTC boundary, unlike the last candle's opening date and time in /matches/query. Copy query.end from a match response to align both requests. Without end, use the latest hour with saved spot and futures volume if its end is less than two hours behind the latest closed boundary. Otherwise use the newest saved hour from either source. If neither has saved volume, use the latest closed boundary. A default lag_seconds of 3600 or more means the selected end is older than the latest closed boundary. Retry after 60 seconds if you need newer data. Check per-source status before using the figures. Pending hours can arrive on a later sync. Skip missing windows. Each baseline covers the 30 days before that window's start. Percentiles require 30 complete positive-volume windows for the same symbol, source, and duration. Volume ratios require 30 complete windows and a positive median. Price change uses the candles ending at the window boundaries. If price data is unavailable, price_change_pct is null and flow data is still returned.","operationId":"getCvdImbalance","parameters":[{"name":"symbol","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":24,"description":"Market or base alias, e.g. BTC.","title":"Symbol"},"description":"Market or base alias, e.g. BTC."},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}T(?:[01][0-9]|2[0-3]):00:00Z$"},{"type":"null"}],"description":"Exclusive UTC hour boundary, e.g. 2026-11-20T10:00:00Z.","title":"End"},"description":"Exclusive UTC hour boundary, e.g. 2026-11-20T10:00:00Z."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CvdMarketSummary"}}},"headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}}},"400":{"description":"Ambiguous alias or rejected search parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Key scopes or current plan do not allow this service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Unsupported symbol.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid, unknown or repeated parameter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Request limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Data or authentication/quota storage is temporarily unavailable.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-openai-isConsequential":false}},"/matches/latest":{"get":{"summary":"Get the latest available historical match for a symbol","description":"Defaults: rank 1, sort_by=price, minimum similarity 0.7, +12-hour historical return. Horizons: 3, 6, 12 or 24 hours. Normal search ranks 1–6 by price similarity. With sort_by=relevance, normal search ranks 1–6 by relevance, returns both scores, and applies min_relevance (default 0.5) plus any explicit min_similarity. search_mode=patterns uses a nine-match pool, promoting the same active pattern and direction before price similarity. Rank 1–9 is selected from that order before filtering, including matches without a detected pattern. Adds query and match pattern_detected/pattern, original_rank, same_pattern_as_query (null if no query pattern). Patterns must finish within the last five query or three match candles. Pattern periods have exclusive ends. Choose rank before filtering; never substitute a different rank or older query. No qualifying rank returns 200 with status=no_match and match=null. A missing outcome returns a match with return_pct=null and a reason. appearances.count is the number of hourly searches that returned this historical period in the 24 hours ending at query.end, at most once per search across all six normal or nine pattern retrieval ranks, independent of detection and request filters. Relevance appearances use the six relevance ranks for each hourly search. All modes use the normal saved feed's latest candle. Relevance and pattern history are built in the background and return 202 until the required feeds align. Report the query end time and freshness with any results.","operationId":"getLatestMatch","parameters":[{"name":"symbol","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":24,"description":"Market or base alias, e.g. BTC.","title":"Symbol"},"description":"Market or base alias, e.g. BTC."},{"name":"search_mode","in":"query","required":false,"schema":{"enum":["normal","patterns"],"type":"string","description":"Shapes search or Shapes + patterns search.","default":"normal","title":"Search Mode"},"description":"Shapes search or Shapes + patterns search."},{"name":"sort_by","in":"query","required":false,"schema":{"enum":["price","relevance"],"type":"string","description":"Ranking order. Relevance is available in normal search.","default":"price","title":"Sort By"},"description":"Ranking order. Relevance is available in normal search."},{"name":"match","in":"query","required":false,"schema":{"type":"integer","maximum":9,"minimum":1,"description":"Rank before filtering: 1–6 for normal, 1–9 for patterns.","default":1,"title":"Match"},"description":"Rank before filtering: 1–6 for normal, 1–9 for patterns."},{"name":"min_similarity","in":"query","required":false,"schema":{"type":"number","maximum":1,"minimum":-1,"description":"Inclusive original price similarity threshold. In relevance search, it applies only if explicitly supplied.","default":0.7,"title":"Min Similarity"},"description":"Inclusive original price similarity threshold. In relevance search, it applies only if explicitly supplied."},{"name":"min_relevance","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"description":"Inclusive relevance threshold. Applies only with sort_by=relevance, which defaults to 0.5 when this parameter is omitted.","title":"Min Relevance"},"description":"Inclusive relevance threshold. Applies only with sort_by=relevance, which defaults to 0.5 when this parameter is omitted."},{"name":"horizon_hours","in":"query","required":false,"schema":{"enum":[3,6,12,24],"type":"integer","description":"Historical return horizon in hours.","default":12,"title":"Horizon Hours"},"description":"Historical return horizon in hours."},{"name":"include_cvd","in":"query","required":false,"schema":{"type":"boolean","description":"Include spot and perpetual futures taker imbalance percentages over the original query and selected match windows only. Independent of horizon_hours.","default":false,"title":"Include Cvd"},"description":"Include spot and perpetual futures taker imbalance percentages over the original query and selected match windows only. Independent of horizon_hours."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PatternLatestMatch"},{"$ref":"#/components/schemas/RelevanceLatestMatch"},{"$ref":"#/components/schemas/LatestMatch"}],"title":"Response Getlatestmatch"}}},"headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}}},"400":{"description":"Ambiguous alias or rejected search parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Key scopes or current plan do not allow this service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Unsupported symbol.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid, unknown or repeated parameter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Request limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Data or authentication/quota storage is temporarily unavailable.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"The requested result is not ready yet.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preparing"}}}}},"x-openai-isConsequential":false}},"/matches/query":{"get":{"summary":"Get a historical match for a specified date and last candle time","description":"Specify the last query candle's UTC opening date and time. For example, date=2026-11-13&time=09:00 selects the candle from 09:00 to 10:00 UTC; the 60-candle query ends at 10:00 UTC. The candle must be completed and a complete query window must exist in the installed dataset. Uses the same ranking, defaults, filters and response schema as getLatestMatch. Supports search_mode=normal or patterns and horizons 3, 6, 12 or 24 hours. Normal search supports sort_by=price or relevance. Pattern comparisons use the latest active pattern at the chosen query time, never a formation detected after it. appearances.count is the number of hourly searches that returned the historical period in the 24 hours ending at the chosen query.end, at most once per search; historical returns use only outcomes known at that query time. query.end is the selected candle's exclusive end, so lag_seconds reflects the age of that chosen query. Results are reused for the same data version. If preparation takes longer, respect Retry-After and repeat the identical request.","operationId":"getQueryMatch","parameters":[{"name":"symbol","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":24,"description":"Market or base alias, e.g. BTC.","title":"Symbol"},"description":"Market or base alias, e.g. BTC."},{"name":"search_mode","in":"query","required":false,"schema":{"enum":["normal","patterns"],"type":"string","description":"Shapes search or Shapes + patterns search.","default":"normal","title":"Search Mode"},"description":"Shapes search or Shapes + patterns search."},{"name":"sort_by","in":"query","required":false,"schema":{"enum":["price","relevance"],"type":"string","description":"Ranking order. Relevance is available in normal search.","default":"price","title":"Sort By"},"description":"Ranking order. Relevance is available in normal search."},{"name":"match","in":"query","required":false,"schema":{"type":"integer","maximum":9,"minimum":1,"description":"Rank before filtering: 1–6 for normal, 1–9 for patterns.","default":1,"title":"Match"},"description":"Rank before filtering: 1–6 for normal, 1–9 for patterns."},{"name":"min_similarity","in":"query","required":false,"schema":{"type":"number","maximum":1,"minimum":-1,"description":"Inclusive original price similarity threshold. In relevance search, it applies only if explicitly supplied.","default":0.7,"title":"Min Similarity"},"description":"Inclusive original price similarity threshold. In relevance search, it applies only if explicitly supplied."},{"name":"min_relevance","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"description":"Inclusive relevance threshold. Applies only with sort_by=relevance, which defaults to 0.5 when this parameter is omitted.","title":"Min Relevance"},"description":"Inclusive relevance threshold. Applies only with sort_by=relevance, which defaults to 0.5 when this parameter is omitted."},{"name":"horizon_hours","in":"query","required":false,"schema":{"enum":[3,6,12,24],"type":"integer","description":"Historical return horizon in hours.","default":12,"title":"Horizon Hours"},"description":"Historical return horizon in hours."},{"name":"include_cvd","in":"query","required":false,"schema":{"type":"boolean","description":"Include spot and perpetual futures taker imbalance percentages over the original query and selected match windows only. Independent of horizon_hours.","default":false,"title":"Include Cvd"},"description":"Include spot and perpetual futures taker imbalance percentages over the original query and selected match windows only. Independent of horizon_hours."},{"name":"date","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","description":"UTC date of the last query candle, YYYY-MM-DD.","title":"Date"},"description":"UTC date of the last query candle, YYYY-MM-DD."},{"name":"time","in":"query","required":true,"schema":{"type":"string","pattern":"^(?:[01][0-9]|2[0-3]):00(?::00)?$","description":"UTC opening time of the last query candle, HH:00 or HH:00:00.","title":"Time"},"description":"UTC opening time of the last query candle, HH:00 or HH:00:00."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PatternLatestMatch"},{"$ref":"#/components/schemas/RelevanceLatestMatch"},{"$ref":"#/components/schemas/LatestMatch"}],"title":"Response Getquerymatch"}}},"headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}}},"400":{"description":"Ambiguous alias or rejected search parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Key scopes or current plan do not allow this service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Unsupported symbol.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid parameter or no complete query at the requested candle.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Request limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Data or authentication/quota storage is temporarily unavailable.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"The requested result is not ready yet.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preparing"}}}}},"x-openai-isConsequential":false}},"/cvd/matches":{"get":{"summary":"Get all ranked CVD shape matches for the latest or a specified hour","description":"Available for BTCUSDT, ETHUSDT and SOLUSDT. Omit end for the latest saved result; it returns 202 while the result is rebuilt after a revision of its data. An explicit end is a closed, exclusive UTC hour boundary for the 60-candle window. Returns up to six ranked matches with historical returns at 3, 6, 12 and 24 hours using outcomes known by query.end. A 422 query_unavailable means the hour is unavailable in the saved history. Backfill may fill CVD gaps. Read error.details.latest_complete_end when present. An hour still syncing, or a full search queue, returns 503. A second dated search for a different hour or symbol under the same account or anonymous network returns 429. On 202, 429 or 503, respect Retry-After.","operationId":"getCvdMatches","parameters":[{"name":"symbol","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":24,"description":"Market or base alias, e.g. BTC.","title":"Symbol"},"description":"Market or base alias, e.g. BTC."},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}T(?:[01][0-9]|2[0-3]):00:00Z$"},{"type":"null"}],"description":"Exclusive UTC hour boundary, e.g. 2026-11-20T10:00:00Z.","title":"End"},"description":"Exclusive UTC hour boundary, e.g. 2026-11-20T10:00:00Z."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CvdMatches"}}},"headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}}},"400":{"description":"Ambiguous alias or rejected search parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Key scopes or current plan do not allow this service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Unsupported symbol.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid parameter or unavailable query window.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Request limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Data or authentication/quota storage is temporarily unavailable.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"The requested result is not ready yet.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preparing"}}}}},"x-openai-isConsequential":false}},"/cvd/matches/latest":{"get":{"summary":"Get the latest historical match by spot and futures CVD shape","description":"A separate search from /matches/latest: ranks 1–6 compare the shape of spot and perpetual futures cumulative volume delta over the latest 60 closed hours with complete CVD, not price. Available for BTCUSDT, ETHUSDT and SOLUSDT. query.end can be older than in /matches/latest while CVD is syncing; check lag_seconds. Defaults: rank 1, minimum similarity 0.7, +12-hour historical return. query.flow and match.flow give net taker imbalance per venue, its change over the last five candles, and whether spot and futures diverge. flow_agreement compares the two windows' net flow. outcomes summarizes returns after all ranked matches. Choose rank before filtering; never substitute a different rank. No qualifying rank returns 200 with status=no_match and match=null. Returns after historical matches are descriptive observations, not forecasts. For 30-day percentiles of flow in the 3-, 6-, 12- and 24-hour windows ending at query.end, call /cvd with end=query.end. /cvd does not cover the 60-hour query window.","operationId":"getLatestCvdMatch","parameters":[{"name":"symbol","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":24,"description":"Market or base alias, e.g. BTC.","title":"Symbol"},"description":"Market or base alias, e.g. BTC."},{"name":"match","in":"query","required":false,"schema":{"type":"integer","maximum":6,"minimum":1,"description":"CVD similarity rank before filtering, 1–6.","default":1,"title":"Match"},"description":"CVD similarity rank before filtering, 1–6."},{"name":"min_similarity","in":"query","required":false,"schema":{"type":"number","maximum":1,"minimum":0,"description":"Inclusive CVD shape similarity threshold.","default":0.7,"title":"Min Similarity"},"description":"Inclusive CVD shape similarity threshold."},{"name":"horizon_hours","in":"query","required":false,"schema":{"enum":[3,6,12,24],"type":"integer","description":"Historical return horizon in hours.","default":12,"title":"Horizon Hours"},"description":"Historical return horizon in hours."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CvdLatestMatch"}}},"headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}}},"400":{"description":"Ambiguous alias or rejected search parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Key scopes or current plan do not allow this service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Unsupported symbol.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid, unknown or repeated parameter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Request limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Data or authentication/quota storage is temporarily unavailable.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"The requested result is not ready yet.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Minimum seconds before retrying."},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Minute request limit."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining minute requests."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until minute reset."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preparing"}}}}},"x-openai-isConsequential":false}}},"components":{"schemas":{"Appearances":{"properties":{"count":{"type":"integer","maximum":24.0,"minimum":1.0,"title":"Count","description":"Number of hourly searches that returned this historical period within the 24-hour window ending at query.end, including the selected query. Counted at most once per search across all six normal or nine pattern retrieval ranks. Overlapping windows share a period at 50% overlap of the shorter window. Independent of detection, request threshold and return horizon; not the number of times a pattern occurred in the market."},"window_start":{"type":"string","format":"date-time","title":"Window Start","description":"Start of the 24-hour search history window, UTC."},"window_end":{"type":"string","format":"date-time","title":"Window End","description":"End of the search history window, equal to query.end, UTC."},"observed_queries":{"type":"integer","maximum":24.0,"minimum":1.0,"title":"Observed Queries","description":"Hourly searches available in this window; missing hours are not counted."},"target_queries":{"type":"integer","const":24,"title":"Target Queries","description":"Hourly searches in a complete 24-hour history.","default":24}},"additionalProperties":false,"type":"object","required":["count","window_start","window_end","observed_queries"],"title":"Appearances"},"CvdAvailability":{"properties":{"spot":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Spot"},"futures":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Futures"}},"additionalProperties":false,"type":"object","required":["spot","futures"],"title":"CvdAvailability"},"CvdCoverage":{"properties":{"spot_since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Spot Since","description":"UTC opening time of the first saved spot hour with volume. Null if unavailable."},"futures_since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Futures Since","description":"UTC opening time of the first saved futures hour with volume. Null if unavailable."}},"additionalProperties":false,"type":"object","title":"CvdCoverage"},"CvdFlow":{"properties":{"spot_imbalance_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":-100.0},{"type":"null"}],"title":"Spot Imbalance Pct","description":"100 × net taker-buy volume / total volume over the window, Binance spot. Positive means net buying. Null when this venue lacks complete CVD or positive volume."},"futures_imbalance_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":-100.0},{"type":"null"}],"title":"Futures Imbalance Pct","description":"Same calculation for Binance USD-M perpetual futures."},"spot_change_pct":{"anyOf":[{"type":"number","maximum":200.0,"minimum":-200.0},{"type":"null"}],"title":"Spot Change Pct","description":"Spot imbalance of the last five candles minus that of the five before, in percentage points. Positive means buying is strengthening or selling is fading."},"futures_change_pct":{"anyOf":[{"type":"number","maximum":200.0,"minimum":-200.0},{"type":"null"}],"title":"Futures Change Pct","description":"Same calculation for perpetual futures."},"divergent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Divergent","description":"True when spot and futures net flow have opposite signs. Null if either imbalance is null."}},"additionalProperties":false,"type":"object","required":["spot_imbalance_pct","futures_imbalance_pct","spot_change_pct","futures_change_pct","divergent"],"title":"CvdFlow"},"CvdLatestMatch":{"properties":{"status":{"type":"string","enum":["ok","no_match"],"title":"Status"},"no_match_reason":{"anyOf":[{"type":"string","enum":["rank_unavailable","below_min_similarity"]},{"type":"null"}],"title":"No Match Reason"},"symbol":{"type":"string","title":"Symbol"},"timeframe":{"type":"string","const":"1h","title":"Timeframe","default":"1h"},"requested_match":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Requested Match"},"min_similarity":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Similarity"},"horizon_hours":{"type":"integer","enum":[3,6,12,24],"title":"Horizon Hours"},"query":{"$ref":"#/components/schemas/CvdQueryPeriod"},"generated_at":{"type":"string","format":"date-time","title":"Generated At","description":"Time the result was generated, UTC. Unchanged until the result is updated."},"lag_seconds":{"type":"integer","minimum":0.0,"title":"Lag Seconds","description":"Elapsed seconds since query.end at response time."},"refreshing":{"type":"boolean","title":"Refreshing","description":"A newer result is being prepared and this one may use older inputs. Retry shortly."},"match":{"anyOf":[{"$ref":"#/components/schemas/CvdMatch"},{"type":"null"}]},"outcomes":{"$ref":"#/components/schemas/CvdOutcomes","description":"Historical returns after all ranked matches at horizon_hours. Descriptive, not a forecast."}},"additionalProperties":false,"type":"object","required":["status","no_match_reason","symbol","requested_match","min_similarity","horizon_hours","query","generated_at","lag_seconds","refreshing","match","outcomes"],"title":"CvdLatestMatch"},"CvdMarketSummary":{"properties":{"symbol":{"type":"string","title":"Symbol"},"base":{"type":"string","title":"Base"},"end":{"type":"string","format":"date-time","title":"End","description":"Exclusive UTC end of all four windows."},"lag_seconds":{"type":"integer","minimum":0.0,"title":"Lag Seconds","description":"Whole seconds from end to the request time. A value below 3600 means the windows include the newest closed hour. Check source status for actual coverage."},"available_through":{"$ref":"#/components/schemas/CvdAvailability","description":"Exclusive end of the newest hour with saved volume per source. Capped at an explicit end."},"windows":{"items":{"$ref":"#/components/schemas/CvdMarketWindow"},"type":"array","title":"Windows","description":"Select windows by hours. Ignore any window lengths you do not use."}},"additionalProperties":false,"type":"object","required":["symbol","base","end","lag_seconds","available_through","windows"],"title":"CvdMarketSummary"},"CvdMarketWindow":{"properties":{"hours":{"type":"integer","minimum":1.0,"title":"Hours","description":"Window length in elapsed hours."},"price_change_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Change Pct","description":"Close-to-close Binance perpetual futures price change in percent. Null when a boundary close is absent or the price snapshot cannot be loaded."},"spot":{"$ref":"#/components/schemas/CvdSourceStats"},"futures":{"$ref":"#/components/schemas/CvdSourceStats"}},"additionalProperties":false,"type":"object","required":["hours","price_change_pct","spot","futures"],"title":"CvdMarketWindow"},"CvdMatch":{"properties":{"rank":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Rank","description":"CVD similarity rank before filtering."},"similarity":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Similarity","description":"Similarity of the spot and futures cumulative volume delta curves; higher is closer, not a probability. Not comparable with price similarity."},"spot_r":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Spot R","description":"Correlation of the spot CVD curves."},"futures_r":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Futures R","description":"Correlation of the futures CVD curves."},"price_r":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Price R","description":"Correlation of the normalized price paths. Price is not used for ranking."},"flow_agreement":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Flow Agreement","description":"Agreement of net spot and futures imbalance between the query and the match; 1 is identical, below 0.5 usually means opposite flow. Null when either window lacks volume."},"period":{"$ref":"#/components/schemas/Period"},"flow":{"$ref":"#/components/schemas/CvdFlow"},"following":{"$ref":"#/components/schemas/Following"}},"additionalProperties":false,"type":"object","required":["rank","similarity","spot_r","futures_r","price_r","flow_agreement","period","flow","following"],"title":"CvdMatch"},"CvdMatches":{"properties":{"symbol":{"type":"string","title":"Symbol"},"result_id":{"type":"string","title":"Result Id","description":"Identifies the search and the price and CVD data through query.end. Repeating a query returns the same ID and matches until that data is revised or the service is updated. Later hours do not change it. Log it with the response you used."},"query":{"$ref":"#/components/schemas/CvdQueryPeriod"},"matches":{"items":{"$ref":"#/components/schemas/CvdRankedMatch"},"type":"array","maxItems":6,"title":"Matches","description":"All matches in rank order."}},"additionalProperties":false,"type":"object","required":["symbol","result_id","query","matches"],"title":"CvdMatches"},"CvdOutcomes":{"properties":{"horizon_hours":{"type":"integer","enum":[3,6,12,24],"title":"Horizon Hours"},"matches":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Matches","description":"Ranked matches, regardless of min_similarity."},"available":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Available","description":"Matches with a known return at this horizon."},"up":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Up"},"down":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Down"},"median_return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Return Pct","description":"Median historical return in percent units. Null when no return is available."}},"additionalProperties":false,"type":"object","required":["horizon_hours","matches","available","up","down","median_return_pct"],"title":"CvdOutcomes"},"CvdQueryPeriod":{"properties":{"start":{"type":"string","format":"date-time","title":"Start","description":"Inclusive first candle boundary, UTC."},"end":{"type":"string","format":"date-time","title":"End","description":"Exclusive final candle boundary, UTC."},"candles":{"type":"integer","const":60,"title":"Candles","default":60},"flow":{"$ref":"#/components/schemas/CvdFlow"}},"additionalProperties":false,"type":"object","required":["start","end","flow"],"title":"CvdQueryPeriod"},"CvdRankedMatch":{"properties":{"rank":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Rank","description":"CVD similarity rank before filtering."},"similarity":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Similarity","description":"Similarity of the spot and futures cumulative volume delta curves; higher is closer, not a probability. Not comparable with price similarity."},"spot_r":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Spot R","description":"Correlation of the spot CVD curves."},"futures_r":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Futures R","description":"Correlation of the futures CVD curves."},"price_r":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Price R","description":"Correlation of the normalized price paths. Price is not used for ranking."},"flow_agreement":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Flow Agreement","description":"Agreement of net spot and futures imbalance between the query and the match; 1 is identical, below 0.5 usually means opposite flow. Null when either window lacks volume."},"period":{"$ref":"#/components/schemas/Period"},"flow":{"$ref":"#/components/schemas/CvdFlow"},"returns":{"$ref":"#/components/schemas/CvdReturns","description":"Historical returns keyed by hours after the match."}},"additionalProperties":false,"type":"object","required":["rank","similarity","spot_r","futures_r","price_r","flow_agreement","period","flow","returns"],"title":"CvdRankedMatch"},"CvdReturn":{"properties":{"pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pct","description":"Historical return in percent units. Null if unavailable."},"unavailable_reason":{"anyOf":[{"type":"string","enum":["not_yet_known","missing_candle","protected_holdout","beyond_snapshot"]},{"type":"null"}],"title":"Unavailable Reason"}},"additionalProperties":false,"type":"object","required":["pct","unavailable_reason"],"title":"CvdReturn"},"CvdReturns":{"properties":{"3":{"$ref":"#/components/schemas/CvdReturn"},"6":{"$ref":"#/components/schemas/CvdReturn"},"12":{"$ref":"#/components/schemas/CvdReturn"},"24":{"$ref":"#/components/schemas/CvdReturn"}},"additionalProperties":false,"type":"object","required":["3","6","12","24"],"title":"CvdReturns"},"CvdSourceStats":{"properties":{"status":{"type":"string","enum":["complete","zero_volume","pending","missing"],"title":"Status"},"hours_saved":{"type":"integer","minimum":0.0,"title":"Hours Saved","description":"Hours with delta and volume, including verified zero-trade hours."},"volume_base":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Volume Base","description":"Total volume in units of base."},"delta_base":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delta Base","description":"Net taker-buy volume in units of base."},"imbalance_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":-100.0},{"type":"null"}],"title":"Imbalance Pct","description":"100 × net taker-buy volume / total volume."},"imbalance_pctile_30d":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Imbalance Pctile 30D","description":"Signed imbalance percentile over complete positive-volume history windows."},"volume_ratio_30d":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Volume Ratio 30D","description":"Window volume divided by the median volume of complete history windows."}},"additionalProperties":false,"type":"object","required":["status","hours_saved","volume_base","delta_base","imbalance_pct","imbalance_pctile_30d","volume_ratio_30d"],"title":"CvdSourceStats"},"CvdSummary":{"properties":{"query":{"$ref":"#/components/schemas/CvdWindow"},"match":{"anyOf":[{"$ref":"#/components/schemas/CvdWindow"},{"type":"null"}],"description":"Null when no historical match is returned."}},"additionalProperties":false,"type":"object","required":["query","match"],"title":"CvdSummary"},"CvdWindow":{"properties":{"spot_imbalance_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":-100.0},{"type":"null"}],"title":"Spot Imbalance Pct","description":"100 × net taker-buy volume / total volume, Binance spot. Null if coverage is incomplete or total volume is zero."},"futures_imbalance_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":-100.0},{"type":"null"}],"title":"Futures Imbalance Pct","description":"Same calculation for Binance USD-M perpetual futures, using futures volume only."}},"additionalProperties":false,"type":"object","required":["spot_imbalance_pct","futures_imbalance_pct"],"title":"CvdWindow"},"DetectedPattern":{"properties":{"head":{"type":"string","enum":["engulfing_bullish","engulfing_bearish","harami_bullish","harami_bearish","harami_cross_bullish","harami_cross_bearish","outside_up","outside_down"],"title":"Head"},"label":{"type":"string","title":"Label"},"start":{"type":"string","format":"date-time","title":"Start","description":"Inclusive first formation candle boundary, UTC."},"end":{"type":"string","format":"date-time","title":"End","description":"Exclusive last formation candle boundary, UTC."}},"additionalProperties":false,"type":"object","required":["head","label","start","end"],"title":"DetectedPattern"},"ErrorBody":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"details":{"additionalProperties":true,"type":"object","title":"Details"}},"additionalProperties":false,"type":"object","required":["code","message","details"],"title":"ErrorBody"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"additionalProperties":false,"type":"object","required":["error"],"title":"ErrorResponse"},"Following":{"properties":{"return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Return Pct","description":"Percent units: 2.34 means +2.34%, not 234%."},"unavailable_reason":{"anyOf":[{"type":"string","enum":["not_yet_known","missing_candle","protected_holdout","beyond_snapshot"]},{"type":"null"}],"title":"Unavailable Reason"}},"additionalProperties":false,"type":"object","required":["return_pct","unavailable_reason"],"title":"Following"},"LatestMatch":{"properties":{"status":{"type":"string","enum":["ok","no_match"],"title":"Status"},"no_match_reason":{"anyOf":[{"type":"string","enum":["rank_unavailable","below_min_similarity"]},{"type":"null"}],"title":"No Match Reason"},"symbol":{"type":"string","title":"Symbol"},"timeframe":{"type":"string","const":"1h","title":"Timeframe","default":"1h"},"requested_match":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Requested Match"},"min_similarity":{"type":"number","maximum":1.0,"minimum":-1.0,"title":"Min Similarity"},"horizon_hours":{"type":"integer","enum":[3,6,12,24],"title":"Horizon Hours"},"query":{"$ref":"#/components/schemas/QueryPeriod"},"generated_at":{"type":"string","format":"date-time","title":"Generated At","description":"Time the result was generated, UTC. Unchanged until the result is updated."},"lag_seconds":{"type":"integer","minimum":0.0,"title":"Lag Seconds","description":"Elapsed seconds since query.end at response time."},"refreshing":{"type":"boolean","title":"Refreshing","description":"A newer result is being prepared or will be on a later request, and this one may use older inputs. Retry shortly for the update. Check lag_seconds for data freshness."},"match":{"anyOf":[{"$ref":"#/components/schemas/Match"},{"type":"null"}]},"cvd":{"anyOf":[{"$ref":"#/components/schemas/CvdSummary"},{"type":"null"}],"description":"Only included when include_cvd=true."}},"additionalProperties":false,"type":"object","required":["status","no_match_reason","symbol","requested_match","min_similarity","horizon_hours","query","generated_at","lag_seconds","refreshing","match"],"title":"LatestMatch"},"Match":{"properties":{"rank":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Rank"},"similarity":{"type":"number","maximum":1.0,"minimum":-1.0,"title":"Similarity","description":"Price similarity score; higher is closer, not a probability."},"period":{"$ref":"#/components/schemas/Period"},"following":{"$ref":"#/components/schemas/Following"},"appearances":{"$ref":"#/components/schemas/Appearances"}},"additionalProperties":false,"type":"object","required":["rank","similarity","period","following","appearances"],"title":"Match"},"PatternLatestMatch":{"properties":{"status":{"type":"string","enum":["ok","no_match"],"title":"Status"},"no_match_reason":{"anyOf":[{"type":"string","enum":["rank_unavailable","below_min_similarity"]},{"type":"null"}],"title":"No Match Reason"},"symbol":{"type":"string","title":"Symbol"},"timeframe":{"type":"string","const":"1h","title":"Timeframe","default":"1h"},"requested_match":{"type":"integer","maximum":9.0,"minimum":1.0,"title":"Requested Match"},"min_similarity":{"type":"number","maximum":1.0,"minimum":-1.0,"title":"Min Similarity"},"horizon_hours":{"type":"integer","enum":[3,6,12,24],"title":"Horizon Hours"},"query":{"$ref":"#/components/schemas/PatternQueryPeriod"},"generated_at":{"type":"string","format":"date-time","title":"Generated At","description":"Time the result was generated, UTC. Unchanged until the result is updated."},"lag_seconds":{"type":"integer","minimum":0.0,"title":"Lag Seconds","description":"Elapsed seconds since query.end at response time."},"refreshing":{"type":"boolean","title":"Refreshing","description":"A newer result is being prepared or will be on a later request, and this one may use older inputs. Retry shortly for the update. Check lag_seconds for data freshness."},"match":{"anyOf":[{"$ref":"#/components/schemas/PatternMatch"},{"type":"null"}]},"cvd":{"anyOf":[{"$ref":"#/components/schemas/CvdSummary"},{"type":"null"}],"description":"Only included when include_cvd=true."},"search_mode":{"type":"string","const":"patterns","title":"Search Mode","default":"patterns"}},"additionalProperties":false,"type":"object","required":["status","no_match_reason","symbol","requested_match","min_similarity","horizon_hours","query","generated_at","lag_seconds","refreshing","match"],"title":"PatternLatestMatch"},"PatternMatch":{"properties":{"rank":{"type":"integer","maximum":9.0,"minimum":1.0,"title":"Rank","description":"Shapes + patterns rank before filtering."},"similarity":{"type":"number","maximum":1.0,"minimum":-1.0,"title":"Similarity","description":"Price similarity score; higher is closer, not a probability."},"period":{"$ref":"#/components/schemas/Period"},"following":{"$ref":"#/components/schemas/Following"},"appearances":{"$ref":"#/components/schemas/Appearances"},"original_rank":{"type":"integer","maximum":9.0,"minimum":1.0,"title":"Original Rank","description":"Original price similarity rank."},"pattern_detected":{"type":"boolean","title":"Pattern Detected"},"pattern":{"anyOf":[{"$ref":"#/components/schemas/DetectedPattern"},{"type":"null"}]},"same_pattern_as_query":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Same Pattern As Query","description":"Same pattern in both charts: true when the selected query period and historical match have the same active pattern and direction, false otherwise, and null if the query has no active pattern."}},"additionalProperties":false,"type":"object","required":["rank","similarity","period","following","appearances","original_rank","pattern_detected","pattern","same_pattern_as_query"],"title":"PatternMatch"},"PatternQueryPeriod":{"properties":{"start":{"type":"string","format":"date-time","title":"Start","description":"Inclusive first candle boundary, UTC."},"end":{"type":"string","format":"date-time","title":"End","description":"Exclusive final candle boundary, UTC."},"candles":{"type":"integer","const":60,"title":"Candles","default":60},"pattern_detected":{"type":"boolean","title":"Pattern Detected"},"pattern":{"anyOf":[{"$ref":"#/components/schemas/DetectedPattern"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["start","end","pattern_detected","pattern"],"title":"PatternQueryPeriod"},"Period":{"properties":{"start":{"type":"string","format":"date-time","title":"Start","description":"Inclusive first candle boundary, UTC."},"end":{"type":"string","format":"date-time","title":"End","description":"Exclusive final candle boundary, UTC."},"candles":{"type":"integer","minimum":1.0,"title":"Candles"}},"additionalProperties":false,"type":"object","required":["start","end","candles"],"title":"Period"},"Preparing":{"properties":{"status":{"type":"string","const":"preparing","title":"Status","default":"preparing"},"retry_after_seconds":{"type":"integer","const":10,"title":"Retry After Seconds","default":10}},"additionalProperties":false,"type":"object","title":"Preparing"},"QueryPeriod":{"properties":{"start":{"type":"string","format":"date-time","title":"Start","description":"Inclusive first candle boundary, UTC."},"end":{"type":"string","format":"date-time","title":"End","description":"Exclusive final candle boundary, UTC."},"candles":{"type":"integer","const":60,"title":"Candles","default":60}},"additionalProperties":false,"type":"object","required":["start","end"],"title":"QueryPeriod"},"RelevanceLatestMatch":{"properties":{"status":{"type":"string","enum":["ok","no_match"],"title":"Status"},"no_match_reason":{"anyOf":[{"type":"string","enum":["rank_unavailable","below_min_similarity","below_min_relevance"]},{"type":"null"}],"title":"No Match Reason"},"symbol":{"type":"string","title":"Symbol"},"timeframe":{"type":"string","const":"1h","title":"Timeframe","default":"1h"},"requested_match":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Requested Match"},"min_similarity":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Min Similarity","description":"Original price similarity threshold. Null when no price threshold was requested."},"horizon_hours":{"type":"integer","enum":[3,6,12,24],"title":"Horizon Hours"},"query":{"$ref":"#/components/schemas/QueryPeriod"},"generated_at":{"type":"string","format":"date-time","title":"Generated At","description":"Time the result was generated, UTC. Unchanged until the result is updated."},"lag_seconds":{"type":"integer","minimum":0.0,"title":"Lag Seconds","description":"Elapsed seconds since query.end at response time."},"refreshing":{"type":"boolean","title":"Refreshing","description":"A newer result is being prepared or will be on a later request, and this one may use older inputs. Retry shortly for the update. Check lag_seconds for data freshness."},"match":{"anyOf":[{"$ref":"#/components/schemas/RelevanceMatch"},{"type":"null"}]},"cvd":{"anyOf":[{"$ref":"#/components/schemas/CvdSummary"},{"type":"null"}],"description":"Only included when include_cvd=true."},"sort_by":{"type":"string","const":"relevance","title":"Sort By"},"min_relevance":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Relevance"}},"additionalProperties":false,"type":"object","required":["status","no_match_reason","symbol","requested_match","min_similarity","horizon_hours","query","generated_at","lag_seconds","refreshing","match","sort_by","min_relevance"],"title":"RelevanceLatestMatch"},"RelevanceMatch":{"properties":{"rank":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Rank","description":"Relevance rank before filtering."},"similarity":{"type":"number","maximum":1.0,"minimum":-1.0,"title":"Similarity","description":"Price similarity score; higher is closer, not a probability."},"period":{"$ref":"#/components/schemas/Period"},"following":{"$ref":"#/components/schemas/Following"},"appearances":{"$ref":"#/components/schemas/Appearances"},"relevance":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Relevance","description":"Relevance score based on recent candle shape and saved CVD where usable. Higher is closer."}},"additionalProperties":false,"type":"object","required":["rank","similarity","period","following","appearances","relevance"],"title":"RelevanceMatch"},"Symbol":{"properties":{"symbol":{"type":"string","title":"Symbol"},"base":{"type":"string","title":"Base"},"quote":{"type":"string","title":"Quote"},"timeframe":{"type":"string","const":"1h","title":"Timeframe","default":"1h"},"timeframes":{"items":{"type":"string"},"type":"array","title":"Timeframes","description":"Candle durations available through the public API."},"cvd":{"$ref":"#/components/schemas/CvdCoverage","description":"First saved CVD hour by source. Later gaps are possible."},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases"}},"additionalProperties":false,"type":"object","required":["symbol","base","quote","aliases"],"title":"Symbol"},"Symbols":{"properties":{"symbols":{"items":{"$ref":"#/components/schemas/Symbol"},"type":"array","title":"Symbols"}},"additionalProperties":false,"type":"object","required":["symbols"],"title":"Symbols"}},"securitySchemes":{"APIKey":{"type":"http","scheme":"bearer","description":"A jit_live_ key created at /account."}}},"security":[{"APIKey":[]},{}]}