Zum Inhalt
HALOWERK

Marktwerk

orderbook

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.

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

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
symbolstringJaTrading pair as BASE/QUOTE, for example ETH/USDC.
venuestringNeinExchange to read the book from.
levelsintegerNeinNumber of levels per side. Exchanges cap this differently; venue_max_levels names the cap actually used.
group_bpsnumberNeinOptional band width in basis points. Without it the book is returned ungrouped.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "symbol"
  ],
  "additionalProperties": false,
  "properties": {
    "symbol": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{2,15}/[A-Za-z0-9]{2,15}$",
      "description": "Trading pair as BASE/QUOTE, for example ETH/USDC."
    },
    "venue": {
      "type": "string",
      "enum": [
        "binance",
        "coinbase",
        "kraken",
        "okx",
        "bybit"
      ],
      "default": "binance",
      "description": "Exchange to read the book from."
    },
    "levels": {
      "type": "integer",
      "minimum": 10,
      "maximum": 1000,
      "default": 100,
      "description": "Number of levels per side. Exchanges cap this differently; venue_max_levels names the cap actually used."
    },
    "group_bps": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 500,
      "description": "Optional band width in basis points. Without it the book is returned ungrouped."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "symbol": "AA/AA",
  "venue": "binance",
  "levels": 100
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →