NodeSeek

NodeSeek API

读 NodeSeek 中文主机和 VPS 论坛的帖子:全站最新帖子、按板块分页的帖子列表、单个帖子的首帖正文和浏览数、点赞数,以及按楼层分页的回帖,每条带作者、时间和帖子链接。

请求发到 POST https://api.everyinfra.com/api/v1/social,platform 填 nodeseek,action 填下方列表里的能力名,例如 latest_posts。只要一把 API Key,不用 NodeSeek 账号和 Cookie;也能当 MCP 工具接进 Claude、Cursor。可以先领 $1 免费额度试用。

  • 4 个能力
  • $0.79 / 千次
  • 失败和空结果都不收费

平台运行状态

24h 健康值
正常
正常

30 天趋势

NodeSeek 能力清单

能力做什么单价空白行均为 $0.79 / 千次24 小时运行状态 · 全部正常
最新帖子latest_posts用 latest_posts 取 NodeSeek 全站最新的一批帖子,最新的在前,一次最多 100 条。正常
板块下的帖子category_posts用 category_posts 按版块 slug 列帖子,每页最多 30 条,按版块页的顺序。正常
内容详情post_detail用 post_detail 按帖子链接或编号读一个帖子,回一个对象。正常
评论comments用 comments 按楼层顺序读一个帖子的回帖,每页最多 10 楼。正常

选 NodeSeek 数据接口前常问的 5 件事

调用时要不要提供 NodeSeek 账号或 Cookie?

不用,请求头带 Authorization: Bearer 和 API Key 就能调,请求体写 platform、action 和能力参数。不用扫码、维护登录状态,也不用开浏览器。

怎么收费?失败了收不收钱?有免费额度吗?

按调用次数计费,每千次 $0.79 起。失败、空结果、参数错误和鉴权失败都不收费。给 GitHub 上 everyinfra-agent-plugins 和 seo-skills 点星,可在控制台「余额与充值」领 $1 赠送额度,24 小⁠时内有效,不用信用卡。

能把 NodeSeek 接口接进 Claude、Cursor 吗?

能,远程 MCP 地址是 https://api.everyinfra.com/mcp,请求头加 Authorization: Bearer 和 API Key,不用装本地程序。Claude、Cursor、ChatGPT、Claude Code 配置见 https://everyinfra.com/mcp-server。

用 NodeSeek 数据要注意哪些合规问题?

EveryInfra 服务条款要求你自行确保数据用法符合适用法律和相关平台条款,禁止用于违法、侵犯隐私或知识产权,或批量抓取用于骚扰、欺诈等恶意用途。用到昵称、头像等个人信息时,只留业务用得上的字段。

可以拿到 NodeSeek 的哪些数据?

NodeSeek 有 4 个能力:最新帖子、板块下的帖子、内容详情、评论。每个能力的参数和返回字段见本页接口说明。

请求填写示例

latest_posts 不用填参数,limit 可选 1~100(默认 20);行里没有正文,正文用 post_detail 读。

以下为填写格式示意,并非成功调用记录。请替换 API Key 和尖括号中的目标,确认可选筛选项后再调用;示例不保证目标当前有数据。

nodeseek_latest_posts.sh
curl -X POST https://api.everyinfra.com/api/v1/social \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"nodeseek","action":"latest_posts","params":{}}'

记录字段预览(非真实响应)

仅展示 latest_posts 的记录字段,不包含外层响应、计费或任务状态。null 只作展示占位,不表示字段类型或实际空值;完整响应须以接口文档与实际调用为准。

fields.preview.json
{
  "id": null,
  "url": null,
  "title": null,
  "excerpt": null,
  "posted_at": null,
  "author_username": null,
  "category": null,
  "rank": null,
  "collected_at": null,
  "platform": null
}

常见用例

以下是基于现有接口的接入思路,不是开箱即用的分析或告警功能。字段以实际返回为准,缺失值不按零处理。

NodeSeek API 如何取全站最新帖子?

用 latest_posts 取 NodeSeek 全站最新的一批帖子,最新的在前,一次最多 100 条。

查看 latest_posts 接口说明
  • 不用填参数;limit 是 1~100,不给是 20,不翻页,一次可能比 limit 少。
  • 每行有标题、摘要 excerpt、版块 slug、作者和时间,没有正文;正文把这一行的 url 交给 post_detail 读。

NodeSeek API 如何按版块翻帖子列表?

用 category_posts 按版块 slug 列帖子,每页最多 30 条,按版块页的顺序。

查看 category_posts 的 category 参数
  • category 填版块链接里的 slug,如 daily、tech、review、trade;post_detail 返回的 category_id 也能直接用。
  • 置顶帖可能排在最前面,可能没有作者、时间和版块;翻页把 next_page_token 原样作 page_token 传回,每页算一次调用。

NodeSeek API 如何读一个帖子的正文和浏览数?

用 post_detail 按帖子链接或编号读一个帖子,回一个对象。

查看 post_detail 的 url 参数
  • url 填帖子链接,如 https://www.nodeseek.com/post-1098962-1,也可以只给帖子编号 1098962。
  • text 是首帖全文,category 是版块名,category_id 是版块 slug,另有浏览数 view_count 和点赞数 like_count;回帖不止一页时没有 comment_count。

NodeSeek API 如何按楼层读回帖?

用 comments 按楼层顺序读一个帖子的回帖,每页最多 10 楼。

查看 comments 的 url 参数
  • url 填帖子链接或编号;首帖是 0 楼,不在回帖里,要读用 post_detail。
  • 每条有楼层号 floor_number、作者、作者编号、头像和点赞数;post_page_count 是回帖总页数,翻页把 next_page_token 原样作 page_token 传回。

NodeSeek 每个接口分别做什么

下面逐个解释 action、必填参数、可选筛选项和允许值。 请求都发到 POST /api/v1/social, 切换 action 时,也要按对应接口调整参数。 同名参数在不同平台、不同接口中可能指向不同对象;请以该条说明中的格式和适用范围为准。

下方只展示平台官方资料,用于核对对象与术语,不表示平台对 EveryInfra 的授权或背书。 本接口接受的参数、字段与能力边界以各条说明为准,不与平台官方 API 直接等同。

所有能力都是同步调用。

能力必填参数可选参数单次条数单价空白行均为 $0.79 / 千次返回字段
latest_posts——默认 20 · 最多 100id · url · title · excerpt · posted_at · author_username · category · rank · collected_at · platform
category_postscategorypage_token每页 30 条id · url · title · excerpt · posted_at · author_username · category · rank · collected_at · platform
post_detailurl——id · url · title · text · posted_at · author_username · author_id · category · category_id · comment_count · like_count · view_count · collected_at · platform
commentsurlpage_token每页 10 条id · post_id · post_url · text · posted_at · author_username · author_id · author_avatar_url · floor_number · like_count · rank · post_page_count · collected_at · platform

怎么调用 NodeSeek 最新帖子 API?

latest_posts

使用 platform="nodeseek"、action="latest_posts" 调用“最新帖子”能力;返回列表,默认 20 条、单次最多 100 条,主要包含 id、url、title、excerpt、posted_at、author_username 等 10 个字段。

查看完整接口文档:参数、代码示例、响应样例与健康状态

这个能力没有业务参数,只传 platform 与 action。

NodeSeek 返回字段与含义(5)
id
编号:帖子编号(latest_posts、category_posts、post_detail),或回帖的楼层编号(comments),一串数字。
excerpt
帖子摘要(latest_posts、category_posts),站内列表上显示的那一段;有的帖子没有。
category
板块:latest_posts、category_posts 里是板块 slug(如 daily),post_detail 里是板块名(如 测评);置顶帖可能没有。
rank
这一行在这一次结果里的位置,从 1 开始(latest_posts、category_posts、comments)。
collected_at
这条数据的抓取时刻(ISO 8601,UTC)。

怎么调用 NodeSeek 板块下的帖子 API?

category_posts

使用 platform="nodeseek"、action="category_posts" 调用“板块下的帖子”能力;返回列表,每次一页、固定 30 条,更多用 next_page_token 翻页,主要包含 id、url、title、excerpt、posted_at、author_username 等 10 个字段。

查看完整接口文档:参数、代码示例、响应样例与健康状态

category 填版块链接里的 slug,如 daily、tech、review、trade。

JSON
{
  "platform": "nodeseek",
  "action": "category_posts",
  "params": {
    "category": "daily"
  }
}

NodeSeek category_posts 的参数分别是什么意思?

category必填
NodeSeek 板块的 slug,如 daily、trade;post_detail 返回的 category_id 也是这种 slug。大小写都收。

NodeSeek 首页的「所有版块」列出日常、技术、情报、测评、交易、拼车、推广等版块,每个版块的链接是 /categories/<slug>,如 /categories/daily、/categories/tech、/categories/review、/categories/trade。这里支撑 category 填版块链接里的 slug;本接口的参数由 EveryInfra 定义,该来源不证明结果。官方来源:NodeSeek 首页的版块列表来源核查:

page_token可选
翻页令牌:把上一次响应里的 next_page_token 原样传回,拿下一页,其他参数和第一页一样;不传从第一页开始。每页算一次调用;没有 next_page_token 就是最后一页。每页最多 30 条,按板块页的顺序。
NodeSeek 返回字段与含义(5)
id
编号:帖子编号(latest_posts、category_posts、post_detail),或回帖的楼层编号(comments),一串数字。
excerpt
帖子摘要(latest_posts、category_posts),站内列表上显示的那一段;有的帖子没有。
category
板块:latest_posts、category_posts 里是板块 slug(如 daily),post_detail 里是板块名(如 测评);置顶帖可能没有。
rank
这一行在这一次结果里的位置,从 1 开始(latest_posts、category_posts、comments)。
collected_at
这条数据的抓取时刻(ISO 8601,UTC)。

怎么调用 NodeSeek 内容详情 API?

post_detail

使用 platform="nodeseek"、action="post_detail" 调用“内容详情”能力;返回单个对象,主要包含 id、url、title、text、posted_at、author_username 等 14 个字段。

查看完整接口文档:参数、代码示例、响应样例与健康状态

url 填帖子链接,也可以只给帖子编号。

JSON
{
  "platform": "nodeseek",
  "action": "post_detail",
  "params": {
    "url": "https://www.nodeseek.com/post-1098962-1"
  }
}

NodeSeek post_detail 的参数分别是什么意思?

url必填
NodeSeek 帖子链接,如 https://www.nodeseek.com/post-1098962-1,也可以只给帖子编号 1098962;认不出的写法在扣费前被拒。
NodeSeek 返回字段与含义(6)
id
编号:帖子编号(latest_posts、category_posts、post_detail),或回帖的楼层编号(comments),一串数字。
category
板块:latest_posts、category_posts 里是板块 slug(如 daily),post_detail 里是板块名(如 测评);置顶帖可能没有。
collected_at
这条数据的抓取时刻(ISO 8601,UTC)。
category_id
板块 slug(post_detail),如 review,可以原样传给 category_posts 的 category。
comment_count
回帖数(post_detail);回帖不止一页时没有这个字段,总页数看 comments 的 post_page_count。
author_id
作者的数字编号(post_detail、comments)。

怎么调用 NodeSeek 评论 API?

comments

使用 platform="nodeseek"、action="comments" 调用“评论”能力;返回列表,每次一页、固定 10 条,更多用 next_page_token 翻页,主要包含 id、post_id、post_url、text、posted_at、author_username 等 14 个字段。

查看完整接口文档:参数、代码示例、响应样例与健康状态

url 填帖子链接;翻页把 next_page_token 原样作 page_token 传回。

JSON
{
  "platform": "nodeseek",
  "action": "comments",
  "params": {
    "url": "https://www.nodeseek.com/post-1098962-1"
  }
}

NodeSeek comments 的参数分别是什么意思?

url必填
NodeSeek 帖子链接,如 https://www.nodeseek.com/post-1098962-1,也可以只给帖子编号 1098962;认不出的写法在扣费前被拒。
page_token可选
翻页令牌:把上一次响应里的 next_page_token 原样传回,拿下一页,其他参数和第一页一样;不传从第一页开始。每页算一次调用;没有 next_page_token 就是最后一页。按楼层顺序,每页最多 10 条。
NodeSeek 返回字段与含义(8)
id
编号:帖子编号(latest_posts、category_posts、post_detail),或回帖的楼层编号(comments),一串数字。
rank
这一行在这一次结果里的位置,从 1 开始(latest_posts、category_posts、comments)。
collected_at
这条数据的抓取时刻(ISO 8601,UTC)。
author_id
作者的数字编号(post_detail、comments)。
post_id
回帖所在帖子的编号(comments)。
post_url
回帖所在帖子的链接(comments)。
floor_number
回帖的楼层号(comments),从 1 开始;首帖是 0 楼,不在回帖里。
post_page_count
这个帖子的回帖一共几页(comments),每页最多 10 楼。
NodeSeek latest_posts 调用流程一次 NodeSeek latest_posts 调用的全过程:向 POST /api/v1/social 发送 platform="nodeseek"、action="latest_posts";返回结构化 JSON,含 id、url、title、excerpt、posted_at 等字段;返回列表,单次最多 100 条,计费 $0.79 / 千次,失败与空结果不计费。1 · 请求POST /api/v1/socialplatform: "nodeseek"action: "latest_posts"无必填参数EveryInfra$0.79 / 千次2 · 响应 · 列表idurltitleexcerptposted_at
一次 NodeSeek latest_posts 调用的全过程:向 POST /api/v1/social 发送 platform="nodeseek"、action="latest_posts";返回结构化 JSON,含 id、url、title、excerpt、posted_at 等字段;返回列表,单次最多 100 条,计费 $0.79 / 千次,失败与空结果不计费。

NodeSeek 的独有字段名(当前目录)

全站 113 个平台的当前目录中,这 3 个字段名只在 NodeSeek 出现。 这是字段命名的分布,不代表其他平台没有同类信息,也不保证每次响应都含这些字段;具体含义和返回条件仍需逐接口核对。

  • excerpt
  • floor_number
  • post_page_count

返回字段含义

通用字段采用统一命名;切换平台时仍需核对目标格式、字段是否存在、类型、空值与平台特有含义。 机器可读版:/api/v1/social/fields

id
编号:帖子编号(latest_posts、category_posts、post_detail),或回帖的楼层编号(comments),一串数字。
url
该记录在原平台上的可访问链接。
title
标题。平台无标题概念时(如纯文本帖)为 null。
excerpt
帖子摘要(latest_posts、category_posts),站内列表上显示的那一段;有的帖子没有。
posted_at
发布时间,ISO 8601 格式、UTC 时区(如 2026-08-07T12:34:56+00:00)。平台只给非标准字符串时原样透传,解析前建议做容错。null 表示平台未公开。
author_username
作者用户名(@handle),通常可用于拼 URL。
category
板块:latest_posts、category_posts 里是板块 slug(如 daily),post_detail 里是板块名(如 测评);置顶帖可能没有。
rank
这一行在这一次结果里的位置,从 1 开始(latest_posts、category_posts、comments)。
collected_at
这条数据的抓取时刻(ISO 8601,UTC)。
platform
数据来源平台标识,与请求里的 platform 一致(如 xiaohongshu、tiktok)。
text
正文内容,已去除 HTML 标签,全文返回、不截断(个别平台的列表结果本身只有摘要,以该平台的字段说明为准)。
author_id
作者的数字编号(post_detail、comments)。
category_id
板块 slug(post_detail),如 review,可以原样传给 category_posts 的 category。
comment_count
回帖数(post_detail);回帖不止一页时没有这个字段,总页数看 comments 的 post_page_count。
like_count
点赞数。null 表示该平台或该接口不公开此数据,不等于 0。
view_count
浏览/播放数。null 表示不公开,不等于 0。
post_id
回帖所在帖子的编号(comments)。
post_url
回帖所在帖子的链接(comments)。
author_avatar_url
作者头像图片链接(多数平台带签名、会过期)。
floor_number
回帖的楼层号(comments),从 1 开始;首帖是 0 楼,不在回帖里。
post_page_count
这个帖子的回帖一共几页(comments),每页最多 10 楼。

NodeSeek API 常见问题

NodeSeek API 怎么调用?

调用 POST /api/v1/social,请求体传 platform="nodeseek"、action 和 params。以 latest_posts 为例,必填 无参数,没有可选参数。latest_posts 不用填参数,limit 可选 1~100(默认 20);行里没有正文,正文用 post_detail 读。 NodeSeek 共 4 个 action,鉴权用 Authorization: Bearer <API Key>,同一把 Key 通 113 个平台。

NodeSeek API 一次能返回多少条数据?

NodeSeek 有 3 个列表接口,包括 latest_posts、category_posts、comments。其余 1 个接口返回单个对象;对象内仍可能包含数组。数量参数要逐接口区分目标数、页数和记录数,不能将目录数值直接当作保证返回的条数;具体限制见对应参数与用例,不保证完整历史。

NodeSeek API 返回哪些字段?

当前目录为 latest_posts 列出 id、url、title、excerpt、posted_at、author_username 等 10 个字段名。按全站当前目录统计,3 个字段名只在 NodeSeek 出现;这不表示其他平台没有同类信息。字段不保证每次齐全,嵌套位置、类型与空值须按各接口说明核对,同名字段不代表语义可互换。

NodeSeek API 如何取全站最新帖子?

用 latest_posts 取 NodeSeek 全站最新的一批帖子,最新的在前,一次最多 100 条。 不用填参数;limit 是 1~100,不给是 20,不翻页,一次可能比 limit 少。 每行有标题、摘要 excerpt、版块 slug、作者和时间,没有正文;正文把这一行的 url 交给 post_detail 读。

NodeSeek API 如何按版块翻帖子列表?

用 category_posts 按版块 slug 列帖子,每页最多 30 条,按版块页的顺序。 category 填版块链接里的 slug,如 daily、tech、review、trade;post_detail 返回的 category_id 也能直接用。 置顶帖可能排在最前面,可能没有作者、时间和版块;翻页把 next_page_token 原样作 page_token 传回,每页算一次调用。

NodeSeek API 如何读一个帖子的正文和浏览数?

用 post_detail 按帖子链接或编号读一个帖子,回一个对象。 url 填帖子链接,如 https://www.nodeseek.com/post-1098962-1,也可以只给帖子编号 1098962。 text 是首帖全文,category 是版块名,category_id 是版块 slug,另有浏览数 view_count 和点赞数 like_count;回帖不止一页时没有 comment_count。

NodeSeek API 如何按楼层读回帖?

用 comments 按楼层顺序读一个帖子的回帖,每页最多 10 楼。 url 填帖子链接或编号;首帖是 0 楼,不在回帖里,要读用 post_detail。 每条有楼层号 floor_number、作者、作者编号、头像和点赞数;post_page_count 是回帖总页数,翻页把 next_page_token 原样作 page_token 传回。

开始调用 NodeSeek API

在 GitHub 给两个仓库点星领 $1 额度,注册后在控制台领取,24 小⁠时内有效,先选一个 NodeSeek 接口验证结果。

免费开始

Google Analytics 同意才加载 隐私