Mastodon

Badges for Mastodon profiles — followers, following, posts.

Display live stats for any Mastodon profile on any instance.

Available badges

BadgeEndpointDescription
Followers/mastodon/followers/{instance}/{acct}Follower count
Following/mastodon/following/{instance}/{acct}Following count
Posts/mastodon/posts/{instance}/{acct}Post count

Quick examples

![followers](https://shieldcn.dev/mastodon/followers/mastodon.social/Gargron.svg)
![posts](https://shieldcn.dev/mastodon/posts/mastodon.social/Gargron.svg)
GET/mastodon/followers/:instance/:acct.svg

Path Parameters

required
required
![badge](https://shieldcn.dev/mastodon/followers/mastodon.social/Gargron.svg)
badge preview

Data source

Uses the Mastodon API (/api/v1/accounts/lookup). Works with any Mastodon-compatible instance. No API key required. Cached 1 hour.