# x402 DeFi Intel – Open Interest Intelligence

> x402 DeFi Intel – Open Interest Intelligence is a paid API for AI agents from cryptodefidataintel-production.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns aggregated cross-chain open interest data for a crypto asset, including total OI in USD, 24h change, a directional signal, and an AI-generated insight about market positioning.

## Facts

- Endpoint: GET https://cryptodefidataintel-production.up.railway.app/api/oi-intel
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-defi-intel-open-interest-intelligence-33d9afbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_alHJAgmo-djS0I_07iEiD

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 x402-defi-intel-open-interest-intelligence-33d9afbb
```

Example prompt: What's the current open interest for BTC across major venues like Hyperliquid, Binance, and Bybit — is OI rising or falling, and what does that signal about market conviction right now?

## When to prefer this

Use this endpoint when an AI agent needs to understand derivatives market positioning and conviction for a specific crypto asset across multiple venues simultaneously, rather than querying individual exchange APIs. It is especially valuable when you need a synthesized signal and human-readable insight rather than raw numbers.

## Known failure modes

- Missing or invalid 'asset' parameter returns empty data array
- Unknown asset ticker returns no results
- Upstream exchange APIs unavailable reduces venue count or confidence
- Payment not settled (x402 flow incomplete) returns 402 Payment Required
- Rate limits on upstream data providers may delay or degrade response

## How this service works

Crypto-agent toolkit: cross-chain DeFi intelligence + execution helpers + retrieval for agents. 16 endpoints: funding, open interest, long/short, token-safety, yield, prices, gas, tx-simulate, approval-check, bridge-quote, governance-search, lending, liquidations, protocol-search, swap-quote, token-resolve. Pay-per-call via x402.

## Output

Returns an array of OI records per asset with total OI in USD, number of venues, 24h change percentage, a directional signal string (e.g. 'oi_rising'), a plain-English market insight, the list of source exchanges, and a confidence score between 0 and 1.

## 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": {
      "asset": {
       "type": "string"
      },
      "limit": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "asset": "BTC",
    "venues": 3,
    "totalOiUsd": 18500000000,
    "aggChange24hPct": 3.2
   }
  ],
  "signal": "oi_rising",
  "insight": "Rising OI signals fresh positioning/conviction.",
  "sources": [
   "hyperliquid",
   "binance",
   "bybit"
  ],
  "confidence": 0.75
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-defi-intel-open-interest-intelligence-33d9afbb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptodefidataintel-production.up.railway.app](https://www.zero.xyz/host/cryptodefidataintel-production.up.railway.app/llms.txt)
