# CoinOpSelect Perpetual Funding Rate Batch API

> CoinOpSelect Perpetual Funding Rate Batch API is a paid API for AI agents from coinop.publicvm.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-21).

Fetches real-time perpetual futures funding rates, mark prices, open interest, and cross-venue consensus for up to 25 crypto symbols in a single call

## Facts

- Endpoint: POST https://coinop.publicvm.com/api/v1/market/perp-funding/batch?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinopselect-perpetual-funding-rate-batch-api-9cd9b9e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8IJ_RvWkBkVk1wnHteNFR

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 coinopselect-perpetual-funding-rate-batch-api-9cd9b9e7 -d '<json body>'
```

Example prompt: What are the current perpetual funding rates, mark prices, and cross-venue consensus for BTC and ETH right now — including annualized funding and open interest?

## When to prefer this

Prefer this endpoint when you need real-time perpetual futures funding data for multiple crypto symbols in a single efficient call, especially when comparing across venues or computing cross-symbol consensus. It is ideal for automated trading agents, portfolio managers, and DeFi researchers who need funding carry, open interest, and basis data simultaneously. Use it over single-symbol lookups when batching 2–25 symbols to minimize round trips and payment overhead.

## Known failure modes

- Invalid or unrecognized symbol returns empty results for that symbol
- Exceeding 25 symbols in the batch may result in an error or truncation
- Payment failure via x402 returns HTTP 402 before data is delivered
- Venue data unavailable for a symbol results in empty venues array for that entry
- Stale or delayed data if upstream perp venue feed is lagging

## How this service works

Pay-per-call agent data over x402. No signup, no API key, no minimum spend. CoinOpSelect Agent Data API

## Output

Returns a JSON object containing per-symbol results with venue-level detail (mark price, oracle price, funding rate, annualized funding, basis bps, premium, impact prices, open interest, fetchedAt timestamp) plus a per-symbol summary (spread, number of venues, consensus direction, long/short funding carry) and a top-level cross-symbol consensus object (spread, venues, symbols, overall consensus, aggregate long/short carry). Also includes a generatedAt timestamp and the list of requested symbols.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "symbols": {
   "type": "array",
   "example": [
    "BTC",
    "ETH"
   ],
   "description": "Up to 25 perp symbols (BTC, ETH, BTC-PERP accepted)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "stream-2-a2a/perp-market-state",
  "results": [
   {
    "as_of": "2026-01-01T00:00:00.000Z",
    "symbol": "BTC",
    "venues": [
     {
      "venue": "hyperliquid",
      "markPx": 100,
      "symbol": "BTC",
      "funding": 0.001,
      "premium": 0.001,
      "basisBps": 10.01,
      "oraclePx": 99.9,
      "fetchedAt": "2026-01-01T00:00:00.000Z",
      "impactPxs": [
       100.12,
       99.88
      ],
      "openInterest": 500000000,
      "fundingAnnualized": 1.095
     }
    ],
    "summary": {
     "spread": 0,
     "venues": 1,
     "consensus": "flat",
     "fundingCarryLong": 0.001,
     "fundingCarryShort": -0.001
    }
   }
  ],
  "symbols": [
   "BTC",
   "ETH"
  ],
  "consensus": {
   "spread": 0.001,
   "venues": 2,
   "symbols": 2,
   "consensus": "flat",
   "fundingCarryLong": 0.0015,
   "fundingCarryShort": -0.0015
  },
  "generatedAt": "2026-01-01T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinopselect-perpetual-funding-rate-batch-api-9cd9b9e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinop.publicvm.com](https://www.zero.xyz/host/coinop.publicvm.com/llms.txt)
