Coin price lookup ($0.001)
lookup_coinPAID $0.001 USDC. Current BTC, ETH and ~155 major coin prices from Chainlink on-chain feeds: USD price, 1h/24h/7d/30d change and 24h high/low (no market cap or volume). Examples: q=btc, q=ethereum. Refreshed about every 30 min, answers in under 100 ms. Unknown coin returns an error with no charge. Returns JSON USD price, 1h, 24h, 7d, and 30d change, and 24h high and low for one major coin.
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": {
"q": "<q>"
},
"name": "lookup_coin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Coin to price. Format: a symbol, coin id, or name. Example: btc. Another example already in the tool text: ethereum. Required. | |
| api_key | No | Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']. |