Get the current order book for a product
Retrieve the current state of the order book for a specific product, including all bids and asks.
OBSIDIAN-KEY<token>
In: header
OBSIDIAN-SECRET<token>
In: header
Path Parameters
product_idstring
Product ID to retrieve order book for (e.g., "BTC-PERP", "ETH-PERP")
Response Body
application/json
application/json
curl -X GET "https://api.dev.obsidian.exchange/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
}
]
}