# 4SEC Predicted Funding Rate API

> 4SEC Predicted Funding Rate API is a paid API for AI agents from api.foursec.xyz, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Returns the current funding rate and AI-predicted next funding rate for a given crypto perpetual futures symbol, along with trend direction.

## Facts

- Endpoint: GET https://api.foursec.xyz/futures/predicted-funding/%7Bsymbol%7D
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/4sec-predicted-funding-rate-api-5ad5f47d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bVl1Qzx-JMVShEY2z97gn

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 4sec-predicted-funding-rate-api-5ad5f47d
```

Example prompt: What's the current funding rate for BTC perpetual futures and what does 4SEC predict the next rate will be — is the trend going up or down?

## When to prefer this

Choose this endpoint when you need forward-looking funding rate intelligence for crypto perpetual futures, specifically the AI-predicted next funding rate combined with trend direction — not just the raw current rate. It is ideal for pre-trade decision support, funding arbitrage screening, or automated trading strategies that require a signal on whether rates are rising or falling. Prefer this over generic market data feeds when the predicted next rate and trend label are specifically required.

## Known failure modes

- Invalid or unsupported symbol returns an error or empty response
- Payment failure via x402 protocol results in 402 Payment Required with no data
- Symbol format mismatch (e.g. wrong case or separator) may return no result
- Rate-limiting or network issues may cause timeouts
- Prediction model may lag during extreme market volatility

## How this service works

Real-time multi-DEX aggregated crypto market data. Pay per request with USDC on Base via x402 protocol.

## Output

A JSON object containing the trading symbol, the current live funding rate, the AI-predicted next funding rate as a numeric value, and a trend string indicating whether rates are moving up or down.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "trend": {
   "type": "string"
  },
  "symbol": {
   "type": "string"
  },
  "predicted_next": {
   "type": "number"
  },
  "current_funding": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/4sec-predicted-funding-rate-api-5ad5f47d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.foursec.xyz](https://www.zero.xyz/host/api.foursec.xyz/llms.txt)
