curl --request GET \
--url https://api.agg.market/execution/balances \
--header 'Authorization: Bearer <token>' \
--header 'x-app-id: <api-key>'import requests
url = "https://api.agg.market/execution/balances"
headers = {
"x-app-id": "<api-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-app-id': '<api-key>', Authorization: 'Bearer <token>'}
};
fetch('https://api.agg.market/execution/balances', 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.agg.market/execution/balances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"x-app-id: <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"
"net/http"
"io"
)
func main() {
url := "https://api.agg.market/execution/balances"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-app-id", "<api-key>")
req.Header.Add("Authorization", "Bearer <token>")
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.agg.market/execution/balances")
.header("x-app-id", "<api-key>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agg.market/execution/balances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-app-id"] = '<api-key>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"cash": [
{
"tokenSymbol": "USDC",
"totalRaw": "125000000",
"availableRaw": "125000000",
"reservedRaw": "0",
"decimals": 6,
"chains": [
{
"chainId": 137,
"tokenAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"balanceRaw": "100000000",
"decimals": 6,
"lastSyncedAt": "2026-09-29T15:10:02.000Z",
"address": "0x8e2d6a1c4f7b0e3d9a5c2f8b1e6d4a7c0f3b9e25",
"custodyKind": "DEPOSIT_WALLET"
},
{
"chainId": 8453,
"tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"balanceRaw": "25000000",
"decimals": 6,
"lastSyncedAt": "2026-09-29T15:10:02.000Z",
"address": "0x8e2d6a1c4f7b0e3d9a5c2f8b1e6d4a7c0f3b9e25",
"custodyKind": "DEPOSIT_WALLET"
}
]
}
],
"positions": [
{
"venue": "polymarket",
"balance": 16.2,
"costBasis": 15.3,
"unrealizedPnl": 0.9,
"realizedPnl": 0,
"priceSource": "orderbook",
"bookQuality": "healthy"
},
{
"venue": "limitless",
"balance": 9.72,
"costBasis": 9.63,
"unrealizedPnl": 0.09,
"realizedPnl": 0,
"priceSource": "orderbook",
"bookQuality": "healthy"
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}Get balances
Returns per-chain token balances and per-venue position balances for the authenticated user. Pass custody=self for the wallets linked to this account (and their Polymarket deposit and legacy wallets) instead of the managed server wallet; each chain row then carries address and custodyKind. Positions are account-wide in both modes.
curl --request GET \
--url https://api.agg.market/execution/balances \
--header 'Authorization: Bearer <token>' \
--header 'x-app-id: <api-key>'import requests
url = "https://api.agg.market/execution/balances"
headers = {
"x-app-id": "<api-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-app-id': '<api-key>', Authorization: 'Bearer <token>'}
};
fetch('https://api.agg.market/execution/balances', 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.agg.market/execution/balances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"x-app-id: <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"
"net/http"
"io"
)
func main() {
url := "https://api.agg.market/execution/balances"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-app-id", "<api-key>")
req.Header.Add("Authorization", "Bearer <token>")
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.agg.market/execution/balances")
.header("x-app-id", "<api-key>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agg.market/execution/balances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-app-id"] = '<api-key>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"cash": [
{
"tokenSymbol": "USDC",
"totalRaw": "125000000",
"availableRaw": "125000000",
"reservedRaw": "0",
"decimals": 6,
"chains": [
{
"chainId": 137,
"tokenAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"balanceRaw": "100000000",
"decimals": 6,
"lastSyncedAt": "2026-09-29T15:10:02.000Z",
"address": "0x8e2d6a1c4f7b0e3d9a5c2f8b1e6d4a7c0f3b9e25",
"custodyKind": "DEPOSIT_WALLET"
},
{
"chainId": 8453,
"tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"balanceRaw": "25000000",
"decimals": 6,
"lastSyncedAt": "2026-09-29T15:10:02.000Z",
"address": "0x8e2d6a1c4f7b0e3d9a5c2f8b1e6d4a7c0f3b9e25",
"custodyKind": "DEPOSIT_WALLET"
}
]
}
],
"positions": [
{
"venue": "polymarket",
"balance": 16.2,
"costBasis": 15.3,
"unrealizedPnl": 0.9,
"realizedPnl": 0,
"priceSource": "orderbook",
"bookQuality": "healthy"
},
{
"venue": "limitless",
"balance": 9.72,
"costBasis": 9.63,
"unrealizedPnl": 0.09,
"realizedPnl": 0,
"priceSource": "orderbook",
"bookQuality": "healthy"
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}Authorizations
Your application ID. Required for all app-tier and user-tier routes.
JWT access token returned by POST /auth/verify. Required for user-tier routes.
Query Parameters
live, paper managed, self Response
200
Stablecoin cash, one entry per token, with per-chain rows.
Show child attributes
Show child attributes
Value of open positions, one entry per venue.
Show child attributes
Show child attributes
Cash held inside venue accounts, separate from on-chain cash. Omitted when no such venue is available.
Show child attributes
Show child attributes
Paper-account summary. Present only in paper mode.
Show child attributes
Show child attributes