curl --request POST \
--url https://api.hypedexer.com/users/batch/performance \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"users": [
"0x4e60e3a4…",
"0xea0e878d…"
],
"window": "30d"
}
'import requests
url = "https://api.hypedexer.com/users/batch/performance"
payload = {
"users": ["0x4e60e3a4…", "0xea0e878d…"],
"window": "30d"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({users: ['0x4e60e3a4…', '0xea0e878d…'], window: '30d'})
};
fetch('https://api.hypedexer.com/users/batch/performance', 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/users/batch/performance",
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([
'users' => [
'0x4e60e3a4…',
'0xea0e878d…'
],
'window' => '30d'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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/users/batch/performance"
payload := strings.NewReader("{\n \"users\": [\n \"0x4e60e3a4…\",\n \"0xea0e878d…\"\n ],\n \"window\": \"30d\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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/users/batch/performance")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"users\": [\n \"0x4e60e3a4…\",\n \"0xea0e878d…\"\n ],\n \"window\": \"30d\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hypedexer.com/users/batch/performance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"users\": [\n \"0x4e60e3a4…\",\n \"0xea0e878d…\"\n ],\n \"window\": \"30d\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Batch performance (1 wallets, 30d)",
"data": [
{
"user": "0x4e60e3a4…",
"window": "30d",
"total_trades": 460582,
"wins": 233771,
"losses": 226811,
"win_rate": 0.507556,
"total_pnl": -36064.51385,
"volume": 2214905612.14,
"avg_holding_time_s": 41.2,
"longs": 230145,
"shorts": 230437,
"long_short_ratio": 0.9987,
"long_pct": 0.499683,
"avg_win": 12.41,
"avg_loss": 12.95,
"profit_factor": 0.9598,
"best_trade_pnl": 1810.2,
"worst_trade_pnl": -2255.7,
"avg_trade_size": 0.0421,
"total_fees": 121553.7,
"total_funding": -812.4,
"max_drawdown": 51475.222081,
"max_drawdown_basis": "realized_pnl_curve"
}
],
"total_count": 1,
"execution_time_ms": 316.8
}Batch performance
Performance stats for many wallets in one call: the same fields as GET /users/{user}/performance (win rate, PnL, trade count, volume, average holding time, long/short ratio, fees, funding), one entry per submitted address in submission order, computed in a single query. Wallets with no trade in the window return zeros.
Up to 500 addresses per call; typical latency 250–400 ms. include_drawdown: true adds max_drawdown measured on each wallet’s realized-PnL curve (heavier: a few seconds for hundreds of very active wallets). The equity-based drawdown (equity_max_drawdown_*) is not computed in batch: use the per-wallet endpoint for it.
Credits: 3 credits per wallet submitted: the same as calling the per-wallet endpoint once per address.
curl --request POST \
--url https://api.hypedexer.com/users/batch/performance \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"users": [
"0x4e60e3a4…",
"0xea0e878d…"
],
"window": "30d"
}
'import requests
url = "https://api.hypedexer.com/users/batch/performance"
payload = {
"users": ["0x4e60e3a4…", "0xea0e878d…"],
"window": "30d"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({users: ['0x4e60e3a4…', '0xea0e878d…'], window: '30d'})
};
fetch('https://api.hypedexer.com/users/batch/performance', 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/users/batch/performance",
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([
'users' => [
'0x4e60e3a4…',
'0xea0e878d…'
],
'window' => '30d'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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/users/batch/performance"
payload := strings.NewReader("{\n \"users\": [\n \"0x4e60e3a4…\",\n \"0xea0e878d…\"\n ],\n \"window\": \"30d\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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/users/batch/performance")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"users\": [\n \"0x4e60e3a4…\",\n \"0xea0e878d…\"\n ],\n \"window\": \"30d\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hypedexer.com/users/batch/performance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"users\": [\n \"0x4e60e3a4…\",\n \"0xea0e878d…\"\n ],\n \"window\": \"30d\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Batch performance (1 wallets, 30d)",
"data": [
{
"user": "0x4e60e3a4…",
"window": "30d",
"total_trades": 460582,
"wins": 233771,
"losses": 226811,
"win_rate": 0.507556,
"total_pnl": -36064.51385,
"volume": 2214905612.14,
"avg_holding_time_s": 41.2,
"longs": 230145,
"shorts": 230437,
"long_short_ratio": 0.9987,
"long_pct": 0.499683,
"avg_win": 12.41,
"avg_loss": 12.95,
"profit_factor": 0.9598,
"best_trade_pnl": 1810.2,
"worst_trade_pnl": -2255.7,
"avg_trade_size": 0.0421,
"total_fees": 121553.7,
"total_funding": -812.4,
"max_drawdown": 51475.222081,
"max_drawdown_basis": "realized_pnl_curve"
}
],
"total_count": 1,
"execution_time_ms": 316.8
}Authorizations
Your Hypedexer API key. Create one in the console at https://app.hypedexer.com. Authorization: Bearer <key> and the api_key query parameter are accepted as well.
Headers
Body
Wallet addresses (0x…, any case). Duplicates are ignored; any invalid address returns 400.
1 - 500 elements7d, 30d, 90d, all Also compute max_drawdown (realized-PnL curve) per wallet