get
https://api.tatum.io/v4/data/rate/symbol/OHLCV
/v4/data/rate/symbol/OHLCV
50 credits per API call
Get historical exchange rate in USD for a symbol at a specific point in time.
This endpoint retrieves the closest available price record for a given symbol and timestamp. The data includes 1-minute interval price data (OHLCV - Open, High, Low, Close, Volume).
Supported symbols: We support 439+ trading pairs. The symbol parameter accepts the base currency (e.g., "BTC", "ETH").
Time handling:
- If you provide a time, we return the OHLCV record where the time falls within its interval (
openTime≤ time <closeTime), or the closest available record if no exact match is found. - If you provide a time that is later than any available data, we return the most recent OHLCV record we have.
- If you provide a time that is earlier than any available data, we return the earliest available OHLCV record.
Time format: You can provide time either as a Unix timestamp in milliseconds (using the unix parameter) or as a Date object (using the time parameter). You must provide exactly one of these parameters.