Skip to Content
BlitzPulse docs are live. Looking for the app? Visit https://app.blitzglobalcapital.com.
Api ReferenceMarket Data API

Market Data API

Auto-generated from openapi-snapshot.json. Do not edit by hand — changes are overwritten by scripts/docs/generate_api_reference.py.

2 endpoints in this group.

GET /api/market-data/1s

Get 1S Bars

Return 1-second OHLCV bars for the given symbol and time range. Range must be <= 24 hours. Returns empty list if no data.

Parameters

NameInTypeRequiredDescription
symbolquerystringrequiredEquity symbol e.g. AAPL
fromqueryoptionalISO 8601 start time
toqueryoptionalISO 8601 end time
limitqueryintegeroptionalMax rows to return

Responses

CodeDescription
200Successful Response
422Validation Error

GET /api/market-data/l2

Get L2

Return the latest aggregated orderbook snapshot for symbol.

Aggregation merges same-price levels, sorts bids desc / asks asc, and truncates each side to top (<= 10). The per-symbol 1 Hz gate ensures the endpoint never emits more than once per second (last-write-wins).

Parameters

NameInTypeRequiredDescription
symbolquerystringrequiredEquity symbol e.g. AAPL
topqueryintegeroptionalLevels per side, 1..10

Responses

CodeDescription
200Successful Response
422Validation Error