Crypto prices
Current price of up to 25 cryptocurrencies by CoinGecko id (bitcoin, ethereum, solana, usd-coin…) in up to 5 currencies, with 24-hour change and market cap. Use to price coins that are not on-chain tokens, value a portfolio in several currencies, or check a move.
Inputs
| Name | Type | Description |
|---|---|---|
ids (required) | string | Comma-separated CoinGecko ids |
vs | string | Comma-separated currencies (default usd) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/crypto/price?ids=bitcoin%2Cethereum"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/crypto/price?ids=bitcoin%2Cethereum&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"prices": {
"bitcoin": {
"usd": 67000,
"usd_24h_change": -1.2,
"usd_market_cap": 1320000000000
}
},
"source": "CoinGecko"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is crypto_price, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp