curl --request GET \
--url https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances \
--header 'X-Api-Key: <api-key>'import requests
url = "https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/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://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/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 => [
"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"
"net/http"
"io"
)
func main() {
url := "https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}Balances of one wallet
What a stake address held at a moment, to check a window client-side: the balance at the window’s start plus the legs of every event in it (leave out REWARD_WITHDRAWAL, which only moves ADA from the reward account into the UTxO set) equals the balance at its end, per unit, counting ADA in the reward account. at is an ISO 8601 instant, an ISO date (the end of that day, UTC) or unix seconds; the state is after every block at or before it, default now. Amounts are raw units as integer strings. Requires a cardano-mainnet API key.
curl --request GET \
--url https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances \
--header 'X-Api-Key: <api-key>'import requests
url = "https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/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://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/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 => [
"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"
"net/http"
"io"
)
func main() {
url := "https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/balances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}{
"wallet": "<string>",
"at": "2023-11-07T05:31:56Z",
"slot": 123,
"utxo": {},
"rewardAccount": "<string>"
}Authorizations
API key (programmatic access — recommended)
Send your API key in the X-Api-Key header. Keys start with nxs_ and are
created in the dashboard (or via POST /api/keys with a session JWT).
Each key is scoped to one chain and one network (for example
CARDANO_MAINNET), fixed at creation time. It cannot query a different network
on the same chain, and it cannot query a different chain at all. A mismatched
network parameter returns 400 Network Mismatch. Create one key per chain
and network under the same account.
Without the header a request answers 401 MISSING_API_KEY; with a key
that is not valid, 401 INVALID_API_KEY.
This is the credential most integrations should use.