# Derivatives Positioning & Squeeze Score

> Derivatives Positioning & Squeeze Score is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-13).

Returns a fused perpetual futures positioning brief for a given asset: aggregated funding rates, open interest, mark-vs-oracle basis, cross-venue funding spread, funding-flip trend, and a deterministic 0-100 squeeze/crowding score with verdict.

## Facts

- Endpoint: GET https://api.agentstools.dev/derivs/positioning
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/derivatives-positioning-squeeze-score-676a0986
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QZELpY8QR7JjRjFbsw9xz

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 derivatives-positioning-squeeze-score-676a0986
```

Example prompt: Can you pull the full positioning brief for BTC perps — funding rates, open interest, squeeze score, and whether longs or shorts are crowded?

## When to prefer this

Use this endpoint when you need a single-call comprehensive positioning snapshot for a crypto perpetual, avoiding the need to hit multiple protocol APIs, normalize heterogeneous data, and compute a composite crowding/squeeze score yourself. Ideal for agents performing risk assessment, trade signal generation, or market monitoring without wanting to manage multi-source aggregation logic.

## Known failure modes

- Unsupported or unrecognized ticker symbol returns an error
- Upstream data source unavailability may cause partial or failed response
- Rate limiting or payment failure via x402 protocol
- Malformed symbol input (e.g. unsupported quote suffix not normalized) returns validation error

## How this service works

Fusion positioning brief for a perpetual asset in ONE call: aggregate funding and APR, aggregate open interest, mark-vs-oracle basis, cross-venue funding spread, a funding-flip trend from Hyperliquid history, and a deterministic 0-100 squeeze/positioning score with a verdict and crowding direction. Saves several protocol calls plus the normalization and scoring.

## Output

A structured JSON object containing: aggregated funding rate and APR across venues, aggregated open interest, mark-vs-oracle basis, cross-venue funding spread, a funding-flip trend derived from Hyperliquid history, and a deterministic 0-100 squeeze/positioning score with a plain-language verdict and crowding direction (long/short).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Base asset ticker (BTC, ETH, SOL). A quote suffix such as BTC-USD or BTC-PERP is accepted and normalized server-side."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/derivatives-positioning-squeeze-score-676a0986/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
