- Historical Replay
- Market Data
- Stock Quote
Historical Stock Quote API
Stock bid / ask / mid / last at any minute since 2017. The underlying spot reference for every other historical analytics call. Same shape as live /v1/stockquote.
HISTORICAL
SPY coverage
2017-01-03 → 2026-12-03
Granularity
1 minute
Plan
Alpha+
Format
JSON (REST)
Endpoint
Host:
historical.flashalpha.com
Auth required (X-Api-Key)
Rate Limited: Yes
Plan: Alpha+
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
ticker | path | string | required | - | Underlying symbol (e.g. SPY) |
at | query | datetime | required | - | As-of time, ET wall-clock: yyyy-MM-ddTHH:mm:ss for a minute, or yyyy-MM-dd for that trading day |
Request
curl -H "X-Api-Key: YOUR_API_KEY" \
"https://historical.flashalpha.com/v1/stockquote/SPY?at=2026-03-05T15:30:00"import requests
resp = requests.get(
"https://historical.flashalpha.com/v1/stockquote/SPY",
headers={"X-Api-Key": "YOUR_API_KEY"},
params={"at": "2026-03-05T15:30:00"}
)
resp.raise_for_status()
data = resp.json()
print(data["mid"], data["lastUpdate"])const resp = await fetch(
"https://historical.flashalpha.com/v1/stockquote/SPY?at=2026-03-05T15:30:00",
{ headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();
console.log(data.mid, data.lastUpdate);Try it live
Replays archived data as of the at time you pick (ET wall-clock). Needs an Alpha plan API key.
Response
{
"ticker": "SPY",
"bid": 679.45,
"ask": 679.47,
"mid": 679.46,
"lastPrice": 679.46,
"lastUpdate": "2026-03-05T15:30:00",
"endpoint_version": "2026.09.30",
"data_as_of": {
"node": "f3",
"equity_feed": null,
"equity_options_feed": null,
"index_feed": null,
"index_options_feed": null,
"futures_feed": null,
"futures_options_feed": null,
"flow_feed": null,
"oi_feed": null,
"macro_feed": null
},
"archive_as_of": {
"node": "f3",
"equity_feed": "2026-03-05T20:30:00Z",
"equity_options_feed": "2026-03-05T19:59:00Z",
"index_feed": null,
"index_options_feed": null,
"futures_feed": null,
"futures_options_feed": null,
"flow_feed": null,
"oi_feed": "2026-03-04T21:00:00Z",
"macro_feed": null
}
}Sending request…
See this endpoint on archived data
Send this exact request and the real response shows up here, right next to the example.
Response Fields
| Field | Type | Description |
|---|---|---|
ticker | string | Symbol |
bid | number | Bid at lastUpdate |
ask | number | Ask at lastUpdate |
mid | number | Bid/ask midpoint |
lastPrice | number | Last price |
lastUpdate | string | Quote minute used (ET) |
endpoint_version, data_as_of, archive_as_of | string, object | Response envelope, see Response envelope. |
Errors
| Status | Error | When |
|---|---|---|
400 | invalid_at | at is not yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss (ET). |
400 | - | A query value has the wrong type, or a required value is missing. The body is an RFC 7807 problem-details object with errors.<param>. |
401 | - | Missing or invalid X-Api-Key. The body is empty; check the status code before parsing JSON. |
403 | tier_restricted | Your plan is below Alpha. The body includes current_plan and required_plan. |
404 | symbol_not_found | No archived data for this symbol at at. |
429 | Quota exceeded | Daily quota used up. Retry-After gives the seconds until the reset at 00:00 UTC. Rejected requests (including 403) count toward the quota. |
What This Unlocks
- Backtest event timing - compute returns at any specific minute against historical spot.
- Validate options-payoff scenarios against the actual underlying path.
- Build minute-bar studies over 8+ years without licensing a separate stock-tick feed.
Related Historical Endpoints
- Historical Options Chain
- Historical Stock Summary
- Stock Quote (live) - the live version of this endpoint
Related reading
- Point-in-time greeks for backtesting - why as-of quotes avoid lookahead bias
- Complete guide to quant options backtesting - end-to-end backtest workflow