# Bot Bazaar Perpetual Funding Rate APR Calculator

> Bot Bazaar Perpetual Funding Rate APR Calculator is a paid API for AI agents from bot-bazaar.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-28).

Converts an 8-hour perpetual futures funding rate in basis points to daily carry cost in USD and annualized APR percentage

## Facts

- Endpoint: GET https://bot-bazaar.fly.dev/v1/x402/perp-funding-apr-calc?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bot-bazaar-perpetual-funding-rate-apr-calculator-bddfc257
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uPojjqDC_lSNrruP7xye3

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 bot-bazaar-perpetual-funding-rate-apr-calculator-bddfc257
```

Example prompt: What's the annualized APR and daily carry cost for a perp position if the 8-hour funding rate is 3.5 basis points?

## When to prefer this

Use this endpoint when you need a quick, deterministic conversion of a perpetual futures 8-hour funding rate (in bps) to annualized APR and daily USD carry cost, especially in automated trading pipelines, DeFi dashboards, or risk management workflows that need consistent, reproducible financial math without relying on a full trading platform API.

## Known failure modes

- Missing or invalid funding_8h_bps query parameter returns an error
- Non-numeric or out-of-range basis point value causes computation failure
- Payment not provided or insufficient USDC causes 402 Payment Required response
- Service unavailable on fly.dev infrastructure returns 5xx error

## How this service works

Convert 8-hour perpetual funding rate in bps to daily carry cost in USD and annualized APR percentage.

## Output

Returns the daily carry cost expressed in USD and the annualized APR percentage derived from the input 8-hour perpetual futures funding rate given in basis points, enabling traders and analysts to quickly benchmark perp holding costs.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "funding_8h_bps": {
       "type": "string",
       "description": "8-hour funding rate in basis points"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bot-bazaar-perpetual-funding-rate-apr-calculator-bddfc257/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bot-bazaar.fly.dev](https://www.zero.xyz/host/bot-bazaar.fly.dev/llms.txt)
