# Lemmy API

Category: [Social media](https://free-web-services.com/web-services/communication/social-media/)  
Page: https://free-web-services.com/web-services/communication/social-media/lemmy-api.html  
Documentation: https://join-lemmy.org/docs/contributors/04-api.html

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.

- API key: Not needed
- 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

Example request:

```sh
curl 'https://lemmy.ml/api/v3/post/list?limit=1&sort=Hot'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

