Search Hacker News
/v1/hackernews/searchBuild a technology research finder using Hacker News search results for a keyword or topic.
Read the ranked front page, search stories and comments by relevance or date, walk comment threads and retrieve author profiles. Keep the discussion close to the link that started it.
WHAT YOU CAN BUILD / 05 ENDPOINTS
Find your use case, then explore the request and response.
/v1/hackernews/searchBuild a technology research finder using Hacker News search results for a keyword or topic.
/v1/hackernews/storiesBuild a ranked reading queue from top, new, best, Ask HN, Show HN or jobs story IDs, then look up selected items with the story endpoint.
/v1/hackernews/storyBuild a story preview with its title, destination, author, score and discussion information.
/v1/hackernews/story/commentsBuild a discussion research tool from the comments beneath a Hacker News story.
/v1/hackernews/profileBuild contributor profile cards using a Hacker News account’s biography and public account information.
HOW IT WORKS
Run a sample below without a key.
Create a free account and copy your key. You start with 100 free credits; no card needed.
Pick one of the 5 Hacker News endpoints and add its input, such as a search query.
Call it with your key in the x-api-key header. ScrapeAtlas reads the public Hacker News data and retries when a read fails.
Get structured JSON with a coverage status. Only successful requests use a credit.
TRY IT HERE / LIVE SAMPLE
Try the Hacker News API right here. This sample uses the Search Hacker News endpoint and returns live JSON. No API key needed.
Start with rust, or change the query field to your own value.
Execute the sample code and see the response in the JSON response tab.
Open the full playground to try more parameters and copy code for your app.
// Run this sample here — no API key needed.
const value = "rust";
const url = new URL("/website/demo/hackernews",
"https://api.scrapeatlas.com");
url.searchParams.set("value", value);
const response = await fetch(url);
const data = await response.json();
console.log(data);
Run the sample to see the live JSON response here.
/v1/hackernews/searchA live example from our playground. Change the value above, then select Run sample.
CUSTOMER STORIES
Watch Nigel’s story
Watch Janu’s storyEmail Viktor with a testimonial & receive 10,000 free credits.
Pay as you go
One-time credit packs, priced in US dollars. Credits never expire, and there is no monthly commitment.
Try the API with your next idea.
$0No credit card needed
100 free credits
One starter grant per account
For a new idea or a one-off project.
$19USD / one-time
10,000 credits
$1.90 per 1,000 successful requests
For regular workflows and bigger builds.
$89USD / one-time
50,000 credits
$1.78 per 1,000 successful requests
Enterprise Plan
Let’s talk about a plan that fits your scale.
Hacker News API
Retrieve ranked story IDs, individual items, nested comment discussions, user profiles and search results. Use the endpoints together to build a reading queue, technology research tool or discussion browser.
Read a story by numeric ID to retrieve its title, destination, author and text. Use Story Comments for a nested discussion tree, selecting the depth and number of comments your application wants to retrieve.
Use User Profile with the case-sensitive username to retrieve karma, account creation time, about text and submitted-item count. Pair that profile with an author-filtered search to explore the user’s contributions.
Choose Ask HN or Show HN in Ranked Stories to retrieve the list’s item IDs in order. Use Story Details for the entries you want to read, or Search with content-type tags to research a topic within those submissions.
Use Ranked Stories and choose top, new, best, Ask HN, Show HN or jobs. The response returns item IDs in source order. Pass the IDs you want to Story Details to retrieve the corresponding content.
Yes. Search supports tags for authors and content types, numeric filters for timestamps and counts, relevance or date ordering, and result pages. You can also choose matching attributes and exact-match behavior.
Create a ScrapeAtlas account and generate an API key in the dashboard. Send the key in the x-api-key request header when calling https://api.scrapeatlas.com. The API playground lets you enter an endpoint’s parameters and inspect its JSON response.
Yes. Send authenticated HTTP requests from Python, JavaScript or another language that supports HTTP. The endpoint reference includes request examples and response fields. Use the ScrapeAtlas CLI for terminal workflows and pass the returned pagination values when requesting additional result pages.
Yes. Connect an MCP-compatible assistant to the ScrapeAtlas MCP server to discover and call the public platform tools with your ScrapeAtlas account. The agent reference also gives coding assistants a readable guide to the endpoints and their request schemas.
Make something with it
Bring social data into your next project.
Start with 100 free credits and see what you can build.
We use essential storage to keep the site working. With your permission, optional analytics cookies help us understand visits. You can change your choice anytime. Privacy policy
Google Analytics and PostHog measure visits, page engagement, signup-link clicks and website performance. Rejecting optional cookies does not affect access to the site.
Allow Affonso to record your referral visit and store a cookie for 30 days. If you sign up, we share your verified email with Affonso to attribute purchases. Privacy policy