Lemmy Scraper - Posts and Comments from Any Lemmy Instance
Pricing
$3.00 / 1,000 post or comment delivereds
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
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 LRA[Search queries] --> C[Public Lemmy API]B[Communities] --> CC --> D[Posts or comments]D --> E[Filter: score, date]E --> F[Rows with author and community]
Quick start
- Click Try for free.
- Add Search queries, Communities, or both.
- Pick Posts or Comments and a Sort.
- Optional: change the Instance, or set Minimum score or Posted within (days).
- 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 ApifyClientclient = 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
| Field | Default | What it does |
|---|---|---|
searchQueries | – | Keywords |
communities | – | Names or URLs, like technology@lemmy.world |
contentType | posts | Posts or comments |
sort | New | Newest, top, hot, active or most comments |
instance | lemmy.world | Any Lemmy server |
minScore | 0 | Skip low-scoring items |
postedWithinDays | 0 (all) | Only recent items |
maxResultsPerQuery | 100 | Per query or community |
maxResults | 500 | Total cap per run |
Pricing
$0.003 per post or comment delivered. 1,000 items cost $3.
| Option | 1,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
@serverfor communities hosted elsewhere. - Dedupe on
idacross scheduled runs. - Lemmy search matches whole words, so try a few spellings.
Pairs well with
- Hacker News Scraper: developer discussion on HN
- Mastodon Scraper: fediverse posts by hashtag
- Bluesky Scraper: posts and profiles from Bluesky
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
- Docs and examples: https://github.com/andersonjames38phd-cpu/lemmy-posts-comments
- Community Discord: https://discord.gg/8SrXSCpvgj
Built and maintained by Turboextract on the Apify platform.