← 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": "dcminter",
      "comments": 22,
      "hn_url": "https://news.ycombinator.com/item?id=49201953",
      "id": 49201953,
      "score": 156,
      "time": 1786047749,
      "title": "The hardest working font in Manhattan (2025)",
      "url": "https://aresluna.org/the-hardest-working-font-in-manhattan/"
    },
    {
      "by": "nikolay",
      "comments": 201,
      "hn_url": "https://news.ycombinator.com/item?id=49263497",
      "id": 49263497,
      "score": 471,
      "time": 1786477784,
      "title": "Compression is prediction",
      "url": "https://ngrok.com/blog/compression-is-prediction"
    },
    {
      "by": "kristianpaul",
      "comments": 64,
      "hn_url": "https://news.ycombinator.com/item?id=49267928",
      "id": 49267928,
      "score": 137,
      "time": 1786510319,
      "title": "llama.cpp",
      "url": "https://llama.app"
    },
    {
      "by": "EwanG",
      "comments": 58,
      "hn_url": "https://news.ycombinator.com/item?id=49265051",
      "id": 49265051,
      "score": 200,
      "time": 1786485378,
      "title": "WorldClaw Agentic 3D open-world generation at scale",
      "url": "https://tencent-hunyuan.github.io/Hunyuan3D-WorldClaw/"
    },
    {
      "by": "andsoitis",
      "comments": 19,
      "hn_url": "https://news.ycombinator.com/item?id=49266921",
      "id": 49266921,
      "score": 69,
      "time": 1786499151,
      "title": "The lifesaving secret hidden inside a horseshoe crab's blue blood",
      "url": "https://whdh.com/news/the-lifesaving-secret-hidden-inside-a-horseshoe-crabs-blue-blood-and-the-race-to-protect-the-species/"
    },
    {
      "by": "burnto",
      "comments": 28,
      "hn_url": "https://news.ycombinator.com/item?id=49267108",
      "id": 49267108,
      "score": 77,
      "time": 1786500901,
      "title": "The Human Is the Loop",
      "url": "https://brentfitzgerald.com/posts/the-human-is-the-loop/"
    },
    {
      "by": "refp",
      "comments": 5,
      "hn_url": "https://news.ycombinator.com/item?id=49197565",
      "id": 49197565,
      "score": 28,
      "time": 1786028020,
      "title": "A shell exclamation mark is not for yelling. Be lazy",
      "url": "https://refp.se/articles/your-shell-and-the-lazy-exclamation-mark"
    },
    {
      "by": "droidjj",
      "comments": 111,
      "hn_url": "https://news.ycombinator.com/item?id=49263340",
      "id": 49263340,
      "score": 217,
      "time": 1786476952,
      "title": "Nvidia Nemotron 3.5 Lightning and NeMo Switchyard",
      "url": "https://blogs.nvidia.com/blog/nemotron-lightning-switchyard-rtx-dgx/"
    },
    {
      "by": "quantumgarbage",
      "comments": 270,
      "hn_url": "https://news.ycombinator.com/item?id=49257876",
      "id": 49257876,
      "score": 597,
      "time": 1786454520,
      "title": "Stealing Reasoning Traces from Proprietary LLM APIs",
      "url": "https://stolen-thoughts.com/"
    },
    {
      "by": "dayanruben",
      "comments": 172,
      "hn_url": "https://news.ycombinator.com/item?id=49261128",
      "id": 49261128,
      "score": 369,
      "time": 1786467406,
      "title": "Mojo 1.0",
      "url": "https://www.modular.com/blog/modular-26-5-mojo-1-0-is-here"
    },
    {
      "by": "ilamont",
      "comments": 398,
      "hn_url": "https://news.ycombinator.com/item?id=49257160",
      "id": 49257160,
      "score": 394,
      "time": 1786450987,
      "title": "OpenAI’s head of ethics leaves less than a year after joining",
      "url": "https://www.ft.com/content/e49dfb75-f841-4466-a577-f7aaff8779a0"
    },
    {
      "by": "Taikhoom10",
      "comments": 54,
      "hn_url": "https://news.ycombinator.com/item?id=49267818",
      "id": 49267818,
      "score": 39,
      "time": 1786509034,
      "title": "Dropbox is an obvious PE Target?",
      "url": "https://s-1.vercel.app/posts/why-dropbox-is-a-obvious-pe-target/"
    },
    {
      "by": "rvz",
      "comments": 208,
      "hn_url": "https://news.ycombinator.com/item?id=49261514",
      "id": 49261514,
      "score": 258,
      "time": 1786468989,
      "title": "Grok Bot",
      "url": "https://x.ai/bot"
    },
    {
      "by": "DemiGuru",
      "comments": 15,
      "hn_url": "https://news.ycombinator.com/item?id=49262811",
      "id": 49262811,
      "score": 152,
      "time": 1786474295,
      "title": "Making holograms with a pen plotter",
      "url": "https://blog.jordan.matelsky.com/Penplotter-holography/"
    },
    {
      "by": "sajomes",
      "comments": 243,
      "hn_url": "https://news.ycombinator.com/item?id=49226623",
      "id": 49226623,
      "score": 263,
      "time": 1786229230,
      "title": "Show HN: iPhone app takes simultaneous images from 2 lenses, fuses into 1 photo",
      "url": "https://photosynthesis.camera"
    },
    {
      "by": "daau",
      "comments": 2,
      "hn_url": "https://news.ycombinator.com/item?id=49267527",
      "id": 49267527,
      "score": 19,
      "time": 1786505251,
      "title": "DARPA heavy lift challenge ends with winner at a 3.84:1 payload to weight ratio",
      "url": "https://dronexl.co/2026/08/10/darpa-lift-challenge-results-avidrone/"
    },
    {
      "by": "surprisetalk",
      "comments": 1,
      "hn_url": "https://news.ycombinator.com/item?id=49243270",
      "id": 49243270,
      "score": 25,
      "time": 1786368010,
      "title": "Flatworms, Ion Channels, and Burning Mouths",
      "url": "https://www.science.org/content/blog-post/flatworms-ion-channels-and-burning-mouths"
    },
    {
      "by": "ddxv",
      "comments": 3,
      "hn_url": "https://news.ycombinator.com/item?id=49191728",
      "id": 49191728,
      "score": 3,
      "time": 1785983471,
      "title": "How to Install Python3.14 from source on Ubuntu 26.04",
      "url": "https://jamesoclaire.com/2026/08/06/how-to-install-python3-14-from-source-on-ubuntu-26-04/"
    },
    {
      "by": "xiaoyu2006",
      "comments": 1,
      "hn_url": "https://news.ycombinator.com/item?id=49210199",
      "id": 49210199,
      "score": 59,
      "time": 1786109799,
      "title": "Show HN: Tamron Lens Utility Alternative on Linux",
      "url": "https://github.com/yikerman/tamron-lens-control"
    },
    {
      "by": "jumpalongjim",
      "comments": 14,
      "hn_url": "https://news.ycombinator.com/item?id=49196657",
      "id": 49196657,
      "score": 63,
      "time": 1786024074,
      "title": "Show HN: Line9 – A Mermaid rendering engine with its own layout",
      "url": "https://line9.ai/diagram"
    }
  ],
  "success": true
}