# Lemmy

20 endpoints on Lemmy. Every one returns the same response shape and has a flat, published price in credits.

Category: [Messaging & communities](https://onekey.dev/docs/categories/community.md) · [Overview page](https://onekey.dev/platforms/lemmy)

## Endpoints

| Endpoint | What it does | Cost | Status |
| --- | --- | --- | --- |
| [`comments`](https://onekey.dev/docs/api/lemmy/comments.md) | Comments of a Lemmy post. | 5 credits | stable |
| [`communities`](https://onekey.dev/docs/api/lemmy/communities.md) | Popular Lemmy communities on an instance. | 5 credits | stable |
| [`communities_new`](https://onekey.dev/docs/api/lemmy/communities_new.md) | Newest Lemmy communities (all federated). | 5 credits | stable |
| [`community`](https://onekey.dev/docs/api/lemmy/community.md) | A Lemmy community. | 1 credit | stable |
| [`community_moderators`](https://onekey.dev/docs/api/lemmy/community_moderators.md) | Moderators of a Lemmy community. | 5 credits | stable |
| [`frontpage`](https://onekey.dev/docs/api/lemmy/frontpage.md) | Hot posts across all Lemmy communities on an instance. | 5 credits | stable |
| [`local_posts`](https://onekey.dev/docs/api/lemmy/local_posts.md) | Hot posts from local communities of a Lemmy instance. | 5 credits | stable |
| [`post`](https://onekey.dev/docs/api/lemmy/post.md) | A Lemmy post. | 1 credit | stable |
| [`posts_hot`](https://onekey.dev/docs/api/lemmy/posts_hot.md) | Hot posts of a Lemmy community. | 5 credits | stable |
| [`posts_new`](https://onekey.dev/docs/api/lemmy/posts_new.md) | Newest posts of a Lemmy community. | 5 credits | stable |
| [`posts_top`](https://onekey.dev/docs/api/lemmy/posts_top.md) | Top posts of a Lemmy community (past week). | 5 credits | stable |
| [`search_comments`](https://onekey.dev/docs/api/lemmy/search_comments.md) | Search Lemmy comments. | 5 credits | stable |
| [`search_communities`](https://onekey.dev/docs/api/lemmy/search_communities.md) | Search Lemmy communities. | 5 credits | stable |
| [`search_posts`](https://onekey.dev/docs/api/lemmy/search_posts.md) | Search Lemmy posts. | 5 credits | stable |
| [`search_users`](https://onekey.dev/docs/api/lemmy/search_users.md) | Search Lemmy users. | 5 credits | stable |
| [`site`](https://onekey.dev/docs/api/lemmy/site.md) | Lemmy instance information. | 1 credit | stable |
| [`site_admins`](https://onekey.dev/docs/api/lemmy/site_admins.md) | Administrators of a Lemmy instance. | 5 credits | stable |
| [`user`](https://onekey.dev/docs/api/lemmy/user.md) | A Lemmy user's profile. | 1 credit | stable |
| [`user_comments`](https://onekey.dev/docs/api/lemmy/user_comments.md) | Comments by a Lemmy user. | 5 credits | stable |
| [`user_posts`](https://onekey.dev/docs/api/lemmy/user_posts.md) | Posts by a Lemmy user. | 5 credits | stable |

Every endpoint page has a **Field mapping** section showing which source field becomes which [unified field](https://onekey.dev/docs/schema.md) (fixed schema) or platform-specific `ext.` field.
