{"uid":"cap_Z0FCV-vSUasBAnn9aRjt5","slug":"hermes-data-api-crypto-price-lookup-5627ab93","name":"Hermes Data API – Crypto Price Lookup","description":"Pay-per-call data API: crypto prices (CoinGecko), China A-share quotes (Sina), weather (Open-Meteo), forex rates, and Ethereum gas fees. Payments via x402 protocol, USDC on Base.","url":"https://x402-api-blond.vercel.app/crypto/price","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","toolName","inputSchema"],"properties":{"type":{"type":"string","const":"mcp"},"example":{"type":"object"},"toolName":{"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ts":1750000000000,"source":"coingecko","symbol":"BTC","price_usd":120000.5,"change_24h_pct":2.3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zQpNrhbAiaLrYhyfln9TP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time cryptocurrency price, 24h change, and metadata for a given symbol, sourced from CoinGecko, paid per-call via x402/USDC.","exampleAgentPrompt":"What's the current price of BTC in USD and how much has it changed in the last 24 hours? Use the CoinGecko-backed Hermes crypto price endpoint.","exampleUseCases":[{"title":"Live portfolio valuation check","prompt":"Can you fetch the current USD price and 24h change for ETH so I can update my portfolio tracker?"},{"title":"Crypto price alert condition","prompt":"What's the latest BTC price from CoinGecko right now? I want to know if it's moved more than 5% in the last 24 hours."},{"title":"Trading bot market data feed","prompt":"Pull the real-time price for SOL including its 24-hour percentage change — I need it for my automated trading strategy."}],"resultDescription":"Returns a JSON object with the Unix timestamp of the data, the data source (e.g. 'coingecko'), the requested symbol (e.g. 'BTC'), the current price in USD, and the 24-hour percentage price change.","failureModes":["Payment failure: x402 USDC payment on Base not completed or insufficient balance — request rejected","Invalid or unsupported symbol: returns error if the cryptocurrency ticker is not recognized by CoinGecko","CoinGecko upstream unavailable: downstream API outage causes delayed or missing price data","Malformed MCP input schema: missing required fields like 'type' or 'toolName' causes 400-level error","Rate limiting or quota exceeded on the upstream CoinGecko API"],"whenToPreferThis":"Choose this endpoint when you need real-time crypto spot prices with 24h change data sourced from CoinGecko, especially in agent workflows that support x402 micropayment protocols on Base/USDC. It is a good fit for pay-per-use contexts where you don't want a subscription API key, or when building autonomous agents that self-pay for data. Prefer alternatives if you need historical OHLCV data, order book depth, or bulk multi-asset pricing in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:32:02.568Z","isFirstParty":false}