Platform · Developer

Hacker News

Users, their submissions, single items and comment threads.

Exploring what to build? See the Hacker News API overview with endpoint pages and working examples.

Endpoints
5
Base price
1 cr
Source
Official API

Core

Profile

1 credit

Get a public profile by handle.

GET/v1/hackernews/profile→Profile
handlerequiredHacker News username.
enrichoptionalarabic: add dialect, sentiment, entities and topics (+3 credits).
curl -G https://api.crawlfeed.dev/v1/hackernews/profile \
  -H "Authorization: Bearer $CRAWLFEED_KEY" \
  --data-urlencode "handle=charlidamelio"
Profile API overview →

Posts

1 credit

List a profile's recent posts.

GET/v1/hackernews/posts→Post[]
handlerequiredHacker News username.
cursoroptionalFrom meta.next_cursor, to get the next page.
enrichoptionalarabic: add dialect, sentiment, entities and topics (+3 credits).
curl -G https://api.crawlfeed.dev/v1/hackernews/posts \
  -H "Authorization: Bearer $CRAWLFEED_KEY" \
  --data-urlencode "handle=charlidamelio"
Posts API overview →

Post

1 credit

Get a single post by id.

GET/v1/hackernews/post→Post
idrequiredNumeric Hacker News item ID.
enrichoptionalarabic: add dialect, sentiment, entities and topics (+3 credits).
curl -G https://api.crawlfeed.dev/v1/hackernews/post \
  -H "Authorization: Bearer $CRAWLFEED_KEY" \
  --data-urlencode "id=<id>"
Post API overview →

Comments

1 credit

List comments on a post.

GET/v1/hackernews/comments→Comment[]
post_idrequiredThe post to read comments from.
cursoroptionalFrom meta.next_cursor, to get the next page.
enrichoptionalarabic: add dialect, sentiment, entities and topics (+3 credits).
curl -G https://api.crawlfeed.dev/v1/hackernews/comments \
  -H "Authorization: Bearer $CRAWLFEED_KEY" \
  --data-urlencode "post_id=<post_id>"
Comments API overview →

Search

Search posts

1 credit

Posts matching a keyword.

GET/v1/hackernews/search/posts→Post[]
qrequiredWhat to search for.
cursoroptionalFrom meta.next_cursor, to get the next page.
enrichoptionalarabic: add dialect, sentiment, entities and topics (+3 credits).
curl -G https://api.crawlfeed.dev/v1/hackernews/search/posts \
  -H "Authorization: Bearer $CRAWLFEED_KEY" \
  --data-urlencode "q=coffee"
Search posts API overview →

Every endpoint also takes fresh=true (skip the cache, 2× price) and include_raw=true (add the platform’s own payload). See Response shape and Credits.