# claw402 CoinAnk Funding Rate History

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

Retrieves historical funding rate data for crypto assets across exchanges via the CoinAnk data API, paid per-call with USDC using the x402 protocol.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/funding-rate/hist
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-coinank-funding-rate-history-c2b1443b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jxg1Loq0s00AoNzZD8psU

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 claw402-coinank-funding-rate-history-c2b1443b
```

Example prompt: Can you pull the last 50 historical funding rate records for BTC on Binance from CoinAnk so I can analyze the trend?

## When to prefer this

Use this endpoint when you need historical crypto perpetual funding rate data from CoinAnk, especially if you want to avoid API key registration and prefer paying per-call with USDC via the x402 protocol. Prefer this over direct exchange APIs when aggregating cross-exchange funding rate history.

## Known failure modes

- Empty data array if no records match the query parameters
- Invalid or unsupported exchangeType returns error or empty result
- Invalid baseCoin symbol returns empty or error response
- Payment failure via x402 protocol blocks the request
- Missing required parameters causes request failure

## How this service works

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

## Output

Returns a JSON object with a status code and an array of historical funding rate entries for the specified coin and exchange, including timestamps and rate values.

## 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"
      },
      "exchangeType": {
       "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/claw402-coinank-funding-rate-history-c2b1443b/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)
