Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Pinterest User Boards

Dokumentacja 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.

Cena
$0.018USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
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.
WyjściePrzykład
Odpowiedźoutputs · 108 B · 7 wierszy
{
  "boards": [],
  "credits_charged": 1,
  "credits_remaining": 8036,
  "cursor": null,
  "success": true
}

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Pinterest$0.018 za wywołanieJSON
Pinterest$0.018 za wywołanieJSON
Pinterest$0.018 za wywołanieJSON
Pinterest$0.018 za wywołanieJSON

Pytania

FAQ

Jak używać API Pinterest User Boards?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/pinterest/user-boards z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Pinterest User Boards?

$0.018 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Pinterest User Boards?

Wymagane: handle (string). Opcjonalne: trim (boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Pinterest User Boards?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Pinterest lub klucza API?

Nie. Pinterest User Boards działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Pinterest.