# AgentFeed Funding Rate History

> AgentFeed Funding Rate History is a paid API for AI agents from x402.ochinimus.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-01).

Returns historical funding rate data for any USDT perpetual futures contract, including average rate, annualized percentage, positive-interval share, and the raw rate series over up to 200 intervals.

## Facts

- Endpoint: GET https://x402.ochinimus.app/api/funding-history?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeed-funding-rate-history-1cddbe66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bqh2Z48uAfCdzo9giomkL

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 agentfeed-funding-rate-history-1cddbe66
```

Example prompt: What has the funding rate history actually been for SOLUSDT over the last 100 intervals — give me the average 8h rate, the annualized carry percentage, and how often the rate was positive.

## When to prefer this

Use this endpoint when you need historical, realized funding rate data for a specific USDT perpetual futures symbol — not a forecast, but what carry has actually occurred. Prefer this over live funding rate endpoints when analyzing trends, computing average carry, evaluating long/short bias over time, or building carry trade strategies. It covers any USDT perp symbol with configurable depth up to 200 intervals.

## Known failure modes

- Missing or invalid symbol returns an error — symbol must be a valid USDT perp format like SOLUSDT
- Limit out of range (below 1 or above 200) may return an error or default to 30
- Symbol with no recorded funding history may return an empty history array
- Payment failure (HTTP 402) if USDC payment via x402 protocol is not completed
- Upstream data source unavailability may result in stale or incomplete history

## How this service works

Funding rate history for any USDT perp, up to 200 intervals: the average rate, its annualized %, the share of intervals that were positive, and the raw series. Use when you need to answer: What has the carry on this perp actually been? What the carry has actually been.

## Output

Returns a JSON object containing the queried symbol, the number of intervals returned, the average 8-hour funding rate, the annualized funding rate percentage, the share of intervals that were positive, and the full raw time-series array of timestamped 8h rates.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "limit": {
       "type": "number",
       "description": "intervals, 1-200, default 30"
      },
      "symbol": {
       "type": "string",
       "description": "USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "symbol": {
         "type": "string"
        },
        "history": {
         "type": "array"
        },
        "intervals": {
         "type": "number"
        },
        "avg_rate_8h": {
         "type": "number"
        },
        "avg_annualized_pct": {
         "type": "number"
        },
        "positive_share_pct": {
         "type": "number"
        }
       }
      },
      "paid": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "symbol": "SOLUSDT",
   "history": [
    {
     "ts": 1790352000000,
     "rate_8h": 0.0001
    },
    {
     "ts": 1790323200000,
     "rate_8h": -0.0000047
    },
    {
     "ts": 1790294400000,
     "rate_8h": -0.00010564
    }
   ],
   "intervals": 30,
   "avg_rate_8h": 0.00003041,
   "avg_annualized_pct": 3.33,
   "positive_share_pct": 63
  },
  "paid": true,
  "tool": "get_funding_history"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfeed-funding-rate-history-1cddbe66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ochinimus.app](https://www.zero.xyz/host/x402.ochinimus.app/llms.txt)
