# 4SEC Crypto Funding Rate API

> 4SEC Crypto 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 real-time perpetual futures funding rate data for a given crypto symbol, aggregated across multiple DEXes

## Facts

- Endpoint: GET https://api.foursec.xyz/funding-rate/%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-crypto-funding-rate-api-d7b313f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_chBij0c96H4tbDYNe3EpR

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-crypto-funding-rate-api-d7b313f6
```

Example prompt: What's the current funding rate and annualized rate for BTC perpetuals right now, and when is the next funding time?

## When to prefer this

Choose this endpoint when you need real-time perpetual futures funding rate data aggregated across multiple DEXes in a single call, particularly when operating in a pay-per-use agent workflow using the x402 protocol on Base. Prefer this over centralized exchange APIs when you specifically want multi-DEX DeFi coverage and cost-efficient micropayment billing.

## Known failure modes

- Unknown or unsupported symbol returns an error or empty result
- Funding rate data temporarily unavailable for low-liquidity tokens
- Payment failure via x402 protocol results in 402 response and no data
- Malformed symbol input may return 400 bad request
- Rate or aggregation lag during high-volatility periods

## How this service works

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

## Output

Returns a JSON object containing the crypto symbol, a directional signal string (e.g. bullish/bearish), the current funding rate as a decimal, the annualized funding rate, and the timestamp of the next funding event.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "signal": {
   "type": "string"
  },
  "symbol": {
   "type": "string"
  },
  "funding_rate": {
   "type": "number"
  },
  "annualized_rate": {
   "type": "number"
  },
  "next_funding_time": {
   "type": "string",
   "format": "date-time"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/4sec-crypto-funding-rate-api-d7b313f6/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)
