# Pinterest Board Pins API

> Returns a paginated list of pins from a specified Pinterest board URL, including pin metadata, images, and aggregated pin metrics.

Source: https://www.sandbase.ai/apis/pinterest/board
API reference: https://www.sandbase.ai/apis/pinterest/board/docs

## Facts

- Provider: Pinterest
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/pinterest/board`
- 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/board` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

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

## FAQ

### How do I use the Pinterest Board Pins API?

Send a POST request to https://api.sandbase.ai/v1/api/pinterest/board 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 Board Pins 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 Board Pins API accept?

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

### What does the Pinterest Board Pins API return?

A JSON response returned in the same HTTP request (synchronous).

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

No. Pinterest Board Pins 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 Board Pins API

Retrieve pins and associated metadata from a Pinterest board using its `url`. The endpoint also supports pagination via `cursor` and lightweight responses via `trim`.

#### Use cases

- Extract pin images and descriptions from a target Pinterest board.
- Monitor board content additions and aggregate pin metrics over time.
- Collect creative assets from curated boards for visual reference libraries.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/pinterest/board" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "<url>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `url` | string | Yes | The URL of the Pinterest board to fetch pins from. |
| `trim` | boolean | No | Set to true for a trimmed down version of the response. |
| `cursor` | string | No | Pagination cursor from a previous response to get the next page. |

#### Notes

- Use `cursor` to request subsequent pages of pins.
- Set `trim` to true to retrieve a reduced response payload.
