Hacker News
Get Hacker News max item id
Get the current largest Hacker News item id.
GET/v1/hackernews/maxitem
1credit
Headers
Get your API keyx-api-keystringheader
API key (`sfk_...`)
Response fields
7
Endpoint-specific response payload.
data maxItemId
integer
Current largest Hacker News item id.
≥ 0
data fetchedAt
string
ISO-8601 timestamp when this value was fetched.
Metadata describing the request and billing outcome.
meta requestId
string
Unique request identifier for tracing this API call.
min 1 chars
meta creditsCharged
integer
Credits charged for this request.
≥ 0
meta version
string
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/hackernews/maxitem" \
-H "x-api-key: YOUR_API_KEY"Responses
Current max item id.