GET
$0.0057 default
/batch-historicalDescription
Batch historical token prices by DefiLlama — prices for many coins at many timestamps in one call (coins is a JSON map).
Pricing
$0.0057 default
Parameters
{
"properties": {
"coins": {
"description": "Required JSON object mapping each {chain}:{address} or coingecko:{id} coin to an array of unix timestamps",
"maxLength": 8000,
"minLength": 1,
"type": "string"
},
"searchWidth": {
"description": "Optional time range to search for each price (e.g. 4h)",
"maxLength": 200,
"type": "string"
}
},
"required": [
"coins"
],
"type": "object"
}Example response
{
"data": {
"coins": {
"ethereum:0xdAC17F958D2ee523a2206206994597C13D831ec7": {
"prices": [
{
"price": 1,
"timestamp": 1650000000
}
],
"symbol": "USDT"
}
}
},
"queried_at": "2026-07-01T12:00:00Z"
}