# DefiLlama — Get earliest timestamp price record for coins

Get DefiLlama First Token Prices data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DeFiLlama, configure supported query parameters and filters, and retrieve structured data including coins, <coin>, token ticker symbol, and timestamp for set backfill start dates, measure lifetime returns, and audit multi-chain token launches.

Documentation: https://openany.si/defillama/defillama-get-earliest-timestamp-price-record-for-coins/f540d686-e1d7-48dd-9351-713da969379c/
API ID: f540d686-e1d7-48dd-9351-713da969379c
Provider: defillama
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/defillama/prices/first/{coins}
Page update time: 2026-12-03T02:39:15.289Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:39:11.237Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## DefiLlama First Token Prices API

Provide comma-separated `{chain}:{address}` or `coingecko:{id}` token keys in the `coins` path parameter. The response returns a `coins` dictionary mapping each token to its earliest available price, symbol and UNIX timestamp.

## What You Can Build

- **Set backfill start dates**: Check each token’s earliest timestamp before paginating historical price charts.
- **Measure lifetime returns**: Compare earliest recorded prices against live quotes from the Current Token Prices API.
- **Audit multi-chain token launches**: Inspect when DefiLlama first began tracking contract addresses across Ethereum and BSC.

## Returned Data

| Field | Meaning |
| --- | --- |
| `coins` | Map of requested token identifiers to their earliest price records |
| `coins.<coin>` | Earliest price object keyed by the requested token identifier |
| `coins.<coin>.price` | Earliest recorded USD price for the token |
| `coins.<coin>.symbol` | Token ticker symbol |
| `coins.<coin>.timestamp` | UNIX timestamp of the earliest recorded price |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DefiLlama — Get earliest timestamp price record for coins request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "coins": {
          "type": "string",
          "description": "set of comma-separated tokens defined as {chain}:{address}"
        }
      },
      "required": [
        "coins"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "coins": {
      "type": "object",
      "properties": {
        "bsc:0x762539b45a1dcce3d36d080f74d1aed37844b878": {
          "type": "object",
          "properties": {
            "price": {
              "type": "number"
            },
            "symbol": {
              "type": "string"
            },
            "timestamp": {
              "type": "integer"
            }
          }
        },
        "coingecko:ethereum": {
          "type": "object",
          "properties": {
            "price": {
              "type": "number"
            },
            "symbol": {
              "type": "string"
            },
            "timestamp": {
              "type": "integer"
            }
          }
        },
        "ethereum:0xdB25f211AB05b1c97D595516F45794528a807ad8": {
          "type": "object",
          "properties": {
            "price": {
              "type": "number"
            },
            "symbol": {
              "type": "string"
            },
            "timestamp": {
              "type": "integer"
            }
          }
        },
        "ethereum:0xdF574c24545E5FfEcb9a659c229253D4111d87e1": {
          "type": "object",
          "properties": {
            "price": {
              "type": "number"
            },
            "symbol": {
              "type": "string"
            },
            "timestamp": {
              "type": "integer"
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Recorded upstream example (2026-11-18)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/defillama/prices/first/ethereum%3A0xdF574c24545E5FfEcb9a659c229253D4111d87e1%2Ccoingecko%3Aethereum%2Cbsc%3A0x762539b45a1dcce3d36d080f74d1aed37844b878%2Cethereum%3A0xdB25f211AB05b1c97D595516F45794528a807ad8' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "coins": {
    "bsc:0x762539b45a1dcce3d36d080f74d1aed37844b878": {
      "price": 0.013978400242583332,
      "symbol": "lina",
      "timestamp": 1600347677
    },
    "coingecko:ethereum": {
      "price": 2.83162,
      "symbol": "ETH",
      "timestamp": 1438905600
    },
    "ethereum:0xdB25f211AB05b1c97D595516F45794528a807ad8": {
      "price": 1.1667590709259381,
      "symbol": "EURS",
      "timestamp": 1532933789
    },
    "ethereum:0xdF574c24545E5FfEcb9a659c229253D4111d87e1": {
      "price": 0.9992047673109988,
      "symbol": "HUSD",
      "timestamp": 1568883821
    }
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What format does the coins parameter expect?
Pass comma-separated tokens as {chain}:{address} or coingecko:{id} in the coins path segment.

### Can I query multiple tokens across different chains at once?
Yes. The reference request queries Ethereum, BSC and CoinGecko identifiers in one comma-separated call.

### What fields are returned for each coin?
Each entry in coins provides price (USD), symbol and timestamp (UNIX seconds).

### Does this endpoint return a confidence score or decimals?
No. The recorded upstream sample for earliest prices returns price, symbol and timestamp only.

### How do I fetch prices after the earliest timestamp?
Use the returned timestamp as the start parameter in the DefiLlama Token Price Chart API.

### How do I fetch a price at a specific historical timestamp?
Use the DefiLlama Historical Token Prices API with your target UNIX timestamp.

## Available implementations
- defillama: https://openany.si/defillama/defillama-get-earliest-timestamp-price-record-for-coins/f540d686-e1d7-48dd-9351-713da969379c/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
