# Carbon & Cashmere Open Interest History API

> Carbon & Cashmere Open Interest History API is a paid API for AI agents from api.carbon-cashmere.de, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Returns historical open interest (OI) time series and summary stats for a specified cryptocurrency, including total OI in USD and per-exchange breakdowns.

## Facts

- Endpoint: GET https://api.carbon-cashmere.de/v1/history/oi/%7Bcoin%7D
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/carbon-cashmere-open-interest-history-api-c98a0ac9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YVuHFFw5Kz5zFnf8eXzcc

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 carbon-cashmere-open-interest-history-api-c98a0ac9
```

Example prompt: Pull the open interest history for BTC from Carbon & Cashmere — I want to see the daily OI series for the past week, the total current OI in USD, and how much it has changed in percent.

## When to prefer this

Use this endpoint when you need historical open interest data for a specific cryptocurrency, including exchange-level breakdowns and percentage change metrics. Prefer this over generic market data APIs when you need derivatives-focused OI analytics with a structured time series, especially if you are building signals around derivatives positioning or funding dynamics.

## Known failure modes

- Unknown or unsupported coin symbol returns 404 or empty series
- Missing coin path parameter returns 400 or routing error
- Payment not included or invalid x402 payment header returns 402 Payment Required
- Rate limiting may return 429 if too many calls are made quickly
- Network or server errors return 500

## How this service works

Professional crypto market intelligence. Real-time prices, signals, and market scoring.

## Output

Returns a JSON object with the coin identifier, number of days in the series, summary stats (current total OI in USD and percentage change), and a time-series array of daily snapshots each containing a timestamp, total OI in USD, and per-exchange OI values (e.g. Binance).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "coin": "BTC",
  "days": 7,
  "stats": {
   "change_pct": 2.1,
   "current_total_usd": 111000000000
  },
  "series": [
   {
    "ts": "2026-04-11T00:00:00Z",
    "total_oi_usd": 108500000000,
    "binance_oi_usd": 52000000000
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/carbon-cashmere-open-interest-history-api-c98a0ac9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.carbon-cashmere.de](https://www.zero.xyz/host/api.carbon-cashmere.de/llms.txt)
