{"uid":"cap_oQqkOdbWmrpQt5MJUhHMs","slug":"agentdata-api-historical-crypto-market-data-x402-a6c24c28","name":"AgentData API — Historical Crypto Market Data (x402)","description":"Pay-per-request crypto market data API for AI agents. 16 endpoints on Base Mainnet via x402 protocol. No accounts, no API keys. USDC micropayments from $0.001. Works with Claude Desktop, ElizaOS, and any MCP client.","url":"https://agentdata-api.com/api/historical","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer"},"symbol":{"type":"string","description":"Trading pair"},"interval":{"enum":["1m","5m","15m","30m","1h","4h","1d"],"type":"string"}}},"responseSchema":{"data":{},"success":true},"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_mEEVWlKoaYM57_RAZx6Tz","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":"Retrieves historical OHLCV or price data for a specified crypto trading pair at a given interval and limit, paid via USDC micropayment on Base Mainnet with no API key required.","exampleAgentPrompt":"Can you pull the last 50 hourly candles of historical price data for BTC-USDC? Pay for it with my USDC wallet on Base.","exampleUseCases":[{"title":"Analyze crypto volatility for trading signals","prompt":"Fetch the last 200 daily candles for ETH-USDC and analyze the price volatility over the past year. Use my USDC balance on Base to pay for the data, then tell me if there's a pattern I should watch."},{"title":"Compare multi-pair price movements","prompt":"Pull hourly OHLCV data for the last 72 candles on SOL-USDC, BTC-USDC, and AVAX-USDC. Pay with USDC from my Base wallet and show me which pair has been most volatile this week."},{"title":"Monitor historical support and resistance levels","prompt":"Get me the last 500 4-hour candles for Ethereum so I can identify key support and resistance levels. Charge my Base USDC account for the data retrieval and highlight any price zones that have held strong over the past 3 months."}],"resultDescription":"A JSON object containing a 'data' field with historical market data records (OHLCV or price series) for the specified trading pair, interval, and limit, plus a 'success' boolean confirmation.","failureModes":["Insufficient USDC balance for micropayment — payment rejected by x402 protocol","Invalid or unsupported trading pair symbol — data not found","Invalid interval value — bad request error","Limit exceeds maximum allowed records — request rejected","Network or Base Mainnet availability issue — service unavailable"],"whenToPreferThis":"Use this endpoint when an AI agent needs historical candlestick or price data for a cryptocurrency trading pair without registering an account or managing API keys, and can pay per-request in USDC via the x402 protocol on Base Mainnet. Ideal for autonomous agents running in Claude Desktop, ElizaOS, or MCP environments that need on-demand crypto history for analysis or strategy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:43:31.417Z","isFirstParty":false}