# NodeSeek 内容详情 API (nodeseek.post_detail)

- Canonical page: [https://everyinfra.com/nodeseek-api/post_detail](https://everyinfra.com/nodeseek-api/post_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "nodeseek", "action": "post_detail", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=nodeseek&action=post_detail

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | NodeSeek 帖子链接，如 https://www.nodeseek.com/post-1098962-1，也可以只给帖子编号 1098962；认不出的写法在扣费前被拒。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 编号：帖子编号（latest_posts、category_posts、post_detail），或回帖的楼层编号（comments），一串数字。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| author_username | 作者用户名（@handle），通常可用于拼 URL。 |
| author_id | 作者的数字编号（post_detail、comments）。 |
| category | 板块：latest_posts、category_posts 里是板块 slug（如 daily），post_detail 里是板块名（如 测评）；置顶帖可能没有。 |
| 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。 |
| collected_at | 这条数据的抓取时刻（ISO 8601，UTC）。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "nodeseek",
  "action": "post_detail",
  "params": {
    "url": "https://www.nodeseek.com/post-1098962-1"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "nodeseek",
        "action": "post_detail",
        "params": {
            "url": "https://www.nodeseek.com/post-1098962-1",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "nodeseek",
  "action": "post_detail",
  "results": {
    "id": …,
    "url": …,
    "title": …,
    "text": …,
    "posted_at": …,
    "author_username": …,
    "author_id": …,
    "category": …,
    "category_id": …,
    "comment_count": …,
    "like_count": …,
    "view_count": …,
    "collected_at": …,
    "platform": …
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=nodeseek
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
