The survey’s API
Every number on these pages comes from these endpoints, as JSON, for signet. Each is GET, needs no key, and is answered from what the site holds, never by asking the node.
The node check has no JSON form: it is a form, for a visitor
checking their own node. The rest of the site’s endpoints: the API.
Endpoints
Each path is under /api/v1/signet.
| Endpoint | Gives | From your own node |
|---|---|---|
/network | The crawl’s counts now network, crawl | sat-cli getcrawlinfo |
/network/history | The counts of each kept snapshot, oldest first network, kept, points | sat-cli dumpcrawlsnapshot (hourly) |
/network/breakdown | The newest snapshot’s breakdown: implementations, claims, user agents, transport per network, autonomous systems network, kept, breakdown | sat-cli dumpcrawlsnapshot |
/network/snapshots | The kept snapshots, newest first, as Bitnodes lists its own network, kept, count, next, previous, results | sat-cli dumpcrawlsnapshot (hourly) |
/network/snapshots/<timestamp> | One kept snapshot, in Bitnodes’ shape, gzip-encoded when the client takes it timestamp, total_nodes, latest_height, nodes, satd | sat-cli dumpcrawlsnapshot |
/network/nodes | One page of the newest snapshot’s nodes, by ID, filtered as the node list is network, kept, list | sat-cli dumpcrawlsnapshot |
/network/nodes/<id> | One node by its ID, or an onion by its address, and its history across the kept snapshots network, node | sat-cli dumpcrawlsnapshot (hourly) |
/status | The node’s tip, version, peers and uptime network, fetched_at, stale, node | sat-cli getblockchaininfosat-cli getnetworkinfosat-cli uptime |
/network:crawlis null until the node has answered once;crawl.stalesays the counts are fromcrawl.fetched_at.crawl.countriesis the per-country totals, null when the node has no country file./network/snapshots:nextandpreviousare always null: the list is one page. Each result’surlis a path on this site./network/snapshots/<timestamp>: Charged to the download allowance as well as the request allowance (see the limits below). A<timestamp>is one the list gives./network/nodes: Takes the node list’s filters as query parameters (network,ua,height,services,transport,implementation,asn,seen) andpage; a value it does not know is ignored. 100 nodes a page./network/nodes/<id>: A 404 for anything that is not an ID or onion a kept snapshot lists.
/api/v1/networks lists the networks this site serves. The archive links each kept snapshot.
Limits
A client is an IPv4 address or an IPv6 /64. Over a limit the answer is 429 with Retry-After.
| Charged to | Allowance | Counts |
|---|---|---|
| Requests | 60 a minute, 30 at once | Each page and each API request, per client |
| Downloads | 2 a minute, 6 at once | Each snapshot, per client, as well as the request |
| Downloads, everyone | 60 a minute, 60 at once | Each snapshot, for all clients together |
| Node checks | 1 a minute, 3 at once | Each check of the check form, per client, as well as the request |
From your own node
A satd node of 0.8.0 or later with its crawl on (-crawl=1) answers the same
questions. dumpcrawlsnapshot with no arguments gives the keyed form, IDs and no
addresses; a token with only the crawl:export permission can ask for it and nothing
else. How the counts are made: how it is counted.