# Perpetual Funding Rates Multi-Venue (Hyperliquid + dYdX + Aevo)

> Perpetual Funding Rates Multi-Venue (Hyperliquid + dYdX + Aevo) is a paid API for AI agents from meryol-agenticmarket-x402.hf.space, paid per call via x402, $0.005000/call, status unknown (last checked 2026-09-15).

Returns per-venue 8h funding rate, annualized APR, open interest, and mark price for a crypto ticker across Hyperliquid, dYdX, and Aevo, plus a median APR across venues.

## Facts

- Endpoint: GET https://meryol-agenticmarket-x402.hf.space/perps/funding/:market
- Price: $0.005000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/meryol-agenticmarket-x402-hf-space-75358459
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IV_pu8jzfACULdOkETOx2

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 meryol-agenticmarket-x402-hf-space-75358459
```

Example prompt: What are the current perpetual funding rates for ETH across Hyperliquid, dYdX, and Aevo — give me the 8h rate, annualized APR, open interest, and which venue has the best carry right now?

## When to prefer this

Use this endpoint when you need a real-time, multi-venue comparison of perpetual funding rates (not just a single exchange) for delta-neutral carry analysis, pre-trade funding assessment, or cross-venue arbitrage. Prefer over single-exchange APIs when the median or spread across Hyperliquid, dYdX, and Aevo is required.

## Known failure modes

- Unknown or unsupported ticker symbol returns 404 or empty venues array
- Rate limiting or payment failure (402) if x402 payment not properly submitted
- One or more venues may be unavailable, resulting in partial data with fewer venue entries
- Network timeout if upstream exchange APIs are slow
- Malformed market parameter (e.g. lowercase or invalid string) may return error

## 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

A JSON object with a 'venues' array containing per-exchange entries (exchange name, 8h funding rate, annualized APR, open interest in USD, mark price) and a 'median_apr' field summarizing the cross-venue median annualized funding rate.

## 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"
     ]
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "notes",
  "market",
  "venues",
  "median_apr"
 ],
 "properties": {
  "notes": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "market": {
   "type": "string"
  },
  "venues": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "notes",
     "venue",
     "market",
     "mark_price",
     "funding_apr",
     "funding_rate_8h",
     "open_interest_usd"
    ],
    "properties": {
     "notes": {
      "type": "array",
      "items": {
       "type": "unknown"
      }
     },
     "venue": {
      "type": "string"
     },
     "market": {
      "type": "string"
     },
     "mark_price": {
      "type": "number"
     },
     "funding_apr": {
      "type": "number"
     },
     "funding_rate_8h": {
      "type": "number"
     },
     "open_interest_usd": {
      "type": "number"
     }
    }
   }
  },
  "median_apr": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/meryol-agenticmarket-x402-hf-space-75358459/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from meryol-agenticmarket-x402.hf.space](https://www.zero.xyz/host/meryol-agenticmarket-x402.hf.space/llms.txt)
