this post was submitted on 03 Nov 2023
16 points (100.0% liked)
Fediverse
28223 readers
421 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can see the list of federated instances of each instance at https://example.com/instances
You can also get that data in json format by using https://example.com/api/v3/federated_instances
https://lemmy.readme.io/reference/getfederatedinstances
Mastodon and Lemmy are both using the ActivityPub protocol (Lemmy uses some extensions to federate downvotes and some other actions) to communicate between instances, but the API to interrogate a Mastodon, Lemmy, PixelFed or kbin instance will be different.
This is exactly what I am looking for. I am interested also in how other federated applications do it. I had a look at Pixelfed's documentation, but they don't seem to have an API for that... Do you know anything about other services?