Pular para o conteúdo principal
GET
/
data
/
markets
/
{id}
/
orderbook
Get Market OrderBook Snapshot
curl --request GET \
  --url https://data-api-dev.voxfi.com.br/v1/data/markets/{id}/orderbook \
  --header 'x-api-key: <x-api-key>'
{
  "chance": 123,
  "liquidity": 123,
  "market_price_no": 123,
  "market_price_yes": 123,
  "no_orderbook": {
    "asks": [
      {
        "order_count": 123,
        "price_ticks": 123,
        "quantity": 123
      }
    ],
    "bids": [
      {
        "order_count": 123,
        "price_ticks": 123,
        "quantity": 123
      }
    ],
    "last_price": 123,
    "outcome": "<string>",
    "spread": 123
  },
  "volume": 123,
  "yes_orderbook": {
    "asks": [
      {
        "order_count": 123,
        "price_ticks": 123,
        "quantity": 123
      }
    ],
    "bids": [
      {
        "order_count": 123,
        "price_ticks": 123,
        "quantity": 123
      }
    ],
    "last_price": 123,
    "outcome": "<string>",
    "spread": 123
  }
}

Cabeçalhos

x-api-key
string
obrigatório

API Key

Parâmetros de caminho

id
string
obrigatório

Market ID

Resposta

OK

chance
integer

chance of YES in percentage (0-100)

liquidity
integer

total contracts available in orderbook

market_price_no
integer

market price for NO in ticks (0-100)

market_price_yes
integer

market price for YES in ticks (0-100)

no_orderbook
object
volume
integer

total contracts created (historical trades)

yes_orderbook
object