← Новости и соцсети

Топ статей HN

GET /news/hackernews/top

Получение текущих топовых историй Hacker News, ранжированных алгоритмом HN (комбинация голосов и свежести). Возвращает заголовки историй, URL, баллы, количество комментариев и авторов. Настраиваемый лимит (по умолчанию 20). Незаменимо для лент новостей разработчиков, технических панелей и инструментов стартап-сообщества. Данные получаются в реальном времени из официального Firebase API Hacker News.

Параметры

limit необязательный по умолчанию: 20

Limit

Примеры запросов

Базовое использование
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"

Ответ в реальном времени

{
  "count": 20,
  "data": [
    {
      "by": "janandonly",
      "comments": 63,
      "hn_url": "https://news.ycombinator.com/item?id=47652561",
      "id": 47652561,
      "score": 229,
      "time": 1775414753,
      "title": "Gemma 4 on iPhone",
      "url": "https://apps.apple.com/nl/app/google-ai-edge-gallery/id6749645337"
    },
    {
      "by": "cl3misch",
      "comments": 28,
      "hn_url": "https://news.ycombinator.com/item?id=47637377",
      "id": 47637377,
      "score": 106,
      "time": 1775294434,
      "title": "LÖVE: 2D Game Framework for Lua",
      "url": "https://github.com/love2d/love"
    },
    {
      "by": "mooreds",
      "comments": 270,
      "hn_url": "https://news.ycombinator.com/item?id=47649721",
      "id": 47649721,
      "score": 344,
      "time": 1775398692,
      "title": "Artemis II crew see first glimpse of far side of Moon [video]",
      "url": "https://www.bbc.com/news/videos/ce3d5gkd2geo"
    },
    {
      "by": "brilee",
      "comments": 147,
      "hn_url": "https://news.ycombinator.com/item?id=47648828",
      "id": 47648828,
      "score": 489,
      "time": 1775393027,
      "title": "Eight years of wanting, three months of building with AI",
      "url": "https://lalitm.com/post/building-syntaqlite-ai/"
    },
    {
      "by": "vbtechguy",
      "comments": 26,
      "hn_url": "https://news.ycombinator.com/item?id=47651540",
      "id": 47651540,
      "score": 98,
      "time": 1775409231,
      "title": "Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code",
      "url": "https://ai.georgeliu.com/p/running-google-gemma-4-locally-with"
    },
    {
      "by": "tosh",
      "comments": 292,
      "hn_url": "https://news.ycombinator.com/item?id=47647455",
      "id": 47647455,
      "score": 617,
      "time": 1775379378,
      "title": "Caveman: Why use many token when few token do trick",
      "url": "https://github.com/JuliusBrussee/caveman"
    },
    {
      "by": "g0xA52A2A",
      "comments": 10,
      "hn_url": "https://news.ycombinator.com/item?id=47650312",
      "id": 47650312,
      "score": 106,
      "time": 1775402281,
      "title": "A tail-call interpreter in (nightly) Rust",
      "url": "https://www.mattkeeter.com/blog/2026-04-05-tailcall/"
    },
    {
      "by": "teleforce",
      "comments": 9,
      "hn_url": "https://news.ycombinator.com/item?id=47650502",
      "id": 47650502,
      "score": 75,
      "time": 1775403498,
      "title": "Computational Physics (2nd Edition)",
      "url": "https://websites.umich.edu/~mejn/cp2/"
    },
    {
      "by": "merusame",
      "comments": 8,
      "hn_url": "https://news.ycombinator.com/item?id=47652322",
      "id": 47652322,
      "score": 34,
      "time": 1775413388,
      "title": "Music for Programming",
      "url": "https://musicforprogramming.net"
    },
    {
      "by": "desideratum",
      "comments": 19,
      "hn_url": "https://news.ycombinator.com/item?id=47649742",
      "id": 47649742,
      "score": 118,
      "time": 1775398877,
      "title": "Nanocode: The best Claude Code that $200 can buy in pure JAX on TPUs",
      "url": "https://github.com/salmanmohammadi/nanocode/discussions/1"
    },
    {
      "by": "eisa01",
      "comments": 70,
      "hn_url": "https://news.ycombinator.com/item?id=47652324",
      "id": 47652324,
      "score": 116,
      "time": 1775413394,
      "title": "LibreOffice – Let's put an end to the speculation",
      "url": "https://blog.documentfoundation.org/blog/2026/04/05/lets-put-an-end-to-the-speculation/"
    },
    {
      "by": "ewidar",
      "comments": 5,
      "hn_url": "https://news.ycombinator.com/item?id=47653816",
      "id": 47653816,
      "score": 25,
      "time": 1775422792,
      "title": "UK intelligence censored report on global warming and homeland security",
      "url": "https://theoryofchange1.substack.com/p/from-global-warming-to-homeland-security"
    },
    {
      "by": "surprisetalk",
      "comments": 8,
      "hn_url": "https://news.ycombinator.com/item?id=47615003",
      "id": 47615003,
      "score": 16,
      "time": 1775140137,
      "title": "The underrated benefits of always having oatmeal at lunch",
      "url": "https://hazn.com/oatmeal"
    },
    {
      "by": "everbody",
      "comments": 0,
      "hn_url": "https://news.ycombinator.com/item?id=47651479",
      "id": 47651479,
      "score": 29,
      "time": 1775408935,
      "title": "From birds to brains: My path to the fusiform face area (2024)",
      "url": "https://www.kavliprize.org/nancy-kanwisher-autobiography"
    },
    {
      "by": "jspdown",
      "comments": 127,
      "hn_url": "https://news.ycombinator.com/item?id=47646843",
      "id": 47646843,
      "score": 239,
      "time": 1775372239,
      "title": "Lisette a little language inspired by Rust that compiles to Go",
      "url": "https://lisette.run/"
    },
    {
      "by": "janandonly",
      "comments": 40,
      "hn_url": "https://news.ycombinator.com/item?id=47648048",
      "id": 47648048,
      "score": 110,
      "time": 1775385666,
      "title": "Friendica – A Decentralized Social Network",
      "url": "https://friendi.ca/"
    },
    {
      "by": "Growtika",
      "comments": 193,
      "hn_url": "https://news.ycombinator.com/item?id=47649113",
      "id": 47649113,
      "score": 287,
      "time": 1775394876,
      "title": "Finnish sauna heat exposure induces stronger immune cell than cytokine responses",
      "url": "https://www.tandfonline.com/doi/full/10.1080/23328940.2026.2645467#abstract"
    },
    {
      "by": "matheusmoreira",
      "comments": 10,
      "hn_url": "https://news.ycombinator.com/item?id=47612331",
      "id": 47612331,
      "score": 38,
      "time": 1775124676,
      "title": "Baby's Second Garbage Collector",
      "url": "https://www.matheusmoreira.com/articles/babys-second-garbage-collector"
    },
    {
      "by": "waveywaves",
      "comments": 40,
      "hn_url": "https://news.ycombinator.com/item?id=47645025",
      "id": 47645025,
      "score": 103,
      "time": 1775349618,
      "title": "Show HN: Contrapunk – Real-time counterpoint harmony from guitar input",
      "url": "https://contrapunk.com/"
    },
    {
      "by": "sschueller",
      "comments": 34,
      "hn_url": "https://news.ycombinator.com/item?id=47652400",
      "id": 47652400,
      "score": 47,
      "time": 1775413787,
      "title": "The Free Market Lie: Why Switzerland Has 25 Gbit Internet and America Doesn't",
      "url": "https://sschueller.github.io/posts/the-free-market-lie/"
    }
  ],
  "success": true
}