Indie Hackers posts

GET https://api.api.sh/indiehackers/v1/posts
1 credit / call jobs & b2b try it in the playground →

Indie Hackers forum posts: the newest, or the top posts of a week or a month. Each post has its title, link, author, upvotes, comment count and posting time. Ten pages of 20 per feed; pass next_page back as page; null on the last page.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
feed newest | top-week | top-month Feed (default newest). Example: newest
week string With feed=top-week: any day of the week (YYYY-MM-DD; default this week).
month string With feed=top-month: the month (YYYY-MM; default this month).
page integer Page (1-10, default 1). Example: 1

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/indiehackers/v1/posts?feed=newest" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.