# Tanod DeFi Funding Rate Spread

> Tanod DeFi Funding Rate Spread is a paid API for AI agents from tanod.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-20).

Fetches and compares perpetual futures funding rates across Hyperliquid and dYdX v4, returning spread data sorted by absolute annualized spread.

## Facts

- Endpoint: POST https://tanod.dev/v1/defi/funding-spread?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-defi-funding-rate-spread-0a8a97b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IFeu9EzXYEmEIFetBPcHy

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 tanod-defi-funding-rate-spread-0a8a97b8 -d '<json body>'
```

Example prompt: Show me the top 5 perpetual markets with the biggest funding rate spread between Hyperliquid and dYdX right now, only including markets with at least $10 million in 24-hour volume.

## When to prefer this

Use this endpoint when you need to compare perpetual futures funding rates specifically between Hyperliquid and dYdX v4, particularly for identifying cross-exchange funding rate arbitrage or carry trade opportunities. Prefer this over single-exchange funding rate lookups when the spread between venues is the primary signal of interest.

## Known failure modes

- Symbol not found on one or both venues — returned in symbols_not_found array
- All requested symbols filtered out by min_volume_usd — empty markets array returned
- Upstream API unavailability (Hyperliquid or dYdX indexer down) — may return stale cached data or error
- Invalid symbol format — rejected by pattern validation
- limit out of range (outside 1-50) — validation error

## How this service works

Funding rate comparison: Hyperliquid vs dYdX perpetual funding with the annualised spread (chainpeek, Tanod). Use when an agent needs perpetual funding on Hyperliquid versus dYdX, with the annualised spread.

## Output

A JSON response listing perpetual markets traded on both Hyperliquid and dYdX v4, each with mark price, hourly and annualized funding rates, 24h volume, open interest per venue, and the computed funding spread (Hyperliquid minus dYdX) in both hourly and annualized percentage terms. Results are sorted by absolute annualized spread descending. Also includes source metadata, cache status, total count of markets on both venues, and data disclaimers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 50,
   "minimum": 1,
   "description": "Rows returned, 1-50 (default 10)."
  },
  "symbols": {
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._-]{1,20}$"
     },
     "maxItems": 50
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Optional: only these base assets (case-insensitive, at most 50), such as BTC. Names not listed on both venues are returned in symbols_not_found."
  },
  "min_volume_usd": {
   "type": "number",
   "default": 0,
   "maximum": 10000000000000,
   "minimum": 0,
   "description": "Skip markets whose 24 h volume on either venue is below this (USD). Default 0."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Data from the Hyperliquid public API and the dYdX v4 indexer; data only, not investment or trading advice.",
  "cache": "fetched",
  "count": 1,
  "source": {
   "dydx": {
    "url": "https://indexer.dydx.trade/v4/perpetualMarkets",
    "docs": "https://docs.dydx.xyz/concepts/trading/funding",
    "name": "dYdX v4 indexer"
   },
   "hyperliquid": {
    "url": "https://api.hyperliquid.xyz/info",
    "docs": "https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint",
    "name": "Hyperliquid public API"
   }
  },
  "spread": "hyperliquid minus dydx",
  "markets": [
   {
    "dydx": {
     "mark_price": 2490.1,
     "funding_hourly": 0.000021,
     "volume_24h_usd": 81234567,
     "open_interest_usd": 91234567,
     "funding_annualized_pct": 1.84
    },
    "symbol": "ETH",
    "hyperliquid": {
     "mark_price": 2489.6,
     "funding_hourly": 0.0000087562,
     "volume_24h_usd": 713597181.13,
     "open_interest_usd": 2806289044.69,
     "funding_annualized_pct": 0.767
    },
    "spread_hourly": -0.0000122438,
    "spread_annualized_pct": -1.073
   }
  ],
  "sorted_by": "abs(spread_annualized_pct) desc",
  "annualization": "funding_hourly x 24 x 365, simple (not compounded)",
  "markets_on_both": 120,
  "funding_interval": "hourly (both venues)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-defi-funding-rate-spread-0a8a97b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
