Live
get_hackernews_top_posts_by_date
news.ycombinator.comFetch the top Hacker News front-page stories for any given date
Parameters1
Runs3
Updated3h ago
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_hackernews_top_posts_by_date?
Fetch the top Hacker News front-page stories for any given date It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass date and get the result back without maintaining a scraper.
Response
{
"date": "<string>",
"stories": [
{
"url": "<string>",
"rank": 0,
"title": "<string>",
"author": "<string>",
"points": 0,
"story_id": 0,
"number_of_comments": 0
}
]
}Call it
curl --location 'https://us-prod.notte.cc/functions/f8044e4c-1b69-490b-a4e8-6be7b6fc49ff/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "f8044e4c-1b69-490b-a4e8-6be7b6fc49ff",
"variables": {
"date": "2024-01-15"
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="f8044e4c-1b69-490b-a4e8-6be7b6fc49ff") — the "get_hackernews_top_posts_by_date" function, which fetch the top Hacker News front-page stories for any given date. It takes date (str). Return the result as structured JSON.