DEVELOPER GUIDE
Crypto Data API
Access cryptocurrency quote data using a market and pair symbol. Preserve the quoted currency; USD, USDC and USDT are not automatic FX conversions.
Create your API key ↗Crypto API for price trackers and market dashboards
Use StockAP to retrieve cryptocurrency quotes and stored OHLCV candles through the same authenticated REST interface. Build a price tracker or chart around an explicit trading pair such as BTCUSDT.
- Quotes: request a supported pair and check the source time before displaying a live label.
- History: daily, weekly and monthly candles where data is stored.
- Discovery: search supported symbols before requesting a quote.
Coverage and history vary by listing. A token name alone does not identify its blockchain contract, and a USDT quote is not a USD conversion. The exchange badges in the website do not guarantee that every listing has the same historical API coverage.
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=crypto&symbol=BTCUSDT" \ -H "Authorization: Bearer YOUR_API_KEY"
Endpoint and parameters
GET /v1/quotes
market:cryptosymbol:BTCUSDT
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