{"agent":{"expose":"search","prompt":"Use Crawl4AI to get search Hacker News."},"also":["hn posts about a topic","hn discussions","search hn"],"beta":false,"call":{"aliases":["POST /recipes/hackernews-search"],"method":"POST","path":"/tools/hackernews-search"},"categories":["news","social"],"cost":{"cases":[{"price":"1 credit","when":"A run"},{"price":"free","when":"A run with no row"}],"rule":"1 credit a run · a run with no row is free","text":"1 cr"},"description":"Stories or comments on Hacker News that match a query, from the public Algolia API: title, link, points, author, comment count, time, and the Hacker News page. `tags` picks story, comment, ask_hn, show_hn or poll; `sort` is relevance or date; `limit` up to 100 in one call.","docs":"/tools/hackernews-search","essential":false,"essential_order":null,"examples":[{"answer":{"body":{"request_id":"req_…","rows":[{"author":"tazjin","comments":482,"created":"2021-03-10T02:16:55Z","hn_url":"https://news.ycombinator.com/item?id=26406989","id":"26406989","points":603,"text":null,"title":"Why asynchronous Rust doesn't work","url":"https://theta.eu.org/2021/03/08/async-rust-2.html"},{"author":"bcantrill","comments":245,"created":"2025-10-31T16:49:26Z","hn_url":"https://news.ycombinator.com/item?id=45774086","id":"45774086","points":449,"text":null,"title":"Futurelock: A subtle risk in async Rust","url":"https://rfd.shared.oxide.computer/rfd/0609"}],"took_ms":898,"tool":"hackernews-search","usage":{"credits":0.5}},"credits":0.5,"more":3,"rows":5,"took_ms":898},"input":{"query":"rust async"},"label":"rust async"},{"input":{"limit":5,"query":"rust async"},"label":"rust async, 5"}],"id":"hackernews-search","input_schema":{"additionalProperties":true,"properties":{"limit":{"default":20,"description":"`limit` up to 100 in one call.","type":"integer"},"query":{"description":"Words to find stories or comments by.","type":"string"},"sort":{"default":"relevance","description":"`sort` is relevance or date","type":"string"},"tags":{"default":"story","description":"`tags` picks story, comment, ask_hn, show_hn or poll","type":"string"}},"required":["query"],"type":"object"},"inputs":[{"example":"rust async","help":"Words to find stories or comments by.","name":"query","required":true,"type":"string"},{"advanced":true,"default":"story","help":"`tags` picks story, comment, ask_hn, show_hn or poll","name":"tags","type":"string"},{"advanced":true,"default":"relevance","help":"`sort` is relevance or date","name":"sort","type":"string"},{"advanced":true,"default":20,"help":"`limit` up to 100 in one call.","name":"limit","type":"integer"}],"kind":"sites","name":{"lead":"Hacker News","rest":"search"},"output":{"fields":[{"meaning":"The story's title","name":"title","type":"string"},{"meaning":"The link the story points to","name":"url","type":"string"},{"meaning":"The discussion page on Hacker News","name":"hn_url","type":"string"},{"meaning":"The story's points","name":"points","type":"integer"},{"meaning":"The user who posted it","name":"author","type":"string"},{"meaning":"How many comments it has","name":"comments","type":"integer"},{"meaning":"When it was posted, ISO 8601 UTC","name":"created","type":"string"},{"meaning":"Hacker News's id of the item","name":"id","type":"string"},{"meaning":"The text of a text post or a comment; null for a link story","name":"text","type":"string"}],"row_is":"","view":"rows"},"related":[{"id":"hackernews-front","why":"Title, site, score, author, age, comments"},{"id":"hn-hiring","why":"Company, author, role, location, salary, text, posted"},{"id":"google-news","why":"Title, source, published, summary"}],"run":"sync","source":"hacker-news","status":"verified","summary":"Title, points, author, comments, created, text","synonyms":["hacker","hackernews","news","search","search hacker news","hn posts about a topic","hn discussions","search hn"],"typical":"0.8 s","version":1,"visibility":"public"}