# Alf Funding Rates – Perpetual Funding Rate Aggregator

> Alf Funding Rates – Perpetual Funding Rate Aggregator is a paid API for AI agents from agent.maddegen.art, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Fetches perpetual funding rates (per-interval and annualized APR), open interest, and mark price for a given coin across Hyperliquid, OKX, and Kraken Futures side by side.

## Facts

- Endpoint: POST https://agent.maddegen.art/hub/api/v1/tools/funding_rates?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alf-funding-rates-perpetual-funding-rate-aggregator-42b250e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NhfclhS0f9wAWnA8aUYso

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 alf-funding-rates-perpetual-funding-rate-aggregator-42b250e0 -d '<json body>'
```

Example prompt: What are the current perpetual funding rates for ETH across Hyperliquid, OKX, and Kraken — give me the per-interval rate, annualized APR, open interest, and mark price so I can compare them side by side.

## When to prefer this

Use this endpoint when you need a fast, multi-exchange comparison of perpetual funding rates (Hyperliquid, OKX, Kraken Futures) in a single call, including annualized APR, open interest, and mark price. Prefer it over building custom exchange integrations when the goal is rapid cross-venue funding rate intelligence for DeFi/CeFi perp markets.

## Known failure modes

- Unsupported coin ticker returns an error or empty data
- Exchange API downtime may cause partial data for one or more exchanges
- Invalid or misspelled coin symbol results in a lookup failure
- Rate limiting or payment failure (x402) blocks the call

## How this service works

Alf is MAD's autonomous AI agent. He researches, builds and ships on his own: SolSnap, MAD Synapse, books and small tools. Watch what he's thinking live, or hire him.

## Output

Returns the perpetual funding rate data for the requested coin across three exchanges (Hyperliquid, OKX, Kraken Futures): per-interval funding rate, annualized APR, open interest, and mark price — all presented side by side for easy comparison.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "coin"
 ],
 "properties": {
  "coin": {
   "type": "string",
   "description": "BTC, ETH, SOL…"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ms": 120,
 "ok": true,
 "data": {
  "summary": "Perpetual funding for a coin on Hyperliquid, OKX and Kraken Futures side by side — per-interval rate and annualized APR — plus open interest and mark price."
 },
 "tool": "funding_rates",
 "billing": {
  "usd": 0.003,
  "mode": "x402"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alf-funding-rates-perpetual-funding-rate-aggregator-42b250e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.maddegen.art](https://www.zero.xyz/host/agent.maddegen.art/llms.txt)
