← 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": "sbulaev",
      "comments": 136,
      "hn_url": "https://news.ycombinator.com/item?id=49948254",
      "id": 49948254,
      "score": 226,
      "time": 1791065233,
      "title": "Federal judge calls Flock 'indiscriminate mass surveillance'",
      "url": "https://techcrunch.com/2026/10/03/federal-judge-calls-flock-indiscriminate-mass-surveillance/"
    },
    {
      "by": "trwhite",
      "comments": 55,
      "hn_url": "https://news.ycombinator.com/item?id=49946393",
      "id": 49946393,
      "score": 212,
      "time": 1791050805,
      "title": "Hole Punch: Sling your spaceship around gravitational fields",
      "url": "https://notoriousbfg.com/hole-punch/"
    },
    {
      "by": "CosmoWenman",
      "comments": 27,
      "hn_url": "https://news.ycombinator.com/item?id=49946355",
      "id": 49946355,
      "score": 55,
      "time": 1791050487,
      "title": "Treachery in the Rodin Museum 3D scan verdict",
      "url": "https://cosmowenman.substack.com/p/rodin-museum-3d-scan-verdict"
    },
    {
      "by": "speckx",
      "comments": 10,
      "hn_url": "https://news.ycombinator.com/item?id=49946895",
      "id": 49946895,
      "score": 88,
      "time": 1791054888,
      "title": "The work by Valve's Timur Kristóf on improving old AMD GPUs on Linux",
      "url": "https://www.phoronix.com/news/XDC-2026-Valve-Timur-AMDGPU"
    },
    {
      "by": "citelao",
      "comments": 27,
      "hn_url": "https://news.ycombinator.com/item?id=49947631",
      "id": 49947631,
      "score": 62,
      "time": 1791060555,
      "title": "Reasons I didn't become an EMT, ranked",
      "url": "https://ben.stolovitz.com/posts/reasons-not-emt-ranked/"
    },
    {
      "by": "gscott",
      "comments": 40,
      "hn_url": "https://news.ycombinator.com/item?id=49923873",
      "id": 49923873,
      "score": 131,
      "time": 1790872360,
      "title": "Celebrating the 100th birthday of the kidney donated to him as a teenager",
      "url": "https://www.whec.com/top-news/webster-man-celebrating-the-100th-birthday-of-the-kidney-his-mom-donated-to-him-as-a-teenager/"
    },
    {
      "by": "bastitx",
      "comments": 296,
      "hn_url": "https://news.ycombinator.com/item?id=49942706",
      "id": 49942706,
      "score": 487,
      "time": 1791020164,
      "title": "Kolibri: A Sovereign Open-Weight Model",
      "url": "https://aleph-alpha.com/en/blog/kolibri-has-landed-a-sovereign-open-weight-model/"
    },
    {
      "by": "jethronethro",
      "comments": 24,
      "hn_url": "https://news.ycombinator.com/item?id=49948332",
      "id": 49948332,
      "score": 68,
      "time": 1791065893,
      "title": "OpenAI safety leader quits, warning AI company's culture is 'broken'",
      "url": "https://www.theguardian.com/technology/2026/oct/03/openai-safety-leader-quits-warning-ai-companys-culture-is-broken"
    },
    {
      "by": "willmeyers",
      "comments": 5,
      "hn_url": "https://news.ycombinator.com/item?id=49940877",
      "id": 49940877,
      "score": 34,
      "time": 1790994483,
      "title": "New York City should carefully measure a new tree",
      "url": "https://blog.willmeye.rs/new-york-city-should-carefully-measure-a-new-tree/"
    },
    {
      "by": "saikatsg",
      "comments": 108,
      "hn_url": "https://news.ycombinator.com/item?id=49946567",
      "id": 49946567,
      "score": 150,
      "time": 1791052170,
      "title": "Getting the most out of Opus 5.5 in Claude and Claude Code",
      "url": "https://claude.dev/blog/getting-the-most-out-of-opus-5-5/"
    },
    {
      "by": "kmeh",
      "comments": 21,
      "hn_url": "https://news.ycombinator.com/item?id=49945933",
      "id": 49945933,
      "score": 31,
      "time": 1791047017,
      "title": "Agents don't need memory, they need documentation",
      "url": "https://liao.gg/blog/agents-dont-need-memory"
    },
    {
      "by": "Gorsefound",
      "comments": 5,
      "hn_url": "https://news.ycombinator.com/item?id=49942103",
      "id": 49942103,
      "score": 20,
      "time": 1791012534,
      "title": "Show HN: Thoreau BASIC – What if BASIC hadn't gone out of fashion?",
      "url": "https://thoreaubasic.com/"
    },
    {
      "by": "romac",
      "comments": 58,
      "hn_url": "https://news.ycombinator.com/item?id=49944912",
      "id": 49944912,
      "score": 144,
      "time": 1791039756,
      "title": "FTL: A new operating system for clouds",
      "url": "https://ftl-os.org/"
    },
    {
      "by": "xnx",
      "comments": 3,
      "hn_url": "https://news.ycombinator.com/item?id=49927514",
      "id": 49927514,
      "score": 17,
      "time": 1790891666,
      "title": "Gboard Conveyor Belt Version",
      "url": "https://github.com/google/mozc-devices/tree/main/mozc-conveyorbelt"
    },
    {
      "by": "mooreds",
      "comments": 6,
      "hn_url": "https://news.ycombinator.com/item?id=49943685",
      "id": 49943685,
      "score": 14,
      "time": 1791030451,
      "title": "Watson Jr. memo about CDC 6600 (1963)",
      "url": "https://www.computerhistory.org/revolution/supercomputers/10/33/62"
    },
    {
      "by": "edverma2",
      "comments": 28,
      "hn_url": "https://news.ycombinator.com/item?id=49937304",
      "id": 49937304,
      "score": 71,
      "time": 1790968238,
      "title": "Show HN: Pi pod – Run your pi coding agent in sandboxes on your own server",
      "url": "https://pipod.dev/"
    },
    {
      "by": "simonjgreen",
      "comments": 11,
      "hn_url": "https://news.ycombinator.com/item?id=49947472",
      "id": 49947472,
      "score": 36,
      "time": 1791059264,
      "title": "Surely you have ultra-wideband radios on your bins too?",
      "url": "https://sjg.io/writing/binrange-have-you-actually-put-the-bins-out/"
    },
    {
      "by": "computerbuster",
      "comments": 8,
      "hn_url": "https://news.ycombinator.com/item?id=49941641",
      "id": 49941641,
      "score": 34,
      "time": 1791006330,
      "title": "Memory-Safe WebP Decoding",
      "url": "https://halide.cx/blog/wpd/"
    },
    {
      "by": "Retr0id",
      "comments": 2,
      "hn_url": "https://news.ycombinator.com/item?id=49946707",
      "id": 49946707,
      "score": 13,
      "time": 1791053526,
      "title": "How to hack time, with C2PA",
      "url": "https://www.da.vidbuchanan.co.uk/blog/hacking-time.html"
    },
    {
      "by": "KomoD",
      "comments": 7,
      "hn_url": "https://news.ycombinator.com/item?id=49946845",
      "id": 49946845,
      "score": 33,
      "time": 1791054565,
      "title": "RSS Feed Best Practices (2022)",
      "url": "https://kevincox.ca/2022/05/06/rss-feed-best-practices/"
    }
  ],
  "success": true
}