Skip to main content
GET
/
orderbook
Get orderbook
curl --request GET \
  --url https://futures.kraken.com/derivatives/api/v3/orderbook
import requests

url = "https://futures.kraken.com/derivatives/api/v3/orderbook"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://futures.kraken.com/derivatives/api/v3/orderbook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://futures.kraken.com/derivatives/api/v3/orderbook"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
{
  "orderBook": {
    "bids": [
      [
        40178,
        5
      ],
      [
        40174,
        4.2
      ],
      [
        40170,
        7.2
      ]
    ],
    "asks": [
      [
        40186,
        5.0183
      ],
      [
        40190,
        0.4183
      ]
    ]
  },
  "result": "success",
  "serverTime": "2020-08-27T17:03:33.196Z"
}

Query Parameters

symbol
string
required

The symbol of the Futures.

Response

200 - application/json
orderBook
object
required

A structure containing lists with bid and ask prices and sizes.

Example:
{
"bids": [[40178, 5], [40174, 4.2], [40170, 7.2]],
"asks": [[40186, 5.0183], [40190, 0.4183]]
}
result
enum<string>
required
Available options:
success
Example:

"success"

serverTime
string<date-time>
required

Server time in Coordinated Universal Time (UTC)

Example:

"2020-08-27T17:03:33.196Z"