{"uid":"cap_WwuKBMZ64kQMikMq_QK0R","slug":"dopaminedesk-crypto-candles-api-97cd0489","name":"DopamineDesk Crypto Candles API","description":"Fetch recent cryptocurrency USD daily OHLCV candles from Coinbase Exchange, with CoinGecko fallback coverage.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/candles","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","properties":{"ticker":{"type":"string","description":"CoinGecko coin ID or supported alias such as bitcoin, btc, ethereum, eth, solana, or sol."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","source","data","marketplace_metadata"],"properties":{"data":{"type":"object","required":["ticker","product_id","interval","candles"],"properties":{"ticker":{"type":"string"},"candles":{"type":"array","items":{"type":"object"}},"interval":{"type":"string"},"product_id":{"type":"string"}},"additionalProperties":true},"source":{"type":"string"},"success":{"type":"boolean"},"marketplace_metadata":{"type":"object","required":["data_mode","billable","availability","source"],"properties":{"source":{"type":"string"},"billable":{"type":"boolean"},"data_mode":{"type":"string"},"availability":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"data":{"ticker":"bitcoin","candles":[{"low":"62210.14","high":"64032.43","open":"63499.49","close":"63466.51","price":"63466.51","volume":7086.70328594,"timestamp":"2026-08-03T00:00:00.000Z"},{"low":"63250.00","high":"64497.24","open":"63466.51","close":"64050.51","price":"64050.51","volume":6227.77436334,"timestamp":"2026-08-04T00:00:00.000Z"}],"interval":"1d","product_id":"BTC-USD"},"source":"Coinbase Exchange API","success":true,"marketplace_metadata":{"source":"Coinbase Exchange candles API with CoinGecko fallback","billable":true,"data_mode":"live_source","availability":"operational"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J8feA9Ti0II1GYQ7Fu2m4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily OHLC-style price candles for a cryptocurrency ticker sourced from CoinGecko via x402 pay-per-use settlement.","exampleAgentPrompt":"Can you pull the daily price candles for bitcoin from CoinGecko so I can see recent price intervals?","exampleUseCases":[{"title":"Daily BTC price candle analysis","prompt":"Fetch the daily candlestick price data for bitcoin so I can analyze its recent price action."},{"title":"Ethereum chart data for trading bot","prompt":"Get me the daily candle data for ethereum — I need the timestamps and prices to feed into my trading strategy."},{"title":"Solana price history review","prompt":"Pull the latest daily price candles for solana from CoinGecko so I can review its recent performance."}],"resultDescription":"Returns a JSON object containing success status, the data source ('CoinGecko'), and a data object with the ticker name, interval (e.g. '1d'), and an array of candle objects each containing a timestamp and price value.","failureModes":["Invalid or unrecognized ticker returns an error or empty candles array","Missing required query parameter 'ticker' may result in a bad request response","CoinGecko upstream unavailability could cause a failed or stale response","Payment failure via x402 USDC settlement blocks the request entirely"],"whenToPreferThis":"Choose this endpoint when you need structured daily candlestick price data for major cryptocurrencies (BTC, ETH, SOL, and other CoinGecko-supported coins) via a pay-per-use x402 USDC model without requiring a CoinGecko API key or subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:00.223Z","isFirstParty":false}