{"slug":"x402-sifting-io-v1-hist-crypto-symbol-bars-c2eea1","title":"Historical crypto OHLCV bars (gzip required)","host":"x402.sifting.io","method":"GET","resource":"https://x402.sifting.io/v1/hist/crypto/:symbol/bars","category":"code","description":"Historical crypto OHLCV bars (gzip required). Requires `Accept-Encoding: gzip`. When `start` predates all upstreams' coverage the API returns `422` with code `data_unavailable` and an `earliest` field. Pay per call in USDC via x402; no account or API key.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":835,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{"symbol":"BTCUSD"},"queryParams":{"interval":"1h","limit":1000,"start":"2026-11-01"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"pathParams":{"properties":{"symbol":{"description":"USD-quoted crypto symbol, e.g. `BTCUSD`.","type":"string"}},"required":["symbol"],"type":"object"},"queryParams":{"properties":{"cursor":{"description":"Opaque pagination cursor from a previous response's `meta.next_cursor`.","type":"string"},"end":{"description":"Inclusive upper bound. Default now.","type":"string"},"interval":{"default":"1m","description":"Bar interval. Default 1m. All `/v1/hist/*` routes accept the same set: intraday (1m–1h), plus `1d` (UTC calendar day), `1w` (Monday-aligned), and `1mo` (calendar month). Coarser bars are aggregated from 1-minute history; a `1d`/`1w`/`1mo` bar opens at midnight UTC of the period start.","enum":["1m","5m","15m","30m","1h","1d","1w","1mo"],"type":"string"},"limit":{"default":1000,"maximum":5000,"type":"integer"},"start":{"description":"Inclusive lower bound (YYYY-MM-DD or RFC3339). Required.","type":"string"}},"required":["start"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"items":{"properties":{"c":{"type":"number"},"h":{"type":"number"},"l":{"type":"number"},"o":{"type":"number"},"t":{"type":"integer"},"v":{"type":"number"}},"type":"object"},"type":"array"},"meta":{"properties":{"as_of":{"format":"date-time","type":"string"},"interval":{"type":"string"},"next_cursor":{"type":"string"},"symbol":{"type":"string"}},"type":"object"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":835,"error":null}],"description_full":"Historical crypto OHLCV bars (gzip required). Requires `Accept-Encoding: gzip`. When `start` predates all upstreams' coverage the API returns `422` with code `data_unavailable` and an `earliest` field. Pay per call in USDC via x402; no account or API key.","last_updated":"2026-11-27T11:38:03.628Z","schemes":["exact"]}