# NodeSeek Comments API (nodeseek.comments)

- Canonical page: [https://everyinfra.com/en/nodeseek-api/comments](https://everyinfra.com/en/nodeseek-api/comments?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "nodeseek", "action": "comments", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, one page of up to 10 per call; the number of rows varies from page to page and a short page is not the end (limit is ignored; pass the top-level next_page_token from the response as page_token for the next page; no next_page_token means the end)
- Pagination: pass next_page_token back as page_token for the next page, other params unchanged; one call per page, tokens last 24 hours
- 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=comments

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | A NodeSeek post link such as `https://www.nodeseek.com/post-1098962-1`, or just the post number `1098962`. Other forms are rejected before any charge. |
| page_token | not declared | no | not declared | Page token for `category_posts` and `comments`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, with the other parameters unchanged. `category_posts` pages hold up to 30 posts and `comments` pages up to 10 replies; each page is one call, and the last page has no `next_page_token`. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | Post number on `latest_posts`, `category_posts` and `post_detail`; on `comments`, the reply's number. A digit string. |
| post_id | Number of the post this reply belongs to. |
| post_url | Link to the post this reply belongs to. |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| author_username | Author's username (@handle), usually usable in URLs. |
| author_id | Numeric ID of the author. |
| author_avatar_url | Link to the reply author's avatar image. |
| floor_number | Floor number of the reply, from 1; the opening post is floor 0 and is not included. |
| like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
| rank | Position of the row in this response, from 1. |
| post_page_count | How many reply pages the post has, up to 10 replies per page. |
| collected_at | When this data was collected (ISO 8601, UTC). |
| platform | Source platform identifier, the same as platform in the request (for example 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": "comments",
  "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": "comments",
        "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": "comments",
  "results": [
    {
      "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": …
    }
  ],
  "next_page_token": …,
  "pagination": { … },
  "count": …,
  "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
