chain_price_at
Historical crypto price at a timestamp (Chainlink on-chain) — The price that was in effect at any past moment, read from Chainlink Data Feed round history on-chain - it walks earlier aggregator phases too (Ethereum ETH/USD history reaches back to Aug 2020): price, round id, phase, when that round was set, how old it was at the requested time and when the next update came. For accounting, tax lots, settlement checks and backtests. pair= (same built-in list as /v1/chain/price-feed-history, e.g. ETH/USD, BTC/USD, SOL/USD, EUR/USD, XAU/USD) or feed= any aggregator proxy; time= ISO 8601 or unix seconds; optional chain= (default ethereum). A time before the feed's first round returns 404 (not charged) Price: $0.004 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pair": "<pair>",
"time": "<time>"
},
"name": "chain_price_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | ETH/USD | |
| time | Yes | 2026-11-01T00:00:00Z |