← APIs / DefiLlama DeFi TVL & Yields
Verified

DefiLlama DeFi TVL & Yields

Coinbase Bazaarby Coinbase Bazaar · marketplace

Pay-per-call x402 service at defillama.use.x402atlas.com, listed in the Coinbase Bazaar. Batch historical token prices by DefiLlama — prices for many coins at many timestamps in one call (coins is a JSON map).

financefederated
Price per request
$0.0066
Base URL
https://gateway.apiosk.com/cbz-defillama-use-x402atlas-com
Technical Specs
Auth MethodNone (x402 payment proof only)
Response FormatJSON
Endpoints2
Endpoints
MethodPathDescriptionCost
GET /batch-historical Batch historical token prices by DefiLlama — prices for many coins at many timestamps in one call (coins is a JSON map).
$0.0057 default
View details
GET /dexs DEX volumes by DefiLlama — all decentralized exchanges with trading-volume summaries and charts.
$0.0057 default
View details
Endpoint documentation
GET/batch-historical
$0.0057 default
Description

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"
}
GET/dexs
$0.0057 default
Description

DEX volumes by DefiLlama — all decentralized exchanges with trading-volume summaries and charts.

Pricing
$0.0057 default
Parameters
{
  "properties": {
    "dataType": {
      "description": "Optional volume metric to return (e.g. dailyVolume, totalVolume)",
      "maxLength": 200,
      "type": "string"
    },
    "excludeTotalDataChart": {
      "description": "Optional; set true to omit the aggregate volume time series",
      "maxLength": 200,
      "type": "string"
    },
    "excludeTotalDataChartBreakdown": {
      "description": "Optional; set true to omit the per-protocol volume breakdown series",
      "maxLength": 200,
      "type": "string"
    }
  },
  "type": "object"
}
Example response
{
  "data": {
    "protocols": [
      {
        "chains": [
          "Ethereum"
        ],
        "name": "Uniswap",
        "total24h": 1230000000
      }
    ],
    "totalDataChart": []
  },
  "queried_at": "2026-07-01T12:00:00Z"
}