{"uid":"cap_UX6ttOiC8ycFKbEzg1QtG","slug":"bitcoin-ethereum-ohlcv-price-data-with-derivatives-dfc237b0","name":"Bitcoin & Ethereum OHLCV Price Data with Derivatives","description":"Callable services for any agent (or human): no account, no API key. Payment is per call in USDC on Base over x402 (HTTP 402). Human visitors get 5 free calls per day per visitor; after that the API answers 402 with the accepts[] requirements and the PAYMENT-REQUIRED header, and the caller retries with PAYMENT-SIGNATURE. Prices: $0.50 / $1.00 / $3.00 USDC per call. Rule-based and deterministic engines (no LLM), same input returns the same output.","url":"https://fachada.chelsea-hermes.workers.dev/feed/dormidos?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"description":{"type":"string"},"queryParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"count":2,"symbol":"BTC","candles":[{"c":84397.6,"h":87278.54,"l":83500.01,"o":86208.57,"t":"2026-09-23","v":22150.93},{"c":84074.53,"h":84942.45,"l":82874.93,"o":84397.6,"t":"2026-09-24","v":18339.54}],"interval":"1d"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sUlKTRS0ykACJ4OrYLbN7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily OHLCV candles (up to 1000 days), market summary, and crypto derivatives data (funding rate, open interest, long/short ratio) for BTC/USD and ETH/USD from Binance.","exampleAgentPrompt":"Pull the daily BTC/USD OHLCV candles for the past 1000 days along with the current market summary and perpetual futures data like funding rate and open interest — I need it for backtesting a momentum strategy.","exampleUseCases":[{"title":"Backtesting a crypto trading strategy","prompt":"Get me 1000 days of daily BTC/USD OHLCV candles plus the 30-day high and low so I can backtest my moving average crossover strategy."},{"title":"Monitoring ETH funding rate for arbitrage","prompt":"What's the current Ethereum perpetual futures funding rate and open interest? I want to check if there's a funding rate arbitrage opportunity right now."},{"title":"Daily crypto market briefing for an agent","prompt":"Give me a market summary for both Bitcoin and Ethereum — last close price, 24h change, 7-day change, and 30-day change — so I can generate my morning crypto briefing."}],"resultDescription":"Returns a JSON object with: an array of daily OHLCV candles (open, high, low, close, volume, date) for up to 1000 days; a market summary including last close, 24h/7d/30d percentage changes, 30-day high and low; and crypto derivatives data including perpetual futures funding rate, open interest, long/short account ratio, and taker buy/sell volumes. The symbol (BTC or ETH) and interval (1d) are included in the response.","failureModes":["Invalid or unsupported symbol returns an error — only BTC and ETH are supported","Payment not included or insufficient (x402 payment required, $0.50 USDC per call)","Binance upstream data unavailable causes delayed or empty candle response","Requesting more than 1000 days of history returns only available data","Network timeout on the Cloudflare Worker edge if upstream is slow"],"whenToPreferThis":"Choose this endpoint when you need combined OHLCV price history AND derivatives data (funding rate, open interest, long/short ratio) for BTC or ETH in a single API call, especially for trading bots, backtesting engines, or quant agents. Prefer this over generic market data APIs when you want Binance-sourced data covering nearly 3 years of daily candles without managing Binance API keys or rate limits. Not suitable for intraday (sub-daily) data, altcoins beyond BTC/ETH, or real-time tick data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:35:51.321Z","isFirstParty":false,"canonicalSlug":"bitcoin-ethereum-ohlcv-price-data-with-derivatives-dfc237b0"}