Skip to main content
GET
/
v1
/
orderbook
/
{symbol}
Orderbook Snapshot
curl --request GET \
  --url https://api.perpo.trade/v1/orderbook/{symbol} \
  --header 'perpo-account-id: <perpo-account-id>' \
  --header 'perpo-key: <perpo-key>' \
  --header 'perpo-signature: <perpo-signature>' \
  --header 'perpo-timestamp: <perpo-timestamp>'
{
  "success": true,
  "data": {
    "asks": [
      {
        "price": 10669.4,
        "quantity": 1.56263218
      }
    ],
    "bids": [
      {
        "price": 10669.4,
        "quantity": 1.56263218
      }
    ],
    "timestamp": 123
  },
  "timestamp": 1702989203989
}

Headers

perpo-timestamp
string
required
perpo-account-id
string
required
perpo-key
string
required
perpo-signature
string
required

Path Parameters

symbol
string
required

Query Parameters

max_level
integer

the levels wish to show on both side.

Response

200 - application/json

OK

success
boolean
required
Example:

true

data
object
required
timestamp
integer
Example:

1702989203989