Build JavaScript integrations with the Mastodon API using masto.js, a universal client library.
TootSDK
Build cross-platform Mastodon and Fediverse integrations with TootSDK, a Swift library.

About TootSDK
TootSDK is an open-source Swift library for building cross-platform Mastodon and Fediverse client applications. It supports iOS, macOS, and Linux (via the Vapor framework), and is designed to work with major Fediverse servers including Mastodon, Pleroma, and PixelFed. The library provides tools for user authorization, post interactions, and access to user timelines.
It automatically detects server type and version on connection to adapt its behavior for compatibility, uses async/await for asynchronous operations, and standardizes model property names and API handling across supported Fediverse platforms. Full Swift concurrency support is planned for the Swift 6.2 release.
Key features
- Async/await based asynchronous function support
- Automatic Fediverse server type and version detection
- Cross-platform support for iOS, macOS, and Linux
- Standardized Fediverse API and model property handling
- User authorization and access token management tools
- Access to home, local, and federated timelines
- Open-source community-developed toolkit reduces duplicated work for Fediverse app developers
- Automatic server flavour and version detection simplifies compatibility across major Fediverse platforms
- Async/await based design aligns with modern Swift concurrency patterns
- Full Swift concurrency support is not yet implemented, planned for Swift 6.2
- macOS apps using the library require the com.apple.security.network.client entitlement for network access
- No stated support for non-Swift development platforms
TootSDK at a glance
- Website
- github.com/TootSDK/TootSDK
- 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
TootSDK alternatives
Tools and sites you could use instead, ranked by how closely they match.
Use Ebou as a cross-platform client for Mastodon; the project is written in Rust.
Fetch missing replies and posts from other Fediverse instances and add them to your Mastodon instance with FediFetcher.
Use Megalodon, a Fediverse API client library for Node.js and browser environments.
Nextcloud Social connects users with the Fediverse for work or social interaction.
Use Fedistar, a desktop client for viewing the Fediverse in multiple columns.
Popular in Fediverse
Well-known listings from the same topic.
TootSDK FAQ
How do I add TootSDK to my Swift project?
How does TootSDK handle different Fediverse server types?
What platforms can I build TootSDK-powered apps for?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












