# ByKaranteli Funding Rate History

> ByKaranteli Funding Rate History is a paid API for AI agents from bykaranteli.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns settled perpetual funding rate history per symbol and exchange, enabling carry and basis analysis.

## Facts

- Endpoint: GET https://bykaranteli.com/api/x402/funding-history
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bykaranteli-funding-rate-history-aa7430e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rWbVEX6oV9nX4w0XoJVNd

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 bykaranteli-funding-rate-history-aa7430e3
```

Example prompt: Pull the settled funding rate history for BTCUSDT on Binance from January 1 2024 to March 31 2024, up to 500 rows, so I can compute the annualized carry for that period.

## When to prefer this

Choose this endpoint when you need historical settled funding rates for perpetual futures across major crypto exchanges, specifically for carry analysis, basis trading backtesting, or cross-venue funding comparisons. It is distinct from live funding rate feeds or liquidation data endpoints.

## Known failure modes

- Invalid symbol or exchange name returns empty rows array
- Date range too large may be capped at dataset row limit
- Missing required query parameters may return error or empty result
- Unsupported currency filter returns no matching rows
- Payment failure (402) if x402 micropayment is not attached

## How this service works

Settled funding rate history at per-venue, per-settlement granularity (every 8h print with its source exchange), the series behind carry and basis work. The free CC0 metric-daily download already carries a single daily BTC funding aggregate; this route is for the venue-level record.

## Output

Returns a JSON object with ok=true, a dataset label of 'funding-history', a count of returned rows, and a rows array containing settled funding rate records per symbol and venue — each record includes timestamp, symbol, exchange, and funding rate value.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "description": "iso, optional"
      },
      "from": {
       "type": "string",
       "description": "iso, optional"
      },
      "limit": {
       "type": "number",
       "description": "number, optional, max 20000"
      },
      "symbol": {
       "type": "string",
       "description": "string, optional"
      },
      "exchange": {
       "type": "string",
       "description": "string, optional"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "rows": [],
  "count": 500,
  "dataset": "funding-history"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bykaranteli-funding-rate-history-aa7430e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bykaranteli.com](https://www.zero.xyz/host/bykaranteli.com/llms.txt)
