curl --request POST \
--url 'https://api.hypedexer.com/info#allLedgerUpdates' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "allLedgerUpdates",
"startTime": 1793995200000,
"endTime": 1793998800000,
"types": [
"deposit",
"withdraw"
],
"limit": 2000
}
'import requests
url = "https://api.hypedexer.com/info#allLedgerUpdates"
payload = {
"type": "allLedgerUpdates",
"startTime": 1793995200000,
"endTime": 1793998800000,
"types": ["deposit", "withdraw"],
"limit": 2000
}
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: 'allLedgerUpdates',
startTime: 1793995200000,
endTime: 1793998800000,
types: ['deposit', 'withdraw'],
limit: 2000
})
};
fetch('https://api.hypedexer.com/info#allLedgerUpdates', 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#allLedgerUpdates",
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' => 'allLedgerUpdates',
'startTime' => 1793995200000,
'endTime' => 1793998800000,
'types' => [
'deposit',
'withdraw'
],
'limit' => 2000
]),
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#allLedgerUpdates"
payload := strings.NewReader("{\n \"type\": \"allLedgerUpdates\",\n \"startTime\": 1793995200000,\n \"endTime\": 1793998800000,\n \"types\": [\n \"deposit\",\n \"withdraw\"\n ],\n \"limit\": 2000\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#allLedgerUpdates")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"allLedgerUpdates\",\n \"startTime\": 1793995200000,\n \"endTime\": 1793998800000,\n \"types\": [\n \"deposit\",\n \"withdraw\"\n ],\n \"limit\": 2000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hypedexer.com/info#allLedgerUpdates")
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\": \"allLedgerUpdates\",\n \"startTime\": 1793995200000,\n \"endTime\": 1793998800000,\n \"types\": [\n \"deposit\",\n \"withdraw\"\n ],\n \"limit\": 2000\n}"
response = http.request(request)
puts response.read_body[
{
"time": 1793998982519,
"hash": "0x1e2d3c4b5a69788796a5b4c3d2e1f0a9b8c7d6e5f4a3b2c1d0e9f8a7b6c5d4e3",
"users": [
"0x5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d"
],
"delta": {
"type": "deposit",
"usdc": "500.0"
}
}
]{
"error": "Invalid API key"
}Ledger events of all users
Non-funding ledger events (deposits, withdrawals, transfers, vaults, staking, borrow/lend, …) of every user on Hyperliquid, or of a list of wallets, in time order: the REST counterpart of the allLedgerUpdates WebSocket channel. Use it to catch up after a disconnect, or to read a past window.
Same items as the WebSocket channel: time, hash, users (the one or two addresses involved, sorted; a transfer between two addresses is returned once) and delta, the event as Hyperliquid emits it.
Paging: limit items per page, ascending time. The response headers X-Has-More and X-Next-Cursor tell whether a next page exists; pass X-Next-Cursor as cursor with the same startTime / endTime / users / types. Pages always end on a whole millisecond. Without users, a page covers at most one day of events: it can then hold fewer than limit items, or none, with X-Has-More: true. Keep following X-Next-Cursor until X-Has-More is false.
Coverage: complete for every user from 27 September 2025. Before that date, only some addresses are covered. Served from the EU region whatever the client’s location.
Filters: users (up to 20,000 wallets) and types (delta.type values) combine with AND. Unknown fields are refused with 422 and the name of the field, so a typo never returns the unfiltered stream.
curl --request POST \
--url 'https://api.hypedexer.com/info#allLedgerUpdates' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "allLedgerUpdates",
"startTime": 1793995200000,
"endTime": 1793998800000,
"types": [
"deposit",
"withdraw"
],
"limit": 2000
}
'import requests
url = "https://api.hypedexer.com/info#allLedgerUpdates"
payload = {
"type": "allLedgerUpdates",
"startTime": 1793995200000,
"endTime": 1793998800000,
"types": ["deposit", "withdraw"],
"limit": 2000
}
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: 'allLedgerUpdates',
startTime: 1793995200000,
endTime: 1793998800000,
types: ['deposit', 'withdraw'],
limit: 2000
})
};
fetch('https://api.hypedexer.com/info#allLedgerUpdates', 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#allLedgerUpdates",
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' => 'allLedgerUpdates',
'startTime' => 1793995200000,
'endTime' => 1793998800000,
'types' => [
'deposit',
'withdraw'
],
'limit' => 2000
]),
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#allLedgerUpdates"
payload := strings.NewReader("{\n \"type\": \"allLedgerUpdates\",\n \"startTime\": 1793995200000,\n \"endTime\": 1793998800000,\n \"types\": [\n \"deposit\",\n \"withdraw\"\n ],\n \"limit\": 2000\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#allLedgerUpdates")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"allLedgerUpdates\",\n \"startTime\": 1793995200000,\n \"endTime\": 1793998800000,\n \"types\": [\n \"deposit\",\n \"withdraw\"\n ],\n \"limit\": 2000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hypedexer.com/info#allLedgerUpdates")
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\": \"allLedgerUpdates\",\n \"startTime\": 1793995200000,\n \"endTime\": 1793998800000,\n \"types\": [\n \"deposit\",\n \"withdraw\"\n ],\n \"limit\": 2000\n}"
response = http.request(request)
puts response.read_body[
{
"time": 1793998982519,
"hash": "0x1e2d3c4b5a69788796a5b4c3d2e1f0a9b8c7d6e5f4a3b2c1d0e9f8a7b6c5d4e3",
"users": [
"0x5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d"
],
"delta": {
"type": "deposit",
"usdc": "500.0"
}
}
]{
"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.
Body
allLedgerUpdates Inclusive lower bound on time, epoch milliseconds
Inclusive upper bound on time, epoch milliseconds. Default: now
Optional: only the events involving at least one of these wallets (0x-prefixed, case-insensitive), up to 20,000
20000Optional: only these delta.type values, e.g. ["deposit", "withdraw"]
50Items per page
1 <= x <= 5000The X-Next-Cursor header of the previous page