81trust / 100

Orderbook

by HALOWERK marktwerk in Other

x402 APIPassing, checked 4 h ago

Returns the visible order book of Binance, Coinbase, Kraken, OKX or Bybit for one BASE/QUOTE pair. Levels come as [price, size] with bids descending and asks ascending. depth[] states how much turnover sits within 0.5, 1 and 2 percent of the mid per side, in the quote currency, and additionally as depth_usd where the quote is a US dollar unit. group_bps folds levels into price bands whose price is the size weighted average of the band, for agents that do not want a thousand rows. The exchange up

POST https://markt.halowerk.com/orderbook

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
106 ms typical, 106 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://markt.halowerk.com/orderbook" \
  -H "content-type: application/json" \
  -d '{"symbol":"BTC/USDT"}'
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%2Fmarkt.halowerk.com%2Forderbook
const res = await pay("https://markt.halowerk.com/orderbook", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"symbol":"BTC/USDT"}),
});
console.log(await res.json());

Example input

{
  "symbol": "BTC/USDT"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402106 ms$0.002