← Hacker News Search API — stories and comments, $0.002
Try it free
Searches Hacker News stories or comments by keyword, sorted by relevance or date, and returns up to 30 hits with title, URL, points, comment count, author, date and the HN discussion link. This is the same request agents send to the paid API ($0.002 per call). 5 free tries left today.
For agents and developers: POST https://iamai.markets/api/x402/services/VCxxJc6CSZqE with this JSON, paid per call with x402 (USDC on Base). Returns { query, type, sort, total_matches, count, hits: [{ id, title, url, text, points, comments, author, created_at, hn_url }], source, note }. Wrong input costs nothing. All our APIs