v1
latestOpenAPI 3.1.02026-07-243035381.4 MBToken API
Get Exchange Rate History by Symbol
/v4/data/rate/history
50 credits per API call
Retrieves token prices, FDV, and liquidity at any block or timestamp, including percentage change for specified lookback periods.
Supported blockchains:
- Ethereum - ethereum-mainnet
- Base - base-mainnet
get/v4/data/rate/history
Query parameters
chain'ethereum-mainnet' | 'base-mainnet' required
Chains supported by the tokens and wallets endpoints.
The blockchain to work with.
contractAddressstring required
Example:0xdef1c0ded9bec7f1a1670819833240f027b25eff
Contract address of token.
blockNumbernumber
Example:16499510
timestampnumber
Date-time UTC timestamp in format YYYY-MM-DDTHH:mm:ssZ (ignored if blockNumber is present)
symbolstring required
The fiat or crypto asset to exchange.
Example:BTC
The fiat or crypto asset to exchange
basePair'USD' | 'BTC' | 'ETH' required
Example:USD
The target asset to get the exchange rate for
lookbackMinutesstring
Example:15,30
Minutes to calculate price change over time, comparing to defined point of time in blockNumber or timestamp, comma separated
Response
OK
Example response
{
"value": "1235.56",
"timestamp": 1572031674384,
"source": "fixer.io",
"batchId": "one"
}