# Pinterest Pin Details API

> Returns detailed information for a single Pinterest pin using its page URL. Supports an optional setting to return a trimmed response payload.

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

## Facts

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

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

## FAQ

### How do I use the Pinterest Pin Details API?

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

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

### What does the Pinterest Pin Details API return?

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

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

No. Pinterest Pin Details 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 Pin Details API

Retrieve detailed metadata for a specific Pinterest pin by supplying its link via `url`. Set `trim` to true to receive a compact version of the data.

#### Use cases

- Inspect metadata and media details from a Pinterest pin URL.
- Display pin information within external social media monitoring tools.
- Retrieve compact pin details by enabling the trimmed response option.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `url` | string | Yes | The Pinterest pin URL to fetch details for. |
| `trim` | boolean | No | Set to true for a trimmed down version of the response. |

#### Notes

- Set `trim` to true to obtain a trimmed-down version of the response.
