Moonbase Docs

Get product order book

Get order book of a product.

GET
/products/{product_id}/orderbook
NOVA-KEY<token>

In: header

NOVA-SECRET<token>

In: header

Path Parameters

product_idstring

product_id of the requested order book.

Response Body

application/json

application/json

curl -X GET "https://api.moonbase.vn/products/string/orderbook"
{
  "product_id": "string",
  "book": {
    "asks": [
      {
        "price": "string",
        "size": "string"
      }
    ],
    "bids": [
      {
        "price": "string",
        "size": "string"
      }
    ]
  },
  "timestamp": "string",
  "gsn": "string"
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}