Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Pinterest User Boards

API 文档
https://api.sandbase.ai/v1/api/pinterest/user-boards

Get a Pinterest user's boards by username: board name, URL, description, pin and follower counts, cover images and creation date.

价格
$0.018美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 1 个可选

Playground

输入
The Pinterest username to get boards for (e.g. 'broadstbullycom' from https://www.pinterest.com/broadstbullycom/).
Set to true for a trimmed down version of the response.
输出示例
响应outputs · 108 B · 7 行
{
  "boards": [],
  "credits_charged": 1,
  "credits_remaining": 8036,
  "cursor": null,
  "success": true
}

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Pinterest User Boards API

This API returns the boards on a Pinterest profile. Each board has a name, URL, description, pin count, follower count, cover image and creation date. It needs the Pinterest username as handle.

Use cases

  • Compare how a brand groups its content into boards and which boards draw the most followers.
  • Rank a creator's boards by follower_count to find the topics that attract the most attention.
  • Collect board URLs for a profile, then pull the pins from each board.
  • Track the size of a board over time by saving pin_count and follower_count on a schedule.

Request

curl -X POST "https://api.sandbase.ai/v1/api/pinterest/user-boards" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle": "pinterest", "trim": true}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
handlestringYesThe Pinterest username to get boards for (e.g. 'broadstbullycom' from https://www.pinterest.com/broadstbullycom/).
trimbooleanNoSet to true for a trimmed down version of the response.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "boards": [
    {
      "created_at": "Fri, 23 Oct 2026 23:04:28 +0000",
      "description": "Thoughtful finds for a slower, softer life — candles, journals and self-care tre…",
      "follower_count": 4233328,
      "id": "424605139808129209",
      "image_cover_hd_url": "https://i.pinimg.com/474x/57/4d/64/574d645321687c7bb1ab8d1163daae9b.jpg",
      "name": "Grounding gifts to romanticize your life",
      "pin_count": 59,
      "url": "https://www.pinterest.com/pinterest/grounding-gifts-to-romanticize-your-life/"
    }
  ],
  "credits_charged": 1,
  "credits_remaining": 409649,
  "cursor": "LT40MjQ2MDUxMzk4MDgxMjc3NDN8MTB8NDUyNDcwNTM2ODQ2ODIwMipHUUwqfDA1NmI5M2UyMzZhNGFl…",
  "success": true
}

Response fields

FieldMeaning
boards[]List of boards that belong to the user.
boards[].nameTitle of the board.
boards[].descriptionText the owner wrote to describe the board.
boards[].urlFull Pinterest URL of the board.
boards[].idNumeric board ID, returned as a string.
boards[].pin_count / boards[].follower_countNumber of pins saved on the board and number of users who follow it.
boards[].image_cover_hd_urlURL of the board's cover image.
boards[].created_atCreation date and time of the board, in a format like Fri, 23 Oct 2026 23:04:28 +0000.
cursorToken that points to the next page of boards.

Notes

  • Take handle from the profile URL. For https://www.pinterest.com/pinterest/ the value is pinterest.
  • Pass the returned cursor to request more boards, if your plan of use supports paging with it. The response carries it when more results may exist.
  • Set trim to true for a smaller response, as used in the example.
  • To list the pins on a board, call Pinterest Board Pins next.

Pricing

$0.018 per successful call. Failed calls are not charged.

探索更多

相关 APIs

全部 APIs
API价格响应
Pinterest$0.018 每次调用JSON
Pinterest$0.018 每次调用JSON
Pinterest$0.018 每次调用JSON
Pinterest$0.018 每次调用JSON

问题

常见问题

如何使用 Pinterest User Boards API?

向 https://api.sandbase.ai/v1/api/pinterest/user-boards 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Pinterest User Boards API 的价格是多少?

每次调用 $0.018,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Pinterest User Boards API 接受哪些参数?

必填:handle (string)。 可选:trim (boolean)。 Parameters 表和本页的 Playground 列出了每个字段。

Pinterest User Boards API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Pinterest 开发者账户或 API key 吗?

不需要。Pinterest User Boards 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Pinterest API 访问权限。