Endpoints / Regional filings and reference series
Reference series prices
Read historical bars for one market reference series. Use the reference series catalog to discover its market, group, symbol and interval.
/api/v1/reference/pricesAPI key1 credit per 250 bars Use a key with access to this operation.
Parameters
marketjp | uk | hk | worldrequiredseries_groupstringrequiredsymbolstringrequiredTicker symbol.
Optional parameters (7)
interval1d | 5mstartstringFirst date to include, as an ISO date (YYYY-MM-DD).
endstringLast date to include, as an ISO date (YYYY-MM-DD).
limitinteger, 1 to 20,000Maximum number of rows to return.
cursorstringOpaque continuation. Pass it unchanged with the original filters and snapshot_id.
snapshot_idstringPin the request to one immutable snapshot so a read across several pages stays consistent.
formatjson | csvReturn a JSON page or UTF-8 CSV rows.
Response
Each row has these fields. Rows arrive in data, next to schema_version, snapshot_id, total_count, next_cursor, provenance.
marketstringThe market the row belongs to.
series_groupstringsymbolstringThe ticker without its market prefix.
interval1d | 5mdatestringThe trading day or observation date, YYYY-MM-DD.
opennumberThe first traded price of the day.
highnumberThe highest traded price of the day.
lownumberThe lowest traded price of the day.
closenumberThe last traded price of the day, on the basis the adjustment label describes.
volumenumberThe amount traded that day, in the unit named by volume_unit.
open_interestnumberreported_timestampstring
Research questions
How has the TOPIX reference series changed over time?
GET https://api.quantset.dev/api/v1/reference/prices?market=jp&series_group=jp%2Ftse+indices&symbol=TOPIX.JPUse the market and series_group from the catalog alongside symbol. Align date and interval before comparing closes with another series.
Which daily observations are available for a particular month?
GET https://api.quantset.dev/api/v1/reference/prices?market=jp&series_group=jp%2Ftse+indices&symbol=TOPIX.JP&start=2024-06-01&end=2024-06-30Use actual returned dates for the comparison and inspect any missing open, high, low or volume fields.
Reading the results
A reference index level is expressed in index points. A change in points and a percentage change have different denominators.
Coverage and limits
Daily and five-minute history have separate coverage. Volume and open interest can be missing or inapplicable for an index.
Related guides
CSV, spreadsheets and agents
The same rows as a spreadsheet-ready table. Add format=csv to the request.
curl "https://api.quantset.dev/api/v1/reference/prices?market=jp&series_group=jp%2Ftse+indices&symbol=TOPIX.JP&format=csv" -H "X-API-Key: YOUR_API_KEY"
Or pull it straight into Google Sheets with one formula. Excel and larger pulls
=IMPORTDATA("https://api.quantset.dev/api/v1/reference/prices?market=jp&series_group=jp%2Ftse+indices&symbol=TOPIX.JP&format=csv&apikey=YOUR_API_KEY")AI agents call this endpoint over HTTP, or read its Markdown version. Connect Claude, ChatGPT, Cursor or your own agent
Errors
| Status | Code | What to do |
|---|---|---|
| 400 | conflicting_credentials | Supply one credential. |
| 401 | invalid_credentials | Supply a valid API key. |
| 402 | insufficient_credits | Reduce the request ceiling or refill your credits. |
| 403 | insufficient_access | Your key does not have the required access. |
| 409 | snapshot_changed | Start the read again with the current snapshot. |
| 413 | export_too_large | Reduce the page size before requesting CSV again. |
| 422 | invalid_parameter | Correct the named parameter and retry. |
| 429 | rate_limited | Wait for Retry-After seconds. |
| 500 | internal_error | The request could not be completed. |
| 503 | temporarily_unavailable | Retry safe reads after a short delay. |
Questions
- What does Reference series prices cost?
- 1 credit for every 250 bars returned. A request that fails costs nothing.
- Which plan includes it?
- Every account. Free credits, credit packs and subscriptions all read this data.
- How do I read more than one page?
- When next_cursor is not null, send it back as cursor together with the same snapshot_id, and repeat until it is null.
- Can I get it as CSV or in a spreadsheet?
- Yes. Add format=csv to the request. In Google Sheets, put that URL inside IMPORTDATA with a data-only key in apikey.
- Can an AI agent use this?
- Yes. An agent calls it over HTTP like any client. Add .md to this page's address for a version written for agents.
- What does null mean in the response?
- The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.