Lemmy Scraper - Posts and Comments from Any Lemmy Instance avatar

Lemmy Scraper - Posts and Comments from Any Lemmy Instance

Pricing

$3.00 / 1,000 post or comment delivereds

Go to Apify Store
Lemmy Scraper - Posts and Comments from Any Lemmy Instance

Lemmy Scraper - Posts and Comments from Any Lemmy Instance

Posts and comments from Lemmy, the open Reddit alternative: by keyword, community or instance, with title, link, text, score, upvotes, comment count, author, community and date. Uses the public Lemmy API, works on lemmy.world and any other instance. No login.

Pricing

$3.00 / 1,000 post or comment delivereds

Rating

0.0

(0)

Developer

Moses Ndambuki

Moses Ndambuki

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Lemmy Scraper: Posts and Comments from Any Lemmy Instance

Export posts and comments from Lemmy, the open Reddit alternative, by keyword, community or instance. Each row has the title, link, text, score, upvotes, comment count, author, community and date. Uses the public Lemmy API, so it works on lemmy.world, programming.dev and any other instance with no login.

In one test, a search for "linux" on lemmy.world returned 60 posts from communities across the fediverse in a few seconds.


Who this is for

  • Brands and founders tracking mentions in open-source and privacy communities
  • Developer relations teams finding discussions about their tools
  • Researchers studying communities that moved from Reddit
  • Marketers finding questions to answer and topics people care about
  • AI and data teams collecting public discussion text

What you get

{
"type": "post",
"id": 54646626,
"title": "what good development IDE for making websites??",
"postUrl": "https://lemmy.world/post/54646626",
"text": "it needs to meet those criteria: ...",
"publishedAt": "2026-11-20T17:34:42.528647Z",
"author": "username",
"community": "programming",
"communityUrl": "https://programming.dev/c/programming",
"score": 7,
"upvotes": 8,
"downvotes": 1,
"comments": 7
}

Comment rows have text, replies, postId, postTitle and postUrl.


How it works

flowchart LR
A[Search queries] --> C[Public Lemmy API]
B[Communities] --> C
C --> D[Posts or comments]
D --> E[Filter: score, date]
E --> F[Rows with author and community]

Quick start

  1. Click Try for free.
  2. Add Search queries, Communities, or both.
  3. Pick Posts or Comments and a Sort.
  4. Optional: change the Instance, or set Minimum score or Posted within (days).
  5. Click Start, then export to CSV, JSON or Google Sheets.

API

curl -X POST "https://api.apify.com/v2/acts/Turboextract~lemmy-posts-comments/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"searchQueries": ["your product"], "contentType": "comments", "postedWithinDays": 7}'

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("Turboextract/lemmy-posts-comments").call(run_input={
"communities": ["technology", "selfhosted"],
"sort": "Top",
"maxResultsPerQuery": 50,
})
for p in client.dataset(run["defaultDatasetId"]).iterate_items():
print(p["score"], p["community"], p["title"])

Input

FieldDefaultWhat it does
searchQueries–Keywords
communities–Names or URLs, like technology@lemmy.world
contentTypepostsPosts or comments
sortNewNewest, top, hot, active or most comments
instancelemmy.worldAny Lemmy server
minScore0Skip low-scoring items
postedWithinDays0 (all)Only recent items
maxResultsPerQuery100Per query or community
maxResults500Total cap per run

Pricing

$0.003 per post or comment delivered. 1,000 items cost $3.

Option1,000 items
Lemmy Scraper$3, posts and comments, any instance
Other Lemmy actors on Apify$0.30 to $10
Social listening tools$50+ a month

Use cases

  • Mention alerts: your product name in comments, every day
  • Community research: top posts in technology, privacy or self-hosting
  • Content ideas: questions people ask in your niche
  • Sentiment tracking: scores and comment counts for a topic over time
  • Reddit alternative data: the same kind of discussion, from an open API

Tips

  • lemmy.world sees posts from most other instances, so it is a good default.
  • Use a community name with @server for communities hosted elsewhere.
  • Dedupe on id across scheduled runs.
  • Lemmy search matches whole words, so try a few spellings.

Pairs well with


FAQ

Do I need a Lemmy account? No. The actor uses the public API.

Which instances work? Any Lemmy server. Set it in Instance.

Does it get NSFW posts? Only if the instance shows them publicly. Each row has an nsfw flag.

How fast is it? About 50 items a second, with polite pauses between pages.

Is it legal? It reads public posts through Lemmy's open API.


Support

Built and maintained by Turboextract on the Apify platform.