Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Pinterest User Boards

Tài liệu 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.

Giá
$0.018USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
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.
Đầu raVí dụ
Phản hồioutputs · 108 B · 7 dòng
{
  "boards": [],
  "credits_charged": 1,
  "credits_remaining": 8036,
  "cursor": null,
  "success": true
}

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Pinterest$0.018 mỗi lần gọiJSON
Pinterest$0.018 mỗi lần gọiJSON
Pinterest$0.018 mỗi lần gọiJSON
Pinterest$0.018 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Pinterest User Boards?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/pinterest/user-boards với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Pinterest User Boards có giá bao nhiêu?

$0.018 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Pinterest User Boards chấp nhận những tham số nào?

Bắt buộc: handle (string). Tùy chọn: trim (boolean). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Pinterest User Boards trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Pinterest không?

Không. Pinterest User Boards chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Pinterest.