curl --request GET \
--url https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/events \
--header 'X-Api-Key: <api-key>'import requests
url = "https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/events"
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}/events', 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}/events",
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}/events"
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}/events")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/events")
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{
"events": [
{
"id": "<string>",
"wallet": "<string>",
"network": "cardano-mainnet",
"txHash": "<string>",
"blockTime": "2025-03-01T12:00:00Z",
"blockTimeUnix": 1740830400,
"slot": 123,
"epoch": 123,
"type": "TRADE",
"role": "main",
"legs": [
{
"direction": "in",
"unit": "lovelace",
"ticker": "ADA",
"decimals": 6,
"quantityRaw": "1500000",
"quantity": "1.500000",
"valueAda": "1.5",
"valueFiat": "0.987654321",
"priceQuality": "ADA",
"priceTime": "<string>"
}
],
"trade": null,
"reward": null,
"transfer": null,
"flags": [
"<string>"
],
"classifierVersion": 1
}
],
"nextCursor": "<string>",
"currency": "EUR",
"window": {},
"coverage": {},
"classifierVersion": 2,
"computedAt": "2023-11-07T05:31:56Z"
}{}{}{}{}{}{}Events of one wallet
One page of a stake address’s events in chain order. A transaction can produce several events (fee, deposit or refund, withdrawal, then the main event); staking rewards are dated at the start of the epoch they became spendable. Each leg carries its value in ADA and in the requested currency, or null when no price exists. Page by passing nextCursor (also sent as the X-Next-Cursor header) back as cursor until it is absent. A window ends about 15 minutes before now at the latest, where the chain is settled; window.toExclusive (also sent as the X-Window-End header) is the end used, the same on every page, and where a later read can start. Requires a cardano-mainnet API key.
curl --request GET \
--url https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/events \
--header 'X-Api-Key: <api-key>'import requests
url = "https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/events"
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}/events', 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}/events",
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}/events"
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}/events")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://nexus.gerowallet.io/api/tax/cardano/{stakeAddress}/events")
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{
"events": [
{
"id": "<string>",
"wallet": "<string>",
"network": "cardano-mainnet",
"txHash": "<string>",
"blockTime": "2025-03-01T12:00:00Z",
"blockTimeUnix": 1740830400,
"slot": 123,
"epoch": 123,
"type": "TRADE",
"role": "main",
"legs": [
{
"direction": "in",
"unit": "lovelace",
"ticker": "ADA",
"decimals": 6,
"quantityRaw": "1500000",
"quantity": "1.500000",
"valueAda": "1.5",
"valueFiat": "0.987654321",
"priceQuality": "ADA",
"priceTime": "<string>"
}
],
"trade": null,
"reward": null,
"transfer": null,
"flags": [
"<string>"
],
"classifierVersion": 1
}
],
"nextCursor": "<string>",
"currency": "EUR",
"window": {},
"coverage": {},
"classifierVersion": 2,
"computedAt": "2023-11-07T05:31:56Z"
}{}{}{}{}{}{}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.
Query Parameters
Response
One page of events
One page of tax events.