{"uid":"cap_kjxFwW9SI35h-hYSeOeCV","slug":"speraxos-coingecko-token-price-api-a060b547","name":"SperaxOS CoinGecko Token Price API","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/tools/coingecko/getTokenPrice?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"coinId":{"type":"string","description":"CoinGecko coin ID (e.g. \"bitcoin\", \"ethereum\", \"solana\"). Preferred over symbol."},"symbol":{"type":"string","description":"Token symbol (e.g. \"BTC\", \"ETH\"). Used as fallback if coinId is not provided."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PSkKOnubUO-nfTb0ou_2C","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current USD price of a cryptocurrency token by CoinGecko coin ID or symbol, payable via x402 micro-payment","exampleAgentPrompt":"What's the current price of Ethereum? Look it up using the CoinGecko coin ID 'ethereum'.","exampleUseCases":[{"title":"Real-time portfolio valuation","prompt":"I need to check the current price of Bitcoin right now — use the CoinGecko ID 'bitcoin' to get the latest USD price."},{"title":"DeFi strategy price check","prompt":"Before I make a swap, can you tell me the current price of Solana? The CoinGecko ID is 'solana'."},{"title":"Token price alert context","prompt":"What's the current price of Chainlink? Use the symbol 'LINK' if needed — I want to know if it's a good time to buy."}],"resultDescription":"The current USD price of the requested cryptocurrency token, sourced from CoinGecko. The response includes the token's live market price, enabling agents to perform portfolio calculations, DeFi strategy evaluations, or price comparisons.","failureModes":["Invalid or unrecognized coinId returns an error — ensure the coin ID matches CoinGecko's naming (e.g. 'bitcoin' not 'Bitcoin')","Unknown symbol with no coinId fallback results in a not-found error","Payment failure via x402 (insufficient USDC balance on Base) blocks the request","Rate limiting or CoinGecko upstream downtime may cause delayed or failed responses","Ambiguous symbol (e.g. 'LUNA' mapping to multiple tokens) may return unexpected results without explicit coinId"],"whenToPreferThis":"Choose this endpoint when you need a real-time spot price for a specific cryptocurrency and want to pay per call without an API key setup. It is ideal for AI agents operating autonomously with a Base wallet, DeFi workflows that need live pricing, or any scenario where the CoinGecko coin ID is known. Prefer coinId over symbol for unambiguous results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:48:33.922Z","isFirstParty":false,"canonicalSlug":"speraxos-coingecko-token-price-api-a060b547"}