{"uid":"cap_SMNAd6b8t-FUiJSBE6kYV","slug":"xynaptic-crypto-historical-bcd48560","name":"Xynaptic Crypto Historical","description":"Xynaptic Crypto Historical — OHLCV history for backtests: 30, 90 or 365 days, daily candles from CoinGecko. GET ?coin=bitcoin&days=365. Returns timestamped [open, high, low, close] arrays.","url":"https://api.xynaptic.io/v1/crypto-historical?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","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_PrkX2-WNFf__LQnM8nIUw","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":"Returns daily OHLCV (open, high, low, close, volume) candlestick history for a cryptocurrency over 30, 90, or 365 days, sourced from CoinGecko.","exampleAgentPrompt":"Can you pull the daily open, high, low, and close price history for bitcoin over the last 365 days so I can run a backtest on it?","exampleUseCases":[{"title":"Crypto trading strategy backtest","prompt":"I'm building a moving average crossover strategy — can you get me the daily OHLCV candles for ethereum over the past 365 days so I can backtest it?"},{"title":"Monthly volatility analysis","prompt":"Pull the last 90 days of daily open, high, low, close data for solana — I want to calculate how volatile it's been recently."},{"title":"Short-term price trend review","prompt":"Get me the past 30 days of daily candlestick data for bitcoin so I can see the recent price trend."}],"resultDescription":"An array of timestamped daily candlestick entries, each containing open, high, low, and close prices for the requested cryptocurrency, covering the specified number of days (30, 90, or 365).","failureModes":["Unsupported coin ID returns an error or empty result","Days parameter outside allowed values (30, 90, 365) may return an error","Rate limiting or payment failure results in 402 or 429 response","CoinGecko data unavailable or delayed causes stale or missing candles","Malformed query parameters (e.g. missing 'coin') return a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need daily OHLCV candlestick history for a specific cryptocurrency over a fixed window of 30, 90, or 365 days, especially for backtesting trading strategies or analyzing historical price behavior. It is best suited for structured quantitative analysis where timestamped open/high/low/close arrays are required. Prefer it over live price endpoints when historical context is needed rather than real-time quotes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:55:06.147Z","isFirstParty":false,"canonicalSlug":"xynaptic-crypto-historical-bcd48560"}