Skip to main content
GET
Search
This endpoint needs the restricted-endpoint terms, which you accept in your dashboard. Until then it returns 403 restricted_endpoint.
1 credit per successful call; failed calls are free. See the Hacker News API overview for every Hacker News endpoint.

Authorizations

X-API-Key
string
header
required

Query Parameters

query
string
required
Maximum string length: 100
type
enum<string>
Available options:
story,
comment
sort
enum<string>
Available options:
relevance,
date
page
integer
per_page
integer
date_from
integer
date_to
integer

Response

Success

The response is of type object.