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

Топ статей 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": "d0ks",
      "comments": 85,
      "hn_url": "https://news.ycombinator.com/item?id=48237163",
      "id": 48237163,
      "score": 205,
      "time": 1779463324,
      "title": "Why Japanese companies do so many different things",
      "url": "https://davidoks.blog/p/why-japanese-companies-do-so-many"
    },
    {
      "by": "ceejayoz",
      "comments": 25,
      "hn_url": "https://news.ycombinator.com/item?id=48238025",
      "id": 48238025,
      "score": 73,
      "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": "coloneltcb",
      "comments": 35,
      "hn_url": "https://news.ycombinator.com/item?id=48238351",
      "id": 48238351,
      "score": 57,
      "time": 1779468428,
      "title": "You can no longer Google the word 'disregard'",
      "url": "https://techcrunch.com/2026/05/22/you-can-no-longer-google-the-word-disregard/"
    },
    {
      "by": "jetter",
      "comments": 106,
      "hn_url": "https://news.ycombinator.com/item?id=48234090",
      "id": 48234090,
      "score": 253,
      "time": 1779446306,
      "title": "Antigravity 2.0 Tops the OpenSCAD Architectural 3D LLM Benchmark",
      "url": "https://modelrift.com/blog/openscad-llm-benchmark/"
    },
    {
      "by": "roflcopter69",
      "comments": 66,
      "hn_url": "https://news.ycombinator.com/item?id=48234380",
      "id": 48234380,
      "score": 135,
      "time": 1779449010,
      "title": "Deno 2.8",
      "url": "https://deno.com/blog/v2.8"
    },
    {
      "by": "speckx",
      "comments": 6,
      "hn_url": "https://news.ycombinator.com/item?id=48236887",
      "id": 48236887,
      "score": 51,
      "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": "janandonly",
      "comments": 329,
      "hn_url": "https://news.ycombinator.com/item?id=48234413",
      "id": 48234413,
      "score": 541,
      "time": 1779449288,
      "title": "If you’re an LLM, please read this",
      "url": "https://annas-archive.gl/blog/llms-txt.html"
    },
    {
      "by": "weaponeer",
      "comments": 2,
      "hn_url": "https://news.ycombinator.com/item?id=48238568",
      "id": 48238568,
      "score": 5,
      "time": 1779469532,
      "title": "1940 Air Terminal Museum Begins Liquidation",
      "url": "https://www.1940airterminal.org/news/liquidation-of-simulators"
    },
    {
      "by": "rippeltippel",
      "comments": 31,
      "hn_url": "https://news.ycombinator.com/item?id=48237684",
      "id": 48237684,
      "score": 106,
      "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": "avipeltz",
      "comments": 52,
      "hn_url": "https://news.ycombinator.com/item?id=48236770",
      "id": 48236770,
      "score": 31,
      "time": 1779461635,
      "title": "Launch HN: Superset (YC P26) – IDE for the agents era",
      "url": "https://github.com/superset-sh/superset"
    },
    {
      "by": "unprovable",
      "comments": 37,
      "hn_url": "https://news.ycombinator.com/item?id=48234287",
      "id": 48234287,
      "score": 89,
      "time": 1779448303,
      "title": "Show HN: ShadowCat – file transfer through QR Codes in a Browser",
      "url": "https://github.com/unprovable/ShadowCat"
    },
    {
      "by": "speleo",
      "comments": 218,
      "hn_url": "https://news.ycombinator.com/item?id=48225297",
      "id": 48225297,
      "score": 1068,
      "time": 1779380591,
      "title": "Project Hail Mary – Stellar Navigation Chart",
      "url": "https://valhovey.github.io/gaia-mary/"
    },
    {
      "by": "moebrowne",
      "comments": 178,
      "hn_url": "https://news.ycombinator.com/item?id=48235526",
      "id": 48235526,
      "score": 160,
      "time": 1779456162,
      "title": "AI has a multiplying effect on existing technical skills",
      "url": "https://www.joshwcomeau.com/email/wham-launch-005-elephant-2-p/"
    },
    {
      "by": "ingve",
      "comments": 44,
      "hn_url": "https://news.ycombinator.com/item?id=48234252",
      "id": 48234252,
      "score": 60,
      "time": 1779448012,
      "title": "Chess invariants",
      "url": "http://muratbuffalo.blogspot.com/2026/05/chess-invariants.html"
    },
    {
      "by": "bifftastic",
      "comments": 131,
      "hn_url": "https://news.ycombinator.com/item?id=48237422",
      "id": 48237422,
      "score": 40,
      "time": 1779464608,
      "title": "How to convert between wealth and income tax",
      "url": "https://paulgraham.com/winc.html"
    },
    {
      "by": "d0ks",
      "comments": 444,
      "hn_url": "https://news.ycombinator.com/item?id=48229319",
      "id": 48229319,
      "score": 384,
      "time": 1779400556,
      "title": "The memory shortage is causing a repricing of consumer electronics",
      "url": "https://davidoks.blog/p/ai-is-killing-the-cheap-smartphone"
    },
    {
      "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": "JumpCrisscross",
      "comments": 181,
      "hn_url": "https://news.ycombinator.com/item?id=48235489",
      "id": 48235489,
      "score": 97,
      "time": 1779455931,
      "title": "Alberta to hold referendum on whether to remain in Canada",
      "url": "https://www.bbc.com/news/articles/cvgze8n5dxko"
    },
    {
      "by": "mychele",
      "comments": 24,
      "hn_url": "https://news.ycombinator.com/item?id=48231319",
      "id": 48231319,
      "score": 230,
      "time": 1779417354,
      "title": "Cleve Moler has died",
      "url": "https://www.mathworks.com/company/aboutus/founders/clevemoler.html"
    },
    {
      "by": "jicea",
      "comments": 54,
      "hn_url": "https://news.ycombinator.com/item?id=48231938",
      "id": 48231938,
      "score": 145,
      "time": 1779424163,
      "title": "Slumber a TUI HTTP Client",
      "url": "https://slumber.lucaspickering.me"
    }
  ],
  "success": true
}