LiveUnverified
search_hackernews_posts
news.ycombinator.comSearch Hacker News posts by keyword using the Algolia HN Search API. Supports sorting by relevance or date.
Parameters3
Runs6
Updated15d ago
Operational6 runs · 100% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_hackernews_posts?
Search Hacker News posts by keyword using the Algolia HN Search API. Supports sorting by relevance or date. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, limit, search_by_date and get the result back without maintaining a scraper.
Response
{
"hits": [
{
"url": "<string>",
"title": "<string>",
"author": "<string>",
"points": 0,
"object_id": "<string>",
"created_at": "<string>",
"num_comments": 0
}
],
"query": "<string>",
"total_hits": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/5a34cd0d-486b-4844-a9e9-6b04c542a4c7/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "5a34cd0d-486b-4844-a9e9-6b04c542a4c7",
"variables": {
"query": "your-query",
"limit": 20,
"search_by_date": false
}
}'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="5a34cd0d-486b-4844-a9e9-6b04c542a4c7") — the "search_hackernews_posts" function, which search Hacker News posts by keyword using the Algolia HN Search API. Supports sorting by relevance or date.. It takes query (str), limit (int), search_by_date (bool). Return the result as structured JSON.