cURL
curl --request GET \ --url https://api.mainnet.aptoslabs.com/decibel/api/v1/subaccounts \ --header 'Authorization: Bearer <token>'
[ { "is_active": true, "is_primary": true, "primary_account_address": "0x123...", "subaccount_address": "0x123...", "custom_label": "My Subaccount" } ]
Retrieve all subaccounts for a specific owner address. Returns subaccount addresses and their associated metadata.
Bearer token from Geomi. See Authentication for setup instructions.
Owner account address
Subaccounts retrieved successfully
true
"0x123..."
"My Subaccount"