Skip to main content
GET
/
trade
/
book
/
orders
/
level-2
Book - Orderbook Level 2
curl --request GET \
  --url https://api.ripio.com/trade/book/orders/level-2 \
  --header 'authorization: <authorization>' \
  --header 'signature: <signature>' \
  --header 'timestamp: <timestamp>'
{
  "data": {
    "timestamp": 1675708481219,
    "asks": [
      {
        "amount": 0.1283746,
        "price": 1923847
      }
    ],
    "bids": [
      {
        "amount": 0.1283746,
        "price": 1923847
      }
    ]
  },
  "error_code": null,
  "message": null
}

Headers

authorization
string
required

The API key as a string.

signature
string
required

See the Generating Signature section for more details.

timestamp
number
required

A timestamp in milliseconds. See the Timestamp Security section for more details.

timstamp-tolerance
number

An additional, non-required parameter, that you can send to specify the number of milliseconds after the timestamp for the request to be valid. See the Timestamp Security section for more details.

Query Parameters

pair
string
required

Currency pair code

Example:

"BTC_BRL"

limit
string

Maximum number of records to return per request. Can specify 'max' to use the service maximum.

Response

200 - application/json

Ok

data
object
required
error_code
number
required
Example:

null

message
string
required
Example:

null