# CoinAnk Long/Short Position Ratio by Person (via claw402 x402 Gateway)

> CoinAnk Long/Short Position Ratio by Person (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-13).

Retrieves the long/short position ratio data per individual trader for a given crypto symbol and exchange, payable with USDC via x402 protocol.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/longshort/person
- 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/coinank-long-short-position-ratio-by-person-via-claw402-x402-gateway-65f82fa4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rwz23Ad0f5ijHdqtAjMoa

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-long-short-position-ratio-by-person-via-claw402-x402-gateway-65f82fa4
```

Example prompt: What's the long/short position ratio for individual traders on BTCUSDT on Binance right now — can you pull the last 10 data points at 1-hour intervals?

## When to prefer this

Use this endpoint when you need per-individual-trader long/short sentiment ratios for a specific crypto asset and exchange, especially when you want granular trader positioning data rather than aggregate account-level ratios. Prefer this over general market data endpoints when sentiment analysis of retail trader positioning is the goal.

## Known failure modes

- Missing required query parameters (symbol, exchange, interval) returns an error or empty data array
- Invalid symbol or exchange name returns empty data or error code
- Payment failure via x402 protocol blocks the request with a 402 response
- End time out of range or malformed timestamp returns empty results
- Rate limiting or quota exceeded may return an 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

Returns a JSON object with a status code and an array of long/short ratio data points per individual trader for the specified symbol, exchange, and time interval.

## 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-long-short-position-ratio-by-person-via-claw402-x402-gateway-65f82fa4/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)
