# CoinAnk Weighted Funding Rate API (via claw402 x402 Gateway)

> CoinAnk Weighted Funding Rate API (via claw402 x402 Gateway) is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns weighted funding rate data for crypto perpetual futures, filterable by coin, interval, and time range, paid per-call with USDC via x402 protocol.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/funding-rate/weighted
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinank-weighted-funding-rate-api-via-claw402-x402-gateway-d0137ed4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qHEqNxyo97CN8XrN47T3h

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 coinank-weighted-funding-rate-api-via-claw402-x402-gateway-d0137ed4
```

Example prompt: What's the weighted funding rate for BTC over the last 8-hour interval? Pull the most recent 10 data points from CoinAnk via the claw402 gateway.

## When to prefer this

Use this endpoint when you need aggregated, weighted funding rate data for crypto perpetual futures and want to pay per-call in USDC without API key registration. Prefer this over direct exchange APIs when you need cross-exchange weighted averages and want a frictionless, wallet-based access model.

## Known failure modes

- Payment not received or insufficient USDC balance — 402 response blocking access
- Invalid or unsupported baseCoin symbol — empty data array returned
- Malformed interval or endTime parameter — code non-zero or empty data
- Rate limit or upstream CoinAnk unavailability — gateway error or timeout
- Missing required query parameters — API may return empty or error response

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

A JSON object with a status code and a data array containing weighted funding rate records for the queried coin and interval, including rate values and associated timestamps.

## 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",
     "properties": {
      "size": {
       "type": "string"
      },
      "endTime": {
       "type": "string"
      },
      "baseCoin": {
       "type": "string"
      },
      "interval": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinank-weighted-funding-rate-api-via-claw402-x402-gateway-d0137ed4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
