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.018JSON
Pinterest每次呼叫 $0.018JSON
Pinterest每次呼叫 $0.018JSON
Pinterest每次呼叫 $0.018JSON

問題

常見問題

我要如何使用 Pinterest User Boards API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/pinterest/user-boards。您也可以直接在本頁的 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 金鑰嗎?

不需要。Pinterest User Boards 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Pinterest API 存取權。