# Funding Rates Carry Analysis

> Funding Rates Carry Analysis is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Returns ranked carry trade metrics for crypto perpetual futures, including breakeven days, net return percentage, and carry basis points per day for given symbols.

## Facts

- Endpoint: GET https://api.firstmention.uk/s/funding-rates/carry?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/funding-rates-carry-analysis-0337700c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eSv0P100_PfQO9jmWQTbk

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 funding-rates-carry-analysis-0337700c
```

Example prompt: Rank BTC and ETH by their current funding rate carry — I want to see how many days to break even and the net return percentage for each if I hold for 10 days.

## When to prefer this

Use this endpoint when you need to quantitatively rank and compare crypto perpetual futures by carry trade profitability, especially when breakeven timing and net return metrics are needed. Prefer this over raw funding rate feeds when you want pre-computed carry analytics rather than raw rates.

## Known failure modes

- Invalid or unrecognized symbol returns empty ranked array or error
- Missing required query parameters may return a 400-style error
- Payment not settled via x402/USDC results in 402 Payment Required response
- Stale or unavailable funding rate data may cause incomplete results

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

A JSON object with an 'ok' boolean, an 'endpoint' string, and a 'ranked' array of objects each containing: symbol (e.g. 'BTC'), breakeven_days (number of days to recover carry costs), net_return_pct (percentage return net of costs), and carry_bps_per_day (daily carry in basis points). Results are sorted by attractiveness of the carry trade.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "symbols": {
       "type": "string"
      },
      "hold_days": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "ranked": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "symbol": {
          "type": "string"
         },
         "breakeven_days": {
          "type": "number"
         },
         "net_return_pct": {
          "type": "number"
         },
         "carry_bps_per_day": {
          "type": "number"
         }
        }
       }
      },
      "endpoint": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "ranked": [
   {
    "symbol": "BTC",
    "breakeven_days": 6.7,
    "net_return_pct": 0.31,
    "carry_bps_per_day": 1.2
   }
  ],
  "endpoint": "/carry"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/funding-rates-carry-analysis-0337700c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
