# ByKaranteli TradFi Perpetuals Open Interest 5m History

> ByKaranteli TradFi Perpetuals Open Interest 5m History is a paid API for AI agents from bykaranteli.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns five-minute-interval open interest history for the top-40 Binance TradFi perpetuals (US, HK, KR, CN equities, commodities, and indices) in both base units and USD.

## Facts

- Endpoint: GET https://bykaranteli.com/api/x402/tradfi-oi-history
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bykaranteli-tradfi-perpetuals-open-interest-5m-history-8d03b9ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3E0K3maXsbcPHaYcab3RI

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 bykaranteli-tradfi-perpetuals-open-interest-5m-history-8d03b9ee
```

Example prompt: Pull the 5-minute open interest history for TSLAUSDT from September 2, 2026 to September 10, 2026 — I want to see both base units and USD values, up to 2000 rows.

## When to prefer this

Choose this endpoint when you need granular 5-minute open interest history for TradFi perpetuals (equities, commodities, indices) on Binance — particularly for backtesting, charting, or quantitative research requiring time-series OI data going back to September 2, 2026. The free public board only provides live values, so this paid endpoint is essential for any historical analysis.

## Known failure modes

- Invalid or unsupported symbol returns empty rows array
- Date range outside recorded history (before 2026-09-02) yields no data
- Limit exceeding 20000 is clamped or rejected
- Malformed ISO date strings in from/to params cause a 400 error
- Payment not fulfilled (x402 protocol) results in 402 response blocking data access

## How this service works

Five minute open interest history for the top-40 Binance TradFi perpetuals (US, HK, KR and CN equities, commodities, indices) in base units and USD, recorded on our side from 2026-09-02; the free /api/public/tradfi board only carries the live value.

## Output

A JSON object with an `ok` boolean, a `dataset` label ('tradfi-oi-history'), a `count` of returned rows, and a `rows` array where each row contains the symbol, timestamp, open interest in base units, and open interest in USD for that 5-minute interval.

## Request schema (JSON Schema)

```json
{
 "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": {
      "to": {
       "type": "string",
       "description": "iso, optional"
      },
      "from": {
       "type": "string",
       "description": "iso, optional"
      },
      "limit": {
       "type": "number",
       "description": "number, optional, max 20000"
      },
      "symbol": {
       "type": "string",
       "description": "string, optional, e.g. TSLAUSDT"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "rows": [],
  "count": 500,
  "dataset": "tradfi-oi-history"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bykaranteli-tradfi-perpetuals-open-interest-5m-history-8d03b9ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bykaranteli.com](https://www.zero.xyz/host/bykaranteli.com/llms.txt)
