# Perp Funding Rate Aggregator (Hyperliquid + dYdX + Aevo)

> Perp Funding Rate Aggregator (Hyperliquid + dYdX + Aevo) is a paid API for AI agents from meryol-payai.hf.space, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-13).

Aggregates live perpetual funding rates across Hyperliquid, dYdX, and Aevo for a given ticker, returning per-venue 8h funding, annualized APR, open interest, mark price, and cross-venue median APR.

## Facts

- Endpoint: GET https://meryol-payai.hf.space/perps/funding/:market?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/perp-funding-rate-aggregator-hyperliquid-dydx-aevo-5bcd58d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1lNL-2KYR_DhlwuAdOwtq

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 perp-funding-rate-aggregator-hyperliquid-dydx-aevo-5bcd58d9
```

Example prompt: Before I open a delta-neutral carry position, can you pull the live perp funding rates for ETH across Hyperliquid, dYdX, and Aevo — give me the per-venue 8h funding, annualized APR, and the cross-venue median so I can pick the best venue?

## When to prefer this

Use this endpoint when you need a pre-trade cross-venue funding comparison for perpetual futures before opening a carry, delta-neutral, or directional position. It is the right choice when you want a single call to compare funding across Hyperliquid, dYdX, and Aevo simultaneously rather than querying each exchange API individually. Prefer it over single-venue funding endpoints when cross-venue median APR or venue selection for carry trades is relevant.

## Known failure modes

- Unknown or unsupported ticker symbol returns an error or empty venues array
- One or more upstream venues temporarily unavailable — partial results may be returned
- Rate limiting or payment failure (402) if x402 payment header is missing or insufficient
- Stale data if cache has not refreshed within 30s window

## How this service works

Pre-trade funding check for perp positions: one call aggregates live funding across Hyperliquid + dYdX + Aevo for a ticker (BTC, ETH, SOL, …). Per-venue 8h funding, annualized APR, open interest USD, mark price, and cross-venue median APR. Spot delta-neutral carry or skewed funding before opening a position. Cached 30s.

## Output

Returns a JSON object with per-venue data (8h funding rate, annualized APR, open interest in USD, mark price) for each of Hyperliquid, dYdX, and Aevo, plus a cross-venue median APR for the requested ticker. Data is cached for 30 seconds.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "pathParams": {
   "market": "BTC"
  },
  "queryParams": {}
 }
}
```

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "market"
     ],
     "properties": {
      "market": {
       "type": "string",
       "description": "Ticker symbol like BTC, ETH, SOL"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "venues",
      "median_apr"
     ]
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/perp-funding-rate-aggregator-hyperliquid-dydx-aevo-5bcd58d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from meryol-payai.hf.space](https://www.zero.xyz/host/meryol-payai.hf.space/llms.txt)
