Dex Orderbook Pressure
by api.seerium.xyz in Onchain & crypto
Crypto order book API and Dex orderbook pressure feed for agents. Returns bid/ask depth imbalance, buy-side or sell-side pressure, microprice bias, spread in bps, notional liquidity, funding, and confidence for active crypto Dex symbols.
GET https://api.seerium.xyz/v1/dex/orderbook-pressure
Last 30 days
Status and outage history · Atom feed
- Uptime
- 100%
- Response time
- 228 ms typical, 318 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
GET https://api.seerium.xyz/v1/dex/orderbook-pressure
Each call costs $0.1 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://api.seerium.xyz/v1/dex/orderbook-pressure?levels=10&limit=10&symbol=BTCParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
levels | number | No | Optional order book levels per side used to measure buy-side or sell-side pressure. Defaults to 10. |
limit | number | No | Optional maximum crypto order book pressure rows to return. Defaults to 20. |
maxSpreadBps | number | No | Optional maximum top-of-book spread in basis points. |
minTotalDepthNotional | number | No | Optional minimum combined bid plus ask notional depth filter. |
symbol | string | No | Optional crypto Dex symbol filter for order book pressure, for example BTC, BTCUSDT, or BTC-PERP. |
Example response
The provider's example. We can't check it without paying.
Example response, 76 lines
{
"data": {
"criteria": {
"levels": 10,
"limit": 10,
"maxSpreadBps": null,
"minTotalDepthNotional": null,
"symbol": "SOL"
},
"returned": 1,
"rows": [
{
"askDepthNotional": 42516.72,
"bestAsk": 82.37,
"bestBid": 82.36,
"bidDepthNotional": 103428.44,
"bookTimestamp": "2026-03-25T11:59:30.000Z",
"change24h": 0.0157,
"confidence": "high",
"depthImbalance": 0.4175,
"direction": "buy_pressure",
"fundingRate": 0.00223,
"lastPrice": 82.36,
"levelsUsed": 10,
"microBiasBps": 3.62,
"microprice": 82.3948,
"midPrice": 82.365,
"pressureScore": 0.3842,
"reasons": [
"bid depth is 2.43x the opposite side across the measured book",
"microprice is 3.62 bps above mid",
"spread is 1.21 bps"
],
"spreadBps": 1.21,
"symbol": "SOL",
"totalDepthNotional": 145945.16
}
],
"timestamp": 1760000000000,
"totalCandidates": 1,
"venue": "dex",
"warnings": []
},
"meta": {
"freshnessMs": 30000,
"generatedAt": "2026-03-25T12:00:00.000Z",
"requestId": "req_example_123",
"updatedAt": "2026-03-25T11:59:30.000Z"
},
"product": {
"accepts": [
{
"network": "eip155:8453",
"payTo": "0x81832eEDe3a4ad96CB3D7cA09977636D912fd3D5",
"price": "$0.1000",
"scheme": "exact"
},
{
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "2h752kAbb9z1jpdSzqMEYg9JHv6TPJ6T2BfAJMyjLFtZ",
"price": "$0.1000",
"scheme": "exact"
}
],
"id": "dex-orderbook-pressure",
"method": "GET",
"name": "Crypto Dex Order Book Pressure API",
"networks": [
"eip155:8453",
"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
],
"path": "/v1/dex/orderbook-pressure",
"price": "$0.1000"
},
"service": "seerium-x402-api"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.1.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.seerium.xyz/v1/dex/orderbook-pressure?levels=10&limit=10&symbol=BTC'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api.seerium.xyz/v1/dex/orderbook-pressure?levels=10&limit=10&symbol=BTC' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.1 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.1" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.1 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.seerium.xyz%2Fv1%2Fdex%2Forderbook-pressure
const res = await pay("https://api.seerium.xyz/v1/dex/orderbook-pressure?levels=10&limit=10&symbol=BTC");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.1 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.1"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api.seerium.xyz/v1/dex/orderbook-pressure?levels=10&limit=10&symbol=BTC")
print(res.status_code, res.text)Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 191 ms | $0.1 |
| 7 h ago | Passed | 402 | 160 ms | $0.1 |
| 11 h ago | Passed | 402 | 271 ms | $0.1 |
| 14 h ago | Passed | 402 | 176 ms | $0.1 |
| 18 h ago | Passed | 402 | 214 ms | $0.1 |
| 22 h ago | Passed | 402 | 308 ms | $0.1 |
| 26 h ago | Passed | 402 | 158 ms | $0.1 |
| 29 h ago | Passed | 402 | 251 ms | $0.1 |
| 33 h ago | Passed | 402 | 228 ms | $0.1 |
| 36 h ago | Passed | 402 | 285 ms | $0.1 |
| 40 h ago | Passed | 402 | 318 ms | $0.1 |
| 44 h ago | Passed | 402 | 188 ms | $0.1 |
| 47 h ago | Passed | 402 | 408 ms | $0.1 |
| 2 days ago | Passed | 402 | 299 ms | $0.1 |
| 2 days ago | Passed | 402 | 250 ms | $0.1 |