DEVELOPER GUIDE
Stock Price API
Get stock quote data with source timestamps. Check freshness before using a quote; market sessions and upstream availability affect updates.
Create your API key ↗Stock API for charts, watchlists and research tools
Use StockAP to retrieve stock quotes, stored price candles and company financial data through one authenticated REST interface. Build a watchlist, a historical chart or a company research view without putting API credentials in the browser.
- Quotes: request one stock symbol and inspect its source time and stale flag.
- History: daily, weekly and monthly candles, subject to stored coverage.
- Financials: annual or quarterly data through the stock financials endpoint.
Start with AAPL, then use symbol search to select other instruments. A quote returned outside regular trading hours is not automatically an after-hours trade: use its timestamp and source context. This product does not promise consolidated exchange coverage or a fixed latency SLA.
Make your first request
- Sign in and create an API key in your dashboard.
- Call the authenticated endpoint from your backend.
- Check the HTTP status, source dates and missing values before displaying data.
curl "https://stockap.com/v1/quotes?market=stock&symbol=AAPL" \ -H "Authorization: Bearer YOUR_API_KEY"
Endpoint and parameters
GET /v1/quotes
market:stocksymbol:AAPL
Authentication: Authorization: Bearer YOUR_API_KEY. Account permissions and request limits are enforced server-side. View current limits and usage in your dashboard; no unlimited access is implied.
Integration practices
- Cache responses according to your freshness requirements; do not poll once per user when a shared snapshot is sufficient.
- Handle authentication errors, rate limits and temporarily unavailable data.
- Preserve source timestamps and null values. Do not label old data as live or replace unknown values with zero.
- Never embed your secret API key in public frontend JavaScript.
Explore the data
Browse the pilot market directory · Existing documentation · Account and usage