← Fréttir og samfélagsmiðlar

HN efstu sögur

GET /news/hackernews/top

Sæktu núverandi efstu fréttir frá Hacker News, raðað eftir HN-röðunaralgóritmanum (samsetningu atkvæða og nýleika). Skilar fréttatitlum, URL-slóðum, einkunnum, athugasemdafjölda og höfundum. Stillanleg takmörk (sjálfgefið 20). Nauðsynlegt fyrir fréttastrauma hugbúnaðargerðarmanna, tæknimælaborð og verkfæri fyrir sprotasamfélög. Gögn sótt í rauntíma frá opinberu Hacker News Firebase API.

Breytur

limit valfrjálst sjálfgefið: 20

Limit

Dæmi um fyrirspurnir

Grunnnotkun
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"

Lifandi svar

{
  "count": 20,
  "data": [
    {
      "by": "d0ks",
      "comments": 143,
      "hn_url": "https://news.ycombinator.com/item?id=48237163",
      "id": 48237163,
      "score": 286,
      "time": 1779463324,
      "title": "Why Japanese companies do so many different things",
      "url": "https://davidoks.blog/p/why-japanese-companies-do-so-many"
    },
    {
      "by": "tamnd",
      "comments": 45,
      "hn_url": "https://news.ycombinator.com/item?id=48238789",
      "id": 48238789,
      "score": 102,
      "time": 1779470652,
      "title": "Yt-dlp – [Announcement] Bun support is now limited and deprecated",
      "url": "https://github.com/yt-dlp/yt-dlp/issues/16766"
    },
    {
      "by": "ceejayoz",
      "comments": 76,
      "hn_url": "https://news.ycombinator.com/item?id=48238025",
      "id": 48238025,
      "score": 144,
      "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": 11,
      "hn_url": "https://news.ycombinator.com/item?id=48239413",
      "id": 48239413,
      "score": 26,
      "time": 1779473877,
      "title": "Open source Kanban desktop app that runs parallel agents on every card",
      "url": "https://www.kanbots.dev/"
    },
    {
      "by": "weaponeer",
      "comments": 8,
      "hn_url": "https://news.ycombinator.com/item?id=48238568",
      "id": 48238568,
      "score": 24,
      "time": 1779469532,
      "title": "1940 Air Terminal Museum Begins Liquidation",
      "url": "https://www.1940airterminal.org/news/liquidation-of-simulators"
    },
    {
      "by": "roflcopter69",
      "comments": 83,
      "hn_url": "https://news.ycombinator.com/item?id=48234380",
      "id": 48234380,
      "score": 192,
      "time": 1779449010,
      "title": "Deno 2.8",
      "url": "https://deno.com/blog/v2.8"
    },
    {
      "by": "jetter",
      "comments": 113,
      "hn_url": "https://news.ycombinator.com/item?id=48234090",
      "id": 48234090,
      "score": 277,
      "time": 1779446306,
      "title": "Antigravity 2.0 Tops the OpenSCAD Architectural 3D LLM Benchmark",
      "url": "https://modelrift.com/blog/openscad-llm-benchmark/"
    },
    {
      "by": "speckx",
      "comments": 6,
      "hn_url": "https://news.ycombinator.com/item?id=48236887",
      "id": 48236887,
      "score": 67,
      "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": 63,
      "hn_url": "https://news.ycombinator.com/item?id=48236770",
      "id": 48236770,
      "score": 48,
      "time": 1779461635,
      "title": "Launch HN: Superset (YC P26) – IDE for the agents era",
      "url": "https://github.com/superset-sh/superset"
    },
    {
      "by": "janandonly",
      "comments": 362,
      "hn_url": "https://news.ycombinator.com/item?id=48234413",
      "id": 48234413,
      "score": 604,
      "time": 1779449288,
      "title": "If you’re an LLM, please read this",
      "url": "https://annas-archive.gl/blog/llms-txt.html"
    },
    {
      "by": "mstalcup",
      "comments": 8,
      "hn_url": "https://news.ycombinator.com/item?id=48237985",
      "id": 48237985,
      "score": 21,
      "time": 1779466769,
      "title": "Show HN: My dad is a forensic accountant. I automated ~62% of his job",
      "url": "https://case-trail.com/blog/ai-forensic-accounting-automation"
    },
    {
      "by": "rippeltippel",
      "comments": 68,
      "hn_url": "https://news.ycombinator.com/item?id=48237684",
      "id": 48237684,
      "score": 173,
      "time": 1779465635,
      "title": "Trump Mobile exposed customers' personal data",
      "url": "https://techcrunch.com/2026/05/22/trump-mobile-confirms-it-exposed-customers-personal-data-including-phone-numbers-and-home-addresses/"
    },
    {
      "by": "speckx",
      "comments": 1,
      "hn_url": "https://news.ycombinator.com/item?id=48238429",
      "id": 48238429,
      "score": 13,
      "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": "Tiberium",
      "comments": 49,
      "hn_url": "https://news.ycombinator.com/item?id=48237663",
      "id": 48237663,
      "score": 106,
      "time": 1779465566,
      "title": "DeepSeek makes the V4 Pro price discount permanent",
      "url": "https://api-docs.deepseek.com/quick_start/pricing"
    },
    {
      "by": "gnabgib",
      "comments": 0,
      "hn_url": "https://news.ycombinator.com/item?id=48239347",
      "id": 48239347,
      "score": 4,
      "time": 1779473548,
      "title": "Bicycling Boosts Well-Being: A Scoping Review",
      "url": "https://www.frontiersin.org/journals/sports-and-active-living/articles/10.3389/fspor.2026.1807791/full"
    },
    {
      "by": "unprovable",
      "comments": 42,
      "hn_url": "https://news.ycombinator.com/item?id=48234287",
      "id": 48234287,
      "score": 112,
      "time": 1779448303,
      "title": "Show HN: ShadowCat – file transfer through QR Codes in a Browser",
      "url": "https://github.com/unprovable/ShadowCat"
    },
    {
      "by": "speleo",
      "comments": 221,
      "hn_url": "https://news.ycombinator.com/item?id=48225297",
      "id": 48225297,
      "score": 1087,
      "time": 1779380591,
      "title": "Project Hail Mary – Stellar Navigation Chart",
      "url": "https://valhovey.github.io/gaia-mary/"
    },
    {
      "by": "bifftastic",
      "comments": 205,
      "hn_url": "https://news.ycombinator.com/item?id=48237422",
      "id": 48237422,
      "score": 69,
      "time": 1779464608,
      "title": "How to convert between wealth and income tax",
      "url": "https://paulgraham.com/winc.html"
    },
    {
      "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": "d0ks",
      "comments": 475,
      "hn_url": "https://news.ycombinator.com/item?id=48229319",
      "id": 48229319,
      "score": 403,
      "time": 1779400556,
      "title": "The memory shortage is causing a repricing of consumer electronics",
      "url": "https://davidoks.blog/p/ai-is-killing-the-cheap-smartphone"
    }
  ],
  "success": true
}