# Funding Rate Annualize

> Funding Rate Annualize is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts a periodic funding rate (e.g. 8-hour) into an annualized APR for cross-venue funding rate comparison.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/funding-annualize
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/funding-rate-annualize-049f4323
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MoJoqigMAp-cjQnhmv0n1

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 funding-rate-annualize-049f4323 -d '<json body>'
```

Example prompt: Convert an 8-hour funding rate of 0.01% to an annualized APR so I can compare it with rates from other exchanges.

## When to prefer this

Use this endpoint when you need a fast, deterministic, server-side annualization of a periodic funding rate without any external data fetches or API keys — especially when comparing funding rates across venues that use different funding intervals (e.g. 1h vs 4h vs 8h). Prefer this over manual calculation when you want a consistent, auditable result for advisory or display purposes.

## Known failure modes

- Missing required fields (hours or funding_rate) returns a validation error
- Non-positive or zero hours value may cause division errors
- Extremely large or small floating-point funding rates may produce unusual but mathematically correct APR values
- Payment failure via x402 protocol prevents execution

## How this service works

Annualize a period funding rate (e.g. 8h → APR). Call when comparing funding across venues with different periods. Returns apr and periods_per_year as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

Returns a JSON object with 'apr' (the annualized rate as a decimal or percentage) and 'periods_per_year' (how many funding periods occur in a year given the input hours), computed deterministically from local math with no external data dependencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hours": {
   "type": "integer",
   "description": "Funding period length in hours"
  },
  "funding_rate": {
   "type": "number",
   "description": "Funding rate for the period as decimal"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "apr": 0.1095,
  "hours": 8,
  "schema": "delx/util-funding-annualize/v1",
  "funding_rate": 0.0001,
  "periods_per_year": 1095
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/funding-rate-annualize-049f4323/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
