Order Book
Get all order books (best bid/ask)
Returns the current best bid and ask for all tracked futures symbols.
Price Format
Prices are raw fixed-point integer values. Divide by 1,000,000,000 for display:
6010250000000→$6010.25
GET
/
md
/
orderbook
Get all order books (best bid/ask)
curl --request GET \
--url https://api.hyperprop.com/md/orderbookimport requests
url = "https://api.hyperprop.com/md/orderbook"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/md/orderbook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/md/orderbook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/md/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))
}HttpResponse<String> response = Unirest.get("https://api.hyperprop.com/md/orderbook")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/md/orderbook")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"books": [
{
"ask_price": 29528500000000,
"ask_size": 8,
"bid_price": 29528250000000,
"bid_size": 12,
"contract": "NQU6",
"spread": 250000000,
"symbol": "NQ",
"timestamp": 1786046460123
}
],
"count": 1,
"success": true
}{
"code": "AUTH_REQUIRED",
"error": "Unauthorized",
"message": "Valid JWT token required"
}Related topics
Get order book for a specific symbolGET /depth/history — rolling order-book depth history.Get current ticker pricesWebSocket Stream (Documentation Only)Introduction⌘I
Get all order books (best bid/ask)
curl --request GET \
--url https://api.hyperprop.com/md/orderbookimport requests
url = "https://api.hyperprop.com/md/orderbook"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/md/orderbook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/md/orderbook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/md/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))
}HttpResponse<String> response = Unirest.get("https://api.hyperprop.com/md/orderbook")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/md/orderbook")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"books": [
{
"ask_price": 29528500000000,
"ask_size": 8,
"bid_price": 29528250000000,
"bid_size": 12,
"contract": "NQU6",
"spread": 250000000,
"symbol": "NQ",
"timestamp": 1786046460123
}
],
"count": 1,
"success": true
}{
"code": "AUTH_REQUIRED",
"error": "Unauthorized",
"message": "Valid JWT token required"
}