handlestringobbligatorio
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
}Seleziona un esempio per caricare i suoi input e il risultato nel 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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
handlestringobbligatorioThe 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.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
{
"boards": [],
"credits_charged": 1,
"credits_remaining": 8036,
"cursor": null,
"success": true
}Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Pinterest User BoardsQuesta API Pinterest | $0.018 per chiamata | JSON |
Pinterest | $0.018 per chiamata | JSON |
Pinterest | $0.018 per chiamata | JSON |
Pinterest | $0.018 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/pinterest/user-boards con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.018 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: handle (string). Facoltativi: trim (boolean). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Pinterest User Boards funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Pinterest.