# Relic Forge BTC Funding Rate Comparator

> Relic Forge BTC Funding Rate Comparator is a paid API for AI agents from relic-forge-api.bakongi.chatgpt.site, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Fetches and normalizes BTC perpetual futures funding rates across Binance, Bybit, OKX, and Hyperliquid for side-by-side comparison.

## Facts

- Endpoint: GET https://relic-forge-api.bakongi.chatgpt.site/api/funding-compare?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relic-forge-btc-funding-rate-comparator-07bc6c0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6LCBVF7hWAUVhnQmk_1VM

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 relic-forge-btc-funding-rate-comparator-07bc6c0e
```

Example prompt: Can you pull the current BTC perpetual funding rates from Binance, Bybit, OKX, and Hyperliquid and show me how they compare when normalized to an 8-hour equivalent?

## When to prefer this

Choose this endpoint when you need a normalized, multi-venue BTC perpetual funding rate comparison in a single call, avoiding the overhead of querying Binance, Bybit, OKX, and Hyperliquid individually and reconciling their different funding interval conventions. It is particularly useful for funding rate arbitrage screening, algo strategy inputs, or daily market briefings where 8-hour-equivalent normalization is needed for apples-to-apples comparison.

## Known failure modes

- Upstream exchange API downtime causes missing or null values for one or more venues
- Funding interval cannot be determined from source response, leaving simple8hEquivalent null for that venue
- Payment not received or insufficient USDC results in 402 response before data is returned
- Rate limiting by upstream public APIs may cause stale or incomplete data
- Invalid query parameters return a 400-level error

## How this service works

Create CC0 game relics, compare public BTC funding data, screen Pennsylvania vendor names, inspect public email-domain DNS, and use small Base USDC agent tools.

## Output

Returns a JSON object containing per-venue BTC funding data (funding rate, mark price, index price, next funding time, funding interval hours, and 8h-normalized equivalent) for Binance, Bybit, OKX, and Hyperliquid, along with a comparison summary showing the normalization method, simple 8h spread across venues, and a count of normalized venues. Also includes the fetch timestamp and a Base network settlement transaction hash confirming the paid call.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "symbol": "BTCUSDT",
  "venues": [
   {
    "venue": "binance",
    "markPrice": "60000.00",
    "sourceUrl": "https://fapi.binance.com/fapi/v1/premiumIndex?symbol=BTCUSDT",
    "indexPrice": "59990.00",
    "observedAt": "2026-10-13T00:00:00.000Z",
    "fundingRate": "0.0001",
    "nextFundingTime": "2026-10-13T08:00:00.000Z",
    "simple8hEquivalent": null,
    "fundingIntervalHours": null,
    "fundingIntervalSource": null
   },
   {
    "venue": "bybit",
    "markPrice": "60000.00",
    "sourceUrl": "https://api.bybit.com/v5/market/tickers?category=linear&symbol=BTCUSDT",
    "indexPrice": "59990.00",
    "observedAt": "2026-10-13T00:00:00.000Z",
    "fundingRate": "0.0001",
    "nextFundingTime": "2026-10-13T08:00:00.000Z",
    "simple8hEquivalent": 0.0001,
    "fundingIntervalHours": 8,
    "fundingIntervalSource": "Bybit fundingIntervalHour field"
   },
   {
    "venue": "okx",
    "sourceUrl": "https://www.okx.com/api/v5/public/funding-rate?instId=BTC-USDT-SWAP",
    "observedAt": "2026-10-13T00:00:00.000Z",
    "fundingRate": "0.0001",
    "fundingTime": "2026-10-13T00:00:00.000Z",
    "nextFundingTime": "2026-10-13T08:00:00.000Z",
    "simple8hEquivalent": 0.0001,
    "fundingIntervalHours": 8,
    "fundingIntervalSource": "derived from OKX fundingTime and nextFundingTime"
   },
   {
    "venue": "hyperliquid",
    "markPrice": "60000.00",
    "sourceUrl": "https://api.hyperliquid.xyz/info",
    "instrument": "BTC",
    "observedAt": "2026-10-13T00:30:00.000Z",
    "fundingRate": "0.0000125",
    "oraclePrice": "59990.00",
    "sourceMethod": "POST",
    "nextFundingTime": "2026-10-13T01:00:00.000Z",
    "simple8hEquivalent": 0.0001,
    "fundingIntervalHours": 1,
    "fundingIntervalSource": "documented hourly funding schedule"
   }
  ],
  "fetchedAt": "2026-10-13T00:00:00.000Z",
  "comparison": {
   "method": "linear rate × 8 / interval hours",
   "interpretation": "Simple interval-normalized comparison only; not a forecast, realized return, payment estimate, or trading recommendation. Null venue values mean the interval was not established from the source response.",
   "simple8hSpread": 0,
   "normalizedVenueCount": 3
  },
  "settlement": {
   "network": "base",
   "transaction": "<hash returned after a successful paid call>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relic-forge-btc-funding-rate-comparator-07bc6c0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from relic-forge-api.bakongi.chatgpt.site](https://www.zero.xyz/host/relic-forge-api.bakongi.chatgpt.site/llms.txt)
