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

Fetch public Pinterest pins, keyword search feeds, board pins, and board searches by query or URL. Collect high-resolution images, pin descriptions, save counts, and creator profiles with no login.

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

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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, Search & Boards

Extract structured data from public Pinterest pins, keyword search results, and public boards without a browser or Pinterest login. Collect original-resolution image URLs, video links, save and repin counts, visual tags, outbound source links, and board statistics in a clean dataset.

### Modes

| Mode | Input | What you get |
|---|---|---|
| **Keyword Search (Pins or Boards)** | `searchQueries` + `searchScope` (`"pins"` or `"boards"`) | Paginated matching pins (`recordType: "pin"`) or boards (`recordType: "board"`) up to `maxResultsPerQuery` |
| **Public Board Feeds** | `startUrls` (`/username/board-slug/`) + `includeBoardDetails` | Pins from the public board along with board metadata (name, pin count, follower count, owner) |
| **Pin Details & Related Pins** | `startUrls` (`/pin/...` or `pin.it` short links) + `includeRelatedPins` | Full pin metadata, image resolution variants, video links, visual tags, and optional related pins |

### Supported Coverage

- **Input Formats**: Keyword search phrases, Pinterest search URLs, public board URLs (`/username/board-slug/`), individual pin URLs (`/pin/...`), and `pin.it` short links.
- **Pin Metadata**: `title`, `description`, `altText`, `domain`, outbound `link`, `dominantColor`, `imageUrl`, multi-resolution `images` map (`60x60` up to `orig`), `isVideo`, `videoUrl`, `saveCount`, `repinCount`, `commentCount`, `reactionCount`, `visualTags`, `topics`, and pinner/board attributes.
- **Board Search Metadata**: `name`, `description`, `pinCount`, `followerCount`, `sectionCount`, `collaboratorCount`, `coverImageUrl`, `thumbnailUrls`, `ownerUsername`, and `privacy`.

### Output Options & Proxy Tips

- **Ad Filtering**: `skipPromotedPins` is enabled by default (`true`) to exclude sponsored pins from search and board feeds.
- **Related Pins & Board Context**: Enable `includeRelatedPins` when scraping individual pin URLs to pull similar recommended pins; keep `includeBoardDetails` enabled to attach board metrics to board-feed pins.
- **Volume & Concurrency**: `maxResultsPerQuery` caps pins or boards per query or board (`1`–`500`, default `30`), and `maxConcurrency` adjusts parallel target processing (`1`–`10`, default `4`).
- **Proxy Recommendations**: Direct connections work for small runs. For high-volume cloud scraping or heavy pagination, Apify Residential proxy via `proxyConfiguration` is recommended (and is used as an automatic fallback if requests are blocked).

### Use Cases

1. **E-Commerce & Product Trend Discovery**: Track trending visual styles, save counts, and outbound merchant domains across niche product keywords.
2. **Design Moodboards & Visual Datasets**: Collect high-resolution images (`orig`), dominant colors, and dimensions for creative inspiration or computer-vision training sets.
3. **Pinterest SEO & Keyword Research**: Extract `visualTags`, pin descriptions, and top-performing board structures for content planning.
4. **Competitor & Brand Monitoring**: Monitor public brand boards, repin velocity, and linked landing pages over time.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `searchQueries` | `array` | `[]` | Keywords or phrases to search on Pinterest (leave empty if only scraping `startUrls`). |
| `searchScope` | `string` | `"pins"` | Whether `searchQueries` retrieves individual `"pins"` or `"boards"`. |
| `startUrls` | `array` | `[]` | Direct Pinterest URLs: pin URLs (`/pin/...`), public board URLs (`/username/board-slug/`), `pin.it` short links, or search URLs. |
| `maxResultsPerQuery` | `integer` | `30` | Maximum number of pins or boards to extract per search query or board URL (`1`–`500`). |
| `includeBoardDetails` | `boolean` | `true` | Attach full board metadata (name, description, pin count, followers, owner) when scraping board URLs. |
| `includeRelatedPins` | `boolean` | `false` | When scraping an individual pin URL, also extract related pins shown for that pin. |
| `skipPromotedPins` | `boolean` | `true` | Exclude promoted/sponsored pins from search and board feeds. |
| `maxConcurrency` | `integer` | `4` | Maximum number of concurrent target tasks (`1`–`10`). |
| `proxyConfiguration` | `object` | `{"useApifyProxy": false}` | Apify Proxy configuration. Residential proxy is recommended for high-volume runs. |

### Sample Output

```json
{
  "recordType": "pin",
  "sourceType": "pin_detail",
  "searchQuery": "",
  "id": "99360735500167749",
  "url": "https://www.pinterest.com/pin/99360735500167749/",
  "title": "",
  "description": "Love my Pinterest t-shirt!",
  "altText": "",
  "createdAt": "Thu, 04 Oct 2012 21:50:37 +0000",
  "domain": "flickr.com",
  "link": "http://www.flickr.com/photos/kentbrew/6851755809/",
  "dominantColor": "#e77b60",
  "imageUrl": "https://i.pinimg.com/originals/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg",
  "imageWidth": 640,
  "imageHeight": 478,
  "images": {
    "60x60": "https://i.pinimg.com/60x60/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg",
    "136x136": "https://i.pinimg.com/136x136/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg",
    "170x": "https://i.pinimg.com/236x/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg",
    "236x": "https://i.pinimg.com/236x/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg",
    "474x": "https://i.pinimg.com/474x/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg",
    "564x": "https://i.pinimg.com/564x/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg",
    "736x": "https://i.pinimg.com/736x/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg",
    "600x315": "https://i.pinimg.com/600x315/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg",
    "orig": "https://i.pinimg.com/originals/a7/66/56/a76656e966b1958f568d63c3f1c05aec.jpg"
  },
  "isVideo": false,
  "videoUrl": "",
  "repinCount": 4828,
  "saveCount": 101669,
  "commentCount": 35,
  "reactionCount": 4,
  "isPromoted": false,
  "pinnerUsername": "kentbrew",
  "pinnerFullName": "Kent Brewster",
  "pinnerId": "99360872937292935",
  "pinnerFollowers": 4587,
  "boardId": "99360804217844427",
  "boardName": "Adventures at Pinterest",
  "boardUrl": "https://www.pinterest.com/kentbrew/adventures-at-pinterest/",
  "boardOwner": "kentbrew",
  "boardPinCount": 0,
  "boardFollowerCount": 0,
  "topics": [],
  "visualTags": [
    "Website Sharing Button Ideas",
    "Pinterest Button Install",
    "Share Button Ideas",
    "Pinterest Button For Toolbar",
    "How To Make A Button Hover",
    "Share Button Inspiration",
    "Pin It Button For Toolbar Safari",
    "How To Design Share Buttons",
    "Button Image"
  ],
  "scrapedAt": "2026-11-12T11:27:07.558702+00:00"
}
```

# Actor input Schema

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

Keywords or phrases to search on Pinterest (leave empty if only scraping startUrls).

## `searchScope` (type: `string`):

Whether searchQueries should retrieve individual pins or boards.

## `startUrls` (type: `array`):

Direct Pinterest URLs to scrape: pin URLs (/pin/...), public board URLs (/username/board-slug/), pin.it short links, or search URLs.

## `maxResultsPerQuery` (type: `integer`):

Maximum number of pins or boards to extract per search query or per board URL.

## `includeBoardDetails` (type: `boolean`):

Fetch full board metadata (name, description, pin count, followers, owner) when scraping board URLs.

## `includeRelatedPins` (type: `boolean`):

When scraping an individual Pin URL, also fetch related pins shown for that pin.

## `skipPromotedPins` (type: `boolean`):

Exclude promoted/ad pins from search and board feeds.

## `maxConcurrency` (type: `integer`):

Maximum number of concurrent target tasks (1-10).

## `proxyConfiguration` (type: `object`):

Apify Proxy settings. Direct connections work for small runs; Apify Residential proxy is recommended for high-volume cloud scraping and is used automatically as a fallback if blocked.

## Actor input object example

```json
{
  "searchQueries": [
    "minimalist desk"
  ],
  "searchScope": "pins",
  "startUrls": [
    "https://www.pinterest.com/constantinesosnikov/minimalist-desk-setup/"
  ],
  "maxResultsPerQuery": 30,
  "includeBoardDetails": true,
  "includeRelatedPins": false,
  "skipPromotedPins": true,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `items` (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": [
        "minimalist desk"
    ],
    "startUrls": [
        "https://www.pinterest.com/constantinesosnikov/minimalist-desk-setup/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wyle/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": ["minimalist desk"],
    "startUrls": ["https://www.pinterest.com/constantinesosnikov/minimalist-desk-setup/"],
}

# Run the Actor and wait for it to finish
run = client.actor("wyle/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": [
    "minimalist desk"
  ],
  "startUrls": [
    "https://www.pinterest.com/constantinesosnikov/minimalist-desk-setup/"
  ]
}' |
apify call wyle/pinterest-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wyle/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/COUBwiJrGeibljgUB/builds/MQE4m4wWCvKGsFqR6/openapi.json
