{"uid":"cap_Tbm3J69nGuLk0YyFab4OY","slug":"payforapi-crypto-price-live-historical-token-prices-b708ab97","name":"PayForAPI Crypto Price — Live & Historical Token Prices","description":"Pay-per-call data services for AI agents, settled in USDC on Base via x402 (HTTP 402). No account, no API key. [Платные данные для ИИ-агентов по x402, без аккаунта и ключа.]","url":"https://funding.payforapi.com/crypto-price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":[],"properties":{"at":{"type":["string","array","integer"],"description":"Unix seconds for a historical price snapshot; omit for current prices"},"coins":{"type":["string","array","integer"],"description":"Comma-separated symbols (BTC,ETH), CoinGecko ids (coingecko:solana) or chain:address (base:0x…) — up to 50 coins"}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"asOf":1758188400,"prices":[{"price":61250.42,"symbol":"BTC","decimals":8,"confidence":1},{"price":2410.87,"symbol":"ETH","decimals":18,"confidence":1}]}},"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_mXgP4XywzCcY4KGrm3yEV","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":"Fetches live and historical cryptocurrency token prices by symbol, CoinGecko ID, or on-chain contract address, paid in USDC on Base via x402","exampleAgentPrompt":"What's the current price of ETH right now, and can you also pull the historical price of BTC on March 15th, 2024?","exampleUseCases":[{"title":"Portfolio valuation snapshot","prompt":"Can you get me the current prices for BTC, ETH, and SOL so I can calculate the total value of my crypto portfolio?"},{"title":"DeFi token price by contract","prompt":"What's the current USD price of the token at Ethereum contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?"},{"title":"Historical price lookup for tax reporting","prompt":"I need the price of Bitcoin on December 31st, 2023 for tax reporting purposes — can you look that up?"}],"resultDescription":"Returns the current or historical price of the requested cryptocurrency token in USD, along with any available token metadata such as name, symbol, and market data, keyed to the requested identifier (symbol, CoinGecko ID, or contract address).","failureModes":["Unknown or unsupported token symbol returns an error or null price","Invalid contract address format causes a lookup failure","Historical date out of supported range may return no data","Network or upstream CoinGecko API unavailability causes timeout","Malformed chain:0x address format rejected"],"whenToPreferThis":"Choose this endpoint when you need real-time or historical crypto token prices and want to query by flexible identifiers — ticker symbol, CoinGecko ID, or on-chain contract address. Especially useful when pricing obscure or newly listed DeFi tokens by contract address that may not be easily found by symbol alone. Paid per-call via x402/USDC on Base, suitable for agent-native micropayment workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:33:43.115Z","isFirstParty":false,"canonicalSlug":"payforapi-crypto-price-live-historical-token-prices-b708ab97"}