{"uid":"cap_OuJ2Xr0K8ZeGhmXX2jDL0","slug":"x402-agent-tools-crypto-price-lookup-3e0c8765","name":"x402 Agent Tools – Crypto Price Lookup","description":"Pay-per-call tools for AI agents. USDC on Base or Solana via x402 v2; no keys, no accounts.","url":"https://api.gptshopltd.com/v1/crypto/price?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Comma-separated CoinGecko ids (e.g. solana) or symbols (e.g. btc), max 25"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ids":["solana","bitcoin","ethereum"],"count":3,"found":3,"prices":[{"id":"bitcoin","usd":81738,"found":true,"query":"btc","resolvedBy":"symbol","usd_24h_vol":33484523823,"lastUpdatedAt":"2026-10-14T21:52:59.000Z","usd_24h_change":-2.03,"usd_market_cap":1642903115560}],"source":"CoinGecko simple/price","fetchedAt":"2026-10-14T21:53:21.372Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tHDFfc1cMGBRasEGDLUqc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches real-time USD prices, 24h volume, market cap, and price change for up to 25 cryptocurrencies by symbol or CoinGecko ID","exampleAgentPrompt":"What are the current USD prices, 24-hour change, and market caps for bitcoin, ethereum, and solana right now?","exampleUseCases":[{"title":"Portfolio snapshot at market open","prompt":"Pull the current USD prices and 24-hour change for btc, eth, sol, and bnb so I can see how my portfolio is doing this morning."},{"title":"Crypto price alert trigger","prompt":"Check the current price of ethereum — if it's dropped more than 5% in the last 24 hours I want to know the exact figure and volume."},{"title":"DeFi yield comparison research","prompt":"What are the current prices and market caps for solana, avalanche, and near so I can compare their relative sizes before deciding where to deploy liquidity?"}],"resultDescription":"Returns a JSON object with an array of price records — one per requested coin — each containing the resolved coin ID, current USD price, 24h USD volume, 24h percentage price change, USD market cap, and last-updated timestamp. Also includes total count of coins found and the data source (CoinGecko simple/price) plus a fetchedAt timestamp.","failureModes":["Unknown coin symbol or CoinGecko ID returns found:false for that entry without erroring the whole request","Requesting more than 25 coins in a single call may be rejected or silently truncated","CoinGecko upstream downtime may cause stale or missing data","Malformed comma-separated query string results in a 400 or empty response","Payment failure (insufficient USDC balance) results in HTTP 402 before the data is returned"],"whenToPreferThis":"Choose this endpoint when an AI agent needs fast, no-account-required real-time crypto price data paid per-call with USDC via x402 — ideal for autonomous agents that need on-demand pricing without API key management. Prefer it over free tiers when you need pay-as-you-go access with no rate-limit negotiation, or when the agent operates in a crypto-native payment context already using x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:35:51.571Z","isFirstParty":false,"canonicalSlug":"x402-agent-tools-crypto-price-lookup-3e0c8765"}