1. 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

GET/v1/stockquote/{ticker}?at=...
Host: historical.flashalpha.com Auth required (X-Api-Key) Rate Limited: Yes Plan: Alpha+

Parameters

NameInTypeRequiredDefaultDescription
tickerpathstringrequired-Underlying symbol (e.g. SPY)
atquerydatetimerequired-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.

GET

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

FieldTypeDescription
tickerstringSymbol
bidnumberBid at lastUpdate
asknumberAsk at lastUpdate
midnumberBid/ask midpoint
lastPricenumberLast price
lastUpdatestringQuote minute used (ET)
endpoint_version, data_as_of, archive_as_ofstring, objectResponse envelope, see Response envelope.

Errors

Status Error When
400invalid_atat 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.
403tier_restrictedYour plan is below Alpha. The body includes current_plan and required_plan.
404symbol_not_foundNo archived data for this symbol at at.
429Quota exceededDaily 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 reading