# PreFlight Perps Funding Rate Checker

> PreFlight Perps Funding Rate Checker is a paid API for AI agents from meryol-agenticmarket-x402.hf.space, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns cross-venue perpetual futures funding rates, APR, mark price, and open interest for a given market symbol across venues like Hyperliquid and dYdX.

## Facts

- Endpoint: GET https://meryol-agenticmarket-x402.hf.space/perps/funding/%7Bmarket%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/preflight-perps-funding-rate-checker-3e6d50e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xqTgwk-ZzF60WhqkY5CV6

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 preflight-perps-funding-rate-checker-3e6d50e3
```

Example prompt: Before I open a BTC long on Hyperliquid, check the current funding rates and APR for BTC perps across all major venues so I can see if I'm getting a good deal or if dYdX or another venue is cheaper.

## When to prefer this

Use this endpoint when an agent needs to compare perpetual futures funding costs across multiple DeFi venues (Hyperliquid, dYdX, etc.) before entering or holding a position. Ideal for pre-trade due diligence workflows where funding rate arbitrage or cost minimization is important. Prefer over single-venue APIs when cross-venue comparison and median benchmarking are needed.

## Known failure modes

- Unknown or unsupported market symbol returns empty venues array or error
- Venue API downtime may result in missing entries for specific venues
- Stale data if upstream oracles or venue feeds are temporarily unavailable
- Malformed market parameter (e.g. lowercase or wrong format) may return no results

## How this service works

Pre-trade & pre-sign checks for autonomous agents: everything an agent verifies BEFORE signing a transaction — token due diligence, calldata red-flag decoding, oracle freshness, holder concentration, bridge routing with executable calldata, cross-venue perp funding, gas and price sanity checks. EVM chains: Ethereum, Base, Arbitrum, Optimism.

## Output

A JSON object containing per-venue data for the requested market: venue name, market ticker, mark price, 8-hour funding rate, annualized funding APR, and open interest in USD. Also includes a cross-venue median APR and any advisory notes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "notes": [],
  "market": "BTC",
  "venues": [
   {
    "notes": [],
    "venue": "hyperliquid",
    "market": "BTC",
    "mark_price": 68000,
    "funding_apr": 0.11,
    "funding_rate_8h": 0.0001,
    "open_interest_usd": 1200000000
   },
   {
    "notes": [],
    "venue": "dydx",
    "market": "BTC-USD",
    "mark_price": 68010,
    "funding_apr": 0.21,
    "funding_rate_8h": 0.0002,
    "open_interest_usd": 200000000
   }
  ],
  "median_apr": 0.12
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/preflight-perps-funding-rate-checker-3e6d50e3/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)
