mastodon-api/profile
Public Mastodon profile: followers, following, posts, bio, verified link. Official protocol API, no key and no account.
| Name | What it is |
|---|---|
handle | user@instance. Without the instance the call is refused with 400, because @name alone identifies nobody on a federated network. |
user@instance — always, on the way in and on the way outActivityPub uri{
"success": true,
"platform": "mastodon",
"endpoint": "mastodon/profile",
"data": {
"author": {
"id": "https://mastodon.social/users/Gargron",
"handle": "Gargron@mastodon.social",
"name": "Eugen Rochko",
"followers": 382854,
"following": 743,
"posts_count": 82332,
"verified": null,
"is_private": false
}
},
"error": null,
"cached": false
}Recorded response, captured 27 Sep 2026. A live call returns the value at the moment you ask.
verified — Null. Mastodon verifies a LINK, not an identity. Filling this field would publish a badge the platform never granted.A field we cannot read comes back null, never 0. A zero would be a claim about the account; null is a fact about our collection.
The envelope id is the ActivityPub uri, not the numeric id. The numeric id is local to each instance — the same account has a different one on every server. The lookup goes to the account's ORIGIN instance, which is the authoritative one.
932 bytes on the wire.
1 credit per call. A call that finds nothing costs nothing.
Mastodon is federated. A name without an instance identifies nobody, so the call is refused instead of guessing an instance.
Mastodon verifies that you control a link. It does not verify who you are. Those are not the same claim.
The account's origin instance, which is the authoritative one for its counters.
Call mastodon-api/profile from your own code with one key.