# Pinterest Scraper: Pins, Boards, Search & Trends (`apisamurai/pinterest-scraper`) Actor

Pinterest scraper for pins from keyword search and boards, full pin details by link, a user's boards and topic search interest. Saves, comments, images, videos, outbound links. No login, exact limits, pay only for unique rows.

- **URL**: https://apify.com/apisamurai/pinterest-scraper.md
- **Developed by:** [API Samurai](https://apify.com/apisamurai) (community)
- **Categories:** Social media, E-commerce, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 pin from search or a boards

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Pinterest Scraper: Pins, Boards, Search & Trends

This Pinterest scraper gets public pins from keyword search and from any public board, full pin details from pin links, the list of boards of any user, and Pinterest's own search-interest count for a topic. Every pin comes with title, description, image link and size, video link, outbound link and domain, saves and comments when Pinterest shows them, keyword labels, board, author and creation date. You pay only for real, unique rows, and IDs are always text, so long Pinterest IDs never get rounded.

### What you can use it for

- **Scrape Pinterest search results** to see which pins, sites and creators rank for a keyword.
- **Scrape a Pinterest board** to collect its pins, images and outbound links for research or mood boards.
- **Get Pinterest pin details** (saves, comments, reactions, keywords) for content you already track.
- **List a user's boards** with pin counts and followers for influencer and competitor research.
- **Check Pinterest trends for a topic**: the search-interest count and the refinement keywords Pinterest suggests.
- **Find traffic sources**: outbound links and domains show which websites get pinned for a niche.
- **Build image datasets** for AI and design work, with sizes, colors and alt text.

### Fair billing

- Only real pins, boards and topics are charged. Empty or placeholder rows are dropped and counted in the run summary.
- No start fee, no per-run fee, no per-query fee, no minimum charge.
- Same price on every Apify plan, free plan included.
- Free Apify plan: one data request per run (one page of pins or boards, or 1 pin or topic fetched by link), so you can try it. Paid plans have no limit.
- `Max items per input` is exact: the last page is trimmed, so you never get, or pay for, more than you asked.
- Duplicates are never charged. A pin found by two searches, or by a search and a pin link, is saved once.
- Private or missing pins, boards, users and topics cost nothing, and neither do searches with no results.
- When you hit your spending limit, the run stops cleanly.

### How to use

1. Open the [Pinterest Scraper](https://apify.com/apisamurai/pinterest-scraper) page and click **Try for free** (you sign in to your Apify account).
2. Fill in at least one source: search keywords, board links, pin links, usernames or topic links.
3. Set **Max items per input**, and optionally **Max rows for the whole run**.
4. Click **Start**. Rows appear in the **Output** tab while the run works.
5. Export the dataset as JSON, CSV or Excel, or check the `SUMMARY` record in the key-value store.

### Input

| Field | What it does |
|---|---|
| Search pins by keyword | Pins matching each keyword. A Pinterest search link also works. |
| Board links | Pins saved on each board: `https://www.pinterest.com/lizmrodgers/moms-night/` or `lizmrodgers/moms-night`. |
| Pin links | Full details of each pin: pin links, `pin.it` short links or pin ids. |
| Usernames (get their boards) | One row per public board of each user: `broadstbullycom`, `@broadstbullycom` or a profile link. |
| Topics (search interest) | One row per topic with its search-interest count. Paste the ideas link, such as `https://www.pinterest.com/ideas/how-to-stop-leash-pulling/894604313079/`. |
| Max items per input | Pins per keyword or board, boards per username. Default 50. |
| Max rows for the whole run | Optional hard cap on all rows. |

```json
{
  "searchQueries": ["boho living room", "easy dinner recipes"],
  "boardUrls": ["https://www.pinterest.com/lizmrodgers/moms-night/"],
  "pinUrls": ["https://www.pinterest.com/pin/1124351863225567517/"],
  "usernames": ["broadstbullycom"],
  "topics": ["https://www.pinterest.com/ideas/how-to-stop-leash-pulling/894604313079/"],
  "maxItemsPerSource": 100
}
```

### Output

One row per pin, board or topic; `type` tells them apart. Field names never change between runs. Example pin fetched by a `pin.it` short link in a live run (shortened):

```json
{
  "type": "pin",
  "id": "897271925769455246",
  "url": "https://www.pinterest.com/pin/897271925769455246/",
  "title": "POV Thrill: The World's Most Dangerous Waterslide Drop!",
  "description": "Experience the heart-pounding free fall from the world's most dangerous straight glass and bamboo waterslide...",
  "altText": "Experience the heart-pounding free fall from the world's most dangerous straight glass and bamboo waterslide...",
  "imageUrl": "https://i.pinimg.com/originals/b8/08/b7/b808b798a383b9280a25c0e7ade68c8d.jpg",
  "imageWidth": 1024,
  "imageHeight": 1792,
  "isVideo": true,
  "videoUrl": "https://v1.pinimg.com/videos/iht/expMp4/0c/bf/d5/0cbfd57d83a2c449230ad38140a82e12_720w.mp4",
  "videoDurationSeconds": 10,
  "link": null,
  "domain": null,
  "saves": 280,
  "comments": 37,
  "reactions": 272,
  "shares": 152,
  "keywords": ["Jungle Slides", "Crazy Water Slides", "Adventure Travel Explore", "Water Park"],
  "dominantColor": "#816e4a",
  "isPromoted": false,
  "createdAt": "2025-10-18T10:21:16.000Z",
  "board": { "id": "897271994450011372", "name": "Daily Vlog", "url": "https://www.pinterest.com/dayscenevlog/daily-vlog/" },
  "author": { "id": "897272063168139926", "username": "dayscenevlog", "fullName": "Dayscene", "followers": 8, "url": "https://www.pinterest.com/dayscenevlog/" },
  "source": "pin",
  "input": "https://pin.it/478ib31g3",
  "scrapedAt": "2026-11-10T15:07:49.940Z"
}
```

Board rows have `type: "board"`, `id`, `url`, `name`, `description`, `pinCount`, `followers`, `sectionCount`, `privacy`, `isCollaborative`, `coverImageUrl`, `createdAt` and `owner`. Topic rows have `type: "topic"`, `id`, `name`, `url`, `searchCount`, `updatedAt` and `refinements` (label, name and link of each suggested refinement). Missing values are `null`, never a fake 0. What Pinterest shows depends on where the pin was found: pins fetched by link have every field; board pins have `saves`, `reactions` and `keywords` but no `createdAt`; search pins have `createdAt` but no counts. Videos fetched by link come as an `.mp4` file; video pins in search results come as an `.m3u8` stream (plays in VLC or ffmpeg).

Each run also writes a `SUMMARY` record to the key-value store. For every input item it lists rows delivered, duplicates, empty rows dropped, and why it stopped (`limit reached`, `no more results`, `private or not found`, `temporary error`, `spending limit`, `free plan limit` or `data source unavailable`).

### Pricing

$1 per 1,000 pins from search or boards; $6.50 per 1,000 pins fetched by link; $1 per 1,000 boards; $6.50 per 1,000 topics

### Integrations

- **Apify API:** start a run and get the rows in one call with `POST https://api.apify.com/v2/acts/apisamurai~pinterest-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>` and the input as JSON in the body.
- **Python and JavaScript clients** (`apify-client`): `client.actor("apisamurai/pinterest-scraper").call(run_input=...)`.
- **Zapier, Make and n8n** to send new pins to Google Sheets, Airtable, Slack or a database.
- **MCP for AI agents:** connect the Apify MCP server to Claude, ChatGPT or another MCP client and the agent can run this Actor as a tool.
- **Schedules and webhooks** in Apify Console for daily or weekly runs.

### FAQ

**Do I need a Pinterest account or login?**
No. You only need an Apify account. You never enter Pinterest credentials or cookies.

**Which input formats work?**
Links from any Pinterest site (pinterest.com, pinterest.co.uk, de.pinterest.com and so on), `pin.it` short links, pin ids, `user/board` pairs, usernames with or without `@`, one per line or comma separated. Links pasted with quotes, backticks or as markdown are cleaned, and a link in the wrong field still works (a board link under Usernames is read as a board). Inputs written for other Pinterest scrapers also work: `startUrls`, `queries`, `search`, `profileUrls`, `maxItems`, `maxPins` and `limit`.

**Can I get the search interest of a keyword without a topic link?**
Not yet. The topic row needs the ideas link of the topic. Open the topic on Pinterest (or click one of the `refinements` links of another topic) and paste its address. The count is Pinterest's own search-interest number; Pinterest does not say which period it covers, so read it as a relative measure, not monthly searches.

**Does it scrape comments, followers or a user's own pins?**
No. It does not collect comment text, follower lists or the "Created" tab of a profile. Use **Usernames** to list the boards, then put the board links you want into **Board links**.

**Why did I get fewer results than I asked for?**
Open the `SUMMARY` record. It says for each input why it stopped: no more results, duplicates, private or not found, the spending limit or the free plan limit.

**Can it scrape secret boards or private profiles?**
No. Only public data is collected. A private or missing board, pin or user is reported as `private or not found` and costs nothing.

**Can I schedule it?**
Yes. Create a schedule in Apify Console, for example a weekly topic run to track search interest, and connect an integration to get the new rows.

**Is it legal to scrape Pinterest?**
The Actor collects only public data. You are responsible for how you use it: follow Pinterest's terms and the laws where you live, take care with personal data (for example under GDPR), and respect the copyright of images. This is not legal advice.

# Actor input Schema

## `searchQueries` (type: `array`):

Find pins matching these keywords, one per line, e.g. boho living room. A Pinterest search link also works.

## `boardUrls` (type: `array`):

Get the pins saved on these boards, e.g. https://www.pinterest.com/lizmrodgers/moms-night/ or lizmrodgers/moms-night. One per line.

## `pinUrls` (type: `array`):

Fetch full details of these pins, e.g. https://www.pinterest.com/pin/1124351863225567517/, a pin.it short link or just the pin id. One per line.

## `usernames` (type: `array`):

List the public boards of these users: broadstbullycom, @broadstbullycom or https://www.pinterest.com/broadstbullycom/. One row per board. One per line.

## `topics` (type: `array`):

Get Pinterest's search-interest count and refinement keywords for these topics. Paste the ideas link, e.g. https://www.pinterest.com/ideas/how-to-stop-leash-pulling/894604313079/. One row per topic.

## `maxItemsPerSource` (type: `integer`):

Maximum pins for each search keyword or board, and maximum boards for each username. Enforced exactly: the last page is trimmed.

## `maxTotalItems` (type: `integer`):

Optional hard cap on all rows (pins, boards and topics) across the run. Leave empty for no total cap.

## Actor input object example

```json
{
  "searchQueries": [
    "boho living room"
  ],
  "maxItemsPerSource": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQueries": [
        "boho living room"
    ],
    "maxItemsPerSource": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("apisamurai/pinterest-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQueries": ["boho living room"],
    "maxItemsPerSource": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("apisamurai/pinterest-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "boho living room"
  ],
  "maxItemsPerSource": 10
}' |
apify call apisamurai/pinterest-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apisamurai/pinterest-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/sJl7AoalAuOF787pI/builds/VVS5gzabgejeslsnS/openapi.json
