HackerNews热帖

GET

【实时】Hacker News 热帖

https://api.aiys.net/api/Hacker_Newsso
https://api.aiys.net/api/Hacker_Newsso/?type=top

请求参数

将 Key 放到 Header 中使用 Authorization 请求头,按 Bearer Token 方式传递
Authorization:Bearer YOUR_API_KEY

接口指标

QPS 上限
3.33次/秒
平均响应时间
4481ms
今日调用量
2
累计调用量
8

请求示例

Shell
JavaScript
Python
PHP
Java
Go
C#
Ruby
curl -X GET 'https://api.aiys.net/api/Hacker_Newsso?type=${top/new/best}' \
  -H 'Authorization: Bearer YOUR_API_KEY'

返回示例

{
  "code": 200,
  "message": "获取Hacker News top 热帖成功",
  "data": [
    {
      "id": 47367129,
      "title": "1M context is now generally available for Opus 4.6 and Sonnet 4.6",
      "link": "https://claude.com/blog/1m-context-ga",
      "score": 337,
      "author": "meetpateltech",
      "created": "2026-03-14 01:19:01",
      "created_at": 1773422341000
    },
    {
      "id": 47371692,
      "title": "Games with loot boxes to get minimum 16 age rating across Europe",
      "link": "https://www.bbc.com/news/articles/cge84xqjg5lo",
      "score": 51,
      "author": "gostsamo",
      "created": "2026-03-14 08:02:37",
      "created_at": 1773446557000
    },
    {
      "id": 47371064,
      "title": "I Found 39 Algolia Admin Keys Exposed Across Open Source Documentation Sites",
      "link": "https://benzimmermann.dev/blog/algolia-docsearch-admin-keys",
      "score": 90,
      "author": "kernelrocks",
      "created": "2026-03-14 06:52:05",
      "created_at": 1773442325000
    },
    {
      "id": 47363754,
      "title": "Can I run AI locally?",
      "link": "https://www.canirun.ai/",
      "score": 992,
      "author": "ricardbejarano",
      "created": "2026-03-13 20:46:10",
      "created_at": 1773405970000
    },
    {
      "id": 47336100,
      "title": "Show HN: Channel Surfer – Watch YouTube like it’s cable TV",
      "link": "https://channelsurfer.tv",
      "score": 428,
      "author": "kilroy123",
      "created": "2026-03-11 22:34:57",
      "created_at": 1773239697000
    },
    {
      "id": 47310815,
      "title": "Coding My Handwriting",
      "link": "https://www.amygoodchild.com/blog/cursive-handwriting-in-javascript",
      "score": 52,
      "author": "bwoah",
      "created": "2026-03-10 00:01:23",
      "created_at": 1773072083000
    },
    {
      "id": 47372672,
      "title": "Optimizing Content for Agents",
      "link": "https://cra.mr/optimizing-content-for-agents/",
      "score": 5,
      "author": "vinhnx",
      "created": "2026-03-14 10:27:00",
      "created_at": 1773455220000
    },
    {
      "id": 47368033,
      "title": "Mouser: An open source alternative to Logi-Plus mouse software",
      "link": "https://github.com/TomBadash/MouseControl",
      "score": 219,
      "author": "avionics-guy",
      "created": "2026-03-14 02:42:54",
      "created_at": 1773427374000
    },
    {
      "id": 47363584,
      "title": "Qatar helium shutdown puts chip supply chain on a two-week clock",
      "link": "https://www.tomshardware.com/tech-industry/qatar-helium-shutdown-puts-chip-supply-chain-on-a-two-week-clock",
      "score": 459,
      "author": "johnbarron",
      "created": "2026-03-13 20:31:09",
      "created_at": 1773405069000
    },
    {
      "id": 47367932,
      "title": "Hammerspoon",
      "link": "https://github.com/Hammerspoon/hammerspoon",
      "score": 228,
      "author": "tosh",
      "created": "2026-03-14 02:34:12",
      "created_at": 1773426852000
    }
  ],
  "request_id": "da23d87428ce0536fce6596c"
}