# Pinterest User Boards API

> Get a Pinterest user's boards by username: board name, URL, description, pin and follower counts, cover images and creation date.

Source: https://www.sandbase.ai/apis/pinterest/user-boards
API reference: https://www.sandbase.ai/apis/pinterest/user-boards/docs

## Facts

- Provider: Pinterest
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/pinterest/user-boards`
- Price: $0.02 per call
- Capabilities: social media
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/pinterest/user-boards` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `handle` | string | yes |  |
| `trim` | boolean | no |  |

## FAQ

### How do I use the Pinterest User Boards API?

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.

### How much does the Pinterest User Boards API cost?

$0.02 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Pinterest User Boards API accept?

Required: handle (string). Optional: trim (boolean). The Parameters table and the Playground on this page list every field.

### What does the Pinterest User Boards API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a Pinterest developer account or API key?

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.

## README

### Pinterest User Boards API

Pass a Pinterest username and get the boards on that profile.

#### Use cases

- Analyze how brands organize content on Pinterest.
- Find popular boards in a niche.
- Track board growth.

#### Request

```bash
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}'
```

#### Parameters

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

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "boards": [
    {
      "description": "Inspired by the Pinterest Predicts trend, Wilderkind, this limited-edition collection is …",
      "follower_count": 8323,
      "id": "1136033143445898365",
      "name": "The Wilderkind Collection",
      "pin_count": 45,
      "url": "https://www.pinterest.com/chamberlaincoffeepins/the-wilderkind-collection/"
    }
  ]
}
```
