curl --request POST \
--url 'https://api.hypedexer.com/info#builderOrdersByTime' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "builderOrdersByTime",
"builder": "0x2a2b...0d17",
"startTime": 1793446015404,
"limit": 2
}
'import requests
url = "https://api.hypedexer.com/info#builderOrdersByTime"
payload = {
"type": "builderOrdersByTime",
"builder": "0x2a2b...0d17",
"startTime": 1793446015404,
"limit": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'builderOrdersByTime',
builder: '0x2a2b...0d17',
startTime: 1793446015404,
limit: 2
})
};
fetch('https://api.hypedexer.com/info#builderOrdersByTime', 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.hypedexer.com/info#builderOrdersByTime",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => 'builderOrdersByTime',
'builder' => '0x2a2b...0d17',
'startTime' => 1793446015404,
'limit' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hypedexer.com/info#builderOrdersByTime"
payload := strings.NewReader("{\n \"type\": \"builderOrdersByTime\",\n \"builder\": \"0x2a2b...0d17\",\n \"startTime\": 1793446015404,\n \"limit\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.hypedexer.com/info#builderOrdersByTime")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"builderOrdersByTime\",\n \"builder\": \"0x2a2b...0d17\",\n \"startTime\": 1793446015404,\n \"limit\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hypedexer.com/info#builderOrdersByTime")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"builderOrdersByTime\",\n \"builder\": \"0x2a2b...0d17\",\n \"startTime\": 1793446015404,\n \"limit\": 2\n}"
response = http.request(request)
puts response.read_body[
{
"order": {
"coin": "NEAR",
"side": "A",
"limitPx": "3.9139",
"sz": "0.0",
"origSz": "0.0",
"oid": 591423158992,
"orderType": "Stop Market",
"tif": null,
"reduceOnly": true,
"isTrigger": true,
"triggerPx": "4.3488",
"triggerCondition": "Price below 4.3488",
"isPositionTpsl": true,
"timestamp": 1793449566068,
"cloid": null,
"children": [],
"builder": "0x2a2b...0d17"
},
"status": "open",
"statusTimestamp": 1793449566068
}
]{
"error": "Invalid API key"
}Builder orders by time
Orders placed with one builder code, whatever the user, each with its current status, in the historicalOrders shape (order, status, statusTimestamp; order.builder is the builder address).
Rows come newest first: limit keeps the newest orders of the window, and there is no cursor and no user field. For a complete, cursor-paged stream of every status change with the user and the fills attached, use builderOrderUpdates.
This type is slower than the fill feeds (several seconds). A request that runs longer than about 30 seconds comes back as 400 {"error": "Unknown type: <type>"}: the type exists, the request timed out. Retry with a narrower window or a smaller limit.
curl --request POST \
--url 'https://api.hypedexer.com/info#builderOrdersByTime' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "builderOrdersByTime",
"builder": "0x2a2b...0d17",
"startTime": 1793446015404,
"limit": 2
}
'import requests
url = "https://api.hypedexer.com/info#builderOrdersByTime"
payload = {
"type": "builderOrdersByTime",
"builder": "0x2a2b...0d17",
"startTime": 1793446015404,
"limit": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'builderOrdersByTime',
builder: '0x2a2b...0d17',
startTime: 1793446015404,
limit: 2
})
};
fetch('https://api.hypedexer.com/info#builderOrdersByTime', 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.hypedexer.com/info#builderOrdersByTime",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => 'builderOrdersByTime',
'builder' => '0x2a2b...0d17',
'startTime' => 1793446015404,
'limit' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hypedexer.com/info#builderOrdersByTime"
payload := strings.NewReader("{\n \"type\": \"builderOrdersByTime\",\n \"builder\": \"0x2a2b...0d17\",\n \"startTime\": 1793446015404,\n \"limit\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.hypedexer.com/info#builderOrdersByTime")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"builderOrdersByTime\",\n \"builder\": \"0x2a2b...0d17\",\n \"startTime\": 1793446015404,\n \"limit\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hypedexer.com/info#builderOrdersByTime")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"builderOrdersByTime\",\n \"builder\": \"0x2a2b...0d17\",\n \"startTime\": 1793446015404,\n \"limit\": 2\n}"
response = http.request(request)
puts response.read_body[
{
"order": {
"coin": "NEAR",
"side": "A",
"limitPx": "3.9139",
"sz": "0.0",
"origSz": "0.0",
"oid": 591423158992,
"orderType": "Stop Market",
"tif": null,
"reduceOnly": true,
"isTrigger": true,
"triggerPx": "4.3488",
"triggerCondition": "Price below 4.3488",
"isPositionTpsl": true,
"timestamp": 1793449566068,
"cloid": null,
"children": [],
"builder": "0x2a2b...0d17"
},
"status": "open",
"statusTimestamp": 1793449566068
}
]{
"error": "Invalid API key"
}Authorizations
Your Hypedexer API key, sent as Authorization: Bearer <key>. The X-API-Key: <key> header and the api_key query parameter are accepted as well.