# Get pin

Read a public pin’s metadata, images and video evidence, including a video URL when available.

- Platform: [Pinterest](https://docs.upscrape.com/docs/platforms/pinterest)
- Capability ID: `pinterest.pin.get`
- Cost: 1 credit per request
- Maximum runtime: 30 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "url": "https://www.pinterest.com/pin/46443439902640817/"
  },
  "capability": "pinterest.pin.get"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string` | Yes | Full Pinterest pin URL |

### Example input

```json
{
  "url": "https://www.pinterest.com/pin/46443439902640817/"
}
```

## Response

Successful output is returned in `results[0].data`.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This example shows one response. Values and optional fields vary with the data available.

```json
{
  "pin": {
    "favorite_count": 0,
    "has_products": false,
    "id": "46443439902640817",
    "images": {
      "170x": {
        "height": 0,
        "url": "https://i.pinimg.com/236x/62/55/21/62552193203abdb8210b0eb32f8e7705.jpg",
        "width": 0
      },
      "236x": {
        "height": 0,
        "url": "https://i.pinimg.com/236x/62/55/21/62552193203abdb8210b0eb32f8e7705.jpg",
        "width": 0
      },
      "474x": {
        "height": 0,
        "url": "https://i.pinimg.com/474x/62/55/21/62552193203abdb8210b0eb32f8e7705.jpg",
        "width": 0
      },
      "736x": {
        "height": 0,
        "url": "https://i.pinimg.com/736x/62/55/21/62552193203abdb8210b0eb32f8e7705.jpg",
        "width": 0
      },
      "orig": {
        "height": 0,
        "url": "https://i.pinimg.com/originals/62/55/21/62552193203abdb8210b0eb32f8e7705.jpg",
        "width": 0
      }
    },
    "is_native": false,
    "is_promoted": false,
    "is_repin": false,
    "is_story_pin": false,
    "is_video": false,
    "media_detection": "checked_no_video",
    "media_type": "unknown",
    "repin_count": 0,
    "save_count": 0
  }
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `pin` | `object` | 13 fields |
| `pin.favorite_count` | `integer` | 0 |
| `pin.has_products` | `boolean` | false |
| `pin.id` | `string` | 46443439902640817 |
| `pin.images` | `object` | 5 fields |
| `pin.is_native` | `boolean` | false |
| `pin.is_promoted` | `boolean` | false |
| `pin.is_repin` | `boolean` | false |
| `pin.is_story_pin` | `boolean` | false |
| `pin.is_video` | `boolean` | false |
| `pin.media_detection` | `string` | checked_no_video |
| `pin.media_type` | `string` | unknown |
| `pin.repin_count` | `integer` | 0 |
| `pin.save_count` | `integer` | 0 |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
