The site’s API
Every number on this site comes from JSON that anyone can ask for. For testnet5 it is under /api/v1/testnet5.
Each endpoint is GET unless marked, needs no key, and is answered from what the
site last heard from its node: no request of yours reaches the node. The one exception is the MCP endpoint, which passes your tool calls on, under your token’s
limits. /api/v1/networks lists the networks this site serves.
Endpoints
| Endpoint | Gives, and the same from your own node |
|---|---|
| The node the page | |
/status | The tip, version, peers and uptime sat-cli -testnet5 getblockchaininfosat-cli -testnet5 getnetworkinfosat-cli -testnet5 uptime |
| The network survey fields and notes | |
/network | The crawl’s counts now sat-cli -testnet5 getcrawlinfo |
/network/history | The counts of each kept hourly snapshot, oldest first sat-cli -testnet5 dumpcrawlsnapshot |
/network/breakdown | The newest snapshot’s breakdown sat-cli -testnet5 dumpcrawlsnapshot |
/network/snapshots | The kept snapshots, as Bitnodes lists its own sat-cli -testnet5 dumpcrawlsnapshot |
/network/snapshots/<timestamp> | One kept snapshot, in Bitnodes’ shape sat-cli -testnet5 dumpcrawlsnapshot |
/network/nodes | One page of the newest snapshot’s nodes, filtered sat-cli -testnet5 dumpcrawlsnapshot |
/network/nodes/<id> | One node and its history sat-cli -testnet5 dumpcrawlsnapshot |
| Attestations the page | |
/nap | The report as the attestations page draws it: the heaviest 100 keys with their heaviest 5 values, the counts of attestations, and the reachable nodes serving them sat-cli -testnet5 getnapreportsat-cli -testnet5 dumpcrawlsnapshot |
/nap/keys | Every key the report keeps, heaviest first, with its weights sat-cli -testnet5 getnapreport |
/nap/keys/<key> | One key, each value broken down by coin value, anchor age, coin age and script type; a 404 with the report’s state for a key it does not have sat-cli -testnet5 getnapreport |
| MCP tokens the page | |
/mcp/challenge | A proof-of-work challenge, bound to the chain’s latest block |
POST/mcp/token | A token, for a challenge and a counter that solves it |
/mcp/tools | Whether the endpoint is served, its path, and the tools the node offers it |
The MCP endpoint itself is at /testnet5/mcp/: Streamable HTTP, with a token as Authorization: Bearer. How to get a token, by hand or in the browser: the MCP page. Your own node’s MCP server needs no token: it takes
your own credentials.
Errors
An error is JSON with an error that says what went wrong: 404 for a
network or path this site does not serve, 503 while the node has not answered yet.
The token endpoints add a reason, one word a program can act on. The MCP endpoint
answers as MCP does, with a JSON-RPC error whose data.reason is that word.
Limits
A client is an IPv4 address or an IPv6 /64; an MCP token is counted on its own. Each allowance is so many at once, then a steady rate. Some requests are charged to more than one: a snapshot download to the requests and the downloads both.
| 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 |
| Downloads, everyone | 60 a minute, 60 at once | Each snapshot, for all clients together |
| Node checks | 1 a minute, 3 at once | Each use of the node check, per client |
| Challenges | 2 a minute, 10 at once | Each MCP challenge, per client |
| Challenges, everyone | 600 a minute, 600 at once | Each MCP challenge, for all clients together |
| Token requests | 1 a minute, 3 at once | Each solution sent for checking, per client |
| Token requests, everyone | 60 a minute, 60 at once | Each solution sent, for all clients together |
| Tokens | 1 an hour, 1 at once | Each token issued, per client; a refused solution costs none |
| Tool calls | 30 a minute, 30 at once | Each MCP tool call, per token |
| Other MCP requests | 120 a minute, 60 at once | A session’s start, the tool list, pings and the like, per token |
| The node, everyone | 600 a minute, 300 at once | Everything the MCP endpoint sends the node, for all tokens together |
Over a limit
The answer is 429 with Retry-After, in seconds, and the same wait in
the body:
{"error": "rate limited", "retry_after_secs": 12} Wait that long and ask again. A client that has had its token for the hour is told so, with "reason": "minted" and when it may mint again. Over a token’s limits, the MCP
endpoint’s error says which one (rate_limited, in_flight) and
when the token expires; a token that keeps going over them is dropped and has to be minted
again. When everyone together reaches a shared allowance, everyone waits a little, with "reason": "busy" from the MCP endpoint.
More than this
There is no way to buy a higher limit. For more, run your own satd node: it answers
every question above with no limit but yours. The survey needs its crawl on
(-crawl=1), the attestations its aggregator (-napaggregator=1), and
MCP its server (-mcp=1, see the manual). This site’s own code is satd-site, to run
beside your node.