curl --request GET \
--url https://staging.apimonaco.xyz/api/v1/applications/balancesimport requests
url = "https://staging.apimonaco.xyz/api/v1/applications/balances"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://staging.apimonaco.xyz/api/v1/applications/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://staging.apimonaco.xyz/api/v1/applications/balances",
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://staging.apimonaco.xyz/api/v1/applications/balances"
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://staging.apimonaco.xyz/api/v1/applications/balances")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.apimonaco.xyz/api/v1/applications/balances")
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{
"balances": [
{
"availableBalance": "<string>",
"createdAt": "<string>",
"decimals": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastSyncAt": "<string>",
"lastSyncBlock": "<string>",
"lockedBalance": "<string>",
"onChainBalance": "<string>",
"symbol": "<string>",
"token": "<string>",
"totalBalance": "<string>",
"updatedAt": "<string>",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"total": 50,
"pageSize": 20,
"totalPages": 3,
"nextPageToken": "<string>",
"totalCapped": false
}List application balances
List application balances.
Returns a paginated list of the balances of the application’s users.
Public: the application is selected by client_id.
curl --request GET \
--url https://staging.apimonaco.xyz/api/v1/applications/balancesimport requests
url = "https://staging.apimonaco.xyz/api/v1/applications/balances"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://staging.apimonaco.xyz/api/v1/applications/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://staging.apimonaco.xyz/api/v1/applications/balances",
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://staging.apimonaco.xyz/api/v1/applications/balances"
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://staging.apimonaco.xyz/api/v1/applications/balances")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.apimonaco.xyz/api/v1/applications/balances")
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{
"balances": [
{
"availableBalance": "<string>",
"createdAt": "<string>",
"decimals": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastSyncAt": "<string>",
"lastSyncBlock": "<string>",
"lockedBalance": "<string>",
"onChainBalance": "<string>",
"symbol": "<string>",
"token": "<string>",
"totalBalance": "<string>",
"updatedAt": "<string>",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"total": 50,
"pageSize": 20,
"totalPages": 3,
"nextPageToken": "<string>",
"totalCapped": false
}Query Parameters
Items per page (max 1000)
1 <= x <= 1000User identifier (UUID)
1Asset identifier (UUID)
1Pagination cursor with two states:
- Omitted or empty string (""): start a cursor walk with no prior position.
- Non-empty: an opaque cursor from a previous response's
nextPageToken; results resume immediately after that position.
Ordered by balance id ascending. NOT by updated_at, which the removed
offset mode sorted on: that column changes on every balance movement, so
a walk over it could repeat or skip rows with no concurrent insert at
all.
total and totalPages are populated — bounded by the server count
ceiling, see totalCapped.
Filters must match the request that produced the token, or the request is rejected 400.
Application client ID
1Response
OK
Show child attributes
Show child attributes
Number of balances matching the filter, bounded by the server ceiling — a lower bound when totalCapped is true.
50
Items per page
20
Number of pages at this pageSize, bounded by the server ceiling — a lower bound when totalCapped is true.
3
Cursor for the next page, minted from the last row of an over-fetched
page: this listing is one ordered read, so a page shorter than
pageSize proves the walk is exhausted and this is empty.
True when more than the server ceiling of balances matched, so the count stopped at the ceiling and total/totalPages are a lower bound.
false
Was this page helpful?

