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.

EndpointGivesFrom your own node
/networkThe crawl’s counts now network, crawlsat-cli getcrawlinfo
/network/historyThe counts of each kept snapshot, oldest first network, kept, pointssat-cli dumpcrawlsnapshot (hourly)
/network/breakdownThe newest snapshot’s breakdown: implementations, claims, user agents, transport per network, autonomous systems network, kept, breakdownsat-cli dumpcrawlsnapshot
/network/snapshotsThe kept snapshots, newest first, as Bitnodes lists its own network, kept, count, next, previous, resultssat-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, satdsat-cli dumpcrawlsnapshot
/network/nodesOne page of the newest snapshot’s nodes, by ID, filtered as the node list is network, kept, listsat-cli dumpcrawlsnapshot
/network/nodes/<id>One node by its ID, or an onion by its address, and its history across the kept snapshots network, nodesat-cli dumpcrawlsnapshot (hourly)
/statusThe node’s tip, version, peers and uptime network, fetched_at, stale, nodesat-cli getblockchaininfosat-cli getnetworkinfosat-cli uptime
  1. /network: crawl is null until the node has answered once; crawl.stale says the counts are from crawl.fetched_at. crawl.countries is the per-country totals, null when the node has no country file.
  2. /network/snapshots: next and previous are always null: the list is one page. Each result’s url is a path on this site.
  3. /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.
  4. /network/nodes: Takes the node list’s filters as query parameters (network, ua, height, services, transport, implementation, asn, seen) and page; a value it does not know is ignored. 100 nodes a page.
  5. /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 toAllowanceCounts
Requests60 a minute, 30 at onceEach page and each API request, per client
Downloads2 a minute, 6 at onceEach snapshot, per client, as well as the request
Downloads, everyone60 a minute, 60 at onceEach snapshot, for all clients together
Node checks1 a minute, 3 at onceEach 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.