# FundingLens Rates

> FundingLens Rates 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-13).

Retrieves current perpetual futures funding rates (8-hour and annualized) across crypto venues for one or more symbols

## Facts

- Endpoint: GET https://api.firstmention.uk/s/fundinglens/rates?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fundinglens-rates-3f0b4f3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qEEcrZoj0PmC-9GagwcYE

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 fundinglens-rates-3f0b4f3b
```

Example prompt: What are the current perpetual funding rates for BTC and ETH across all venues — show me the 8-hour rate, the annualized rate, and when the next funding is?

## When to prefer this

Choose this endpoint when you need real-time perpetual futures funding rates including annualized cost-of-carry data across multiple crypto venues in a single call. Prefer it over exchange-specific APIs when you want a unified multi-venue view without managing separate API keys per exchange.

## Known failure modes

- Invalid symbol ticker returns empty rates array or error
- Venue data temporarily unavailable returns partial results
- Malformed query parameters return HTTP 400
- Payment not included or insufficient returns HTTP 402
- Network timeout returns no data

## How this service works

Normalized 8h and annualized funding for a comma-separated symbol list across venues, optional venues= filter.

## Output

Returns a JSON object with a boolean ok flag, an as_of ISO timestamp, and an array of rate objects each containing the venue name, symbol, 8-hour funding rate percentage, annualized funding rate percentage, and next funding event timestamp in ISO format.

## 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": {
      "venues": {
       "type": "string"
      },
      "symbols": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "symbol": {
          "type": "string"
         },
         "annualized_pct": {
          "type": "number"
         }
        }
       }
      },
      "fetched_at": {
       "type": "string"
      },
      "venue_count": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": [
   {
    "symbol": "BTC",
    "annualized_pct": 4.6
   }
  ],
  "fetched_at": "2026-11-01T10:00:00Z",
  "venue_count": 7
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fundinglens-rates-3f0b4f3b/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)
