EveryInfra.com

社交内容 · 数据 API

Pinterest

Pinterest API

Pin、画板与创作者主页——视觉趋势与选品灵感的一手来源。 统一入口 POST /api/v1/social,干净结构化 JSON,¥0.01/次、失败不计费。

7

个能力

¥0.01

每次调用

秒级

响应

1 个

API Key 通 87 平台

Pinterest 能力清单

action必填参数可选参数单次条数模式单价 / 次返回字段
searchkeywordcontent_type默认 20 · 最多 50同步¥0.01id · url · title · text · image_url · reaction_count · source_domain · dominant_color · posted_at · author_username · author_name · author_follower_count · board_name · platform
profileusername同步¥0.01user_id · username · name · bio · avatar_url · follower_count · following_count · pin_count · board_count · video_count · website · is_verified · is_private · created_at · platform
user_postsusername默认 20 · 最多 50同步¥0.01id · url · title · text · image_url · video_url · media_type · external_link · source_domain · reaction_count · repin_count · comment_count · share_count · dominant_color · alt_text · posted_at · author_username · author_name · board_name · price · platform
pinurl同步¥0.01id · url · title · text · image_url · video_url · media_type · external_link · source_domain · reaction_count · repin_count · comment_count · share_count · dominant_color · alt_text · posted_at · author_username · author_name · board_name · price · platform
boardsusername默认 20 · 最多 50同步¥0.01id · name · url · description · pin_count · section_count · follower_count · cover_image_url · is_collaborative · privacy · owner_username · owner_name · created_at · platform
board_pinsboard_id默认 20 · 最多 50同步¥0.01id · url · title · text · image_url · video_url · media_type · external_link · source_domain · reaction_count · repin_count · comment_count · share_count · dominant_color · alt_text · posted_at · author_username · author_name · board_name · price · platform
board_detailurl同步¥0.01id · name · url · description · pin_count · section_count · follower_count · cover_image_url · is_collaborative · privacy · owner_username · owner_name · created_at · platform

返回字段含义

字段名跨 87 个平台统一,同一个键在哪个平台都是同一个意思—— 这也是换平台只需改 platform 一个字段的原因。 机器可读版:/api/v1/social/fields

id
该记录在原平台上的唯一标识。仅在同一平台内唯一,跨平台可能重复。
url
该记录在原平台上的可访问链接。
title
标题。平台无标题概念时(如纯文本帖)为 null。
text
正文内容,已去除 HTML 标签。长文可能被上游截断。
image_url
图片链接。多图能力可能返回 image_urls 数组。
posted_at
发布时间,ISO 8601 格式、UTC 时区(如 2026-08-07T12:34:56+00:00)。上游只给非标准字符串时原样透传,解析前建议做容错。null 表示平台未公开。
author_username
作者用户名(@handle),通常可用于拼 URL。
author_name
作者昵称(显示名)。
author_follower_count
作者粉丝数。null 表示不公开。
platform
数据来源平台标识,与请求里的 platform 一致(如 xiaohongshu、tiktok)。
user_id
用户在原平台的唯一 ID。
username
用户名(@handle)。
name
名称。用于账号/商品/商家类能力,指该对象本身的名字。
bio
个人简介,账号自己填写的文本。可能含换行和 emoji。
avatar_url
头像图片链接。部分平台给的是带尺寸参数的 CDN 链接,可能有时效。
follower_count
粉丝数。null 表示不公开,不等于 0。
following_count
关注数。null 表示不公开,不等于 0。
website
账号或商家填写的外链网址。
is_verified
是否为平台认证账号(蓝V等)。null 表示无法判定。
created_at
创建时间,格式同 posted_at。
comment_count
评论数。null 表示不公开,不等于 0。
share_count
分享/转发数。null 表示不公开,不等于 0。
price
价格数值,不含货币符号;币种见 currency。
description
简介或描述,通常比 text 短。

另有 Pinterest 特有字段 reaction_count · source_domain · dominant_color · board_name · pin_count · board_count · video_count · is_private · video_url · media_type · external_link · repin_count · alt_text · section_count · cover_image_url · is_collaborative · privacy · owner_username · owner_name,保留该平台自身的语义。

30 秒调用示例

pinterest_search.sh
curl -X POST https://api.everyinfra.com/api/v1/social \  -H "Authorization: Bearer omg_live_你的KEY" \  -H "Content-Type: application/json" \  -d '{"platform":"pinterest","action":"search","params":{"keyword":"咖啡"}}'

返回长这样

response.json
{  "id": "pinterest_…",  "search": [    {      "id": "…",      "url": "https://…",      "title": "…",      "text": "…",      "image_url": "https://…",      "reaction_count": 128,      "source_domain": "…",      "dominant_color": "…",      "posted_at": "2026-08-01T09:30:00Z",      "author_username": "…",      "author_name": "…",      "author_follower_count": 128,      "board_name": "…",      "platform": "pinterest"    }  ],  "count": 20,  "billing": { "charged": true, "credits": 100, "cny": 0.01 }}

常见用例

关键词监控

按关键词轮询 Pinterest 的新内容,配合 Gemini 文本 API 做情绪分类与异常波动告警。

账号与主体画像

按 Pinterest 的主页数据建达人/商家档案,做投放筛选或竞品盯防。

内容追踪

持续拉取指定账号在 Pinterest 的历史与新增内容,做选题与节奏分析。

Pinterest API 常见问题

Pinterest API 怎么调用?

统一入口 POST /api/v1/social,请求体传 platform="pinterest"、action(见上方能力清单)和 params。鉴权用请求头 Authorization: Bearer <API Key>,同一把 Key 可以调用全部 87 个平台,不需要为每个平台单独申请。

Pinterest API 怎么收费?

按次计费,¥0.01/次,从统一的 ¥ 钱包扣。一次调用一次计费,不按返回条数或页数加价;参数错误、鉴权失败和空结果都不计费。每次调用的响应里带 billing 字段,写明本次实扣多少。

Pinterest API 一次能返回多少条数据?

按能力不同,单次最多 50 条(逐能力上限见上方清单的「单次条数」列)。传 limit 参数控制,不传则用默认值。一次调用就返回这么多条,不需要翻页、也不会因为条数多而多收钱。

Pinterest API 返回哪些字段?

每个能力的返回字段都列在上方能力清单的「返回字段」列里,例如 search 返回 id、url、title、text、image_url、reaction_count 等。字段名跨平台统一,换平台不用改解析代码。

可以先免费试用 Pinterest API 吗?

可以。注册免费,加微信领邀请码可得 ¥5 免费额度(≈500 次数据调用或 400 次 AI 调用),足够把 Pinterest 的 7 个能力都试一遍。无需信用卡。

开始调用 Pinterest API

加微信领 ¥5 免费额度 —— ≈500 次数据调用或 400 次 AI 调用,足够把 Pinterest 的能力全试一遍。

免费注册 →