From key to first request.
Subscribe to a market plan, then create an API key in your dashboard. Send the key from your backend in the Authorization header.
curl 'https://stockap.com/v1/quotes?market=stock&symbol=AAPL' \ -H 'Authorization: Bearer YOUR_API_KEY'
Endpoints
GET /v1/quotes?market=stock&symbol=AAPL — one latest source quote, timestamp in milliseconds, percentage change and stale flag.
GET /v1/candles?market=crypto&symbol=BTCUSDT&interval=1d — stored OHLCV candles. Intervals: 1d, 1wk, 1mo. Bar timestamps are Unix seconds.
GET /v1/symbols?market=stock&q=AA — up to 30 matching catalog symbols.
Access & limits
A stock subscription authorizes stock requests; a crypto subscription authorizes crypto requests. Rate and UTC calendar-month limits are shared across all keys for each market. Accepted requests count toward usage even if the upstream later fails. No automatic overage charges.
401: missing or revoked key. 403: no active paid plan. 429: request limit reached. 502: data source unavailable. Never send API keys in query strings.
Data availability
Stocks are USD; crypto uses USDT. Source quotes may be stale or unavailable. Stored history is not yet refreshed automatically. Weekly/monthly edge bars may be partial. See pricing for coverage limits. WebSocket customer access is not included.