Lemmy API
by join-lemmy.org
Social media
Added on November 1st, 2026
Checked and working on November 1st, 2026
Visit join-lemmy.org →
What it does
Lemmy is a federated link aggregator and forum, similar to Reddit, and every Lemmy server offers the same API. Read communities, posts and comments, for example /api/v3/post/list on lemmy.world, or vote, comment and post with a login token. Requests and answers are JSON, and RSS feeds exist for communities and users. Each server sets its own rate limits per IP address. Free, no key needed for reading.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free, no key needed for reading.
- From the browser
- Yes (CORS)
- Formats
- JSON, RSS
- Interface
- REST, HTTP-GET
- Provider
- join-lemmy.org
- Last checked
- Working on November 1st, 2026
More information: https://join-lemmy.org/docs/contributors/04-api.html
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://lemmy.ml/api/v3/post/list?limit=1&sort=Hot'
JavaScript
const response = await fetch("https://lemmy.ml/api/v3/post/list?limit=1&sort=Hot");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://lemmy.ml/api/v3/post/list?limit=1&sort=Hot",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.