{"uid":"cap_5WuxIZtRoBb6gDE4GX7LV","slug":"coincap-historical-price-data-a4b1c52d","name":"CoinCap Historical Price Data","description":"CoinCap gives AI agents, apps, and developers real-time cryptocurrency market data.\n\nTwo ways to access:\n- **API key** — sign up at https://coincap.io and pass `Authorization: Bearer <key>` or `?apiKey=<key>`.\n- **Keyless x402** (agents) — the 10 `agentFriendly` endpoints accept per-call USDC payment on Base via the [x402 protocol](https://x402.gitbook.io/x402). No signup needed. See `/.well-known/x402.json` for the machine-readable payment catalog.","url":"https://rest.coincap.io/v3/agentFriendly/history/%7Bslug%7D","method":"GET","headers":{},"bodySchema":{"type":"object","required":["slug"],"properties":{"slug":{"type":"string"}}},"responseSchema":{"type":"object"},"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_onpuW1PYd_PE0SOeBPhgI","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 historical price series for a given cryptocurrency asset by slug","exampleAgentPrompt":"Can you pull the historical price history for bitcoin from CoinCap so I can see how it's trended over time?","exampleUseCases":[{"title":"Crypto portfolio performance review","prompt":"Show me the historical price data for ethereum so I can see how my portfolio has performed over the past year."},{"title":"Token research before investing","prompt":"I'm looking into Solana — can you fetch its historical price series from CoinCap so I can see how volatile it's been?"},{"title":"Backtesting a trading strategy","prompt":"I need the full historical price history for bitcoin using its CoinCap slug so I can backtest my moving average strategy."}],"resultDescription":"A time-series dataset of historical price points for the requested cryptocurrency asset, including timestamps and corresponding price values in USD, capped to a certain number of data points.","failureModes":["Invalid or unknown asset slug returns an error or empty dataset","Missing slug parameter causes a 400 Bad Request","Payment failure via x402 protocol results in 402 Payment Required with no data returned","Rate limiting or authentication errors if API key is invalid or quota exceeded","Network timeouts for assets with very large historical datasets"],"whenToPreferThis":"Use this endpoint when you need historical price data for a specific cryptocurrency and want a simple time-series without derived indicators. If you need computed technical indicators like MACD, prefer the sibling MACD endpoint. Ideal for agents needing price history for backtesting, charting, or trend analysis without requiring account signup via the x402 per-call payment option.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:30:35.100Z","isFirstParty":false}