Lumeo APIs
News, Media

Hacker News & Dev News API

Hacker News top/new/best/Ask/Show/jobs, full comment trees, search & users — plus DEV.to articles, Lobsters and a combined tech-news digest.

Get a free API key on RapidAPI Try it in the playground

Hacker News & Dev News API

What developers are reading and discussing right now, in one consistent JSON schema.

🟧 Hacker News

👩‍💻 More communities

📰 Tech digest

One call that merges today's top items from all three sources — ideal for newsletters and dashboards.

Use cases: tech newsletters · Slack / Discord / Telegram bots · trend and brand monitoring · research · personal dashboards · AI summarizers

Keywords: hacker news api, hn api, ycombinator, tech news api, developer news, dev.to api, lobsters, show hn, ask hn, startup news, programming news

Endpoints (7)

EndpointWhat it returns
GET/storiesStories
Ranked Hacker News stories: top (front page), new, best, ask, show or jobs. Each with title, URL, domain, author, points, comment count and time.
GET/itemStory with comments
A story (or comment) with its nested comment tree. Control the size with `depth` (reply levels) and `max_comments`.
GET/searchSearch Hacker News
Full-text search across stories or comments with filters for author, minimum points, minimum comments and age. Sort by relevance or date.
GET/userUser profile
Hacker News user: karma, account creation date, about text, number of submissions and the 10 most recent stories.
GET/devtoDEV.to articles
Articles from DEV Community: hot, latest or top of the last N days, optionally by tag or author.
GET/lobstersLobsters stories
Stories from Lobsters: hottest, newest, active, or by tag.
GET/digestTech news digest
Today's top items from Hacker News, DEV.to and Lobsters merged into one list with a unified schema.

Quick start

Subscribe on RapidAPI (free plan available), copy your key, and call GET /stories:

curl --request GET \
  --url 'https://hacker-news-dev-news-api.p.rapidapi.com/stories?type=top&limit=5&page=1' \
  --header 'x-rapidapi-host: hacker-news-dev-news-api.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'

Example response

{
  "type": "top",
  "page": 1,
  "count": 5,
  "total": 500,
  "stories": [
    {
      "rank": 1,
      "id": 50579568,
      "title": "Hurried Announcement: Alessandro Masullo GRH",
      "url": "https://math216.wordpress.com/2026/11/20/hurried-announcement-alessandro-masullo-grh/",
      "domain": "math216.wordpress.com",
      "text": null,
      "author": "jasondavies",
      "points": 826,
      "comments": 386,
      "time": "2026-11-20T18:33:14.000Z",
      "type": "story",
      "hn_url": "https://news.ycombinator.com/item?id=50579568"
    },
    {
      "rank": 2,
      "id": 50581260,
      "title": "Inkling 2 Mini",
      "url": "https://thinkingmachines.ai/news/inkling-2-mini/",
      "domain": "thinkingmachines.ai",
      "text": null,
      "author": "jasondavies",
      "points": 141,
      "comments": 13,
      "time": "2026-11-20T20:12:19.000Z",
      "type": "story",
      "hn_url": "https://news.ycombinator.com/item?id=50581260"
    }
  ]
}

Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.

Subscribe on RapidAPI

Related APIs

News, Media

Crypto News API - 18 Sources, Sentiment & Trends

Real-time crypto news from 18 top publishers in one feed: coin tagging, bullish/bearish sentiment, search, per-coin news and trending coins.

News, Media

News Search API

Real-time news search from thousands of publishers in 20 markets: keyword search, freshness & date sort, 11 categories, publisher feeds, images.