Lemmy Scraper
Scrape Lemmy posts, comments, community stats and keyword search from lemmy.world, lemmy.ml and any other instance. No API key, no login, no proxy: official open Lemmy API, so it does not break. Only-new mode for keyword alerts. $0.25 per 1000 results.
Example request
curl -X POST https://radarbg.com/v1/lemmy-posts-comments-scraper \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"instances": ["lemmy.world"], "communities": ["technology"], "sort": "New", "includeComments": false}'
Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are not counted.
Inputs
| Field | Type | Description |
|---|---|---|
instances | array | Lemmy servers to read, as domains (lemmy.world, lemmy.ml, sh.itjust.works, feddit.org). Search and plain community names run on every instance listed. |
communities | array | Communities to scrape: a name (technology), name@instance (technology@lemmy.world) or a full community URL (https://lemmy.world/c/technology). |
searchQueries | array | Keywords to search in posts on every listed instance (brand names, products, topics). Combine with Only new results for a keyword monitor. |
postUrls | array | Single Lemmy post URLs (https://lemmy.world/post/12345). The post is saved, plus its comments when Include comments is on. |
sort | string | Order of posts for communities and searches. Use New with Only new results for monitoring. |
includeComments | boolean | Also save comments for every post. Each comment is one result row. |
maxCommentsPerPost | integer | Upper limit of comments saved for each post. |
listCommunities | boolean | Output community rows (name, title, subscribers, posts, comments, active users per month, NSFW, URL). Lists the most active communities of each instance, or the stats of the communities you entered. |
maxItems | integer | Hard limit on rows saved in total (posts + comments + communities), and the most you pay for. |
onlyNew | boolean | Monitoring mode: return only posts and comments not returned in earlier runs with the same Monitor ID. |
monitorId | string | Name of the memory used by monitoring mode. Use a different ID for each set of searches. |
Price
Included in every plan: 100 calls a month free, then from €9 a month for 3,000 calls across all APIs.