/v1/representative
One representative: weight, share, principal & online status
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/nanoreps-api/v1/representative" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nanoreps-api/v1/representative", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nanoreps-api/v1/representative");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/nanoreps-api/v1/representative",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "A single Nano representative's delegated voting weight (in NANO), its share of online stake, whether it is a principal representative and whether it is currently online and voting. Omit account for the top online representative.",
"source": "Nano RPC",
"account": "nano_3rw4un6ys57hrb39sy1qx8qy5wukst1iiponztrz9qiz6qqa55kxzx4491or",
"is_online": true,
"weight_pct": 1.8042,
"weight_nano": 1572962.75,
"is_principal": true
},
"meta": {
"timestamp": "2026-06-14T17:04:36.128Z",
"request_id": "ac2c8c45-6a25-4571-914d-1a87ac663635"
},
"status": "ok",
"message": "Representative retrieved successfully",
"success": true
}