handlestringrequired
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
}Select an example to load its inputs and result into the 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.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/pinterest/user-boards" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"handle": "example"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
handlestringrequiredThe 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.
Saved example response for this API; no live request is made when viewing it.
{
"boards": [],
"credits_charged": 1,
"credits_remaining": 8036,
"cursor": null,
"success": true
}Explore more
| API | Price | Response |
|---|---|---|
Pinterest User BoardsThis API Pinterest | $0.018 per call | JSON |
Pinterest | $0.018 per call | JSON |
Pinterest | $0.018 per call | JSON |
Pinterest | $0.018 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/pinterest/user-boards with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
$0.018 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.
Required: handle (string). Optional: trim (boolean). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
No. Pinterest User Boards runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Pinterest API access separately.