/lemmy/posts/search

POST /api/lemmy/posts/search

Price: 20 credits

Search or list Lemmy posts across the network or inside one community, each with its title, body, submitted link, vote tally, comment count, author and community

How to use it

With `query` this is full-text matching over post titles and bodies; without it you get the community or network listing in `sort` order, which is the way to read a feed. NSFW communities return an empty list unless `show_nsfw` is true, with no error to tell you why. Vote and comment counts are the reading `instance`'s copy and lag the community's home instance, so pass the home instance in `community` when the numbers matter.

Parameters

Request body

Response

Errors

Response headers