---
title: "How to get Pinterest data"
description: "Search Pinterest pins by keyword and read any public profile, board and pin with save counts as JSON, without app review. What API v5 allows, working code and prices."
canonical_url: https://groundsocial.dev/guides/how-to-get-pinterest-data
---
# How to get Pinterest data

> Search Pinterest pins by keyword and read any public profile, board and pin with save counts as JSON, without app review. What API v5 allows, working code and prices.

_Checked 2026-11-27._

Pinterest’s API v5 is built around the user who authorises your app: new apps start on Trial access and need a video demo to reach Standard. A data API reads public Pinterest: one GET searches pins by keyword as Pinterest’s own search shows them, 1 credit a page.

> **Checked 27 November 2026** Every request on this page was run against the live API on that date, and the sample response is from that run. Official-API facts link to the platform’s own pages.

## The official Pinterest API

Pinterest’s API v5 needs an approved app, and it acts for the users who log in to it.

- **Trial** access is for exploring: daily rate limits, and pins and boards you create are visible only to you.
- **Standard** access needs a video demo of your app’s OAuth flow and a review.
- Apps registered on or after 14 September 2026 may get `403 PINNER_DATA_ACCESS_DENIED` when reading a non-business user’s boards or pins without their authorisation.

Sources: [Access tiers](https://developers.pinterest.com/docs/key-concepts/access-tiers/), [Pinterest API v5](https://developers.pinterest.com/docs/api/v5/).

## Quick start

1. **Get a key.** [Sign up](https://groundsocial.dev/app/sign-in?new=1) with an email code: 100 free credits, no card. An agent can sign itself up with `POST https://api.groundsocial.dev/v1/agent/signup`.
2. **Set it in your shell.** `export GROUNDSOCIAL_API_KEY=gs_live_…`
3. **Make the call.** Pins matching a search: `GET /v1/pinterest/search/pins`, 1 credit.

cURL:

```bash
curl "https://api.groundsocial.dev/v1/pinterest/search/pins?q=living%20room%20ideas" \
  -H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"
```

TypeScript:

```ts
const res = await fetch('https://api.groundsocial.dev/v1/pinterest/search/pins?q=living%20room%20ideas', {
  headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
})
if (!res.ok) throw new Error((await res.json()).error.hint)
const data = await res.json()
```

Python:

```python
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/pinterest/search/pins?q=living%20room%20ideas",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
```

## Sample response

Trimmed from the real response on 27 November 2026: lists cut to their first items and long strings shortened. Every field is described in the [tutorial](https://groundsocial.dev/tutorials/pinterest/search/python).

```json
{
  "data": [
    {
      "id": "e1_AfqPShydBOypoTgQlqqrEFZVElcsAAWgLeNZoLj_WhCM2MN1F4Ga",
      "description": " ",
      "created_at": "Mon, 16 Nov 2026 15:56:33 +0000",
      "link": "https://bambrise.com/21-family-living-room-ideas-that-feel-grown-up/",
      "domain": "bambrise.com",
      "pinner": {
        "node_id": "VXNlcjo0NjE3NTk5MDU0NTIzMDE3MTM=",
        "id": "461759905452301713",
        "username": "brandenburg2322",
        "follower_count": 8,
        "is_verified_merchant": false,
        "full_name": "Carol Brandenburg"
      },
      "board": {
        "node_id": "Qm9hcmQ6NDYxNzU5ODM2NzMzODc0Njkx",
        "collaborator_count": 0,
        "id": "461759836733874691",
        "section_count": 0,
        "is_collaborative": false,
        "board_order_modified_at": "Tue, 17 Nov 2026 16:04:38 +0000",
        "pin_count": 114,
        "name": "Kirkland living room",
        "type": "board"
      },
      "aggregated_pin_data": {
        "node_id": "QWdncmVnYXRlZFBpbkRhdGE6NDA0MDM3NjE4Mjg1NjE4NzQ1Ng=="
      },
      "reaction_counts": {
        "1": 4
      }
    }
  ],
  "bookmark": "Y2JVSG81V2sxcmNHRlpWM1J5VFVad1ZsWlVWbFJXTVVZMldWVlZNV0ZIU2xaTlZGWlhVbXh3VkZVeU1WZFNhekZWVj…"
}
```

## Get every page

`/v1/pinterest/search/pins` returns pins a page at a time, and each page costs 1 credit. Pass the response’s `bookmark` back as `after` until it runs out.

TypeScript:

```ts
// Collect up to 3 pages of pins.
const first = 'https://api.groundsocial.dev/v1/pinterest/search/pins?q=living%20room%20ideas'
const items: unknown[] = []
let cursor: string | undefined
for (let page = 0; page < 3; page++) {
  const url = new URL(first)
  if (cursor) url.searchParams.set('after', cursor)
  const res = await fetch(url, {
    headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
  })
  if (!res.ok) throw new Error((await res.json()).error.hint)
  const data = await res.json()
  items.push(...(data.data ?? []))
  cursor = data.bookmark ?? undefined
  if (!cursor) break
}
console.log(items.length, 'pins')
```

Python:

```python
import os, requests

# Collect up to 3 pages of pins.
FIRST = "https://api.groundsocial.dev/v1/pinterest/search/pins?q=living%20room%20ideas"
headers = {"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"}
items, cursor = [], None
for page in range(3):
    params = {"after": cursor} if cursor else {}
    res = requests.get(FIRST, params=params, headers=headers)
    res.raise_for_status()
    data = res.json()
    items += data.get("data") or []
    cursor = data.get("bookmark")
    if not cursor:
        break
print(len(items), "pins")
```

## What else you can get from Pinterest

| What you get | Endpoint | Credits |
| --- | --- | --- |
| [Pins matching a search](https://groundsocial.dev/tutorials/pinterest/search/python) | `GET /v1/pinterest/search/pins` | 1 |
| [A profile with followers](https://groundsocial.dev/tutorials/pinterest/profile/python) | `GET /v1/pinterest/users/pinterest` | 1 |
| [A profile’s boards](https://groundsocial.dev/tutorials/pinterest/user-boards/python) | `GET /v1/pinterest/users/marthastewart/boards` | 1 |
| [One pin with save count](https://groundsocial.dev/tutorials/pinterest/pin/python) | `GET /v1/pinterest/pins/1142999580460050856` | 1 |
| [How often a URL is saved](https://groundsocial.dev/tutorials/pinterest/url-save-count/python) | `GET /v1/pinterest/url-stats` | 1 |
| [Pinterest Trends](https://groundsocial.dev/tutorials/pinterest/trends/python) | `GET /v1/pinterest/trends` | 3 |

Each row links to its tutorial. Every Pinterest endpoint and price: [Pinterest API](https://groundsocial.dev/pinterest-api).

## Tips

- Search hides save counts and uses encrypted ids; read a pin’s counts with the pin endpoint and a numeric id from a board or profile.
- `url-stats` returns how often any URL has been saved, useful for content research.

## Use it from Claude or Cursor (MCP)

Every endpoint is also an MCP tool on the remote server `https://api.groundsocial.dev/mcp`. The `?platforms=pinterest` below loads only the Pinterest tools. The client signs in with OAuth, or send your key as a Bearer token. Tools used in this guide: `pinterest_search_pins`, `pinterest_user_get`, `pinterest_user_boards`, `pinterest_pin_get`, `pinterest_url_stats`, `pinterest_trends_get`.

Claude Code:

```bash
claude mcp add --transport http groundsocial "https://api.groundsocial.dev/mcp?platforms=pinterest"
```

Cursor:

```json
{
  "mcpServers": {
    "groundsocial": {
      "url": "https://api.groundsocial.dev/mcp?platforms=pinterest"
    }
  }
}
```

Claude.ai:

```text
Customize → Connectors → + Add → Add custom connector
URL: https://api.groundsocial.dev/mcp?platforms=pinterest
```

> **Then ask** “Search Pinterest for “living room ideas” and tell me which domains show up most.”

Setup for ChatGPT, VS Code, Windsurf, n8n and others: [MCP client setup](https://groundsocial.dev/mcp).

## Pricing

Pay per call from prepaid credits; no subscription. 100 free credits cover the examples on this page. Costs below are at the [credit packs](https://groundsocial.dev/pricing)’ highest and lowest rates.

| Job | Credits | Cost |
| --- | --- | --- |
| 100 search pages | 100 | $0.10 → $0.04 |
| Weekly Pinterest Trends, a year | 156 | $0.16 → $0.06 |

## FAQ

### Can I create pins?

No. It is read-only; use Pinterest’s own API to publish.

### Are failed calls charged?

No. A target that does not exist answers `404 target_not_found`, an upstream failure answers `503`, and neither costs anything. Credits never expire.

### Is Groundsocial official?

No. Groundsocial is an independent API that reads what the platform shows a logged-out visitor. Pinterest is a trademark of Pinterest, Inc. We are not affiliated with or endorsed by Pinterest.

## Go deeper

- [Pinterest tutorials: 10 endpoints in six languages](https://groundsocial.dev/tutorials/pinterest)
- [Trend detection API](https://groundsocial.dev/use-cases/trend-detection-api)

## Related guides

- [How to get Instagram data](https://groundsocial.dev/guides/how-to-get-instagram-data)
- [How to get Google Trends data](https://groundsocial.dev/guides/how-to-get-google-trends-data)

Pinterest is a trademark of Pinterest, Inc. We are not affiliated with or endorsed by Pinterest.

_Canonical HTML: https://groundsocial.dev/guides/how-to-get-pinterest-data_

## Site Navigation

### Global Hub
- [Home](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Endpoints](https://groundsocial.dev/endpoints.md)
- [For agents](https://groundsocial.dev/agents.md)
- [Docs](https://groundsocial.dev/docs.md)
- [Compare](https://groundsocial.dev/compare.md)
- [Blog](https://groundsocial.dev/blog.md)
- [Tutorials](https://groundsocial.dev/tutorials.md)
- [Changelog](https://groundsocial.dev/changelog.md)
- [llms.txt](https://groundsocial.dev/llms.txt)
- [Agent skill](https://groundsocial.dev/SKILL.md)

### On This Topic
- [Groundsocial: Social data in one API call](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Playground](https://groundsocial.dev/playground.md)
- [Use cases](https://groundsocial.dev/use-cases.md)
- [Brand monitoring API](https://groundsocial.dev/use-cases/brand-monitoring-api.md)
- [Social listening API](https://groundsocial.dev/use-cases/social-listening-api.md)
- [Comment scraping API](https://groundsocial.dev/use-cases/comment-scraping-api.md)
- [Influencer discovery API](https://groundsocial.dev/use-cases/influencer-discovery-api.md)
- [Video transcript API](https://groundsocial.dev/use-cases/video-transcript-api.md)
- [Ad library API](https://groundsocial.dev/use-cases/ad-library-api.md)
- [Review monitoring API](https://groundsocial.dev/use-cases/review-monitoring-api.md)
- [Trend detection API](https://groundsocial.dev/use-cases/trend-detection-api.md)
- [Social lead generation API](https://groundsocial.dev/use-cases/lead-generation-api.md)
- [Market research API](https://groundsocial.dev/use-cases/market-research-api.md)

## Structured data

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://groundsocial.dev/"},{"@type":"ListItem","position":2,"name":"Guides","item":"https://groundsocial.dev/guides"},{"@type":"ListItem","position":3,"name":"How to get Pinterest data","item":"https://groundsocial.dev/guides/how-to-get-pinterest-data"}]}
```
