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).
API Specification
Network-Wide API
Total Active Relays (Latest)
https://api.ec.anyone.tech/total-relays-latest
{
all: Total number of relays visible in latest consensus file,
offline: Relays recently running but currently offline,
online: Relays currently online
}Total Active Relays (Over Time)
https://api.ec.anyone.tech/total-relays
{
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)
}Total Network Bandwidth
https://api.ec.anyone.tech/total-observed-bandwidth-latest
Total Network Bandwidth (Over Time)
https://api.ec.anyone.tech/total-observed-bandwidth
Additional parameters to be appended at the end of the query
Relay Map
https://api.ec.anyone.tech/relay-map
Per-User Search
Relay Lookup
https://api.ec.anyone.tech/relays/
Anon Check (API)
https://check.en.anyone.tech/api/ip
Anon Check (UI)
https://check.en.anyone.tech
POST APIs
Hardware Authentication Endpoint
https://api.ec.anyone.tech/relays
Other Environments
To search for your relay in the stage environment: π https://api-stage.ec.anyone.tech