{"uid":"cap_8RwSAW7vqX48heGeA3Hva","slug":"sitecheck-crypto-candles-c3f720a6","name":"SiteCheck Crypto Candles","description":"OHLCV candles for a Coinbase trading pair (BTC-USD) at 1m, 5m, 15m, 1h, 6h or 1d granularity, up to 300, newest first, from Coinbase Exchange public market data. Prices are that venue's trades only. Information only, not financial advice.","url":"https://api.sitecheck-api.workers.dev/api/crypto/candles?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"],"type":"string"},"queryParams":{"type":"object","required":["pair"],"properties":{"pair":{"type":"string","description":"Coinbase product, e.g. BTC-USD"},"limit":{"type":"string","description":"1 to 300 (default 100)"},"granularity":{"type":"string","description":"1m, 5m, 15m, 1h, 6h or 1d (default 1h)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"pair":"BTC-USD","count":24,"source":"Coinbase Exchange public market data (candles), newest first","candles":[{"low":83533.5,"high":83808.35,"open":83624.22,"time":"2026-10-14T04:00:00.000Z","close":83645.77,"volume":91.33280723},{"low":83567.9,"high":83900,"open":83571.53,"time":"2026-10-14T03:00:00.000Z","close":83626.7,"volume":172.7794248}],"checkedAt":"2026-10-14T04:49:20.443Z","disclaimer":"Information only, not financial advice.","granularity":"1h"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HfBp-14qkOkhtX2iYsRc2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches OHLCV candlestick data for a cryptocurrency trading pair from Coinbase Exchange public market data","exampleAgentPrompt":"Pull the last 24 hourly candles for BTC-USD from Coinbase so I can see recent open, high, low, close, and volume data.","exampleUseCases":[{"title":"Technical analysis for trading bot","prompt":"Get me the last 100 one-hour candles for ETH-USD — I need the open, high, low, close, and volume so I can run my RSI and MACD indicators."},{"title":"Daily price range monitoring","prompt":"Fetch the daily candles for SOL-USD for the past 30 days so I can see how the price range and volume have been trending."},{"title":"Short-term volatility check","prompt":"Give me the last 50 five-minute candles for BTC-USD — I want to see if there was a big price spike in the last few hours."}],"resultDescription":"Returns a JSON object with the trading pair name, granularity, count, and an array of candles sorted newest-first. Each candle includes timestamp, open, high, low, close, and volume. Also includes source attribution, checkedAt timestamp, and a disclaimer that data is informational only.","failureModes":["Invalid pair symbol returns an error or empty candle array","Granularity value not in allowed enum (1m, 5m, 15m, 1h, 6h, 1d) causes a validation error","Limit out of range (outside 1-300) may return an error or be clamped","Network or Coinbase upstream outage results in a timeout or 5xx error","Payment failure due to insufficient USDC balance blocks the request"],"whenToPreferThis":"Use this endpoint when you need structured OHLCV candlestick data for a Coinbase-listed trading pair, especially for technical analysis, charting, or time-series price history. Prefer it over generic price endpoints when you need historical intervals with volume data across multiple granularities. Ideal for agents that need pay-per-call access without managing exchange API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T06:49:49.292Z","isFirstParty":false,"canonicalSlug":"sitecheck-crypto-candles-c3f720a6"}