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

Топ статей 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": "elffjs",
      "comments": 118,
      "hn_url": "https://news.ycombinator.com/item?id=49949235",
      "id": 49949235,
      "score": 222,
      "time": 1791073216,
      "title": "We're going to need default hard budget caps on pretty much everything",
      "url": "https://simonwillison.net/2026/Oct/3/default-hard-budget-caps/"
    },
    {
      "by": "paveworld",
      "comments": 26,
      "hn_url": "https://news.ycombinator.com/item?id=49949438",
      "id": 49949438,
      "score": 162,
      "time": 1791075052,
      "title": "Bob Cringely Has Died",
      "url": null
    },
    {
      "by": "CosmoWenman",
      "comments": 49,
      "hn_url": "https://news.ycombinator.com/item?id=49946355",
      "id": 49946355,
      "score": 98,
      "time": 1791050487,
      "title": "Treachery in the Rodin Museum 3D scan verdict",
      "url": "https://cosmowenman.substack.com/p/rodin-museum-3d-scan-verdict"
    },
    {
      "by": "trwhite",
      "comments": 62,
      "hn_url": "https://news.ycombinator.com/item?id=49946393",
      "id": 49946393,
      "score": 246,
      "time": 1791050805,
      "title": "Hole Punch: Sling your spaceship around gravitational fields",
      "url": "https://notoriousbfg.com/hole-punch/"
    },
    {
      "by": "speckx",
      "comments": 21,
      "hn_url": "https://news.ycombinator.com/item?id=49946895",
      "id": 49946895,
      "score": 160,
      "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": 54,
      "hn_url": "https://news.ycombinator.com/item?id=49947631",
      "id": 49947631,
      "score": 110,
      "time": 1791060555,
      "title": "Reasons I didn't become an EMT, ranked",
      "url": "https://ben.stolovitz.com/posts/reasons-not-emt-ranked/"
    },
    {
      "by": "zdw",
      "comments": 15,
      "hn_url": "https://news.ycombinator.com/item?id=49910462",
      "id": 49910462,
      "score": 29,
      "time": 1790783007,
      "title": "So You Think You Could Be an Electrician?",
      "url": "https://asteriskmag.com/issues/15/so-you-think-you-could-be-an-electrician"
    },
    {
      "by": "gscott",
      "comments": 40,
      "hn_url": "https://news.ycombinator.com/item?id=49923873",
      "id": 49923873,
      "score": 153,
      "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": "jethronethro",
      "comments": 149,
      "hn_url": "https://news.ycombinator.com/item?id=49948332",
      "id": 49948332,
      "score": 202,
      "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": "bastitx",
      "comments": 303,
      "hn_url": "https://news.ycombinator.com/item?id=49942706",
      "id": 49942706,
      "score": 532,
      "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": "bobajeff",
      "comments": 6,
      "hn_url": "https://news.ycombinator.com/item?id=49940482",
      "id": 49940482,
      "score": 15,
      "time": 1790989875,
      "title": "Math's pedagogical curse – Grant Sanderson [video]",
      "url": "https://www.youtube.com/watch?v=UOuxo6SA8Uc"
    },
    {
      "by": "saikatsg",
      "comments": 125,
      "hn_url": "https://news.ycombinator.com/item?id=49946567",
      "id": 49946567,
      "score": 176,
      "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": "surprisetalk",
      "comments": 1,
      "hn_url": "https://news.ycombinator.com/item?id=49908570",
      "id": 49908570,
      "score": 24,
      "time": 1790774403,
      "title": "Your body of work thinks back at you",
      "url": "https://photoni.st/index.php/2026/09/25/your-body-of-work-thinks-back-at-you/"
    },
    {
      "by": "Gorsefound",
      "comments": 13,
      "hn_url": "https://news.ycombinator.com/item?id=49942103",
      "id": 49942103,
      "score": 37,
      "time": 1791012534,
      "title": "Show HN: Thoreau BASIC – What if BASIC hadn't gone out of fashion?",
      "url": "https://thoreaubasic.com/"
    },
    {
      "by": "romac",
      "comments": 61,
      "hn_url": "https://news.ycombinator.com/item?id=49944912",
      "id": 49944912,
      "score": 152,
      "time": 1791039756,
      "title": "FTL: A new operating system for clouds",
      "url": "https://ftl-os.org/"
    },
    {
      "by": "willmeyers",
      "comments": 10,
      "hn_url": "https://news.ycombinator.com/item?id=49940877",
      "id": 49940877,
      "score": 53,
      "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": "effects",
      "comments": 0,
      "hn_url": "https://news.ycombinator.com/item?id=49938326",
      "id": 49938326,
      "score": 9,
      "time": 1790973545,
      "title": "Three AI agents, two countries, and one uneven world wide web",
      "url": "https://royapakzad.substack.com/p/multilingual-ai-agents"
    },
    {
      "by": "simonjgreen",
      "comments": 25,
      "hn_url": "https://news.ycombinator.com/item?id=49947472",
      "id": 49947472,
      "score": 48,
      "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": "kmeh",
      "comments": 51,
      "hn_url": "https://news.ycombinator.com/item?id=49945933",
      "id": 49945933,
      "score": 67,
      "time": 1791047017,
      "title": "Agents don't need memory, they need documentation",
      "url": "https://liao.gg/blog/agents-dont-need-memory"
    },
    {
      "by": "edverma2",
      "comments": 30,
      "hn_url": "https://news.ycombinator.com/item?id=49937304",
      "id": 49937304,
      "score": 80,
      "time": 1790968238,
      "title": "Show HN: Pi pod – Run your pi coding agent in sandboxes on your own server",
      "url": "https://pipod.dev/"
    }
  ],
  "success": true
}