Pinterest API

也叫拼趣

2 个接口读 Pinterest:图钉。一次 $0.0020 起。不用登录 Pinterest,不用 Cookie;失败不收费。

接口2 个接口同一种返回格式
价格$0.0020 起约 ¥0.01一次。失败不收费
数据源出错时自动重试每天用真实调用检测 · 已记录 4 天
数据当场取调用那一刻去取

调一次,拿回来的样子

录下来的真实返回,字段已经整理好,直接给 AI 或表格用。
真实返回
GET/v1/pinterest/pins/search$0.0020
字段值
typeimage
published_at2026-10-02 17:34 UTC
author.followers0

2026-10-12 22:19 UTC 录下的真实返回,这里是前 3 行。

在 Playground 里跑一次 · $0.0020
录制的返回
{
  "code": "ok",
  "request_id": "8f42c018-b510-4cce-9533-a082757c59a7",
  "data": {
    "items": [
      {
        "id": "870575894658646279",
        "url": "https://www.pinterest.com/pin/870575894658646279/",
        "type": "image",
        "title": "Everything I pack for mid century living room",
        "text": "Three things nobody tells you about mid century living room.",
        "published_at": "2026-10-02T17:34:20.000Z",
        "author": {
          "id": "898579247663867395",
          "username": "sam_outdoors",
          "name": "Sam Okafor",
          "avatar_url": "https://i.pinimg.com/75x75_RS/88/d5/db/38bbe46636de919c5e4e.jpg",
          "verified": null,
          "followers": 0
        },
        "images": [
          "https://i.pinimg.com/736x/89/db/ff/8c70edfa316bb484a26c.jpg"
        ]
      },
      // … 另有 15 条
    ]
  },
  "page": {
    "next_cursor": "c1.Ir7ipI3Y8OQV4RKFBP_omDtW7__SQKYW5lJ8Jrch",
    "cursor_expires_at": "2026-10-12T23:19:13.000Z",
    "has_more": true,
    "returned": 16
  },
  "warnings": [],
  "meta": {
    "capability": "pinterest.pins.search",
    "result_status": "complete",
    "fetched_at": "2026-10-12T22:19:13.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {
      "lang": "capability",
      "metrics": "capability",
      "hashtags": "capability",
      "mentions": "capability",
      "is_pinned": "platform",
      "post_id": "platform",
      "parent_id": "platform",
      "root_id": "platform"
    },
    "billing": {
      "amount": "0.002",
      "currency": "USD",
      "balance_after": "9.998"
    }
  }
}

取自 2026-10-12 22:19 UTC 录下的真实返回。名字、正文和编号是示例,链接也是,都不是录到的原文(页面不展示任何人的个人信息);数字是原样。长列表做了截断。请求号、游标和余额是示意。

能拿到什么

每一行是一个接口:返回什么,一次多少钱。

接口路径返回价格
图钉2
Pinterest 图钉搜索GET/v1/pinterest/pins/search内容列表$0.0020
Pinterest 图钉详情GET/v1/pinterest/pins/get内容$0.0020
价格是现行价格。失败和结果不确定的调用不收费。Pinterest API 价格 →在 AI 里用 Pinterest 数据 →看实时状态 →

大家拿它做什么

你的 AI 现在就能用 Pinterest 数据跑的现成任务。每个任务是几次调用,带花费上限。

在 Claude、Cursor 里直接问 Pinterest

加上 DataXAPI 的 MCP,AI 会自己找到合适的 Pinterest 接口去调,回答里带原始链接。花多少钱按调了哪些接口算。

https://api.dataxapi.com/mcp

三步开始

这里演示的是 Pinterest 图钉搜索。Pinterest 的其他接口都是同样的调法,返回同样的格式。

拿一把 Key

用邮箱验证码或 Google 登录。可免费试用,不用绑卡。

自己调,或者让你的 AI 调

代码里一次 GET。或者把下面这段话带着你的 Key 贴给你的 agent:它自己接好,然后能自己找到并调用这些接口。

读 https://dataxapi.com/agents.md,在这个 agent 里帮我接好 DataXAPI。我的 API Key 是 dx_live_…,之后所有 DataXAPI 的调用都用它。

登录后复制,带上你的 Key

每次读到的都是同一种格式

数据在 data.items(单个对象在 data.item),下一页在 page.next_cursor,扣了多少在 meta.billing.amount。失败不扣费。

看快速开始 →
curl -G "https://api.dataxapi.com/v1/pinterest/pins/search" \
  --data-urlencode "query=mid century living room" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
from dataxapi import DataXAPI

dx = DataXAPI()  # reads DATAXAPI_API_KEY
result = dx.pinterest.pins.search(query="mid century living room")
print(result["data"]["items"])
import { DataXAPI } from "@dataxapi/sdk";

const dx = new DataXAPI(); // reads DATAXAPI_API_KEY
const result = await dx.pinterest.pins.search({ query: "mid century living room" });
console.log(result.data.items);
dataxapi call pinterest.pins.search 'query=mid century living room'
{
  "mcpServers": {
    "dataxapi": {
      "type": "http",
      "url": "https://api.dataxapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${DATAXAPI_API_KEY}"
      }
    }
  }
}

把这段加进你的 MCP 客户端,然后让你的 AI 调用 pinterest.pins.search。

边界情况

Pinterest 这些接口在边界上怎么表现,以及调用结果不对时先看哪里。

每页条数
列表每页 20 到 50 条,各接口不同。每个列表都能翻页:把 page.next_cursor 作为 cursor 传回,每一页是一次单独的调用。
给不了的字段
2 个接口里有 2 个填不满它返回的对象。每个接口的页面列出了给不了哪些,每次返回也在 meta.unavailable 里再写一遍:缺的字段不会被悄悄写成 0。
图钉编号和链接
图钉用一串数字的编号,或者链接 pinterest.com/pin/编号;pin.it 短链不收。
搜索不带数
搜出来的图钉不带任何数;要心情、评论、收藏数,按图钉再取一次详情。
两种收藏数
metrics.favorites 是这一个图钉被转存的次数;ext.saves 是同一内容所有副本的保存总数,评论数也是所有副本加在一起的。
一页可能不满
既没标题也没描述的图钉会被去掉,相关搜索之类的区块也会去掉,所以一页可能比平时少。

关于 Pinterest API 的常见问题

回答从简,细节在各接口的页面。

Pinterest API 怎么收费?

按次收费,没有订阅。2 个接口都是一次 $0.0020。拿到数据才扣费,失败不收。

需要 Pinterest 账号或 Cookie 吗?

不需要。你只拿一把 DataXAPI 的 Key:不用登录 Pinterest,不用 Cookie,也不用养设备。接口只返回公开可见的数据。

数据是实时的吗?

每次调用都当场去 Pinterest 取,meta.fetched_at 写明取到的时间。结果保留 24 小时,带同一个 Idempotency-Key 重试不会再扣一次。

空结果收费吗?

列表返回空结果时照价收费:搜索已经执行了。读单个对象而对象不存在时返回 not_found,不收费。

Pinterest 改版了怎么办?

调用失败不管什么原因都不扣费。被暂停的接口返回 capability_paused,同样不扣费;GET /v1/catalog/status 写着现在哪些能用。

相关

一把 Key 调 Pinterest。

免费试用:按 $0.0020 一次,最多可调 50 次,不用绑卡。 不用登录 Pinterest,不用 Cookie,没有订阅。失败不收费。

免费开始