81trust / 100

Orderbook Walls

by AgentFeed in Markets & finance

x402 APIPassing, checked 25 min ago

Orderbook walls for any USDT perp: the largest resting orders on each side of the book, with USD size and distance from mid. Use when you need to answer: Where are the big resting orders?

GET https://x402.ochinimus.app/api/orderbook-walls

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
138 ms typical, 162 ms slowest 5%
Last check
25 min ago
Next check
in 5 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ochinimus.app/api/orderbook-walls?symbol=SOLUSDT"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ochinimus.app%2Fapi%2Forderbook-walls
const res = await pay("https://x402.ochinimus.app/api/orderbook-walls?symbol=SOLUSDT");
console.log(await res.json());

Example input

{
  "symbol": "SOLUSDT"
}

Example output

{
  "data": {
    "ask_walls": [
      {
        "distance_pct": 0.992,
        "price": 122.66,
        "usd": 2403192
      },
      {
        "distance_pct": 0.399,
        "price": 121.94,
        "usd": 2271120
      },
      {
        "distance_pct": 1.346,
        "price": 123.09,
        "usd": 2166175
      }
    ],
    "bid_walls": [
      {
        "distance_pct": -1.173,
        "price": 120.03,
        "usd": 2753572
      },
      {
        "distance_pct": -0.44,
        "price": 120.92,
        "usd": 2368581
      },
      {
        "distance_pct": -1.527,
        "price": 119.6,
        "usd": 2343299
      }
    ],
    "depth_levels": 400,
    "mid_price": 121.455,
    "symbol": "SOLUSDT"
  },
  "paid": true,
  "tool": "get_orderbook_walls"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
25 min agoPassed402216 ms$0.01
4 h agoPassed402162 ms$0.01
7 h agoPassed402138 ms$0.01
12 h agoPassed40262 ms$0.01