← 新闻与社交

HN 热门故事

GET /news/hackernews/top

获取 Hacker News 当前热门故事,按 HN 排名算法排序(投票和新近度的组合)。返回故事标题、URL、分数、评论数和作者。可配置限制(默认 20)。对开发者新闻推送、技术仪表板和创业社区工具至关重要。数据从官方 Hacker News Firebase API 实时获取。

参数

limit 可选 默认: 20

Limit

请求示例

基本用法
curl https://nordapi.ee/api/v1/news/hackernews/top
Top 20 HN stories (default)
curl https://nordapi.ee/api/v1/news/hackernews/top
Top 5 HN stories
curl "https://nordapi.ee/api/v1/news/hackernews/top?limit=5"
Top 50 HN stories
curl "https://nordapi.ee/api/v1/news/hackernews/top?limit=50"

实时响应

{
  "count": 20,
  "data": [
    {
      "by": "d0ks",
      "comments": 55,
      "hn_url": "https://news.ycombinator.com/item?id=48237163",
      "id": 48237163,
      "score": 134,
      "time": 1779463324,
      "title": "Why Japanese companies do so many different things",
      "url": "https://davidoks.blog/p/why-japanese-companies-do-so-many"
    },
    {
      "by": "speckx",
      "comments": 5,
      "hn_url": "https://news.ycombinator.com/item?id=48236887",
      "id": 48236887,
      "score": 39,
      "time": 1779462050,
      "title": "A Forth-inspired language for writing websites",
      "url": "https://robida.net/entries/2026/05/21/a-forth-inspired-language-for-writing-websites"
    },
    {
      "by": "jetter",
      "comments": 99,
      "hn_url": "https://news.ycombinator.com/item?id=48234090",
      "id": 48234090,
      "score": 230,
      "time": 1779446306,
      "title": "Antigravity 2.0 Tops the OpenSCAD Architectural 3D LLM Benchmark",
      "url": "https://modelrift.com/blog/openscad-llm-benchmark/"
    },
    {
      "by": "janandonly",
      "comments": 307,
      "hn_url": "https://news.ycombinator.com/item?id=48234413",
      "id": 48234413,
      "score": 504,
      "time": 1779449288,
      "title": "If you’re an LLM, please read this",
      "url": "https://annas-archive.gl/blog/llms-txt.html"
    },
    {
      "by": "roflcopter69",
      "comments": 49,
      "hn_url": "https://news.ycombinator.com/item?id=48234380",
      "id": 48234380,
      "score": 101,
      "time": 1779449010,
      "title": "Deno 2.8",
      "url": "https://deno.com/blog/v2.8"
    },
    {
      "by": "leopoldj",
      "comments": 38,
      "hn_url": "https://news.ycombinator.com/item?id=48235733",
      "id": 48235733,
      "score": 68,
      "time": 1779457255,
      "title": "The Spread of Christianity Animated",
      "url": "https://www.openculture.com/2026/05/the-spread-of-christianity-animated-from-antiquity-until-today.html"
    },
    {
      "by": "avipeltz",
      "comments": 44,
      "hn_url": "https://news.ycombinator.com/item?id=48236770",
      "id": 48236770,
      "score": 25,
      "time": 1779461635,
      "title": "Launch HN: Superset (YC P26) – IDE for the agents era",
      "url": "https://github.com/superset-sh/superset"
    },
    {
      "by": "unprovable",
      "comments": 36,
      "hn_url": "https://news.ycombinator.com/item?id=48234287",
      "id": 48234287,
      "score": 78,
      "time": 1779448303,
      "title": "Show HN: ShadowCat – file transfer through QR Codes in a Browser",
      "url": "https://github.com/unprovable/ShadowCat"
    },
    {
      "by": "signa11",
      "comments": 382,
      "hn_url": "https://news.ycombinator.com/item?id=48233563",
      "id": 48233563,
      "score": 436,
      "time": 1779440694,
      "title": "Steve Wozniak cheered after telling students they have AI – actual intelligence",
      "url": "https://www.businessinsider.com/steve-wozniak-apple-ai-graduation-speech-2026-5"
    },
    {
      "by": "ingve",
      "comments": 37,
      "hn_url": "https://news.ycombinator.com/item?id=48234252",
      "id": 48234252,
      "score": 59,
      "time": 1779448012,
      "title": "Chess invariants",
      "url": "http://muratbuffalo.blogspot.com/2026/05/chess-invariants.html"
    },
    {
      "by": "speleo",
      "comments": 217,
      "hn_url": "https://news.ycombinator.com/item?id=48225297",
      "id": 48225297,
      "score": 1056,
      "time": 1779380591,
      "title": "Project Hail Mary – Stellar Navigation Chart",
      "url": "https://valhovey.github.io/gaia-mary/"
    },
    {
      "by": "rippeltippel",
      "comments": 3,
      "hn_url": "https://news.ycombinator.com/item?id=48237684",
      "id": 48237684,
      "score": 28,
      "time": 1779465635,
      "title": "Trump Mobile exposed customers' personal data",
      "url": "https://techcrunch.com/2026/05/22/trump-mobile-confirms-it-exposed-customers-personal-data-including-phone-numbers-and-home-addresses/"
    },
    {
      "by": "moebrowne",
      "comments": 147,
      "hn_url": "https://news.ycombinator.com/item?id=48235526",
      "id": 48235526,
      "score": 127,
      "time": 1779456162,
      "title": "AI has a multiplying effect on existing technical skills",
      "url": "https://www.joshwcomeau.com/email/wham-launch-005-elephant-2-p/"
    },
    {
      "by": "jboula",
      "comments": null,
      "hn_url": "https://news.ycombinator.com/item?id=48234688",
      "id": 48234688,
      "score": 1,
      "time": 1779451267,
      "title": "Circle Medical (YC S15) Is Hiring a Mobile Engineer",
      "url": "https://www.ycombinator.com/companies/circle-medical/jobs/onMKAG9-mobile-engineer-android"
    },
    {
      "by": "d0ks",
      "comments": 428,
      "hn_url": "https://news.ycombinator.com/item?id=48229319",
      "id": 48229319,
      "score": 368,
      "time": 1779400556,
      "title": "The memory shortage is causing a repricing of consumer electronics",
      "url": "https://davidoks.blog/p/ai-is-killing-the-cheap-smartphone"
    },
    {
      "by": "JumpCrisscross",
      "comments": 152,
      "hn_url": "https://news.ycombinator.com/item?id=48235489",
      "id": 48235489,
      "score": 68,
      "time": 1779455931,
      "title": "Alberta to hold referendum on whether to remain in Canada",
      "url": "https://www.bbc.com/news/articles/cvgze8n5dxko"
    },
    {
      "by": "jicea",
      "comments": 52,
      "hn_url": "https://news.ycombinator.com/item?id=48231938",
      "id": 48231938,
      "score": 141,
      "time": 1779424163,
      "title": "Slumber a TUI HTTP Client",
      "url": "https://slumber.lucaspickering.me"
    },
    {
      "by": "mychele",
      "comments": 24,
      "hn_url": "https://news.ycombinator.com/item?id=48231319",
      "id": 48231319,
      "score": 221,
      "time": 1779417354,
      "title": "Cleve Moler has died",
      "url": "https://www.mathworks.com/company/aboutus/founders/clevemoler.html"
    },
    {
      "by": "speckx",
      "comments": 201,
      "hn_url": "https://news.ycombinator.com/item?id=48227397",
      "id": 48227397,
      "score": 339,
      "time": 1779389695,
      "title": "Blog ran on Ubuntu 16.04 for 10 years. I migrated it to FreeBSD",
      "url": "https://crocidb.com/post/this-blog-ran-on-ubuntu-16-04-for-10-years-i-migrated-it-to-freebsd/"
    },
    {
      "by": "boris_m",
      "comments": 70,
      "hn_url": "https://news.ycombinator.com/item?id=48234128",
      "id": 48234128,
      "score": 53,
      "time": 1779446716,
      "title": "A case against Boolean logic",
      "url": "https://abuseofnotation.github.io/boolean-thinking/"
    }
  ],
  "success": true
}