ToolAssay

Batch historical token prices by DefiLlama — prices for many coins at many times

Batch historical token prices by DefiLlama — prices for many coins at many timestamps in one call (coins is a JSON map).

Answeringour last check, 2026-11-26
7 of 7checks answered this week
634 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://defillama.use.x402atlas.com/batch-historical

CategoryMarket data
Provider hostdefillama.use.x402atlas.com
Networkseip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days7 from 5 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.005 595 ms
2026-11-25 valid payment request 402$0.005 665 ms
2026-11-24 valid payment request 402$0.005 666 ms
2026-11-23 valid payment request 402$0.005 634 ms
2026-11-22 valid payment request 402$0.005 621 ms
2026-11-21 valid payment request 402$0.005 599 ms
2026-11-20 valid payment request 402$0.005 654 ms
2026-11-19 valid payment request 402$0.005 605 ms
2026-11-18 valid payment request 402$0.005 639 ms
2026-11-17 valid payment request 402$0.005 649 ms
2026-11-16 valid payment request 402$0.005 608 ms
2026-11-15 valid payment request 402$0.005 600 ms
2026-11-14 valid payment request 402$0.005 630 ms
2026-11-13 valid payment request 402$0.005 679 ms
2026-11-12 valid payment request 402$0.005 636 ms
2026-11-11 valid payment request 402$0.005 638 ms
2026-11-10 valid payment request 402$0.005 642 ms
2026-11-09 valid payment request 402$0.005 651 ms
2026-11-08 valid payment request 402$0.005 633 ms
2026-11-07 valid payment request 402$0.005 665 ms
2026-11-06 valid payment request 402$0.005 667 ms
2026-11-05 valid payment request 402$0.005 601 ms
2026-11-04 valid payment request 402$0.005 666 ms
2026-11-03 valid payment request 402$0.005 626 ms
2026-11-02 valid payment request 402$0.005 620 ms
2026-11-01 valid payment request 402$0.005 628 ms
2026-10-31 valid payment request 402$0.005 627 ms
2026-10-29 valid payment request 402$0.005 960 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "coins": "{\"ethereum:0xdAC17F958D2ee523a2206206994597C13D831ec7\":[1650000000,1660000000]}",
    "searchWidth": "4h"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$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"
}

This page as JSON