# AgentFeed Open Interest

> AgentFeed Open Interest is a paid API for AI agents from x402.ochinimus.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Returns Bybit and OKX open interest (base and USD) with 1h/24h change percentages and mark price for any USDT perpetual futures symbol

## Facts

- Endpoint: GET https://x402.ochinimus.app/api/open-interest?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeed-open-interest-9f65c380
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T5feOs9ioaZg2sS-Fu2X2

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 agentfeed-open-interest-9f65c380
```

Example prompt: What's the current open interest for SOLUSDT — give me Bybit and OKX side by side in USD and base units, along with the 1h and 24h change and the mark price.

## When to prefer this

Use this endpoint when you need real-time, cross-exchange open interest data for any USDT perpetual — especially when you want both Bybit and OKX in a single call with time-change context. Prefer it over general market data APIs when you specifically need OI momentum signals (1h/24h change) alongside mark price. Best suited for derivatives trading analysis, squeeze detection, and positioning research.

## Known failure modes

- Invalid or unsupported symbol returns an error — must be a valid USDT perp symbol (e.g. SOLUSDT, not SOL/USDT)
- OKX or Bybit API downtime may result in partial or missing exchange data
- Symbol with very low liquidity may not be listed on both exchanges
- Malformed query param returns a 400-level error
- Payment failure or missing x402 payment header results in a 402 response

## How this service works

Open interest for ANY USDT perp: Bybit OI in base units and in USD with 1h and 24h change, plus OKX open interest and the mark price. /api/positioning covers SOL and BTC only. Use when you need to answer: How much open interest sits on this perp?

## Output

A JSON object with the queried symbol, mark price, Bybit OI in both base and USD with 1h and 24h percentage change, and OKX OI in both base and USD. All values are real-time from live exchange data.

## 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",
     "required": [],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "coin": {
         "type": "string"
        },
        "oi_usd": {
         "type": "number"
        },
        "source": {
         "type": "string"
        },
        "symbol": {
         "type": "string"
        },
        "oi_base": {
         "type": "number"
        },
        "mark_price": {
         "type": "number"
        },
        "history_note": {
         "type": "string"
        },
        "change_1h_pct": {},
        "change_24h_pct": {}
       }
      },
      "paid": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "okx": {
    "oi_usd": 370837783,
    "oi_base": 3054425.359999999
   },
   "bybit": {
    "oi_usd": 809609835,
    "oi_base": 6478924.1,
    "change_1h_pct": -1.3,
    "change_24h_pct": 9.93
   },
   "symbol": "SOLUSDT",
   "mark_price": 121.419
  },
  "paid": true,
  "tool": "get_open_interest"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfeed-open-interest-9f65c380/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ochinimus.app](https://www.zero.xyz/host/x402.ochinimus.app/llms.txt)
