Backfill history
Page through all the history, save it to a file and resume if it stops.
Read the use case →Get crypto pair prices and price history over REST. Prices are decimal strings with up to 8 significant digits.
curl "https://api.dino.markets/v1/crypto/BTC-USD/price" \ -H "Authorization: Bearer $DINO_API_KEY"
{ "pair": "BTC-USD", "base": "BTC", "quote": "USD", "price": "73772.28", "change_24h": "-263.11", "change_24h_percent": "-0.36", "timestamp": "2026-11-11T13:47:14Z", "stale": false }
/v1/crypto/pairsEvery pair we price, by pair (BTC-USD style).
quoteoptionalOnly pairs quoted in this currency (USD, EUR or GBP).
pairslist of objectEvery pair we price, by pair. A pair is listed while it trades at least once every 30 seconds and dropped when it falls below once every 2 minutes.
/v1/crypto/{pair}/priceThe latest composite price of a pair, with the 24-hour change (left out when it is not known).
pairrequiredCrypto pair: the coin, a dash and the quote currency, for example BTC-USD or ETH-EUR. Any case; a slash in place of the dash is accepted. The answer carries the canonical pair.
pairstringCanonical pair returned with the coin and quote currency.
basestringTicker of the coin in the requested crypto pair.
quotestringQuote currency used for every price in the response.
pricestringLast price as a decimal string, with up to 8 significant digits.
change_24hstringPrice change over 24 hours, derived from percentage change; omitted when unknown.
change_24h_percentstringChange over 24 hours in percent; 1.5 means 1.5%. Omitted with change_24h.
timestampdate-timeTime the price was valid, in UTC with whole seconds.
stalebooleanTrue when the price is over 5 minutes old or could not be refreshed.
/v1/crypto/pricesLatest price of each listed pair.
pairsrequiredComma-separated pairs, at most 50 after duplicates are removed. Each pair follows the same rules as the single-price route. One call is counted for each pair that returns a price.
priceslist of objectOne price per pair that resolved, by pair.
errorslist of objectPairs that returned no price. They are not charged.
/v1/crypto/{pair}/barsDaily (1d, one UTC day, closing at 00:00 UTC) or one-minute (1m) bars, oldest first.
pairrequiredCrypto pair: the coin, a dash and the quote currency, for example BTC-USD or ETH-EUR. Any case; a slash in place of the dash is accepted. The answer carries the canonical pair.
intervaloptional1d (one bar per UTC day, closing at 00:00 UTC) or 1m (one-minute bars). Anything else is 400 invalid_interval.
startoptionalFirst bar. 1d: a date (YYYY-MM-DD), inclusive; left out means the oldest bar there is. 1m: a UTC time (YYYY-MM-DDTHH:MM:SSZ, or a date for 00:00 UTC), inclusive; left out means one day before end.
endoptionalLast bar. 1d: a date, inclusive; left out means the latest finished day. 1m: a UTC time, exclusive; left out means now, or five days after start. At most 5 days between start and end for 1m (400 range_too_large).
cursoroptionalnext_cursor of the previous page, with the same parameters.
pairstringCanonical pair.
startstringNever sent: start is not moved.
endstringNever sent: daily bars are not cut.
barslist of objectAt most 5,000 bars a page.
next_cursorstringPass it back to read the next page. Null on the last page.
Page through all the history, save it to a file and resume if it stops.
Read the use case →Run a small script once a day and append the result to a CSV.
Read the use case →Listed stock prices, earnings and dividends.
Explore the API →ETF prices and daily mutual fund net asset values.
Explore the API →Four monthly plans, from Free to $199 a month. A plan sets how far back you can read.
See pricing →43 pairs are priced against USD, EUR and GBP. Use BTC-USD or ETH-EUR; ids accept any case or a slash, and answers return canonical pairs.
Crypto trades all day and has no market session. Prices are stale when over 5 minutes old or refresh fails; prices and bars have no volume field.
Each daily bar covers one UTC day and appears at 00:00 UTC. Today's partial bar is never shown.
change_24h is price minus the price 24 hours earlier, calculated from the 24-hour percentage change. The percentage field uses 1.5 to mean 1.5%. Both change fields are omitted whenever the change is unknown.
It depends on your plan. Free reads the last 12 months, Starter 5 years, Basic 5 years and Pro the full history. The records themselves start earlier; each response reports its own start.
A pair id joins the coin and quote currency with a dash, such as BTC-USD. Any case works, and a slash is accepted. Batch calls accept up to 50 ids and count one call per id that returns a price.
The Free plan reads the last 12 months of history. Paid plans start at $29 a month and reach further back.