Hacker News API
news.ycombinator.com
Top, new, and best stories, comments, user profiles, and job postings from Hacker News.
- Actions
- 4
- Category
- News Media
- Login
- Not required
- Output
- JSON
Hacker News has 4 actions. The live parameter list is temporarily unavailable — fetch it from GET https://api.anakin.io/v1/wire/catalog/hackernews.
Hacker News API questions
- Is there an API for Hacker News?
- Hacker News does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for news.ycombinator.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Hacker News data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when news.ycombinator.com changes its markup, Anakin updates the action.
- Do I need a Hacker News account?
- No. Every Hacker News action listed here runs anonymously — no account and no credentials required.
- What does the Hacker News API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More News Media APIs
7x7
Bay Area news site - local events, article listings, and city guides.
9to5Google
Google and Android news - article details, category archives, and reviews.
ABC News (Australia)
Australian ABC News - article details, topic listings, live blogs, and recommendations.
Afp.Com
AFP.com news-media catalog — browse news and fact-check feeds by language, region and topic, and open article pages with structured headline, body, byline, and image data.
AgWeb
AgWeb (Farm Journal) agricultural news and commodity markets
Al Jazeera
English-language news - latest articles, sections, keyword search, and journalists.