# Pinterest API 数据接口

Pinterest API（数据接口）可以搜帖子，读帖子详情，不用登录 Pinterest 账号，也不用提供 Cookie。每次调用 2 积分（约 $0.004–$0.0067），失败不扣。Pinterest 不提供浏览量，这个字段返回 null。可以直接发 HTTP 请求，也可以通过 MCP 接到 AI 客户端里用。最近实测：2026-10-17。

- 页面：https://socialtoai.com/zh/platforms/pinterest/
- 最近更新：2026-10-17
- 最近实测：2026-10-17

## 可用的动作

| 动作 | 返回什么 | 由什么参数选中 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- | --- |
| `search` | 按关键词找帖子：正文、作者和发布时间。 | — | `pinterest.search` | 2 | https://socialtoai.com/zh/pinterest-search-api.md |
| `detail` | 用编号或链接取一条帖子：正文、作者、点赞数、评论数和发布时间。 | — | `pinterest.detail` | 2 | https://socialtoai.com/zh/pinterest-detail-api.md |

Pinterest 不提供：热榜、评论、账号资料和账号作品。

## 调用示例

```bash
curl https://api.socialtoai.com/v1/search \
  -H "Authorization: Bearer $SOCIALTOAI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "pinterest",
    "query": "mid century living room"
  }'
```

## Pinterest 给不了的字段

这些字段在对应的调用里始终是 null，并列在返回的 `unavailable` 里。

| 字段 | 哪些动作 |
| --- | --- |
| `metrics.likes` | search |
| `metrics.comments` | search |
| `metrics.shares` | search |
| `metrics.collects` | search |
| `metrics.views` | search, detail |
| `metrics.reposts` | search, detail |
| `hashtags` | search, detail |
| `is_pinned` | search, detail |

## 在 AI 里直接问

- 这周 Pinterest 上，家用咖啡和抹茶哪个更火？ → search, search: 4 积分

## 能读 Pinterest 的现成工具

- [品牌口碑](https://socialtoai.com/zh/tools/brand-buzz.md)：各平台上的态度占比、提到最多的事，以及背后的帖子

## 官方 API

Pinterest 提供面向创作者、广告主和商家的官方 API。应用须提交审核，先获得试用权限，再提交含 OAuth 授权流程演示的申请才能升级为标准权限；文档列出了读取图板和 Pin 的能力，但未说明可搜索公开内容。

来源：[Pinterest 官方开发者文档](https://developers.pinterest.com/docs/key-concepts/access-tiers/)，核对于 2026-10-17。
