# DefiLlama First Recorded Token Price

> DefiLlama First Recorded Token Price is a paid API for AI agents from defillama.use.x402atlas.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the earliest known USD price and timestamp for one or many tokens, as tracked by DefiLlama.

## Facts

- Endpoint: GET https://defillama.use.x402atlas.com/prices-first
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defillama-first-recorded-token-price-d52b7016
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d9VsAwOFV9H1VGTAa75O4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability defillama-first-recorded-token-price-d52b7016
```

Example prompt: What was the very first price ever recorded for AAVE and Uniswap on DefiLlama? I need the earliest known USD price and the timestamp for each — use ethereum:0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9 for AAVE and ethereum:0x1f9840a85d5af5bf1d1762f925bdaddc4201f984 for UNI.

## When to prefer this

Use this endpoint when you need the genesis or origin price of a token — i.e., the very first price ever recorded by DefiLlama — rather than current or recent historical prices. Ideal for computing all-time returns from launch, auditing token history, or establishing when a token first appeared in DeFi price feeds. Prefer over current-price endpoints when the question is about historical origin, not present value.

## Known failure modes

- Coin identifier not found or not tracked by DefiLlama — returns empty or missing entry for that coin
- Malformed coin identifier (e.g. missing chain prefix or bad address) — likely returns an error or omits the coin
- No historical price data available for a very new or obscure token — missing entry in response
- Rate limiting or payment failure — HTTP 402 or 429 response
- Network timeout for bulk coin queries with many identifiers

## How this service works

First recorded token price by DefiLlama — the earliest known price and timestamp for one or many coins.

## Output

Returns a map of coin identifiers to their first-ever recorded price (in USD), the timestamp of that first record, token symbol, and decimals — representing the earliest data point DefiLlama has for each requested token.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "coins"
     ],
     "properties": {
      "coins": {
       "type": "string",
       "pattern": "^[A-Za-z0-9:,_.-]+$",
       "maxLength": 3000,
       "minLength": 1,
       "description": "Comma-separated coins as {chain}:{address} or coingecko:{id}"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "queried_at",
      "data"
     ],
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "coins": {
         "type": "object",
         "description": "Map keyed by the requested coin id (e.g. coingecko:ethereum)",
         "additionalProperties": {
          "type": "object",
          "properties": {
           "price": {
            "type": "number",
            "description": "Earliest recorded USD price"
           },
           "symbol": {
            "type": "string"
           },
           "timestamp": {
            "type": "integer",
            "description": "Unix timestamp of the earliest recorded price"
           }
          }
         }
        }
       }
      },
      "queried_at": {
       "type": "string",
       "format": "date-time",
       "description": "Time the upstream was queried"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "coins": {
    "coingecko:ethereum": {
     "price": 0.4,
     "symbol": "ETH",
     "timestamp": 1438905600
    }
   }
  },
  "queried_at": "2026-07-01T12:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defillama-first-recorded-token-price-d52b7016/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defillama.use.x402atlas.com](https://www.zero.xyz/host/defillama.use.x402atlas.com/llms.txt)
