# Pinterest Pin stats API (pinterest.pin_stats)

- Canonical page: [https://everyinfra.com/en/pinterest-api/pin_stats](https://everyinfra.com/en/pinterest-api/pin_stats?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "pinterest", "action": "pin_stats", "params": {...}}
- Price: $0.000556 per call ($0.56 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=pinterest&action=pin_stats

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| thread_id | not declared | yes | not declared | The Pin's `thread_id`, carried by every Pin row (search, pin, board_pins and the other Pin lists), including rows with an `e1_` ID. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| thread_id | ID of this Pin's comment thread. |
| save_count | Number of times the Pin was saved; not the same number as repin_count. |
| comment_count | Comments. null means not disclosed, not 0. |
| tried_count | Number of “Tried it” marks. |
| tried_photo_count | Number of “Tried it” posts with photos. |
| tried_video_count | Number of “Tried it” posts with videos. |
| external_link | External link the Pin points to. |
| 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": "pin_stats",
  "params": {
    "thread_id": "4044782853829353152"
  }
}'
```

```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": "pin_stats",
        "params": {
            "thread_id": "4044782853829353152",
        },
    },
    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": "pin_stats",
  "results": {
    "thread_id": …,
    "save_count": …,
    "comment_count": …,
    "tried_count": …,
    "tried_photo_count": …,
    "tried_video_count": …,
    "external_link": …,
    "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=pinterest
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
