Market API
Find historical price matches and compare spot and futures flow.
Access
https://jittero.si/api/v1Start with GET /api/v1/symbols. Anonymous access is available when enabled. If you receive 401, create an API key with market:read access and send it as a Bearer token.
The public API uses hourly (1h) candles only. Use the website for 4h, 12h, and 1d candles.
curl -H "Authorization: Bearer $JITTERO_API_KEY" \
'https://jittero.si/api/v1/matches/latest?symbol=BTC&include_cvd=true'
All clients with market read access can request the CVD summary.
List symbols
GET /symbols lists the supported hourly markets. Use a symbol or one of its listed aliases.
Read timeframes for the public candle durations. The current value is ["1h"]. The timeframe field gives the hourly duration.
Read cvd.spot_since and cvd.futures_since for the first saved hour with volume in each source. The dates give UTC candle opening times. An unavailable date is null. Gaps can occur after these dates.
Get the latest match
GET /matches/latest?symbol=BTC uses the latest available window of 60 completed hourly candles.
Check query.end and lag_seconds before you report the result. The data is not live.
Get a dated match
GET /matches/query?symbol=ETH&date=2026-11-13&time=09:00
Use the UTC opening time of the last query candle. In this example, the candle ends at 10:00 UTC.
All periods include start and exclude end.
Set search options
Use these options on either match endpoint.
| Parameter | Default | Use |
|---|---|---|
search_mode | normal | Use normal for Shapes search. Use patterns to give priority to matches with the same active candle pattern. |
sort_by | price | Use price for the existing price ranking or relevance to prioritize recent candle shape. Relevance is available in normal search. |
match | 1 | Select rank 1–6 for normal search or 1–9 for pattern search. The API selects the rank before it applies the filter. |
min_similarity | 0.70 with price | Set the minimum price similarity, from −1 to 1. In relevance mode, a price floor applies only when supplied. min_correlation is an alias. |
min_relevance | 0.50 with relevance | Set the minimum relevance score, from 0 to 1. Use with sort_by=relevance. |
horizon_hours | 12 | Select 3, 6, 12, or 24 hours for the historical return. This option does not change CVD. |
include_cvd | false | Set to true to get the CVD summary. |
GET /matches/latest?symbol=BTC&sort_by=relevance&min_relevance=0.5
Relevance considers the last five candles and uses saved CVD for BTC where available. The response includes sort_by, min_relevance, and match.relevance. match.similarity still gives the original price correlation. min_similarity is null when you omit the price floor.
appearances counts matches from the selected ranking in the last 24 hourly searches. Both score thresholds are inclusive. If the requested relevance rank falls below the minimum, the response gives no_match_reason: "below_min_relevance". If it meets that threshold and falls below a supplied price floor, the reason is below_min_similarity.
Read the CVD summary
GET /cvd?symbol=BTC
Read spot and futures flow, futures price change, and 30-day baselines for 3-, 6-, 12-, and 24-hour windows.
Volume delta is buyer-initiated volume minus seller-initiated volume. Cumulative volume delta (CVD) is the sum of these differences over time.
Select a window by its hours value. Ignore window lengths you do not use. More lengths can be added.
The API uses the latest shared hour when its end is less than two hours behind the latest closed boundary. Otherwise it uses the newest saved hour from either source.
Set end to an exclusive UTC hour boundary, such as 2026-11-20T10:00:00Z. You can copy query.end from a match response.
Check each source status and available_through. If lag_seconds is at least 3600 and you need a newer hour, wait 60 seconds before you retry.
{
"symbol": "BTCUSDT",
"base": "BTC",
"end": "2026-11-20T10:00:00Z",
"lag_seconds": 360,
"available_through": {"spot": "2026-11-20T10:00:00Z", "futures": "2026-11-20T10:00:00Z"},
"windows": [{
"hours": 3,
"price_change_pct": 0.45,
"spot": {"status": "complete", "hours_saved": 3, "volume_base": 1000,
"delta_base": 80, "imbalance_pct": 8, "imbalance_pctile_30d": 76.4, "volume_ratio_30d": 1.25},
"futures": {"status": "complete", "hours_saved": 3, "volume_base": 10000,
"delta_base": -300, "imbalance_pct": -3, "imbalance_pctile_30d": 36.7, "volume_ratio_30d": 1.4}
}]
}
| Status | Meaning | Action |
|---|---|---|
complete | All hours are known and total volume is positive. | Use the figures. |
zero_volume | All hours are known and total volume is zero. Imbalance is null. | Record zero volume. |
pending | All absent hours closed within the last 24 hours. The source has no recorded gap for those hours. | Wait 60 seconds before you retry if you need the data. |
missing | An absent hour has a recorded gap, is older than 24 hours, or has no venue market. | Skip this source for the window. |
Compare flow in a historical match
Add include_cvd=true to a match request to get the volume imbalance as a percentage.
{
"cvd": {
"query": {"spot_imbalance_pct": 8, "futures_imbalance_pct": -3},
"match": {"spot_imbalance_pct": 7.2, "futures_imbalance_pct": 5.1}
}
}
querydescribes the selected window.matchdescribes the historical window. Neither includes later candles.- A positive value means more buyer-initiated volume. A negative value means more seller-initiated volume. Zero means equal volumes.
- Example:
8means buyers initiated 54% of the volume. Sellers initiated 46%. - A market value is
nullif data is missing or total volume is zero. Do not readnullas zero. - If there is no match,
cvd.matchisnull. The API still returnscvd.query.
Get all ranked CVD matches
GET /cvd/matches?symbol=BTC
GET /cvd/matches?symbol=BTC&end=2026-11-23T10:00:00Z
Use the same response for live queries and backtests. The endpoint accepts symbol for BTC, ETH, or SOL and an optional end. Omit end to read the saved latest result and check query.end for freshness. After a correction to saved candles or CVD, the latest result returns 202 until it is rebuilt, so it never disagrees with a dated request for the same query.end.
The end parameter is an exclusive UTC hour boundary, as in /cvd. For 10:00:00Z, the 60-candle window includes the 09:00–10:00 candle. The price endpoint /matches/query takes the opening date and time of that same candle.
matchescontains up to six matches in rank order. An empty list means the search found no matches.- Each match has shape and flow scores plus
returnskeyed by"3","6","12", and"24". Each entry haspctin percent units andunavailable_reason. Returns use outcomes known byquery.end. result_idcovers the price and CVD data throughquery.end. Repeating a query returns the same ID and matches until that data is revised or the service is updated. Log it with the response you used.- Hours still syncing return
503, as do searches when the service is busy. A422 query_unavailablemeans the current saved history cannot satisfy the request.error.details.latest_complete_end, when present, names the newest complete hour; do not substitute it for the requested hour. Retry after backfill. An hour that has yet to close returns422 invalid_parameter. - A second dated search for a different hour or symbol under the same account or anonymous network returns
429. On202,429or503, wait forRetry-After.
Get a single rank from the latest CVD result
GET /cvd/matches/latest?symbol=BTC
This is a separate search. It ranks historical windows by the shape of spot and futures CVD over the latest 60 closed hours with complete CVD, not by price. It is available for BTC, ETH, and SOL.
query.end can be older than in /matches/latest while CVD is syncing. Check lag_seconds.
| Parameter | Default | Use |
|---|---|---|
match | 1 | Select rank 1–6. The API selects the rank before it applies the filter. |
min_similarity | 0.70 | Set the minimum CVD shape similarity, from 0 to 1. It is not comparable with price similarity. |
horizon_hours | 12 | Select 3, 6, 12, or 24 hours for the historical return and outcomes. |
{
"status": "ok",
"symbol": "BTCUSDT",
"requested_match": 1,
"min_similarity": 0.7,
"horizon_hours": 12,
"query": {"start": "2026-11-18T07:00:00Z", "end": "2026-11-20T19:00:00Z", "candles": 60,
"flow": {"spot_imbalance_pct": 4.2, "futures_imbalance_pct": -1.8,
"spot_change_pct": 3.1, "futures_change_pct": -0.6, "divergent": true}},
"lag_seconds": 1800,
"match": {
"rank": 1, "similarity": 0.83, "spot_r": 0.91, "futures_r": 0.88, "price_r": 0.42,
"flow_agreement": 0.78,
"period": {"start": "2025-03-02T04:00:00Z", "end": "2025-03-04T16:00:00Z", "candles": 60},
"flow": {"spot_imbalance_pct": 3.6, "futures_imbalance_pct": -2.4,
"spot_change_pct": 1.9, "futures_change_pct": 0.3, "divergent": true},
"following": {"return_pct": 1.84, "unavailable_reason": null}
},
"outcomes": {"horizon_hours": 12, "matches": 6, "available": 6, "up": 5, "down": 1,
"median_return_pct": 1.2}
}
flowgives net taker imbalance per venue over the window.*_change_pctcompares the last five candles with the five before them, in percentage points.divergentistruewhen spot and futures flow have opposite signs.flow_agreementcompares the net flow of the two windows. A value of 1 means identical flow.outcomessummarizes the returns after all ranked matches, regardless ofmin_similarity. These are historical observations, not forecasts.- For 30-day percentiles, call
/cvdwithendset toquery.end. It covers the 3-, 6-, 12-, and 24-hour windows that end there, not the 60-hour query window.
Handle responses
- 200: Report
no_matchfor the requested rank when the match response gives it. For CVD, usecompleteandzero_volumeresults. Retrypendingas needed. Skipmissingsources. See the CVD status table. - 202: The result is not ready. Wait for the time in
Retry-Afterbefore you try again. - 400, 404, 422: Read
error.message. Check the symbol, parameters, and candle time. - 401, 403: Check the API key and its permissions.
- 429, 503: Try again later. If the response includes
Retry-After, wait that many seconds.
All keys for one account share its limits. Check your account for daily use.
Use the API with an agent
Use an HTTP request tool to call the endpoints, or import the OpenAPI specification into an agent that supports it. The plain-text API guide lists starting requests.
Report the symbol, query end time, match dates, and the score used to rank the result. Treat both scores as measures of closeness.
match.following.return_pct is the price change after the historical match. It is not a forecast.
match.appearances.count counts hourly searches that returned this match in the preceding 24 hours. It does not count pattern occurrences.
Poll CVD
Omit end and select the window by hours. Check each source status. Retry pending after 60 seconds if needed. Skip missing sources.
imbalance_pctile_30d compares the current imbalance with the recent history of the same symbol, source, and window length.