Price history
Changed onOHLCV historical data. Use period OR start/end, not both. Supports intraday intervals (1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h) and daily+ (1d, 5d, 1wk, 1mo, 3mo). A long window is downsampled upstream; the response reports the granularity actually served.
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v2/quotes/{symbol}/historical
- Auth: API key in header x-api-key
Path parameters
Stock, ETF or index ticker symbol, for example BRK-B, ^GSPC or OR.PA. Not for currency pairs or futures.
Query parameters
Lookback window: 1d, 5d, 7d, 60d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd or max. Alias of range. Give a window or start/end, not both.
Alias of period, the spelling used by /api/v2/market/chart and the indicators family.
Start date, YYYY-MM-DD. Give start/end or a window (period or range), not both.
End date, YYYY-MM-DD, later than start; for one day of history, the day after start.
1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo. A long window is downsampled upstream; the response reports the granularity actually served. Intraday history reaches back 7 days for 1m, 730 days for 60m and 1h, and 60 days for the other intraday intervals.
Include pre/post-market bars (intraday intervals only; ignored on 1d+).
Return only the most recent N bars. Applied after the window is fetched, so it does not change what is cached.
Response
OHLCV historical bars for the symbol at the requested interval and period or date range.
Example response
{
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- breaking
removed the enum value
10yfrom thequeryrequest parameterperiod - breaking
removed the enum value
10yfrom thequeryrequest parameterrange - breaking
removed the enum value
1dfrom thequeryrequest parameterperiod - breaking
removed the enum value
1dfrom thequeryrequest parameterrange - breaking
removed the enum value
1mofrom thequeryrequest parameterperiod - breaking
removed the enum value
1mofrom thequeryrequest parameterrange - breaking
removed the enum value
1yfrom thequeryrequest parameterperiod - breaking
removed the enum value
1yfrom thequeryrequest parameterrange - breaking
removed the enum value
2yfrom thequeryrequest parameterperiod - breaking
removed the enum value
2yfrom thequeryrequest parameterrange - breaking
removed the enum value
3mofrom thequeryrequest parameterperiod - breaking
removed the enum value
3mofrom thequeryrequest parameterrange - breaking
removed the enum value
5dfrom thequeryrequest parameterperiod - breaking
removed the enum value
5dfrom thequeryrequest parameterrange - breaking
removed the enum value
5yfrom thequeryrequest parameterperiod - breaking
removed the enum value
5yfrom thequeryrequest parameterrange - breaking
removed the enum value
60dfrom thequeryrequest parameterperiod - breaking
removed the enum value
60dfrom thequeryrequest parameterrange - breaking
removed the enum value
6mofrom thequeryrequest parameterperiod - breaking
removed the enum value
6mofrom thequeryrequest parameterrange - breaking
removed the enum value
7dfrom thequeryrequest parameterperiod - breaking
removed the enum value
7dfrom thequeryrequest parameterrange - breaking
removed the enum value
maxfrom thequeryrequest parameterperiod - breaking
removed the enum value
maxfrom thequeryrequest parameterrange - breaking
removed the enum value
ytdfrom thequeryrequest parameterperiod - breaking
removed the enum value
ytdfrom thequeryrequest parameterrange - info
added the enum value
10yto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
10yto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
1dto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
1dto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
1moto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
1moto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
1yto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
1yto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
2yto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
2yto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
3moto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
3moto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
5dto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
5dto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
5yto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
5yto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
60dto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
60dto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
6moto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
6moto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
7dto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
7dto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
maxto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
maxto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange - info
added the enum value
ytdto the propertyanyOf[subschema #1]/of thequeryrequest parameterperiod - info
added the enum value
ytdto the propertyanyOf[subschema #1]/of thequeryrequest parameterrange
- breaking
- breaking
the
queryrequest parameterintervalwas restricted to a list of enum values - breaking
the
queryrequest parameterperiodwas restricted to a list of enum values - breaking
the
queryrequest parameterrangewas restricted to a list of enum values - breaking
added the pattern
^\^?[A-Za-z0-9]{1,10}(?:[.-][A-Za-z0-9]{1,4})?$to thepathrequest parametersymbol - breaking
for the
queryrequest parameterend, the format changed from no format todate - breaking
for the
queryrequest parameterstart, the format changed from no format todate - info
added the new enum value
10yto thequeryrequest parameterperiod - info
added the new enum value
10yto thequeryrequest parameterrange - info
added the new enum value
15mto thequeryrequest parameterinterval - info
added the new enum value
1dto thequeryrequest parameterinterval - info
added the new enum value
1dto thequeryrequest parameterperiod - info
added the new enum value
1dto thequeryrequest parameterrange - info
added the new enum value
1hto thequeryrequest parameterinterval - info
added the new enum value
1mto thequeryrequest parameterinterval - info
added the new enum value
1moto thequeryrequest parameterinterval - info
added the new enum value
1moto thequeryrequest parameterperiod - info
added the new enum value
1moto thequeryrequest parameterrange - info
added the new enum value
1wkto thequeryrequest parameterinterval - info
added the new enum value
1yto thequeryrequest parameterperiod - info
added the new enum value
1yto thequeryrequest parameterrange - info
added the new enum value
2mto thequeryrequest parameterinterval - info
added the new enum value
2yto thequeryrequest parameterperiod - info
added the new enum value
2yto thequeryrequest parameterrange - info
added the new enum value
30mto thequeryrequest parameterinterval - info
added the new enum value
3moto thequeryrequest parameterinterval - info
added the new enum value
3moto thequeryrequest parameterperiod - info
added the new enum value
3moto thequeryrequest parameterrange - info
added the new enum value
5dto thequeryrequest parameterinterval - info
added the new enum value
5dto thequeryrequest parameterperiod - info
added the new enum value
5dto thequeryrequest parameterrange - info
added the new enum value
5mto thequeryrequest parameterinterval - info
added the new enum value
5yto thequeryrequest parameterperiod - info
added the new enum value
5yto thequeryrequest parameterrange - info
added the new enum value
60dto thequeryrequest parameterperiod - info
added the new enum value
60dto thequeryrequest parameterrange - info
added the new enum value
60mto thequeryrequest parameterinterval - info
added the new enum value
6moto thequeryrequest parameterperiod - info
added the new enum value
6moto thequeryrequest parameterrange - info
added the new enum value
7dto thequeryrequest parameterperiod - info
added the new enum value
7dto thequeryrequest parameterrange - info
added the new enum value
90mto thequeryrequest parameterinterval - info
added the new enum value
maxto thequeryrequest parameterperiod - info
added the new enum value
maxto thequeryrequest parameterrange - info
added the new enum value
ytdto thequeryrequest parameterperiod - info
added the new enum value
ytdto thequeryrequest parameterrange
- breaking