← Nyheder og socialt

HN tophistorier

GET /news/hackernews/top

Hent de aktuelle tophistorier fra Hacker News, rangeret efter HN-rangeringsalgoritmen (en kombination af stemmer og aktualitet). Returnerer historietitler, URL'er, scores, kommentarantal og forfattere. Konfigurerbar grænse (standard 20). Essentielt til udviklernyhedsfeeds, tech-dashboards og startup-community-værktøjer. Data hentet i realtid fra den officielle Hacker News Firebase API.

Parametre

limit valgfri standard: 20

Limit

Eksempelforespørgsler

Grundlæggende brug
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"

Livesvar

{
  "count": 20,
  "data": [
    {
      "by": "matt_d",
      "comments": 4,
      "hn_url": "https://news.ycombinator.com/item?id=48232118",
      "id": 48232118,
      "score": 53,
      "time": 1779425673,
      "title": "CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programs",
      "url": "https://arxiv.org/abs/2605.19269"
    },
    {
      "by": "speleo",
      "comments": 188,
      "hn_url": "https://news.ycombinator.com/item?id=48225297",
      "id": 48225297,
      "score": 860,
      "time": 1779380591,
      "title": "Project Hail Mary – Stellar Navigation Chart",
      "url": "https://valhovey.github.io/gaia-mary/"
    },
    {
      "by": "xoxxala",
      "comments": 9,
      "hn_url": "https://news.ycombinator.com/item?id=48209691",
      "id": 48209691,
      "score": 47,
      "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": "jicea",
      "comments": 24,
      "hn_url": "https://news.ycombinator.com/item?id=48231938",
      "id": 48231938,
      "score": 54,
      "time": 1779424163,
      "title": "Slumber a TUI HTTP Client",
      "url": "https://slumber.lucaspickering.me"
    },
    {
      "by": "speckx",
      "comments": 148,
      "hn_url": "https://news.ycombinator.com/item?id=48227397",
      "id": 48227397,
      "score": 271,
      "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": "mychele",
      "comments": 6,
      "hn_url": "https://news.ycombinator.com/item?id=48231319",
      "id": 48231319,
      "score": 84,
      "time": 1779417354,
      "title": "Cleve Moler has died",
      "url": "https://www.mathworks.com/company/aboutus/founders/clevemoler.html"
    },
    {
      "by": "d0ks",
      "comments": 191,
      "hn_url": "https://news.ycombinator.com/item?id=48229319",
      "id": 48229319,
      "score": 176,
      "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": "Brajeshwar",
      "comments": 7,
      "hn_url": "https://news.ycombinator.com/item?id=48233177",
      "id": 48233177,
      "score": 21,
      "time": 1779436335,
      "title": "Deepfakes Tore a High School Apart",
      "url": "https://www.404media.co/radnor-high-school-pennsylvania-ai-deepfakes-child-sexual-abuse-material/"
    },
    {
      "by": "apwheele",
      "comments": 316,
      "hn_url": "https://news.ycombinator.com/item?id=48184402",
      "id": 48184402,
      "score": 433,
      "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": 99,
      "hn_url": "https://news.ycombinator.com/item?id=48228788",
      "id": 48228788,
      "score": 191,
      "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": 61,
      "hn_url": "https://news.ycombinator.com/item?id=48227860",
      "id": 48227860,
      "score": 190,
      "time": 1779391936,
      "title": "Using Kagi Search with Low Vision",
      "url": "https://veroniiiica.com/using-kagi-search-with-low-vision/"
    },
    {
      "by": "speckx",
      "comments": 71,
      "hn_url": "https://news.ycombinator.com/item?id=48192605",
      "id": 48192605,
      "score": 78,
      "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": "asenna",
      "comments": 111,
      "hn_url": "https://news.ycombinator.com/item?id=48222733",
      "id": 48222733,
      "score": 371,
      "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": "mooreds",
      "comments": 12,
      "hn_url": "https://news.ycombinator.com/item?id=48209905",
      "id": 48209905,
      "score": 89,
      "time": 1779292886,
      "title": "Mycorrhizal Fungi, Nature's Key to Plant Survival and Success",
      "url": "https://pacifichorticulture.org/articles/mycorrhizal-fungi-natures-key-to-plant-survival-and-success/"
    },
    {
      "by": "sanity",
      "comments": 173,
      "hn_url": "https://news.ycombinator.com/item?id=48223362",
      "id": 48223362,
      "score": 276,
      "time": 1779374097,
      "title": "Show HN: Freenet, a peer-to-peer platform for decentralized apps",
      "url": "https://freenet.org/"
    },
    {
      "by": "rbanffy",
      "comments": 183,
      "hn_url": "https://news.ycombinator.com/item?id=48220696",
      "id": 48220696,
      "score": 372,
      "time": 1779361811,
      "title": "Python 3.15: features that didn't make the headlines",
      "url": "https://blog.changs.co.uk/python-315-features-that-didnt-make-the-headlines.html"
    },
    {
      "by": "pseudolus",
      "comments": 104,
      "hn_url": "https://news.ycombinator.com/item?id=48220639",
      "id": 48220639,
      "score": 343,
      "time": 1779361346,
      "title": "Lost Images from the 1945 Trinity Nuclear Test Restored",
      "url": "https://spectrum.ieee.org/trinity-nuclear-test"
    },
    {
      "by": "sandebert",
      "comments": 442,
      "hn_url": "https://news.ycombinator.com/item?id=48220647",
      "id": 48220647,
      "score": 1142,
      "time": 1779361418,
      "title": "Flipper One – we need your help",
      "url": "https://blog.flipper.net/flipper-one-we-need-your-help/"
    },
    {
      "by": "ohjeez",
      "comments": 5,
      "hn_url": "https://news.ycombinator.com/item?id=48193932",
      "id": 48193932,
      "score": 27,
      "time": 1779201596,
      "title": "Tristan Davey's Punch Card Archive",
      "url": "https://punchcards.tristandavey.com/"
    },
    {
      "by": "1970-01-01",
      "comments": 0,
      "hn_url": "https://news.ycombinator.com/item?id=48196897",
      "id": 48196897,
      "score": 45,
      "time": 1779213898,
      "title": "Deciphering the Hashihara Castle Town Map",
      "url": "https://www.obayashi.co.jp/en/kikan_obayashi/detail/kikan_64_project.html"
    }
  ],
  "success": true
}