# LoneStar Oracle Funding Rates

> LoneStar Oracle Funding Rates is a paid API for AI agents from funding.lonestaroracle.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns perpetual futures funding rates across major exchanges with signal analysis, annualized rates, and AI market bias commentary

## Facts

- Endpoint: GET https://funding.lonestaroracle.xyz/rates
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lonestar-oracle-funding-rates-765a07c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NHBaRYcfgPMHwlJ8_YU_N

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 lonestar-oracle-funding-rates-765a07c5
```

Example prompt: What's the current funding rate signal for BTC across OKX, Hyperliquid, and dYdX — are longs overextended and what's the annualized rate?

## When to prefer this

Choose this endpoint when you need cross-exchange perpetual funding rate data with pre-computed signal labels and market bias narrative in a single call. Ideal for trading agents that need to quickly assess whether the market is long or short heavy without aggregating raw exchange APIs themselves. Covers BTC, ETH, SOL, AVAX, LINK, and ARB across OKX, Hyperliquid, and dYdX.

## Known failure modes

- Invalid or unsupported asset symbol returns null or empty rates object
- Payment not included or insufficient results in 402 Payment Required
- Rate limit exceeded may return 429
- Exchange data temporarily unavailable may cause partial results for some exchanges
- Cache may return slightly stale data up to 5 minutes old

## How this service works

Full funding rates — all assets, all exchanges, signal analysis

## Output

Returns a structured response including per-asset funding rates, a signal label (LONG_HEAVY, SHORT_HEAVY, NEUTRAL, MIXED, or EXTREME), annualized percentage rate, per-exchange breakdown, next settlement time, an extreme alert flag if applicable, and an AI-generated market bias commentary string (e.g. 'Longs overextended — BTC longs paying 22% annualized.'). Data is cached at 5-minute intervals.

## Request schema (JSON Schema)

```json
{
 "name": "LoneStarOracle — FundingRates",
 "tags": [
  "funding",
  "futures",
  "perps",
  "leverage",
  "crypto",
  "trading"
 ],
 "type": "object",
 "version": "1.0.0",
 "category": "crypto",
 "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": {
      "asset": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Asset"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "rates": {
      "BTC": {
       "signal": "LONG_HEAVY",
       "annualized_pct": 21.9,
       "avg_rate_8h_pct": 0.02
      }
     },
     "signal": "LONG_HEAVY",
     "market_bias": "Longs overextended — BTC longs paying 22% annualized."
    }
   }
  }
 },
 "description": "Perp futures funding rates across OKX, Hyperliquid, dYdX for BTC/ETH/SOL/AVAX/LINK/ARB. Signal-first: LONG_HEAVY/SHORT_HEAVY/NEUTRAL/MIXED/EXTREME. Annualized rates, per-exchange breakdown, extreme alert, next settlement time, AI market bias. 5-min cache."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lonestar-oracle-funding-rates-765a07c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from funding.lonestaroracle.xyz](https://www.zero.xyz/host/funding.lonestaroracle.xyz/llms.txt)
