> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stophy.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Pinterest pin

> Read a Pinterest pin page or a pin.it short link as JSON with the pinterest-pin parser. $1 per 1,000 calls. Send the page to scrape.

Reads a Pinterest pin page or a pin.it short link and returns one post as JSON.

## Make a request

Send the page's URL to [scrape](https://docs.stophy.dev/api-reference/endpoint/scrape.md) with a `json` format that names the parser. This parser works without an API key when you send no options, up to 10 calls a minute and 50 calls a day per IP address. See [Rate limits](https://docs.stophy.dev/production/rate-limits.md). To lift the limits, get an API key in the [Quickstart](https://docs.stophy.dev/quickstart).

```bash cURL theme={null}
curl -X POST https://api.stophy.dev/v1/scrape \
  -H "Authorization: Bearer $STOPHY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.pinterest.com/pin/32088216099796013/","formats":[{"type":"json","parser":"pinterest-pin"}]}'
```

```typescript TypeScript theme={null}
const response = await fetch("https://api.stophy.dev/v1/scrape", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.STOPHY_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    url: "https://www.pinterest.com/pin/32088216099796013/",
    formats: [{ type: "json", parser: "pinterest-pin" }],
  }),
});
console.log(await response.json());
```

```python Python theme={null}
import os

import requests

response = requests.post(
    "https://api.stophy.dev/v1/scrape",
    headers={"Authorization": f"Bearer {os.environ['STOPHY_API_KEY']}"},
    json={
        "url": "https://www.pinterest.com/pin/32088216099796013/",
        "formats": [{"type": "json", "parser": "pinterest-pin"}],
    },
)
print(response.json())
```

## Read the response

The parser's data is in `data.json`. Its fields include `id`, `url`, `title`, `text`, `author`, `community`, `publishedAt`, `likes`, `comments`, `shares`, `views`, `media` and `hashtags`. This sample is cut to the first items.

```json theme={null}
{
  "success": true,
  "data": {
    "json": {
      "id": "32088216099796013",
      "url": "https://www.pinterest.com/pin/32088216099796013/",
      "title": "Can You Use Leaves From a Diseased Tree as Mulch? Gardening Experts Explain",
      "text": "Can you use leaves from a diseased tree as mulch? Gardening experts explain the risks of spreading disease, how to…",
      "author": {
        "id": "32088353503445352",
        "name": "Martha Stewart",
        "handle": "marthastewart",
        "url": "https://www.pinterest.com/marthastewart/",
        "avatarUrl": "https://i.pinimg.com/75x75_RS/c8/11/4c/c8114c783347e27daef00e5d4a6ac4f3.jpg",
        "isVerified": true
      },
      "community": {
        "name": "Winter Bucket List",
        "url": "https://www.pinterest.com/marthastewart/winter-bucket-list/"
      },
      "publishedAt": "2026-11-04T21:00:13.000Z",
      "likes": 0,
      "comments": 0,
      "shares": 0,
      "views": null,
      "media": [
        {
          "type": "image",
          "url": "https://i.pinimg.com/originals/a0/52/fc/a052fc0ce0f443106204734be2029f83.jpg",
          "width": 1000,
          "height": 664,
          "altText": null,
          "durationSeconds": null
        }
      ],
      "hashtags": [],
      "saves": 1,
      "linkUrl": "https://www.marthastewart.com/can-you-use-leaves-from-a-diseased-tree-12222151?utm_campaign=marthastewart_6aeb9cdcb763f…",
      "domain": "marthastewart.com",
      "dominantColor": "#394d1f",
      "isPromoted": false,
      "boardId": "32088284784293638"
    }
  }
}
```

## Options

This parser takes no options.

## Price

\$1 per 1,000 calls. Works without an API key, within the free limits. See [Pricing](https://docs.stophy.dev/account/pricing.md).

## Limits and errors

* The URL must be a Pinterest pin page or a pin.it short link. Any other URL fails with `invalidRequest`.
* The answer comes back in `data.json`. If the page cannot be read, the call fails with an error code from [Errors](https://docs.stophy.dev/api-reference/errors.md).

## Related

* [Pre-built parsers](https://docs.stophy.dev/scrape/prebuilt-parsers) lists every parser.
* [Scrape](https://docs.stophy.dev/scrape/overview) has the options every scrape takes.
* [Pinterest search](https://docs.stophy.dev/scrape/prebuilt-parsers/social/pinterest-search.md)
* [Pinterest board](https://docs.stophy.dev/scrape/prebuilt-parsers/social/pinterest-board.md)
* [Pinterest profile](https://docs.stophy.dev/scrape/prebuilt-parsers/social/pinterest-profile.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.