# Pinterest 画板最新图钉 API (pinterest.board_recent_pins)

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | 画板链接 https://www.pinterest.com/<用户名>/<画板>/，也接受相对路径。一次给最新的最多 50 个，不翻页。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| media_type | 媒体类型。 |
| external_link | Pin 指向的外部链接。 |
| source_domain | 内容来源域名。 |
| reaction_count | 表情回应数。 |
| repin_count | 被转存(repin)次数。Pinterest 的核心传播指标。 |
| comment_count | 评论数。null 表示不公开，不等于 0。 |
| share_count | 分享/转发数。null 表示不公开，不等于 0。 |
| dominant_color | 主色调（十六进制），做视觉分析可直接用。 |
| alt_text | 图片替代文本。 |
| author_username | 作者用户名（@handle），通常可用于拼 URL。 |
| author_name | 作者昵称（显示名）。 |
| board_name | 画板名称。Pinterest 的收藏单位是画板(board)。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |
| rank | 这一行在榜单或结果里的名次，从 1 开始；榜单口径（按什么排、统计多久）以能力说明为准。 |
| author_follower_count | 作者粉丝数。null 表示不公开。 |
| image_urls | 图片链接数组，按平台展示顺序；没有图片时不出现这个字段。 |
| image_count | 这条 Pin 的图片张数。 |
| width | 主图宽度，单位像素。 |
| height | 主图高度，单位像素。 |
| thumbnail_url | 缩略图链接，分辨率低于 image_url。 |
| save_count | 被保存（收藏）的次数；和 repin_count 不是同一个数。 |
| reactions | 按表情类型分开的回应数，键是 Pinterest 的表情类型编号；合计就是 reaction_count。 |
| author_id | 作者在原平台的唯一 ID。 |
| author_avatar_url | 作者头像图片链接（多数平台带签名、会过期）。 |
| author_url | 作者在原平台的主页链接。 |
| author_is_verified | 发布者是否认证账号。 |
| hashtags | 正文里的话题标签数组，按出现顺序；没有时不出现这个字段。 |
| tags | 标签数组。无标签时为空数组，不是 null。 |
| is_ad | 是否广告 Pin。 |
| is_repost | 是否转存来的 Pin（不是作者原创上传）。 |
| board_id | 所在画板的 ID。 |
| board_url | 所在画板的链接。 |
| is_comments_disabled | 是否关闭了评论。 |
| link_title | 外部链接页面的标题。 |
| link_site_name | 外部链接所在网站的名称。 |
| has_shop_product | 是否挂了可购买的商品。 |
| product_id | 挂的商品 ID。 |
| product_name | 挂的商品名称。 |
| product_url | 挂的商品链接。 |
| product_rating | 挂的商品评分。 |
| product_review_count | 挂的商品评价数。 |
| is_in_stock | 挂的商品是否有货。 |
| tried_count | 「试过了」（Tried it）的次数。 |
| creator_id | 原创作者的 ID（转存来的 Pin 才有，和发布者不是同一人）。 |
| creator_username | 原创作者的用户名。 |
| creator_name | 原创作者的昵称。 |
| collected_at | 这条数据的抓取时刻（ISO 8601，UTC）。 |

## 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": "board_recent_pins",
  "params": {
    "url": "https://www.pinterest.com/pinterest/official-news/"
  }
}'
```

```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": "board_recent_pins",
        "params": {
            "url": "https://www.pinterest.com/pinterest/official-news/",
        },
    },
    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": "board_recent_pins",
  "results": [
    {
      "id": …,
      "url": …,
      "text": …,
      "image_url": …,
      "media_type": …,
      "external_link": …,
      "source_domain": …,
      "reaction_count": …,
      "repin_count": …,
      "comment_count": …,
      "share_count": …,
      "dominant_color": …,
      "alt_text": …,
      "author_username": …,
      "author_name": …,
      "board_name": …,
      "price": …,
      "platform": …,
      "rank": …,
      "author_follower_count": …,
      "image_urls": …,
      "image_count": …,
      "width": …,
      "height": …,
      "thumbnail_url": …,
      "save_count": …,
      "reactions": …,
      "author_id": …,
      "author_avatar_url": …,
      "author_url": …,
      "author_is_verified": …,
      "hashtags": …,
      "tags": …,
      "is_ad": …,
      "is_repost": …,
      "board_id": …,
      "board_url": …,
      "is_comments_disabled": …,
      "link_title": …,
      "link_site_name": …,
      "has_shop_product": …,
      "product_id": …,
      "product_name": …,
      "product_url": …,
      "product_rating": …,
      "product_review_count": …,
      "is_in_stock": …,
      "tried_count": …,
      "creator_id": …,
      "creator_username": …,
      "creator_name": …,
      "collected_at": …
    }
  ],
  "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
