ActivityPub
ActivityPub is a W3C Recommendation that defines a decentralized social networking protocol and REST API standard for federated social interactions. It provides both a client-to-server API for creating and managing social content and a server-to-server federation protocol for distributing activities across instances. Built on ActivityStreams 2.0 and JSON-LD, it powers the Fediverse — including Mastodon, Pixelfed, PeerTube, and hundreds of other platforms — enabling interoperable social networking across independently operated servers.
APIs
ActivityPub Actors API
Actors are the primary objects in ActivityPub that represent entities capable of performing activities. Each actor has a unique IRI and exposes properties such as inbox, outbox,...
ActivityPub Inbox API
The inbox is an OrderedCollection endpoint on each actor that receives activities delivered by remote servers. Servers POST activities to an actor's inbox to federate content. T...
ActivityPub Outbox API
The outbox is an OrderedCollection endpoint that stores activities published by an actor. Clients POST activities to an actor's outbox to create, update, delete, follow, like, a...
ActivityPub Followers and Following API
Actors expose followers and following as OrderedCollection or Collection endpoints. These endpoints enumerate the social graph connections for an actor. The Follow activity post...
ActivityPub Liked Collection API
The liked collection is an optional OrderedCollection endpoint on an actor listing all objects the actor has liked. Posting a Like activity to the actor's outbox adds the refere...
ActivityPub Object and Activity Delivery API
ActivityPub defines a server-to-server federation protocol for delivering activities between instances. Servers dereference actor inboxes from WebFinger or direct URLs, then HTT...
ActivityPub WebFinger Discovery API
ActivityPub implementations commonly use WebFinger (RFC 7033) for actor discovery. A GET request to /.well-known/webfinger?resource=acct:[email protected] returns a JSON Resource...
ActivityPub NodeInfo API
NodeInfo is a complementary protocol used by ActivityPub servers to expose server capability metadata at /.well-known/nodeinfo. It describes the software name, version, supporte...