# Pinterest 节日热点 API (pinterest.seasonal_moments)

- Canonical page: [https://everyinfra.com/pinterest-api/seasonal_moments](https://everyinfra.com/pinterest-api/seasonal_moments?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "pinterest", "action": "seasonal_moments", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, one page of 20 per target, no next_page_token (to read further, page one target at a time with the single-target action; limit is ignored)
- 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=seasonal_moments

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| region | enum: ar / au+nz / br / ca / co / de / de+at+ch / es / fr / gb+ie / it / it+es+pt+gr+mt / mx / mx+ar+co+cl / nl+be+lu / se+dk+fi+no / us | no | not declared | 地区，不传是 US（美国）。可选：US、CA、GB+IE、DE、DE+AT+CH、FR、IT、ES、IT+ES+PT+GR+MT、SE+DK+FI+NO、NL+BE+LU、MX、AR、CO、MX+AR+CO+CL、BR、AU+NZ。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| phase | 现在处在哪个阶段：approaching 快到了、rising 在升温、peak 高峰、cooldown 回落、ended 这一轮过了。 |
| next_date | 下一次是哪天（UTC，YYYY-MM-DD）。 |
| last_start_date | 上一轮开始的日子（UTC，YYYY-MM-DD）。 |
| last_end_date | 上一轮结束的日子（UTC，YYYY-MM-DD）。 |
| takeoff_date | 这一轮开始起势的日子（UTC，YYYY-MM-DD）。 |
| peak_date | 这一轮到高峰的日子（UTC，YYYY-MM-DD）。 |
| peak_length_days | 高峰期持续的天数。 |
| last_peak_date | 上一轮高峰的日子（UTC，YYYY-MM-DD）。 |
| rank | 这一行在榜单或结果里的名次，从 1 开始；榜单口径（按什么排、统计多久）以能力说明为准。 |
| 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": "pinterest",
  "action": "seasonal_moments",
  "params": {}
}'
```

```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": "seasonal_moments",
        "params": {},
    },
    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": "seasonal_moments",
  "results": [
    {
      "name": …,
      "phase": …,
      "next_date": …,
      "last_start_date": …,
      "last_end_date": …,
      "takeoff_date": …,
      "peak_date": …,
      "peak_length_days": …,
      "last_peak_date": …,
      "rank": …,
      "collected_at": …,
      "platform": …
    }
  ],
  "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
