← Nyheter og sosialt

HN topphistorier

GET /news/hackernews/top

Hent de nåværende topphistoriene fra Hacker News, rangert av HN-rangeringsalgoritmen (en kombinasjon av stemmer og aktualitet). Returnerer historietitler, URL-er, poengsummer, kommentartall og forfattere. Konfigurerbar grense (standard 20). Essensielt for utviklernyheetsstrømmer, teknologidashbord og oppstartssamfunnsverktøy. Data hentet i sanntid fra den offisielle Hacker News Firebase API.

Parametere

limit valgfri standard: 20

Limit

Eksempelforespørsler

Grunnleggende bruk
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": "d0ks",
      "comments": 232,
      "hn_url": "https://news.ycombinator.com/item?id=48237163",
      "id": 48237163,
      "score": 380,
      "time": 1779463324,
      "title": "Why Japanese companies do so many different things",
      "url": "https://davidoks.blog/p/why-japanese-companies-do-so-many"
    },
    {
      "by": "maxloh",
      "comments": 9,
      "hn_url": "https://news.ycombinator.com/item?id=48241172",
      "id": 48241172,
      "score": 47,
      "time": 1779481567,
      "title": "Models.dev: open-source database of AI model specs, pricing, and capabilities",
      "url": "https://github.com/anomalyco/models.dev"
    },
    {
      "by": "louiereederson",
      "comments": 96,
      "hn_url": "https://news.ycombinator.com/item?id=48240419",
      "id": 48240419,
      "score": 155,
      "time": 1779478305,
      "title": "Project Glasswing: An Initial Update",
      "url": "https://www.anthropic.com/research/glasswing-initial-update"
    },
    {
      "by": "ceejayoz",
      "comments": 155,
      "hn_url": "https://news.ycombinator.com/item?id=48238025",
      "id": 48238025,
      "score": 256,
      "time": 1779466988,
      "title": "U.S. researchers face new restrictions on publishing with foreign collaborators",
      "url": "https://www.science.org/content/article/u-s-researchers-face-new-restrictions-publishing-foreign-collaborators"
    },
    {
      "by": "vitriapp",
      "comments": 57,
      "hn_url": "https://news.ycombinator.com/item?id=48239413",
      "id": 48239413,
      "score": 101,
      "time": 1779473877,
      "title": "Open source Kanban desktop app that runs parallel agents on every card",
      "url": "https://www.kanbots.dev/"
    },
    {
      "by": "weaponeer",
      "comments": 12,
      "hn_url": "https://news.ycombinator.com/item?id=48238568",
      "id": 48238568,
      "score": 54,
      "time": 1779469532,
      "title": "1940 Air Terminal Museum Begins Liquidation",
      "url": "https://www.1940airterminal.org/news/liquidation-of-simulators"
    },
    {
      "by": "roflcopter69",
      "comments": 115,
      "hn_url": "https://news.ycombinator.com/item?id=48234380",
      "id": 48234380,
      "score": 252,
      "time": 1779449010,
      "title": "Deno 2.8",
      "url": "https://deno.com/blog/v2.8"
    },
    {
      "by": "jetter",
      "comments": 126,
      "hn_url": "https://news.ycombinator.com/item?id=48234090",
      "id": 48234090,
      "score": 317,
      "time": 1779446306,
      "title": "Antigravity 2.0 Tops the OpenSCAD Architectural 3D LLM Benchmark",
      "url": "https://modelrift.com/blog/openscad-llm-benchmark/"
    },
    {
      "by": "tamnd",
      "comments": 247,
      "hn_url": "https://news.ycombinator.com/item?id=48238789",
      "id": 48238789,
      "score": 262,
      "time": 1779470652,
      "title": "Bun support is now limited and deprecated",
      "url": "https://github.com/yt-dlp/yt-dlp/issues/16766"
    },
    {
      "by": "speckx",
      "comments": 10,
      "hn_url": "https://news.ycombinator.com/item?id=48238429",
      "id": 48238429,
      "score": 58,
      "time": 1779468871,
      "title": "Lawmakers Demand Answers as CISA Tries to Contain Data Leak",
      "url": "https://krebsonsecurity.com/2026/05/lawmakers-demand-answers-as-cisa-tries-to-contain-data-leak/"
    },
    {
      "by": "tosh",
      "comments": 2,
      "hn_url": "https://news.ycombinator.com/item?id=48239023",
      "id": 48239023,
      "score": 29,
      "time": 1779471773,
      "title": "Thinking in an array language (2022)",
      "url": "https://github.com/razetime/ngn-k-tutorial/blob/main/12-thinking-in-k.md"
    },
    {
      "by": "dan_hawkins",
      "comments": 15,
      "hn_url": "https://news.ycombinator.com/item?id=48236501",
      "id": 48236501,
      "score": 47,
      "time": 1779460587,
      "title": "Robert X Cringely is back to blogging",
      "url": "https://www.cringely.com/"
    },
    {
      "by": "sbulaev",
      "comments": 0,
      "hn_url": "https://news.ycombinator.com/item?id=48239786",
      "id": 48239786,
      "score": 17,
      "time": 1779475567,
      "title": "Domain-Camouflaged Injection Attacks Evade Detection in Multi-Agent LLM Systems",
      "url": "https://arxiv.org/abs/2605.22001"
    },
    {
      "by": "speckx",
      "comments": 12,
      "hn_url": "https://news.ycombinator.com/item?id=48236887",
      "id": 48236887,
      "score": 85,
      "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": "avipeltz",
      "comments": 72,
      "hn_url": "https://news.ycombinator.com/item?id=48236770",
      "id": 48236770,
      "score": 62,
      "time": 1779461635,
      "title": "Launch HN: Superset (YC P26) – IDE for the agents era",
      "url": "https://github.com/superset-sh/superset"
    },
    {
      "by": "Brajeshwar",
      "comments": 2,
      "hn_url": "https://news.ycombinator.com/item?id=48209055",
      "id": 48209055,
      "score": 32,
      "time": 1779289591,
      "title": "Wi-Wi Is Wireless Time Sync at 1 Nanosecond",
      "url": "https://www.jeffgeerling.com/blog/2026/wi-wi-is-wireless-time-sync-less-than-5ns/"
    },
    {
      "by": "janandonly",
      "comments": 382,
      "hn_url": "https://news.ycombinator.com/item?id=48234413",
      "id": 48234413,
      "score": 667,
      "time": 1779449288,
      "title": "If you’re an LLM, please read this",
      "url": "https://annas-archive.gl/blog/llms-txt.html"
    },
    {
      "by": "tosh",
      "comments": 3,
      "hn_url": "https://news.ycombinator.com/item?id=48238887",
      "id": 48238887,
      "score": 19,
      "time": 1779471077,
      "title": "TorQ: Kdb+ Production Framework",
      "url": "https://github.com/DataIntellectTech/TorQ"
    },
    {
      "by": "Tiberium",
      "comments": 122,
      "hn_url": "https://news.ycombinator.com/item?id=48237663",
      "id": 48237663,
      "score": 221,
      "time": 1779465566,
      "title": "DeepSeek makes the V4 Pro price discount permanent",
      "url": "https://api-docs.deepseek.com/quick_start/pricing"
    },
    {
      "by": "speleo",
      "comments": 227,
      "hn_url": "https://news.ycombinator.com/item?id=48225297",
      "id": 48225297,
      "score": 1111,
      "time": 1779380591,
      "title": "Project Hail Mary – Stellar Navigation Chart",
      "url": "https://valhovey.github.io/gaia-mary/"
    }
  ],
  "success": true
}