# SperaxOS Binance Open Interest API

> SperaxOS Binance Open Interest API is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Retrieves historical open interest data for a Binance futures trading pair at a specified aggregation period.

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/binance-market/getOpenInterest?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-binance-open-interest-api-580c5dae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V0_g2NqtuybFsGWWOHsJj

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 speraxos-binance-open-interest-api-580c5dae -d '<json body>'
```

Example prompt: What's the open interest history for BTC/USDT on Binance over the last hour — can you pull the 1h aggregated series?

## When to prefer this

Use this endpoint when you need Binance-specific futures open interest data without managing API keys — especially suitable for AI agents that can pay per-request via USDC on Base. Prefer this over direct Binance API integration when you want frictionless, pay-as-you-go access to open interest time series for trading analysis, market monitoring, or DeFi intelligence workflows.

## Known failure modes

- Unknown or malformed symbol returns an error — e.g. using a delisted pair or typo like 'BTCBUSD' when unavailable
- Invalid period string (not one of 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d) causes a validation error
- Payment failure via x402 if USDC balance is insufficient or wallet not connected
- Binance data unavailable during exchange downtime or rate limiting
- No futures market exists for the requested pair (e.g. very small altcoins)

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

Returns a time-series of open interest values for the specified trading pair aggregated at the requested period (e.g. 5m, 1h, 1d), including timestamps and open interest figures sourced from Binance futures data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "period": {
   "type": "string",
   "default": "1h",
   "description": "Aggregation period for the historical series: 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h or 1d."
  },
  "symbol": {
   "type": "string",
   "description": "Trading pair in any common form: \"BTCUSDT\", \"BTC/USDT\" or a bare \"BTC\" (a USDT quote is assumed)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-binance-open-interest-api-580c5dae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
