# claw402 CoinAnk Fund History

> claw402 CoinAnk Fund 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-13).

Retrieves historical fund/financing data from CoinAnk via the claw402 x402 payment gateway, payable in USDC per call.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/fund/history
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-coinank-fund-history-79edc62e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SZueL_vFmBbpbyPrUOLqp

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-fund-history-79edc62e
```

Example prompt: Can you pull the fund history for BTC on the perpetual product type from CoinAnk, using a daily interval, and give me the last 20 records ending now?

## When to prefer this

Use this endpoint when you need historical fund or financing data from CoinAnk and want to pay per-call in USDC without managing API keys or registration. Prefer it over direct CoinAnk access when operating in a wallet-native, x402 payment workflow.

## Known failure modes

- Empty data array returned if no records match the query parameters
- Payment failure or 402 response if USDC wallet balance is insufficient
- Invalid parameter values (e.g. unsupported productType or interval) may result in error code responses
- endTime or size out of range may return empty or partial results
- Service unavailable if underlying CoinAnk data source is down

## 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 a data array containing historical fund/financing records, which may include time-stamped entries filtered by baseCoin, productType, interval, size, and endTime.

## 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"
      },
      "productType": {
       "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-fund-history-79edc62e/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)
