handlestringобязательно
The Pinterest username to get boards for (e.g. 'broadstbullycom' from https://www.pinterest.com/broadstbullycom/).
https://api.sandbase.ai/v1/api/pinterest/user-boardsGet a Pinterest user's boards by username: board name, URL, description, pin and follower counts, cover images and creation date.
{
"boards": [],
"credits_charged": 1,
"credits_remaining": 8036,
"cursor": null,
"success": true
}Выберите пример, чтобы загрузить его входные данные и результат в playground.
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.
follower_count to find the topics that attract the most attention.pin_count and follower_count on a schedule.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.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | The Pinterest username to get boards for (e.g. 'broadstbullycom' from https://www.pinterest.com/broadstbullycom/). |
trim | boolean | No | Set to true for a trimmed down version of the 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
}
| Field | Meaning |
|---|---|
boards[] | List of boards that belong to the user. |
boards[].name | Title of the board. |
boards[].description | Text the owner wrote to describe the board. |
boards[].url | Full Pinterest URL of the board. |
boards[].id | Numeric board ID, returned as a string. |
boards[].pin_count / boards[].follower_count | Number of pins saved on the board and number of users who follow it. |
boards[].image_cover_hd_url | URL of the board's cover image. |
boards[].created_at | Creation date and time of the board, in a format like Fri, 23 Oct 2026 23:04:28 +0000. |
cursor | Token that points to the next page of boards. |
handle from the profile URL. For https://www.pinterest.com/pinterest/ the value is pinterest.cursor to request more boards, if your plan of use supports paging with it. The response carries it when more results may exist.trim to true for a smaller response, as used in the example.$0.018 per successful call. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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": "example"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
handlestringобязательноThe Pinterest username to get boards for (e.g. 'broadstbullycom' from https://www.pinterest.com/broadstbullycom/).
trimbooleanSet to true for a trimmed down version of the response.
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
{
"boards": [],
"credits_charged": 1,
"credits_remaining": 8036,
"cursor": null,
"success": true
}Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Pinterest User BoardsЭтот API Pinterest | $0.018 за запрос | JSON |
Pinterest | $0.018 за запрос | JSON |
Pinterest | $0.018 за запрос | JSON |
Pinterest | $0.018 за запрос | JSON |
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/pinterest/user-boards, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.018 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: handle (string). Необязательные: trim (boolean). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Pinterest User Boards работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Pinterest.