Lemmy Communities API

The communities of a Lemmy server with their size and activity: subscribers, monthly active users, posts, comments, creation date and a short description. Find active Lemmy communities for a topic.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 11 fieldsv1.0

Data from lemmy.world/api/v3/community/list

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Instanceoptional
Lemmy server to ask, such as lemmy.world.
Example: lemmy.world
Sortoptional
TopMonth, Active or New.
Searchoptional
Words in the community name (optional).
Example: linux
Maximum resultsoptional
Most communities to return.
Example: 200

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/lemmy-communities/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/lemmy-communities/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"instance":"lemmy.world"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

instancetext
Lemmy server to ask, such as lemmy.world.
default: lemmy.worldexample: lemmy.world
sorttext
TopMonth, Active or New.
default: TopMonthexample: TopMonthone of: TopMonth, Active, New
searchtext
Words in the community name (optional).
example: linux
max_resultsnumber
Most communities to return.
default: 50example: 200

What's in each record

11 fields.

Basics

  • Name

    Community name as used in its address.

    Example technology

  • Display title

    Example Technology

  • Instance

    The server asked.

    Example lemmy.world

  • Subscribers

    Example 90,270

  • Monthly active users

    Users active in the last month.

    Example 15,135

  • Posts

    Example 23,106

  • Comments

    Example 1,007,015

  • NSFW

    Marked adult content.

    Example No

  • Description excerpt

    Start of the description in plain text.

    Example This is a most excellent place for technology news and articles. --- ## Our Rules --- 1. Follow the lemmy.world rules.…

Dates

  • Created

    When it was created (UTC).

    Example Jun 11, 2023

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
nametextName3 of 3
titletextDisplay title3 of 3
urllinkLink3 of 3
instancetextInstance3 of 3
subscribersnumberSubscribers3 of 3
monthly_active_usersnumberMonthly active users3 of 3
postsnumberPosts3 of 3
commentsnumberComments3 of 3
is_nsfwyes or noNSFW3 of 3
created_atdate and timeCreated3 of 3
description_excerpttextDescription excerpt3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordNameDisplay titleInstanceSubscribersMonthly active usersPostsCommentsNSFWDescription excerptCreatedLink
1technologyTechnologylemmy.world90,27015,13523,1061,007,015NoThis is a most excellent place for technology news and articles. --- ## Our Rules --- 1. Follow the lemmy.world rules. 2. Only tech related news or articles. 3. Be excellent to each other! 4. Mod approved content bots can post up to 10 articles per day. 5. Threads asking for…Jun 11, 2023lemmy.world/c/technology
2lemmyshitpostLemmy Shitpostlemmy.world43,24814,21132,351763,550NoWelcome to Lemmy Shitpost. Here you can shitpost to your hearts content. Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave! _________________________ # **Rules:** ::: spoiler 1. Be Respectful…Jun 10, 2023lemmy.world/c/lemmyshitpost
3comicstripsComic Stripslemmy.world26,57210,7698,724175,837No**Comic Strips** is a community for those who love comic stories. ##### Rules 1. **😇 Be Nice!** - Treat others with respect and dignity. Friendly banter is okay, as long as it is mutual; keyword: **friendly**. 1. **🏘️ Community Standards** - Comics should be a full story, from…Jun 23, 2023lemmy.world/c/comicstrips

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • One Lemmy server per run (lemmy.world by default); the list shows communities that server knows about, including remote ones it has federated, with that server's counts.
  • Sorted by TopMonth, Active or New. Servers cap how deep paging goes, and many servers set their own rate limits; requests go about one every 0.6 seconds.
  • description_excerpt is the first 300 characters of the community text with links reduced to their words. Removed or deleted communities are skipped.
  • Servers running a much newer or older Lemmy version may answer differently or not at all.
  • Public data of the chosen server; not made or endorsed by Lemmy.

Version history

A run uses the live version unless the request names another one with version.