Get all nodes
GET
https://www.allnodes.com/api/v1/node
This endpoint allows to get list of all your hosted nodes.
[
{
id: string;
ip: string;
name: string;
currencySymbol: string;
createdAt: string;
payoutFrequencySeconds: number | null;
apr: string | null;
instance: {
version: string;
status: string;
uptimeSeconds: number | null;
lastSeenAt: string | null;
};
address: {
collateralAddress: string;
collateralHash: string;
collateralIndex: number;
payeeAddress: string;
balanceAmount: number;
rewardsEarned: number;
lastRewardAt: string | null;
};
settings: {
walletType: 'ledger' | 'trezor' | 'core' | null;
};
}
]
Get a node
GET
https://www.allnodes.com/api/v1/node/{id}
This endpoint allows to get info about specific node on your account.
Path Parameters
{
id: string;
ip: string;
name: string;
currencySymbol: string;
createdAt: string;
payoutFrequencySeconds: number | null;
apr: string | null;
instance: {
version: string;
status: string;
uptimeSeconds: number | null;
lastSeenAt: string | null;
};
address: {
collateralAddress: string;
collateralHash: string;
collateralIndex: number;
payeeAddress: string;
balanceAmount: number;
rewardsEarned: number;
lastRewardAt: string | null;
};
settings: {
walletType: 'ledger' | 'trezor' | 'core' | null;
};
}
{
"error": "NODE_NOT_FOUND"
}
Remove a node
DELETE
https://www.allnodes.com/api/v1/node/{id}
This endpoint allows you to remove node from hosting.
Path Parameters
{
"error": "NODE_NOT_FOUND"
}
Last updated