> ## 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 board

> Read a Pinterest board page as JSON with the pinterest-board parser. $1 per 1,000 calls. Send the page to scrape. Examples in cURL, TypeScript and Python.

Reads a Pinterest board page, like pinterest.com/`<user>`/`<board>`/, and returns a list of posts 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. 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/TileBar/tiles-backsplashes/","formats":[{"type":"json","parser":"pinterest-board"}]}'
```

```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/TileBar/tiles-backsplashes/",
    formats: [{ type: "json", parser: "pinterest-board" }],
  }),
});
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/TileBar/tiles-backsplashes/",
        "formats": [{"type": "json", "parser": "pinterest-board"}],
    },
)
print(response.json())
```

## Read the response

The parser's data is in `data.json`. Its fields include `results`, `cursor`, `page` and `total`. This sample is cut to the first items.

```json theme={null}
{
  "success": true,
  "data": {
    "json": {
      "results": [
        {
          "id": "https://www.tilebar.com/product/terrazzo-italy-fluted-sacra-calacatta-white-12x24-honed-terrazzo-tile.html",
          "url": "https://www.tilebar.com/product/terrazzo-italy-fluted-sacra-calacatta-white-12x24-honed-terrazzo-tile.html",
          "title": "Calacatta White Honed Terrazzo Tile for Bathroom Renovation",
          "text": "Want to renovate your home bathroom? This Terrazzo Italy Fluted Sacra Calacatta White 12x24 Honed Terrazzo Tile from…",
          "author": {
            "id": "0",
            "name": "Example user",
            "handle": "example_user",
            "url": "https://example.com/example_user",
            "avatarUrl": null,
            "isVerified": null
          },
          "community": {
            "name": "Tiles & Backsplashes",
            "url": "https://www.pinterest.com/TileBar/tiles-backsplashes/"
          },
          "publishedAt": "2026-03-06T14:16:20.000Z",
          "likes": 0,
          "comments": null,
          "shares": 0,
          "views": null,
          "media": [
            {
              "type": "image",
              "url": "https://i.pinimg.com/originals/e7/bc/db/e7bcdb0fd74dd6f5ed330aeaaa7fe15b.jpg",
              "width": 1200,
              "height": 1200,
              "altText": "a bathroom with marble counter top and white wall tiles on the walls, along with a black faucet",
              "durationSeconds": null
            }
          ],
          "hashtags": [],
          "saves": 1,
          "linkUrl": "https://www.tilebar.com/product/terrazzo-italy-fluted-sacra-calacatta-white-12x24-honed-terrazzo-tile.html",
          "domain": "tilebar.com",
          "dominantColor": "#b0aca5",
          "isPromoted": false,
          "boardId": "101049654078317541"
        }
      ],
      "cursor": "Y2JZakk0ZVU1WWR6Vk5ha1V5VFZSVk0wMTZVVE5OYWxsNVQwUnJNRXRyWkZKVVEzQTRUVEpSZUUweVJYaFBSMWt4V1hwVk1Wa3lUbWhhUkVFMVRXcFplVTVVUVROTlYwcHRXWHBvYWsxNlpHMU5SMXB0V2xSQ...",
      "page": null,
      "total": null,
      "board": {
        "id": "101049654078317541",
        "url": "https://www.pinterest.com/TileBar/tiles-backsplashes/",
        "name": "Tiles & Backsplashes",
        "description": "This board is all about Tiles and Backsplashes. Here, we gather the best tile ideas and backsplashes for kitchen and…",
        "category": "home_decor",
        "pins": 1261,
        "followers": 78214,
        "sections": 3,
        "thumbnailUrl": "https://i.pinimg.com/custom_covers/200x150/101049654078317541_1609554349.jpg",
        "owner": {
          "id": "101049722797560631",
          "name": "TileBar",
          "handle": "TileBar",
          "url": "https://www.pinterest.com/TileBar/",
          "avatarUrl": "https://i.pinimg.com/280x280_RS/8f/8a/2c/8f8a2c4d5a9240a454dd99d3703bc0eb.jpg",
          "isVerified": null
        }
      }
    }
  }
}
```

## Options

Send options in the `options` object of the `json` format.

| Option | What it does |
| - | - |
| `cursor` | The cursor from the previous response. Send it as is. |

## Price

\$1 per 1,000 calls. See [Pricing](https://docs.stophy.dev/account/pricing.md).

## Limits and errors

* The URL must be a Pinterest board page, like pinterest.com/`<user>`/`<board>`/. Any other URL fails with `invalidRequest`.
* To read the next page, send the `cursor` from the response as the `cursor` option. Paging needs an API key.
* 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 pin](https://docs.stophy.dev/scrape/prebuilt-parsers/social/pinterest-pin.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.