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

Топ статей 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": "speleo",
      "comments": 193,
      "hn_url": "https://news.ycombinator.com/item?id=48225297",
      "id": 48225297,
      "score": 885,
      "time": 1779380591,
      "title": "Project Hail Mary – Stellar Navigation Chart",
      "url": "https://valhovey.github.io/gaia-mary/"
    },
    {
      "by": "matt_d",
      "comments": 6,
      "hn_url": "https://news.ycombinator.com/item?id=48232118",
      "id": 48232118,
      "score": 58,
      "time": 1779425673,
      "title": "CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programs",
      "url": "https://arxiv.org/abs/2605.19269"
    },
    {
      "by": "JeremyTheo",
      "comments": 12,
      "hn_url": "https://news.ycombinator.com/item?id=48233289",
      "id": 48233289,
      "score": 21,
      "time": 1779437742,
      "title": "We should get rid of average CPU utilization",
      "url": "https://www.theocharis.dev/blog/why-we-should-get-rid-of-average-cpu-utilization/"
    },
    {
      "by": "jicea",
      "comments": 28,
      "hn_url": "https://news.ycombinator.com/item?id=48231938",
      "id": 48231938,
      "score": 64,
      "time": 1779424163,
      "title": "Slumber a TUI HTTP Client",
      "url": "https://slumber.lucaspickering.me"
    },
    {
      "by": "xoxxala",
      "comments": 12,
      "hn_url": "https://news.ycombinator.com/item?id=48209691",
      "id": 48209691,
      "score": 51,
      "time": 1779292046,
      "title": "The surprising story behind the first British person in space",
      "url": "https://www.bbc.com/culture/article/20260518-helen-sharman-the-story-behind-the-first-british-person-in-space"
    },
    {
      "by": "mychele",
      "comments": 8,
      "hn_url": "https://news.ycombinator.com/item?id=48231319",
      "id": 48231319,
      "score": 95,
      "time": 1779417354,
      "title": "Cleve Moler has died",
      "url": "https://www.mathworks.com/company/aboutus/founders/clevemoler.html"
    },
    {
      "by": "speckx",
      "comments": 148,
      "hn_url": "https://news.ycombinator.com/item?id=48227397",
      "id": 48227397,
      "score": 280,
      "time": 1779389695,
      "title": "Blog ran on Ubuntu 16.04 for 10 years. I migrated it to FreeBSD",
      "url": "https://crocidb.com/post/this-blog-ran-on-ubuntu-16-04-for-10-years-i-migrated-it-to-freebsd/"
    },
    {
      "by": "Brajeshwar",
      "comments": 30,
      "hn_url": "https://news.ycombinator.com/item?id=48233177",
      "id": 48233177,
      "score": 43,
      "time": 1779436335,
      "title": "Deepfakes Tore a High School Apart",
      "url": "https://www.404media.co/radnor-high-school-pennsylvania-ai-deepfakes-child-sexual-abuse-material/"
    },
    {
      "by": "d0ks",
      "comments": 201,
      "hn_url": "https://news.ycombinator.com/item?id=48229319",
      "id": 48229319,
      "score": 185,
      "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": "apwheele",
      "comments": 319,
      "hn_url": "https://news.ycombinator.com/item?id=48184402",
      "id": 48184402,
      "score": 442,
      "time": 1779132783,
      "title": "Was my $48K GPU server worth it?",
      "url": "https://rosmine.ai/2026/05/13/was-my-48k-gpu-worth-it/"
    },
    {
      "by": "nchagnet",
      "comments": 105,
      "hn_url": "https://news.ycombinator.com/item?id=48228788",
      "id": 48228788,
      "score": 199,
      "time": 1779396996,
      "title": "Uv is fantastic, but its package management UX is a mess",
      "url": "https://www.loopwerk.io/articles/2026/uv-ux-mess/"
    },
    {
      "by": "speckx",
      "comments": 64,
      "hn_url": "https://news.ycombinator.com/item?id=48227860",
      "id": 48227860,
      "score": 195,
      "time": 1779391936,
      "title": "Using Kagi Search with Low Vision",
      "url": "https://veroniiiica.com/using-kagi-search-with-low-vision/"
    },
    {
      "by": "speckx",
      "comments": 78,
      "hn_url": "https://news.ycombinator.com/item?id=48192605",
      "id": 48192605,
      "score": 85,
      "time": 1779194900,
      "title": "The death of the brick and mortar toy store",
      "url": "https://brainbaking.com/post/2026/05/the-death-of-the-brick-and-mortar-toy-store/"
    },
    {
      "by": "asenna",
      "comments": 113,
      "hn_url": "https://news.ycombinator.com/item?id=48222733",
      "id": 48222733,
      "score": 374,
      "time": 1779372097,
      "title": "Indexing a year of video locally on a 2021 MacBook with Gemma4-31B (50GB swap)",
      "url": "https://blog.simbastack.com/indexed-a-year-of-video-locally/"
    },
    {
      "by": "mooreds",
      "comments": 12,
      "hn_url": "https://news.ycombinator.com/item?id=48209905",
      "id": 48209905,
      "score": 94,
      "time": 1779292886,
      "title": "Mycorrhizal Fungi, Nature's Key to Plant Survival and Success",
      "url": "https://pacifichorticulture.org/articles/mycorrhizal-fungi-natures-key-to-plant-survival-and-success/"
    },
    {
      "by": "sanity",
      "comments": 172,
      "hn_url": "https://news.ycombinator.com/item?id=48223362",
      "id": 48223362,
      "score": 282,
      "time": 1779374097,
      "title": "Show HN: Freenet, a peer-to-peer platform for decentralized apps",
      "url": "https://freenet.org/"
    },
    {
      "by": "pseudolus",
      "comments": 104,
      "hn_url": "https://news.ycombinator.com/item?id=48220639",
      "id": 48220639,
      "score": 346,
      "time": 1779361346,
      "title": "Lost Images from the 1945 Trinity Nuclear Test Restored",
      "url": "https://spectrum.ieee.org/trinity-nuclear-test"
    },
    {
      "by": "rbanffy",
      "comments": 184,
      "hn_url": "https://news.ycombinator.com/item?id=48220696",
      "id": 48220696,
      "score": 375,
      "time": 1779361811,
      "title": "Python 3.15: features that didn't make the headlines",
      "url": "https://blog.changs.co.uk/python-315-features-that-didnt-make-the-headlines.html"
    },
    {
      "by": "sandebert",
      "comments": 442,
      "hn_url": "https://news.ycombinator.com/item?id=48220647",
      "id": 48220647,
      "score": 1149,
      "time": 1779361418,
      "title": "Flipper One – we need your help",
      "url": "https://blog.flipper.net/flipper-one-we-need-your-help/"
    },
    {
      "by": "elffjs",
      "comments": 297,
      "hn_url": "https://news.ycombinator.com/item?id=48225357",
      "id": 48225357,
      "score": 148,
      "time": 1779380818,
      "title": "Spotify will start reserving concert tickets for fans",
      "url": "https://www.hollywoodreporter.com/music/music-industry-news/spotify-will-start-reserving-concert-tickets-for-superfans-1236603106/"
    }
  ],
  "success": true
}