Market Data

Markets catalog and specs

get
/market_data
Authorizations
AuthorizationstringRequired

Compact signature envelope. Only keccak256 + secp256k1 are supported.

Authorization: Bondis alg=<secp256k1-keccak-eip712|secp256k1-keccak-raw>, h=<0x..>, sig=<0x..>

  • Default alg is secp256k1-keccak-eip712.
  • h is keccak256(CRR) of the Canonical Request Representation.
  • sig signs h.
Responses
200

List of markets

application/json
get
/market_data
GET /v1/market_data HTTP/1.1
Host: api.bondis.xyz
Authorization: YOUR_API_KEY
Accept: */*
200

List of markets

{
  "markets": [
    {
      "market": "USD/BRL",
      "tickSize": "0.0001",
      "minNotional": "100",
      "leverageMax": 10,
      "auction": {
        "depth": 50
      }
    }
  ]
}

Order book N levels

get
/market_data/{market}/book
Authorizations
AuthorizationstringRequired

Compact signature envelope. Only keccak256 + secp256k1 are supported.

Authorization: Bondis alg=<secp256k1-keccak-eip712|secp256k1-keccak-raw>, h=<0x..>, sig=<0x..>

  • Default alg is secp256k1-keccak-eip712.
  • h is keccak256(CRR) of the Canonical Request Representation.
  • sig signs h.
Path parameters
marketstringRequired
Query parameters
depthinteger · min: 1 · max: 500OptionalDefault: 50
Responses
200

Aggregated book

application/json
get
/market_data/{market}/book
GET /v1/market_data/{market}/book HTTP/1.1
Host: api.bondis.xyz
Authorization: YOUR_API_KEY
Accept: */*
200

Aggregated book

{
  "market": "USD/BRL",
  "bids": [
    [
      "5.1234",
      "10000"
    ],
    [
      "5.1233",
      "8000"
    ]
  ],
  "asks": [
    [
      "5.1236",
      "7000"
    ],
    [
      "5.1237",
      "12000"
    ]
  ],
  "depth": 2,
  "block_id": 120394
}

Recent N trades

get
/market_data/{market}/trades
Authorizations
AuthorizationstringRequired

Compact signature envelope. Only keccak256 + secp256k1 are supported.

Authorization: Bondis alg=<secp256k1-keccak-eip712|secp256k1-keccak-raw>, h=<0x..>, sig=<0x..>

  • Default alg is secp256k1-keccak-eip712.
  • h is keccak256(CRR) of the Canonical Request Representation.
  • sig signs h.
Path parameters
marketstringRequired
Query parameters
limitinteger · min: 1 · max: 1000OptionalDefault: 100
Responses
200

Recent trades

application/json
get
/market_data/{market}/trades
GET /v1/market_data/{market}/trades HTTP/1.1
Host: api.bondis.xyz
Authorization: YOUR_API_KEY
Accept: */*
200

Recent trades

{
  "market": "USD/BRL",
  "trades": [
    {
      "price": "5.1234",
      "size": "10000",
      "role": "maker",
      "auction": "bid",
      "ts": "2025-10-09T12:34:56Z"
    },
    {
      "price": "5.1235",
      "size": "5000",
      "role": "taker",
      "auction": "ask",
      "ts": "2025-10-09T12:35:01Z"
    }
  ]
}

24h stats for a market

get
/market_data/{market}/stats24h
Authorizations
AuthorizationstringRequired

Compact signature envelope. Only keccak256 + secp256k1 are supported.

Authorization: Bondis alg=<secp256k1-keccak-eip712|secp256k1-keccak-raw>, h=<0x..>, sig=<0x..>

  • Default alg is secp256k1-keccak-eip712.
  • h is keccak256(CRR) of the Canonical Request Representation.
  • sig signs h.
Path parameters
marketstringRequired
Responses
200

OHLCV + counters

application/json
get
/market_data/{market}/stats24h
GET /v1/market_data/{market}/stats24h HTTP/1.1
Host: api.bondis.xyz
Authorization: YOUR_API_KEY
Accept: */*
200

OHLCV + counters

{
  "market": "USD/BRL",
  "open": "5.1000",
  "high": "5.2000",
  "low": "5.0900",
  "close": "5.1500",
  "volume": "12000000",
  "trades": 5421,
  "vwap": "5.1472"
}