# WickedAPI Long-Short Ratio

> WickedAPI Long-Short Ratio is a paid API for AI agents from api.wickedapi.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Returns the long-short ratio for a crypto asset, indicating the proportion of long vs short positions held by traders.

## Facts

- Endpoint: GET https://api.wickedapi.com/v1/long-short-ratio?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wickedapi-long-short-ratio-e1284be9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_460j3nsBEOJrq6zhYlOaS

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 wickedapi-long-short-ratio-e1284be9
```

Example prompt: What's the current long-short ratio for Bitcoin across major exchanges? I want to know if the market is leaning heavily long or short right now.

## When to prefer this

Use this endpoint when you need to assess market crowd positioning or sentiment in crypto futures markets. Prefer it over general price endpoints when the goal is to understand whether traders are net long or short, identify overcrowded trades, or build contrarian signals. Ideal for quantitative trading agents, sentiment dashboards, and risk management workflows that need to know how leveraged the market is in a given direction.

## Known failure modes

- Missing or invalid asset symbol returns an error or empty data object
- Unsupported exchange or time period parameter may return empty results
- Rate limiting or payment failure (x402) may prevent access
- Stale data if the underlying exchange feed is delayed
- Network timeout returning no response for real-time data requests

## How this service works

Agent-ready trading & market-data API: prices, indicators, prediction markets, macro, and an AI momentum score. Pay per call with x402 (USDC) or an API key.

## Output

Returns a JSON object with the long-short ratio data for the requested asset, including the proportion of long versus short positions (as percentages or a ratio), and a metadata object containing a timestamp of when the data was recorded.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "meta": {
   "timestamp": "2026-01-01T00:00:00.000Z"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wickedapi-long-short-ratio-e1284be9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.wickedapi.com](https://www.zero.xyz/host/api.wickedapi.com/llms.txt)
