Archivarix

social-mastodon

Mastodon per-instance API

Every Mastodon server exposes a built-in REST API, and public reads such as account lookups and public timelines generally work without a token. There is no global search: each query targets one specific instance, federation gives only partial cross-instance reach, and full-text search requires a token on most servers. Reach for it to check a particular Mastodon account or browse an instance's public posts.

API

Why it’s useful & how it works

Each Mastodon server runs its own independent API, and Echo queries individual instances on your behalf. Public timelines and account lookups on most instances work without any login, so you can browse recent posts or look up a profile immediately. Full-text search across posts, however, requires a user token on most servers, and there is no global search spanning all of Mastodon at once: each query reaches only the instance it is sent to, plus whatever cross-instance content that server has received through federation. Echo lets you target specific instances rather than managing API connections yourself.

What’s inside

Each instance holds only its own posts and the federated content it has received from connected servers. Coverage varies widely by instance size, from a few hundred users to hundreds of thousands.

API access

https://<instance>/api/v1/accounts/lookup?acct=<user> ; public timeline /api/v1/timelines/public ; v2 search needs token

What we measured

Our own probes, not the archive’s own claims. Re-run periodically; every reading below is dated.

Reachability

Direct request
Responded HTTP 200 531 ms
Through a datacenter proxy
Responded HTTP 200 879 ms
API, direct
Responded HTTP 200 172 ms
API, through a proxy
Responded HTTP 200 243 ms

Did a real search return anything?

Returned results · 10 results for the sample query · median 1.5 s · stable across runs

Public reads (trends/timeline/lookup) work via proxy; v2 full-text search needs a token. No global search (federation).

Sample query: jk

Reachability measured 2026-08-22. Search checked 2026-08-22.

Access

Programmatic API access (a key may be required, see the API tag).

Homepage

https://docs.joinmastodon.org/methods/search/

Related archives