Crypto data
Crypto price API
Live quotes, OHLCV history and coin profiles for Bitcoin, Ethereum and other cryptocurrencies, in USD, EUR or BTC, over the same API key as stocks.
- Symbol format
BTC-USD: the coin, a hyphen, the currency it is priced in- Trading hours
- Around the clock, weekends included
- Quote freshness
- About a minute, at any hour
- Daily history
- From each coin's first day at the source:
BTC-USDfrom September 2014 - Intraday bars
- 1-minute for 7 days, up to 90-minute for 59 days, hourly for 729 days
Symbol format
A coin is its ticker, a hyphen and the currency it is priced in: BTC-USD is bitcoin in US dollars and BTC-EUR the same coin in euros. The quote side can be another coin, as in ETH-BTC. Stablecoins and tokens follow the same pattern.
BTC-USDBitcoin in US dollarsETH-USDEther in US dollarsSOL-USDSolana in US dollarsUSDT-USDTether in US dollarsBTC-EURBitcoin in eurosETH-BTCEther priced in bitcoin
Endpoints
The same endpoints and the same key as every other market; every plan includes all of them.
- Quote API/v6/finance/quotePrice, change, volume, market cap and circulating supply, batched with stocks or currencies in the same call if you like.
- Chart API: OHLCV history/v8/finance/chart/{symbol}Daily, weekly and monthly OHLCV back to the coin's first day, plus intraday bars. A daily bar starts at 00:00 UTC.
- Spark API: close-price series/v8/finance/sparkClose-only series for a watchlist of coins.
- Fundamentals API (quoteSummary)/v11/finance/quoteSummary/{symbol}
price,summaryDetail(market cap, circulating and max supply, all-time high and low) andassetProfile(description, website, whitepaper). - Screener API/ws/screeners/v1/finance/screener/predefined/saved
scrIds=all_cryptocurrencies_uslists coins quoted in US dollars, largest market cap first. - Search API/v1/finance/searchFind a coin's symbol from its name.
Example request
Send your key in the x-api-key header. A symbol the API has not seen before is fetched on the first call.
curl -H "x-api-key: $KEY" \
"https://api.stockdataapi.com/v6/finance/quote?symbols=BTC-USD,ETH-USD,BTC-EUR"{
"quoteResponse": {
"result": [
{
"symbol": "BTC-USD",
"shortName": "Bitcoin USD",
"quoteType": "CRYPTOCURRENCY",
"currency": "USD",
"fromCurrency": "BTC",
"marketState": "REGULAR",
"regularMarketPrice": 75803.57,
"regularMarketChangePercent": 0.1989,
"regularMarketVolume": 26833031168,
"marketCap": 1524237860864,
"circulatingSupply": 20108684,
"regularMarketTime": 1794024434
}
],
"error": null
}
}jsonGood to know
- Crypto never closes, so a quote's
marketStatereadsREGULARat any hour and the one-minute refresh window always applies. - Volume is a traded value, not a number of coins: for
BTC-USDit is in US dollars. - A daily bar runs from 00:00 UTC, and the bar for the day in progress is drawn from the live quote, so the last candle tracks the market.
Questions
Anything else is covered in the documentation, or on this page as Markdown for an AI assistant.
Which cryptocurrencies can I get prices for?
Any coin or token the source quotes, in US dollars and other currencies. A symbol nobody has asked for before is fetched on the first request, and the search endpoint finds a coin's symbol from its name.
Does crypto data update on weekends?
Yes. Crypto trades around the clock, so a quote older than about a minute is refreshed whenever you ask, weekends included. Daily bars roll over at 00:00 UTC.
How far back does crypto price history go?
To each coin's first day at the source: September 2014 for Bitcoin (BTC-USD) and November 2017 for Ether (ETH-USD). Intraday bars cover the last 7 days at one minute and about two years at one hour.
Can I get crypto prices in euros or in bitcoin?
Yes. Change the currency in the symbol: BTC-EUR prices bitcoin in euros and ETH-BTC prices ether in bitcoin.
Is crypto data included in the free plan?
Yes. Every plan includes every endpoint and every market, with full history.
Other markets, same key
- Stock market data APIStocks and ETFs: quotes, history, options, fundamentals
- Forex APIMajor and cross currency pairs, Sunday to Friday
- Stock market index APIS&P 500, Dow, Nasdaq, VIX and world benchmarks
- Futures data APIContinuous contracts for index, energy, metals and grains
Your first call is a few minutes away.
A free key, every endpoint, full history.