# Pinterest Comment replies API (pinterest.comment_replies)

- Canonical page: [https://everyinfra.com/en/pinterest-api/comment_replies](https://everyinfra.com/en/pinterest-api/comment_replies?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "pinterest", "action": "comment_replies", "params": {...}}
- Price: $0.032 per call ($32 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, one page of up to 20 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=pinterest&action=comment_replies

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| comment_id | not declared | yes | not declared | The `id` of a `comments` row (a numeric string). A row whose `reply_count` is 0 has no replies. |
| page_token | not declared | no | not declared | Page token. Leave it out for the first page, then pass back the previous response's `next_page_token` unchanged, with the other parameters the same as on the first page. Each page counts as one call. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| row_type | What the row is: in `search_suggest`, `query` (a suggested search) or `user` (a suggested account); in `comments` and `comment_replies`, `comment` (a regular comment) or `tried_it` (a “Tried it” post with photos). |
| 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. |
| like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
| reply_count | Replies, usually replies to a comment. null means not disclosed. |
| is_hearted | Whether the comment received a heart. |
| is_edited | Whether the comment was edited. |
| helpful_count | Number of people who marked the comment as helpful. |
| reactions | Reaction counts by emoji type, keyed by Pinterest emoji type ID; they add up to reaction_count. |
| image_urls | Array of image links in the platform's display order; absent when there are no images. |
| tagged_users | Usernames tagged in the comment. |
| author_id | Author's unique ID on the platform. |
| author_username | Author's username (@handle), usually usable in URLs. |
| author_name | Author's display name. |
| author_avatar_url | Avatar link of the Pin's author (search, user_posts, pin, board_pins). |
| author_url | Link to the author's profile on the platform. |
| rank | Position in this response, from 1 (search, user_posts, boards, board_pins). |
| collected_at | Time this record 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": "pinterest",
  "action": "comment_replies",
  "params": {
    "comment_id": "3985764495557214208"
  }
}'
```

```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": "pinterest",
        "action": "comment_replies",
        "params": {
            "comment_id": "3985764495557214208",
        },
    },
    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": "pinterest",
  "action": "comment_replies",
  "results": [
    {
      "id": …,
      "row_type": …,
      "text": …,
      "posted_at": …,
      "like_count": …,
      "reply_count": …,
      "is_hearted": …,
      "is_edited": …,
      "helpful_count": …,
      "reactions": …,
      "image_urls": …,
      "tagged_users": …,
      "author_id": …,
      "author_username": …,
      "author_name": …,
      "author_avatar_url": …,
      "author_url": …,
      "rank": …,
      "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=pinterest
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
