# ToolOracle Kalshi Orderbook Risk Analyzer

> ToolOracle Kalshi Orderbook Risk Analyzer is a paid API for AI agents from tooloracle.io, paid per call via x402, $0.010000/call, status unknown (last checked 2026-09-15).

Detects thin liquidity, penny walls, spread risk, and fragile orderbook structures in Kalshi prediction markets, returning a 0-100 manipulation-vulnerability score with signal-level evidence.

## Facts

- Endpoint: POST https://tooloracle.io/v2/orderbook_risk
- Price: $0.010000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tooloracle-io-cdf0750f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TFt4EpBOUp9rU6vpHvITe

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 tooloracle-io-cdf0750f -d '<json body>'
```

Example prompt: Before I place an order on the Kalshi market for 'Will the Fed raise rates in September?', check the orderbook risk score — I want to know if there's thin liquidity, penny walls, or any manipulation-vulnerability signals I should be worried about.

## When to prefer this

Use this endpoint when an AI agent needs to assess pre-trade orderbook quality specifically on Kalshi prediction markets — particularly when checking for manipulation risk, thin liquidity, or fragile structures before committing capital. Prefer this over generic market data endpoints when you specifically need penny-wall detection, single-order dominance scoring, or a quantified vulnerability score tailored to Kalshi's contract format.

## Known failure modes

- Invalid or unrecognized Kalshi market ID returns error 400
- Market has no active orderbook or is closed — returns empty signals
- Payment not included or insufficient USDC — returns 402 Payment Required
- Orderbook snapshot stale or unavailable — returns partial signals with confidence caveat
- Rate limit exceeded — returns 429

## How this service works

Detects thin liquidity, penny walls, spread risk, and fragile orderbook structures in Kalshi markets. Returns 0-100 manipulation-vulnerability score plus signal-level evidence: wide spread (>$0.10), shallow depth (<10 contracts), few price levels, single-order dominance (>80% in top level), penny-wall pattern (large bids at ≤$0.005, common in wash trading). For agents that need to detect fragile order books before placing orders.

## Output

Returns a 0-100 manipulation-vulnerability score for the specified Kalshi market orderbook, along with signal-level evidence flags including: wide spread (>$0.10 detected), shallow depth (<10 contracts), few price levels, single-order dominance (>80% concentration at top level), and penny-wall pattern (large bids at ≤$0.005 indicative of wash trading).

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/tooloracle-io-cdf0750f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tooloracle.io](https://www.zero.xyz/host/tooloracle.io/llms.txt)
