# Agent Tollgate Engine – Orderbook Imbalance Signal

> Agent Tollgate Engine – Orderbook Imbalance Signal is a paid API for AI agents from skinwinking.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-14).

Returns real-time orderbook imbalance metrics, bid/ask skew, liquidity walls, and directional signals (bullish/bearish/neutral) for a given crypto trading pair.

## Facts

- Endpoint: GET https://skinwinking.com/api/v1/alpha/orderbook-imbalance?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tollgate-engine-orderbook-imbalance-signal-5145beb2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zHRgXoPeOuDmSRQL0xVE7

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 agent-tollgate-engine-orderbook-imbalance-signal-5145beb2
```

Example prompt: Pull the current orderbook imbalance for SOL-USDT — I want to see the bid/ask skew, any major liquidity walls, and whether the signal is bullish accumulation, bearish distribution, or neutral.

## When to prefer this

Choose this endpoint when an autonomous trading agent needs real-time market microstructure intelligence — specifically orderbook depth imbalance, liquidity wall detection, and directional signals — before submitting a trade or routing a swap. It is ideal for agents that pay per call in USDC via x402 and need actionable, structured signals rather than raw tick data. Prefer this over generic market data APIs when you need the bullish/bearish/neutral classification and notional depth bands in a single call.

## Known failure modes

- Missing or invalid 'pair' query parameter returns a 400 error
- Unsupported trading pair returns an error or empty data
- Payment failure (x402 / USDC) results in a 402 Payment Required response
- Venue (Binance) connectivity issues may return stale or unavailable data
- Rate limiting if agent calls too frequently without valid micropayment

## How this service works

Pay-per-call trading intelligence (x402, USDC) and fee-bearing swap routing for autonomous agents.

## Output

A JSON object containing: the mid price, timestamp, trading pair, venue (e.g. binance), spread in basis points, orderbook skew ratio, imbalance bands at 25bps and 100bps (with bid/ask notional and imbalance ratio), detected bid/ask liquidity walls (price, notional, distance in bps), and a categorical directional signal (bullish_accumulation, bearish_distribution, or neutral).

## 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": [
      "pair"
     ],
     "properties": {
      "pair": {
       "type": "string",
       "description": "Trading pair such as SOL-USDT, BTC-USDT, ETH-USDT"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "mid": {
       "type": "number"
      },
      "pair": {
       "type": "string"
      },
      "skew": {
       "type": "number"
      },
      "bands": {
       "type": "array"
      },
      "venue": {
       "type": "string"
      },
      "signal": {
       "enum": [
        "bullish_accumulation",
        "bearish_distribution",
        "neutral"
       ],
       "type": "string"
      },
      "spreadBps": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mid": 108.275,
  "asOf": "2026-10-13T12:00:00.000Z",
  "pair": "SOLUSDT",
  "skew": 0.1,
  "bands": [
   {
    "bps": 25,
    "imbalance": 0.0669,
    "askNotional": 161032.1,
    "bidNotional": 184210.55
   },
   {
    "bps": 100,
    "imbalance": 0.1426,
    "askNotional": 902114.4,
    "bidNotional": 1204410.9
   }
  ],
  "venue": "binance",
  "walls": {
   "ask": {
    "price": 109,
    "notional": 70220.5,
    "distanceBps": 66.9
   },
   "bid": {
    "price": 107.5,
    "notional": 98211,
    "distanceBps": 71.6
   }
  },
  "signal": "neutral",
  "spreadBps": 0.924
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tollgate-engine-orderbook-imbalance-signal-5145beb2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from skinwinking.com](https://www.zero.xyz/host/skinwinking.com/llms.txt)
