Get Current Crypto Price
get_crypto_priceReturns the current USD price, 24h % change, market cap, and 24h volume for any supported cryptocurrency. Supported: BTC, ETH, SOL, BNB, XRP, USDT, USDC, ADA, AVAX, DOGE, DOT, MATIC, LINK, LTC, ATOM, UNI, SUI, APT, NEAR, PEPE. Source: CoinGecko. Priced at $0.02 USDC via x402 on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Crypto symbol e.g. BTC, ETH, SOL, DOGE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name | |
| as_of | Yes | ISO timestamp of the data fetch | |
| symbol | Yes | Crypto symbol | |
| price_usd | Yes | Current price in USD | |
| change_24h_pct | Yes | 24-hour price change % | |
| market_cap_usd | Yes | Market cap in USD | |
| volume_24h_usd | Yes | 24-hour trading volume in USD |