Hacker News

Get Hacker News updates

Get recently changed Hacker News item ids and usernames.

GET/v1/hackernews/updates
1credit
x-api-key*stringheader

API key (`sfk_...`)

Response fields
11

Endpoint-specific response payload.

Recently changed item ids.

datachangedItemIds[]
integeroptional

≥ 0

Recently changed profile usernames.

datachangedUsernames[]
stringoptional

min 1 chars

datafetchedAt
string

ISO-8601 timestamp when this snapshot was fetched.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metacached
booleanoptional

True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.

Code example

curl "https://api.socialfetch.dev/v1/hackernews/updates" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Changed item ids and usernames.