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

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

Reads a Pinterest profile page, like pinterest.com/marthastewart/, and returns one profile 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/marthastewart/","formats":[{"type":"json","parser":"pinterest-profile"}]}'
```

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

## Read the response

The parser's data is in `data.json`. Its fields include `id`, `url`, `handle`, `name`, `bio`, `avatarUrl`, `isVerified`, `followers`, `following`, `posts`, `website`, `location` and `category`. This sample is cut to the first items.

```json theme={null}
{
  "success": true,
  "data": {
    "json": {
      "id": "32088353503445352",
      "url": "https://www.pinterest.com/marthastewart/",
      "handle": "marthastewart",
      "name": "Martha Stewart",
      "bio": "Daily recipes, crafts, and inspiration from Martha Stewart.",
      "avatarUrl": "https://i.pinimg.com/280x280_RS/c8/11/4c/c8114c783347e27daef00e5d4a6ac4f3.jpg",
      "isVerified": true,
      "followers": 1867764,
      "following": 321,
      "posts": 105728,
      "website": "http://marthastewart.com",
      "location": null,
      "category": null,
      "boards": 174,
      "isPrivate": false,
      "createdAt": "2011-09-15T07:56:17.000Z",
      "recentPins": [
        {
          "title": "10 Things to Clean in November Before Winter-and Holiday Guests-Arrive",
          "text": "Tackle these November cleaning tasks now to prepare your home for colder weather, holiday guests, and the busy season…",
          "author": {
            "id": "32088353503445352",
            "name": "Martha Stewart",
            "handle": "marthastewart",
            "url": "https://www.pinterest.com/marthastewart/",
            "avatarUrl": "https://i.pinimg.com/140x140_RS/c8/11/4c/c8114c783347e27daef00e5d4a6ac4f3.jpg",
            "isVerified": true
          },
          "community": {
            "name": "Fresh Fall Ideas",
            "url": "https://www.pinterest.com/herbacinusa/fresh-fall-ideas/"
          },
          "publishedAt": "2026-11-04T23:00:13.000Z",
          "likes": 0,
          "comments": null,
          "shares": null,
          "views": null,
          "media": [
            {
              "type": "image",
              "url": "https://i.pinimg.com/originals/b9/97/6d/b9976d19f1e2aade04b87e13eacbf012.jpg",
              "width": 1000,
              "height": 667,
              "altText": null,
              "durationSeconds": null
            }
          ],
          "hashtags": [],
          "id": "49328558415048996",
          "url": "https://www.pinterest.com/pin/49328558415048996/",
          "saves": 1,
          "linkUrl": "https://www.marthastewart.com/things-to-clean-in-november-12208381?utm_campaign=marthastewart_6aebb8fdb763fd0001a28b53&…",
          "domain": "marthastewart.com",
          "dominantColor": "#aeb1b6",
          "isPromoted": false,
          "boardId": "49328627107623443"
        }
      ],
      "cursor": "P2MzMjA4ODIxNjA5OTc5MDE2NC4xNzkzNTg0ODEyLC0xfDI0fDE0NDU0NzkxOTYwMDg5MDcqR1FMKnw4YjJhN2FjYjhmNGIwNWNmMDE2ZjgwOWFiNDUwMDY4N2ZlMTBlMGE2ZjE1MGU1YTBmMTljODBhMmRhM..."
    }
  }
}
```

## 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 profile page, like pinterest.com/marthastewart/. 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 board](https://docs.stophy.dev/scrape/prebuilt-parsers/social/pinterest-board.md)


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