# Bitcoin & Ethereum OHLCV Price Data with Derivatives

> Bitcoin & Ethereum OHLCV Price Data with Derivatives is a paid API for AI agents from fachada.chelsea-hermes.workers.dev, paid per call via x402, $0.5/call, status unknown (last checked 2026-11-20).

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.

## Facts

- Endpoint: GET https://fachada.chelsea-hermes.workers.dev/feed/dormidos?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-ethereum-ohlcv-price-data-with-derivatives-dfc237b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UX6ttOiC8ycFKbEzg1QtG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bitcoin-ethereum-ohlcv-price-data-with-derivatives-dfc237b0
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-ethereum-ohlcv-price-data-with-derivatives-dfc237b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fachada.chelsea-hermes.workers.dev](https://www.zero.xyz/host/fachada.chelsea-hermes.workers.dev/llms.txt)
