Naar de inhoud
GET /v1/communities

Communities

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/lemmy-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/lemmy-api/v1/communities" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lemmy-api/v1/communities", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lemmy-api/v1/communities");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/lemmy-api/v1/communities",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "communities": [
            {
                "counts": {
                    "posts": 19744,
                    "comments": 870288,
                    "published": "2023-06-11T02:16:17.173483Z",
                    "subscribers": 85067,
                    "community_id": 2478,
                    "users_active_day": 3373,
                    "subscribers_local": 40074,
                    "users_active_week": 8566,
                    "users_active_month": 16346,
                    "users_active_half_year": 31508
                },
                "blocked": false,
                "community": {
                    "id": 2478,
                    "icon": "https://lemmy.world/pictrs/image/2a85bf08-5c07-4326-8dad-f549bfb2189e.png",
                    "name": "technology",
                    "nsfw": false,
                    "local": true,
                    "title": "Technology",
                    "banner": "https://lemmy.world/pictrs/image/be818d42-f96f-4a33-b963-2a6e35938d54.png",
                    "hidden": false,
                    "deleted": false,
                    "removed": false,
                    "updated": "2025-12-29T20:50:24.593029Z",
                    "actor_id": "https://lemmy.world/c/technology",
                    "published": "2023-06-11T02:16:17.173483Z",
                    "visibility": "Public",
                    "description": "This is a [most excellent](https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExN3N0NmhuODNib3d3Nzg0OHU2bTFqMXAzNW42Y2JsOTVmenNsNG8ycSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/l46CDHTqbmnGZyxKo/giphy.gif) place for technology news and articles.\n \n---\n \n## Our Rules\n \n---\n \n1. Follow the [lemmy.world rules.](https://mastodon.world/about) \n2. Only tech related news or articles.\n3. Be [excellent to each other!](https://www.youtube.com/watch?v=rph_1DODXDU)\n4. Mod approved content bots can post up to 10 articles per day.\n5. Threads asking for personal tech support may be deleted.\n6. Politics threads may be removed.\n7. No memes allowed as posts, OK to post as comments.\n8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.\n9. Check for duplicates before posting, duplicates may be removed\n10. Accounts 7 days and younger will have their posts automatically removed. \n \n---\n \n## Approved Bots\n \n---\n \n- [@[email protected]](https://lemmy.world/u/L4s) \n- [@[email protected]](https://lemmings.world/u/autotldr) \n- [@[email protected]](https://feddit.rocks/u/PipedLinkBot) \n- [@[email protected]](https://lemmy.world/u/wikibot) ",
                    "instance_id": 1,
                    "posting_restricted_to_mods": false
                },
                "subscribed": "NotSubscribed",
                "banned_from_community": false
            },
            {
                "counts": {
                    "posts": 26264,
                    "c
…