{"uid":"cap_laONKK1drEHQt3d-GMkeJ","slug":"coingecko-simple-token-price-via-locus-x402-0a30fcb4","name":"CoinGecko Simple Token Price via Locus x402","description":"Cryptocurrency market data — prices, charts, market cap, exchanges, trending coins, global stats, NFTs, derivatives, and on-chain data.","url":"https://coingecko.x402.paywithlocus.com/coingecko/simple-token-price","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"platform_id":{"type":"string"},"vs_currencies":{"type":"string"},"include_24hr_vol":{"type":"boolean"},"contract_addresses":{"type":"string"},"include_market_cap":{"type":"boolean"},"include_24hr_change":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TRYTapxElxFeBb0Veaurx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches current prices and optional market stats (volume, market cap, 24hr change) for ERC-20 or other chain tokens by contract address using CoinGecko data.","exampleAgentPrompt":"What's the current price of the MATIC token on Polygon (contract address 0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0) in USD, and can you include its 24-hour volume and market cap?","exampleUseCases":[{"title":"DeFi portfolio tracker token pricing","prompt":"I need the current price in USD for these three Ethereum token contract addresses — 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0xdAC17F958D2ee523a2206206994597C13D831ec7, and 0x6B175474E89094C44Da98b954EedeAC495271d0F — and include market cap and 24hr change for each."},{"title":"Arbitrage bot price monitoring","prompt":"Get me the current price of the Uniswap token on Ethereum (contract 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984) in both USD and ETH, including the 24-hour price change percentage so I can evaluate recent movement."},{"title":"On-chain token due diligence","prompt":"Can you look up the market cap and 24-hour trading volume for this Polygon token with contract address 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 priced in USD? I want to understand its liquidity before investing."}],"resultDescription":"Returns a JSON object keyed by contract address with the token's price in each requested currency, and optionally 24hr volume, market cap, and 24hr percentage change. Also includes payment settlement details (USDC amount) and a request status URL.","failureModes":["Invalid or unsupported platform_id returns an error or empty data","Unrecognized contract address returns empty object with no pricing data","Unsupported vs_currencies value causes malformed or missing price fields","Payment failure results in HTTP 402 before data is returned","Rate limiting or CoinGecko upstream outage causes timeout or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need token price data by contract address on a specific blockchain platform (e.g. Ethereum, Polygon) and want optional market stats like volume, market cap, or 24hr change. Prefer it over CoinGecko coin-ID endpoints when you only have the contract address and not the CoinGecko coin slug. It uses the x402 micropayment protocol, so it's well-suited for agent-to-agent workflows that pay per call with USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:59.465Z","isFirstParty":false}