# SwapHunt Top N Funding Rates Leaderboard

> SwapHunt Top N Funding Rates Leaderboard is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.003/call, status healthy (last checked 2026-11-13, last successful call 2026-11-06).

Returns the top N perpetual funding rates ranked highest or lowest across all tracked symbols, highlighting the most crowded longs or shorts.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/derivatives/funding-rates/top?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: healthy
- Last checked: 2026-11-13
- Last successful call: 2026-11-06
- Success rate: 100% of calls made through Zero
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-top-n-funding-rates-leaderboard-5728acc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r_sqcDIEcuVTAeOFwC4IF

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 swaphunt-top-n-funding-rates-leaderboard-5728acc3
```

Example prompt: Show me the top 10 perpetual contracts with the highest funding rates right now — I want to spot which longs are most crowded and could be at risk of a squeeze.

## When to prefer this

Use this endpoint when you need a quick leaderboard view of the most extreme funding rates across all tracked perps at once, rather than looking up a specific symbol. Prefer it over the per-symbol funding rate endpoint when your goal is to discover outliers, crowding extremes, or squeeze setups without knowing which symbol to query in advance.

## Known failure modes

- Invalid sort value (not 'highest' or 'lowest') returns an error
- Limit value out of range may return an error or be clamped
- Funding data may be up to ~2 minutes stale due to WebSocket refresh cycle
- Payment failure via x402 protocol results in 402 response and no data

## How this service works

Top N current funding rates, highest or lowest, across all active Hyperliquid perpetuals (USDC-margined; funding settled hourly, annualized = hourly rate times 8760): a leaderboard of the most crowded longs (highest) or shorts (lowest). Use to spot squeeze and crowding extremes fast

## Output

A ranked list of up to N perpetual contracts sorted by funding rate (highest or lowest), including each symbol's current funding rate value, enabling fast identification of crowded long or short extremes across all tracked markets.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "sort": {
       "enum": [
        "highest",
        "lowest"
       ],
       "type": "string",
       "default": "highest",
       "description": "highest or lowest"
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "description": "Number to return (1-50)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swaphunt-top-n-funding-rates-leaderboard-5728acc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.swaphunt.dev](https://www.zero.xyz/host/x402.swaphunt.dev/llms.txt)
