{"uid":"cap_xFWaGVSoBv-CMupEByFP0","slug":"beggar-bot-batch-historical-price-lookup-dedddaaa","name":"Beggar Bot Batch Historical Price Lookup","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/pricebatchhist?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"coins":{"type":"string","description":"1-10 coins, comma-separated"},"width":{"type":"string","description":"search width hours (6)"},"timestamps":{"type":"string","description":"1-20 unix or ISO dates, comma-separated"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_authbWhmJ7JPzSC-pjaju","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches historical price data for up to 10 coins at multiple timestamps in a single batch call on Base mainnet","exampleAgentPrompt":"Can you look up the historical prices for ETH, BTC, and USDC at these timestamps: 2024-01-01, 2024-06-15, and 2024-11-30, using a 6-hour search width?","exampleUseCases":[{"title":"Portfolio historical valuation snapshot","prompt":"I need the prices of ETH, BTC, LINK, and MATIC at the end of each quarter last year — January 1, April 1, July 1, and October 1, 2024 — with a 6-hour search window. Can you pull all of that in one shot?"},{"title":"DeFi trade cost basis calculation","prompt":"What were the prices of USDC and ETH at these exact unix timestamps: 1704067200, 1706745600, and 1709251200? Use a search width of 6 hours."},{"title":"Crypto tax report price lookup","prompt":"I need historical prices for BTC, ETH, SOL, AVAX, and MATIC on these specific dates for my tax report: 2024-03-15, 2024-06-30, and 2024-12-31. Can you batch fetch all of them at once?"}],"resultDescription":"A JSON object containing historical price data for each requested coin at each requested timestamp, resolved within the specified search width window (default 6 hours), sourced from Base mainnet data.","failureModes":["More than 10 coins requested — returns error","More than 20 timestamps requested — returns error","Invalid coin identifiers — missing or empty price entries","Timestamps outside available historical range — no data returned","Payment failure via x402 — 402 response requiring USDC payment to proceed","Malformed timestamp format — parse error or empty results"],"whenToPreferThis":"Use this endpoint when you need historical price data for multiple coins across multiple timestamps in a single efficient call, especially within a DeFi or Base mainnet context. It is superior to single-price lookups when you have batch requirements (up to 10 coins × 20 timestamps). Prefer this over general market data APIs when operating in an x402 micropayment-enabled agent workflow on Base mainnet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:40:29.941Z","isFirstParty":false,"canonicalSlug":"beggar-bot-batch-historical-price-lookup-dedddaaa"}