Web API: Addresses
The Addresses API provides endpoints for retrieving address information, balances, and token holdings on the VFX blockchain.
Base URL
Section titled “Base URL”/api/addresses/Endpoints
Section titled “Endpoints”List Addresses
Section titled “List Addresses”GET /api/addresses/Returns a paginated list of all addresses with basic information.
Response:
{ "count": 1000, "next": "http://localhost:8000/api/addresses/?page=2", "previous": null, "results": [ { "address": "R9Ng1rDS2YgB7R2bJMU3RKzVXSriXLRsBR", "balance": "1000.123456789", "adnr": { "domain": "example.rbx" } } ]}Get Top Holders
Section titled “Get Top Holders”GET /api/addresses/top-holders/Returns the top 100 addresses by balance, sorted in descending order.
Response:
[ { "address": "R9Ng1rDS2YgB7R2bJMU3RKzVXSriXLRsBR", "balance": "50000.123456789", "received": "60000.0", "sent": "9999.876543211" }]Get Address Details
Section titled “Get Address Details”GET /api/addresses/{address}/Returns detailed information for a specific address.
Parameters:
address(string): The RBX address to query
Response:
{ "address": "R9Ng1rDS2YgB7R2bJMU3RKzVXSriXLRsBR", "balance": "1000.123456789", "balance_total": "1000.123456789", "balance_locked": "0.0", "adnr": "example.rbx", "activated": true, "deactivated": false}Fields:
address: The RBX addressbalance: Available balancebalance_total: Total balance (available + locked)balance_locked: Locked/staked balanceadnr: Associated ADNR domain name (if any)activated: Whether the address is a registered Reserve Accountdeactivated: Whether the Reserve Account has been deactivated
Get Address Token Holdings
Section titled “Get Address Token Holdings”GET /api/addresses/{address}/tokens/Returns all fungible token balances for a specific address.
Parameters:
address(string): The RBX address to query
Response:
{ "address": "R9Ng1rDS2YgB7R2bJMU3RKzVXSriXLRsBR", "tokens": [ { "token": { "id": 1, "name": "Example Token", "symbol": "EXT", "smart_contract_uid": "SC123..." }, "balance": "500.0" } ]}Lookup Address by ADNR Domain
Section titled “Lookup Address by ADNR Domain”GET /api/addresses/adnr/{domain}/Returns address information for a given ADNR domain name.
Parameters:
domain(string): The ADNR domain name (without .rbx suffix)
Response:
{ "address": "R9Ng1rDS2YgB7R2bJMU3RKzVXSriXLRsBR", "balance": "1000.123456789", "balance_total": "1000.123456789", "balance_locked": "0.0", "adnr": "example.rbx"}Status Codes:
200 OK: Address found404 Not Found: Domain not found
- All balance amounts are returned as strings to preserve precision
- Mainnet addresses start with
R; testnet addresses start withx - Reserve Accounts have additional
activatedanddeactivatedfields - ADNR domains provide human-readable names for addresses
- Token balances only include fungible tokens, not NFTs