Whalebird is a desktop client for reading and interacting with the Fediverse in a single column.
go-mastodon
Go projects can interact with the Mastodon API using go-mastodon, a client library for the programming language.

About go-mastodon
go-mastodon is an open source client library for the Go programming language that lets Go projects interact with the Mastodon API. The GitHub repository's README describes three ways to authenticate users: user credentials, public applications, and applications using OAuth client credentials. Working examples for each method are in the repository's examples directory.
The README includes a status list of Mastodon API endpoints covering accounts, statuses, lists, filters, notifications, and search. The excerpt available for this entry is cut off partway through that list, so it does not confirm which endpoints are fully implemented. Public applications have access only to public data.
Key features
- Go client library for calling the Mastodon API
- Three authentication methods: user credentials, public application, and OAuth client credentials
- Working code examples for each authentication method in the examples directory
- Listed endpoint support for accounts, statuses, lists, filters, and notifications
- Listed endpoint support for search, instance information, and push subscriptions
- Open source, with the source code available in a public GitHub repository
- Includes working examples for each supported authentication method
- Public applications have limited access and can only reach public data
- The endpoint status list in the available excerpt is incomplete, so full API coverage cannot be confirmed from it
go-mastodon at a glance
- Website
- github.com/mattn/go-mastodon
- Category
- Social & Communities › Fediverse
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
go-mastodon alternatives
Tools and sites you could use instead, ranked by how closely they match.
Interact with Mastodon instances from the command line using tootstream.
toot provides command-line and text-interface tools for interacting with Mastodon instances.
Build JavaScript integrations with the Mastodon API using masto.js, a universal client library.
Elk Native is a native version of Elk, described as a Mastodon web client.
FediverseRedirect deep-links Mastodon and Lemmy addresses into Android apps, including browsers and mobile clients.
Popular in Fediverse
Well-known listings from the same topic.
go-mastodon FAQ
How do applications authenticate with the Mastodon API using this library?
What data can a public application access?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












