# Doormat Capital Funding Rates API

> Doormat Capital Funding Rates API is a paid API for AI agents from signals.sebastiaan-ba3.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-20).

Returns live perpetual funding rates and market data for crypto markets sourced from Lighter DEX, with comparisons to Binance and Hyperliquid

## Facts

- Endpoint: GET https://signals.sebastiaan-ba3.workers.dev/funding?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/doormat-capital-funding-rates-api-1f242451
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eAS-hgoungV9TgiFLHl8R

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 doormat-capital-funding-rates-api-1f242451
```

Example prompt: Pull the current BTC funding rate from Doormat Capital's signals feed — I want the 8-hour rate on Lighter plus how it compares to Binance and Hyperliquid, along with open interest and 24h volume.

## When to prefer this

Choose this endpoint when you need live perpetual futures funding rates specifically from Lighter DEX alongside cross-exchange comparisons to Binance and Hyperliquid. Ideal for funding rate arbitrage detection, DeFi market monitoring, or any workflow requiring pay-per-call crypto market data settled on-chain via USDC on Base (x402 protocol). Prefer over free endpoints when data freshness and cross-exchange spread data are critical.

## Known failure modes

- HTTP 402 Payment Required — must send USDC payment to the challenge address and retry with X-PAYMENT-TX header
- Invalid or unconfirmed transaction hash — payment not recognized, returns 402 again
- Network unavailability of Lighter public REST API — upstream data fetch fails
- Rate limiting or quota exceeded on the upstream Lighter API
- Empty or malformed query parameters — may return unexpected or partial results

## How this service works

Paid market-data endpoints settled in USDC on Base (x402). Pay by sending USDC to the address in the 402 challenge, then retry with header X-PAYMENT-TX: <tx hash>. Introductory pricing through 17 Oct 2026 on /funding (0.05 USDC normally) and /wallet-scan (0.20 USDC normally) — see each route's 402 response for the current amount.

## Output

A JSON object containing per-market data including: symbol, mark price, open interest, 24h percentage change, 24h USD volume, Lighter 8-hour funding rate, funding spread versus other exchanges, and exchange-specific funding rates for Binance and Hyperliquid. Also includes the data source and a generated_at timestamp.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "properties": {
    "queryParams": {}
   }
  },
  "output": {
   "properties": {
    "example": {
     "source": "Lighter public REST API (mainnet.zklighter.elliot.ai), fetched live for this request",
     "markets": [
      {
       "symbol": "BTC",
       "mark_price": 63250.5,
       "open_interest": 1234.56,
       "change_24h_pct": 1.42,
       "volume_24h_usd": 812345678,
       "other_exchange_rates": {
        "binance": 0.00012,
        "hyperliquid": 0.00009
       },
       "lighter_funding_rate_8h": 0.0001,
       "funding_spread_vs_others": -0.00001
      }
     ],
     "generated_at": "2026-09-29T12:00:00.000Z"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "Lighter public REST API (mainnet.zklighter.elliot.ai), fetched live for this request",
  "markets": [
   {
    "symbol": "BTC",
    "mark_price": 63250.5,
    "open_interest": 1234.56,
    "change_24h_pct": 1.42,
    "volume_24h_usd": 812345678,
    "other_exchange_rates": {
     "binance": 0.00012,
     "hyperliquid": 0.00009
    },
    "lighter_funding_rate_8h": 0.0001,
    "funding_spread_vs_others": -0.00001
   }
  ],
  "generated_at": "2026-09-29T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/doormat-capital-funding-rates-api-1f242451/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signals.sebastiaan-ba3.workers.dev](https://www.zero.xyz/host/signals.sebastiaan-ba3.workers.dev/llms.txt)
