{"uid":"cap_adsrapq-d2sXkW-p-BGkB","slug":"asterpay-crypto-price-api-c42e951a","name":"AsterPay Crypto Price API","description":"Get real-time cryptocurrency price data for any token","url":"https://x402.asterpay.io/v1/market/price/bitcoin","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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["symbol","price_usd"],"properties":{"symbol":{"type":"string"},"price_eur":{"type":"number"},"price_usd":{"type":"number"},"timestamp":{"type":"string","format":"date-time"},"change_24h":{"type":"number"},"market_cap":{"type":"number"},"volume_24h":{"type":"number"}}},"example":{"symbol":"bitcoin","price_eur":91200.15,"price_usd":98450.23,"timestamp":"2026-02-01T12:00:00Z","change_24h":2.45,"market_cap":1940000000000,"volume_24h":45000000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LYpn-iZrRUWG_GhTlhqEi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 data including USD/EUR price, 24h change, market cap, and volume for a given token symbol","exampleAgentPrompt":"What's the current price of Bitcoin right now — give me the USD and EUR price, 24-hour change, and market cap.","exampleUseCases":[{"title":"Live crypto portfolio valuation","prompt":"What are the current USD prices for Bitcoin, Ethereum, and Solana? I need them to calculate my portfolio value."},{"title":"Trading signal monitoring","prompt":"What's Bitcoin's price right now and how much has it moved in the last 24 hours? I'm watching for a 5% swing."},{"title":"Crypto market research briefing","prompt":"Give me the current price, market cap, and 24-hour trading volume for Ethereum so I can include it in my market report."}],"resultDescription":"A JSON object containing the token symbol, current price in USD and EUR, timestamp, 24-hour percentage change, total market cap, and 24-hour trading volume.","failureModes":["Missing or invalid 'symbol' query parameter returns an error","Unknown or unsupported token symbol may return a 404 or empty result","Payment failure (insufficient USDC balance) blocks access via x402 protocol","Rate limiting if too many requests are sent in a short window","Stale data if upstream price feed is temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need real-time cryptocurrency price data including both USD and EUR pricing, 24h change, market cap, and volume in a single call. It is pay-per-use via x402 (no API key subscription needed), making it ideal for agents that need on-demand price lookups without managing credentials. Prefer it over free tier APIs when fresh, timestamped, multi-currency data is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:36.098Z","isFirstParty":false}