{"slug":"defillama-use-x402atlas-com-batch-historical-2f9e71","title":"Batch historical token prices by DefiLlama — prices for many coins at many times","host":"defillama.use.x402atlas.com","method":"GET","resource":"https://defillama.use.x402atlas.com/batch-historical","category":"market","description":"Batch historical token prices by DefiLlama — prices for many coins at many timestamps in one call (coins is a JSON map).","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":651,"reported_calls_30d":8,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"coins":"{\"ethereum:0xdAC17F958D2ee523a2206206994597C13D831ec7\":[1650000000,1660000000]}","searchWidth":"4h"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"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"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"additionalProperties":true,"description":"Raw DefiLlama batchHistorical payload","properties":{"coins":{"additionalProperties":{"properties":{"prices":{"items":{"properties":{"price":{"description":"USD price","type":"number"},"timestamp":{"description":"Unix timestamp (seconds)","type":"integer"}},"type":"object"},"type":"array"},"symbol":{"type":"string"}},"type":"object"},"description":"Keyed by {chain}:{address} or coingecko:{id}","type":"object"}},"type":"object"},"queried_at":{"description":"When this bridge fetched the upstream data","format":"date-time","type":"string"}},"required":["queried_at","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":651,"error":null}],"description_full":"Batch historical token prices by DefiLlama — prices for many coins at many timestamps in one call (coins is a JSON map).","last_updated":"2026-09-24T02:14:26.947Z","schemes":["exact"]}