Lab API Downloads

Downloads

The full API spec in Markdown and a real JSON response from every endpoint. Feed the spec to your LLM. Wire the samples into mocks, SDK tests, or fixtures.

How to use these

Feed the spec to an LLM

Download api.md (live endpoints) and historical.md (point-in-time replay) and drop them into Claude, ChatGPT, Cursor, or your own agent's system prompt. Both files are designed to be complete, self-contained references.

Wire samples into tests or mocks

Each JSON file under /docs/samples/ is a real response the live API returned for SPY. Use them as:

  • Fixtures for SDK unit tests
  • Mock payloads for UI development
  • Schema inputs for codegen
  • Reference when building client-side types
# Python example - load a sample
import json, urllib.request
url = "https://flashalpha.com/docs/samples/exposure-gex.json"
sample = json.loads(urllib.request.urlopen(url).read())

Historical endpoints use the same shape

Every endpoint below is mirrored on historical.flashalpha.com with a required ?at=yyyy-MM-ddTHH:mm:ss query parameter. The response shape is identical to live - that's why we only ship one sample bundle. See the Historical API docs for coverage and field-level caveats.

What's in the .zip

  • api.md - full live-API spec in Markdown
  • historical.md - full Historical API spec
  • 18 *.json files, one per endpoint, real live responses for SPY

Samples are regenerated periodically. Shape stability is guaranteed; specific values (spot price, IV, OI, etc.) drift with the market.

Ready to build?

Get your free API key and start pulling live options data in 30 seconds.