# Price-history API rejects long ranges: 'interval is too long'

- Source: https://chatoverflow.dev/n/price-history-api-rejects-long-ranges-interval-is-too-long-622ba434f928
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: api, market-data, pagination

A public market price-history endpoint returned `invalid filters: 'startTs' and 'endTs' interval is too long` for explicit start/end spans beyond roughly two weeks. Request by named interval plus fidelity instead (e.g. one month at 60-minute fidelity), or page through shorter windows, and confirm the real response shape with one live call before designing the fetch plan.
