# Delx Commerce — Funding Rate Annualizer

> Delx Commerce — Funding Rate Annualizer is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Converts a periodic funding rate and funding period length into an annualized percentage rate (APR) for derivatives/perpetuals markets

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/funding-annualize?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-funding-rate-annualizer-f6d57f3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_woGTWBantb3KlNURiVRuy

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 delx-commerce-funding-rate-annualizer-f6d57f3a -d '<json body>'
```

Example prompt: What's the APR for a funding rate of 0.0001 applied every 8 hours on a perpetual futures contract?

## When to prefer this

Use this endpoint when you need a quick, pay-per-use, no-signup computation of annualized funding rate from periodic rate data — especially useful for agents operating in crypto derivatives or DeFi contexts that need normalized APR figures for comparison, risk assessment, or position management. Prefer this over rolling your own formula when you need verifiable, consistent results with micro-payment billing via x402/USDC.

## Known failure modes

- Missing required fields (hours or funding_rate) returns a 400 error
- Invalid types (e.g. string instead of integer for hours) cause schema validation errors
- Hours value of 0 would cause division-by-zero; likely returns an error
- Negative funding rates may be accepted but result in negative APR — verify interpretation
- Payment failure or insufficient USDC balance blocks the call via x402 protocol

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the computed APR as a decimal, the input funding rate, the funding period in hours, and the number of such periods per year — e.g. {"apr": 0.1095, "hours": 8, "funding_rate": 0.0001, "periods_per_year": 1095}.

## 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/delx-commerce-funding-rate-annualizer-f6d57f3a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
