REST

The Anyone Network comes with a series of public REST APIs accessible by anyone who wants to investigate the live status of the network or their specific relay. This API complements the older Arweave metrics dumps that can be investigated by GraphQL requests (section coming soon).

circle-info

The official domain for our technical endpoints is https://anyone.tech

And the API is accessible at https://api.ec.anyone.tech

Main API Specification

Network-Wide API

{
all: Total number of relays visible in latest consensus file,
offline: Relays recently running but currently offline,
online: Relays currently online
}

{
all[]: Total relays in latest consensus file over time (hourly),
offline[]:  Total relays recently offline over time (hourly),
online[]:  Total relays online over time (hourly)
}

Additional parameters to be appended at the end of the query

POST APIs

Hardware Authentication Endpoint https://api.ec.anyone.tech/relaysarrow-up-right

Additional API Endpoints

Current Status

All-Time Rewards

Retrieves the all-time earned rewards for a given wallet across all their relays.

Relays Associated to One Wallet

Returns an object with all of the relays associated to one wallet. Used for integration with the Moken DePIN tracker.

Output:

Rewards in Latest Epoch

Returns an object with the amount of tokens earnt by a relay in the last epoch, and epoch details

Output:

Other Environments

To search for your relay in the stage environment: πŸ”— https://api-stage.ec.anyone.tech arrow-up-right

Last updated