Skip to main content
GET
Posts
This endpoint needs the restricted-endpoint terms, which you accept in your dashboard. Until then it returns 403 restricted_endpoint.
1 credit per successful call; failed calls are free. See the Lemmy API overview for every Lemmy endpoint.

Authorizations

X-API-Key
string
header
required

Query Parameters

community
string
required
Maximum string length: 200
sort
enum<string>
Available options:
Hot,
Active,
New,
TopDay,
TopWeek,
TopMonth,
TopYear,
TopAll,
MostComments,
NewComments
type_
enum<string>
Available options:
All,
Local,
Subscribed
limit
integer
page_cursor
string
Maximum string length: 200
instance
string
Maximum string length: 253

Response

Success

The response is of type object.