/lemmy/posts

POST /api/lemmy/posts

Price: 5 credits

Get one Lemmy post with its body, submitted link, link preview, vote tally, comment count, author, community and any cross-posts of the same link

How to use it

Pass the post URL whenever you have one: a numeric id means a different post on every instance, so `post=1424440` with one `instance` and another returns unrelated content, while a URL always lands on the record it names — if `instance` cannot resolve it, the URL's own host is read instead, and then the vote and comment counts are that host's. Removed and deleted posts answer 412 exactly like an id that never existed. Comments are not included — read them from lemmy/posts/comments.

Parameters

Request body

Response

Errors

Response headers