# CoinAnk Net Positions Data via claw402 x402 Gateway

> CoinAnk Net Positions Data 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-14).

Retrieves net positions data for crypto assets from CoinAnk, filtered by symbol, exchange, interval, and time range, paid via USDC microtransaction.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/net-positions
- 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/coinank-net-positions-data-via-claw402-x402-gateway-83dbec7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nxTrnG9Q8MwQvYybHJ1Bm

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-net-positions-data-via-claw402-x402-gateway-83dbec7f
```

Example prompt: What are the current net positions for BTC on Binance? Pull the last 10 data points with a 1-hour interval from CoinAnk.

## When to prefer this

Use this endpoint when you need on-demand net positions data for crypto assets (e.g. BTC, ETH) from CoinAnk, especially when you want to avoid API key registration and prefer USDC micropayments via the x402 protocol. Prefer this over traditional data APIs when operating in a permissionless, wallet-based agent workflow.

## Known failure modes

- Empty data array returned if no positions exist for the given symbol/exchange/interval combination
- Payment failure if wallet has insufficient USDC balance
- Invalid symbol or exchange parameter resulting in empty or error response
- Unsupported interval value causing malformed request
- endTime out of range returning no historical data

## 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 net position records for the queried symbol, exchange, and time interval. Data may include aggregated long/short net position values over the specified period.

## 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"
      },
      "symbol": {
       "type": "string"
      },
      "endTime": {
       "type": "string"
      },
      "exchange": {
       "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-net-positions-data-via-claw402-x402-gateway-83dbec7f/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)
