PeumeAPI

Developer & public data

Lemmy News Feed

Browse the post feed of a Lemmy instance, lemmy.world by default.

$0.0021 per result

Call it

curl https://api.peume.com/v1/call/lemmy-news-feed \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "limit": 20
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: lemmy-news-feed.

Parameters

instancestring

Selects the Lemmy instance domain, such as lemmy.world, which is also the default. A full instance URL is accepted but reduced to its hostname. This chooses the query entry point, not a community name.

limitinteger

Maximum number of results, 1 to 100 (default 20). For some actions it counts pages or items per parent rather than final rows.

Example: 20

sortstring

Sorts posts as hot, active, new, top, most_comments, or new_comments. Search and community default to hot, feed defaults to active, and comments defaults to most_comments. One of: active, hot, most_comments, new, new_comments, top.

active · hot · most_comments · new · new_comments · top

top_rangestring

Sets the score window only when sort is top: hour, sixhour, twelvehour, day, week (default), month, threemonths, sixmonths, ninemonths, year, or all. It is not a comment publication-date filter. One of: all, day, hour, month, ninemonths, sixhour, sixmonths, threemonths, twelvehour, week, year.

all · day · hour · month · ninemonths · sixhour · sixmonths · threemonths · twelvehour · week · year

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.