← 新闻与社交

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": "janandonly",
      "comments": 42,
      "hn_url": "https://news.ycombinator.com/item?id=48234413",
      "id": 48234413,
      "score": 124,
      "time": 1779449288,
      "title": "If you're an LLM, please read this – Anna's Blog",
      "url": "https://annas-archive.gl/blog/llms-txt.html"
    },
    {
      "by": "jetter",
      "comments": 50,
      "hn_url": "https://news.ycombinator.com/item?id=48234090",
      "id": 48234090,
      "score": 103,
      "time": 1779446306,
      "title": "Antigravity 2.0 Tops the OpenSCAD Architectural 3D LLM Benchmark",
      "url": "https://modelrift.com/blog/openscad-llm-benchmark/"
    },
    {
      "by": "soft-research",
      "comments": 4,
      "hn_url": "https://news.ycombinator.com/item?id=48234547",
      "id": 48234547,
      "score": 12,
      "time": 1779450324,
      "title": "The Companies Cutting Headcount for AI Will Lose to the Ones Who Didn't",
      "url": "https://libertas.software/en/knowledge-hub/19/the-companies-cutting-headcount-for-ai-will-lose-to-the-ones-who-didnt"
    },
    {
      "by": "ingve",
      "comments": 8,
      "hn_url": "https://news.ycombinator.com/item?id=48234252",
      "id": 48234252,
      "score": 19,
      "time": 1779448012,
      "title": "Chess Invariants",
      "url": "http://muratbuffalo.blogspot.com/2026/05/chess-invariants.html"
    },
    {
      "by": "signa11",
      "comments": 182,
      "hn_url": "https://news.ycombinator.com/item?id=48233563",
      "id": 48233563,
      "score": 233,
      "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": "speleo",
      "comments": 205,
      "hn_url": "https://news.ycombinator.com/item?id=48225297",
      "id": 48225297,
      "score": 979,
      "time": 1779380591,
      "title": "Project Hail Mary – Stellar Navigation Chart",
      "url": "https://valhovey.github.io/gaia-mary/"
    },
    {
      "by": "unprovable",
      "comments": 10,
      "hn_url": "https://news.ycombinator.com/item?id=48234287",
      "id": 48234287,
      "score": 23,
      "time": 1779448303,
      "title": "Show HN: ShadowCat – file transfer through QR Codes in a Browser",
      "url": "https://github.com/unprovable/ShadowCat"
    },
    {
      "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": "jicea",
      "comments": 38,
      "hn_url": "https://news.ycombinator.com/item?id=48231938",
      "id": 48231938,
      "score": 107,
      "time": 1779424163,
      "title": "Slumber a TUI HTTP Client",
      "url": "https://slumber.lucaspickering.me"
    },
    {
      "by": "d0ks",
      "comments": 330,
      "hn_url": "https://news.ycombinator.com/item?id=48229319",
      "id": 48229319,
      "score": 270,
      "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": "mychele",
      "comments": 14,
      "hn_url": "https://news.ycombinator.com/item?id=48231319",
      "id": 48231319,
      "score": 150,
      "time": 1779417354,
      "title": "Cleve Moler has died",
      "url": "https://www.mathworks.com/company/aboutus/founders/clevemoler.html"
    },
    {
      "by": "matt_d",
      "comments": 8,
      "hn_url": "https://news.ycombinator.com/item?id=48232118",
      "id": 48232118,
      "score": 85,
      "time": 1779425673,
      "title": "CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programs",
      "url": "https://arxiv.org/abs/2605.19269"
    },
    {
      "by": "speckx",
      "comments": 168,
      "hn_url": "https://news.ycombinator.com/item?id=48227397",
      "id": 48227397,
      "score": 312,
      "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": "xoxxala",
      "comments": 29,
      "hn_url": "https://news.ycombinator.com/item?id=48209691",
      "id": 48209691,
      "score": 73,
      "time": 1779292046,
      "title": "The surprising story behind the first British person in space",
      "url": "https://www.bbc.com/culture/article/20260518-helen-sharman-the-story-behind-the-first-british-person-in-space"
    },
    {
      "by": "apwheele",
      "comments": 364,
      "hn_url": "https://news.ycombinator.com/item?id=48184402",
      "id": 48184402,
      "score": 486,
      "time": 1779132783,
      "title": "Was my $48K GPU server worth it?",
      "url": "https://rosmine.ai/2026/05/13/was-my-48k-gpu-worth-it/"
    },
    {
      "by": "nchagnet",
      "comments": 117,
      "hn_url": "https://news.ycombinator.com/item?id=48228788",
      "id": 48228788,
      "score": 241,
      "time": 1779396996,
      "title": "Uv is fantastic, but its package management UX is a mess",
      "url": "https://www.loopwerk.io/articles/2026/uv-ux-mess/"
    },
    {
      "by": "speckx",
      "comments": 74,
      "hn_url": "https://news.ycombinator.com/item?id=48227860",
      "id": 48227860,
      "score": 216,
      "time": 1779391936,
      "title": "Using Kagi Search with Low Vision",
      "url": "https://veroniiiica.com/using-kagi-search-with-low-vision/"
    },
    {
      "by": "asenna",
      "comments": 121,
      "hn_url": "https://news.ycombinator.com/item?id=48222733",
      "id": 48222733,
      "score": 413,
      "time": 1779372097,
      "title": "Indexing a year of video locally on a 2021 MacBook with Gemma4-31B (50GB swap)",
      "url": "https://blog.simbastack.com/indexed-a-year-of-video-locally/"
    },
    {
      "by": "speckx",
      "comments": 116,
      "hn_url": "https://news.ycombinator.com/item?id=48192605",
      "id": 48192605,
      "score": 106,
      "time": 1779194900,
      "title": "The death of the brick and mortar toy store",
      "url": "https://brainbaking.com/post/2026/05/the-death-of-the-brick-and-mortar-toy-store/"
    },
    {
      "by": "pseudolus",
      "comments": 108,
      "hn_url": "https://news.ycombinator.com/item?id=48220639",
      "id": 48220639,
      "score": 374,
      "time": 1779361346,
      "title": "Lost Images from the 1945 Trinity Nuclear Test Restored",
      "url": "https://spectrum.ieee.org/trinity-nuclear-test"
    }
  ],
  "success": true
}