Live Chainlink oracle prices for up to 20 crypto assets in USD ($0.003)
get_crypto_pricesFetch live USD prices for BTC, ETH, LINK, SOL, USDC and 20+ crypto assets from Chainlink on Ethereum, including round ID and update age; no API key, pay per successful x402 call.
Instructions
Live USD prices for BTC, ETH, LINK, SOL, USDC and ~20 more, read straight from Chainlink aggregator contracts on Ethereum: price, decimals, round id, last update time and age in seconds. Not charged for bad input, an unsupported symbol, or when every feed read fails. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).
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": {
"symbols": "<symbols>"
},
"name": "get_crypto_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | No | Quote currency. Only USD is supported (default). | |
| symbols | Yes | Comma list of 1-20 symbols, e.g. BTC,ETH,LINK. Supported: BTC,ETH,LINK,USDC,USDT,DAI,SOL,BNB,MATIC,POL,AVAX,UNI,AAVE,ARB,MKR,SNX,CRV,COMP,stETH |