# Pinterest Scraper - Pins, Boards, Profiles and Search (`leadproof/pinterest-scraper`) Actor

Scrape Pinterest pins from keyword search, boards, profiles and pin links. No login, no cookies. Each pin comes with image, title, outbound link and shop domain, saves, pinner and board. Profiles add followers, monthly views and website. Pay per pin.

- **URL**: https://apify.com/leadproof/pinterest-scraper.md
- **Developed by:** [Lead Proof](https://apify.com/leadproof) (community)
- **Categories:** Social media, Lead generation
- **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 pins

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, Profiles and Search

Collect Pinterest pins as clean, structured data. Search by keyword, or paste profile, board and pin links. No Pinterest account, no cookies. Each pin comes with its image, title, description, outbound link and shop domain, saves, creation date, video link, pinner and board. Profile links also return the account itself: followers, monthly views, website and bio.

You pay per pin returned.

### Why this scraper

- **No login, no cookies.** The Actor reads Pinterest the way a logged-out visitor's browser does. No account to get banned, nothing sensitive to hand over.
- **Fast and light.** It reads Pinterest's own data feed, not rendered pages, so a few hundred pins take seconds and you are never charged for page loads.
- **Shop and blog links on every pin.** `link` and `domain` show where each pin leads: an Etsy listing, a Shopify store, a recipe blog. Feed the domains to the [Website Email Finder](https://apify.com/leadproof/website-email-finder) to turn a niche into a list of businesses to contact.
- **Whole boards and profiles.** Paste a board or profile link and page through it up to your limit. Pinterest cuts some visitor sessions off after the first page of a board; the Actor notices and continues on a fresh session.
- **Honest results.** A pin, board or profile that does not exist is reported as not found, never as an empty success. Duplicates across your keywords and links are delivered and charged once.

### How to use

1. Enter one or more **Search keywords**, for example `handmade jewelry` or `home office ideas`.
2. And/or paste **Pinterest URLs**: profiles, boards, single pins, search pages or `pin.it` short links. Country domains such as `pinterest.co.uk` work too.
3. Set **Max pins per keyword or URL**.
4. Run. Results land in the default dataset, ready to export as JSON, CSV or Excel.

### Input example

```json
{
  "searchQueries": ["handmade jewelry", "minimalist living room"],
  "startUrls": [
    "https://www.pinterest.com/marthastewart/",
    "https://www.pinterest.com/marthastewart/cleaning-and-home-keeping-tips/",
    "https://www.pinterest.com/pin/32088216099787888/"
  ],
  "maxPinsPerSource": 200
}
```

### Output

One row per pin:

| Field | Meaning |
|---|---|
| `id`, `url` | Pin ID and pin page |
| `title`, `description`, `altText` | Text of the pin |
| `link`, `domain` | Where the pin leads, and that site's domain |
| `imageUrl`, `imageWidth`, `imageHeight` | Original image |
| `isVideo`, `videoUrl`, `videoDurationSeconds` | Video, when the pin has one (MP4, or an HLS stream) |
| `createdAt` | When the pin was created |
| `saves`, `repinCount`, `commentCount`, `reactionCount` | Engagement, when Pinterest shows it |
| `price`, `currency` | Price on product pins |
| `pinner` | Username, name, profile link, followers, verified merchant |
| `board` | Board name and link |
| `source` | The keyword or URL the pin came from, and its position there |

Profile rows (`type: "profile"`) carry `username`, `fullName`, `about`, `followers`, `following`, `pinCount`, `boardCount`, `monthlyViews`, `website`, `domain`, `domainVerified` and `isVerifiedMerchant`.

Each run also writes a `SUMMARY` record: per keyword and URL, its status (`complete`, `max_reached`, `not_found`, `refused`, `partial`, `unsupported`, `spending_limit`), pins and pages read; plus totals and duplicates skipped.

Good to know:

- Pinterest hides the pin page from logged-out visitors in keyword search and on boards, so those pins come with an encrypted `id` (starting with `e1_`) and no `url`. Everything else is there, including the outbound `link`. Pins from profiles and pin links have their normal ID and page link.
- Board sections are not supported yet: use the whole board URL.
- Pinterest decides the order and depth of search results; very deep searches end when Pinterest stops returning new pins.

### Pricing

Pay per event, platform usage included:

- **Pin:** per pin row returned.
- **Profile:** per profile row, only when a profile URL is given and **Add a profile row** is on.

The exact prices are on the Pricing tab. Your spending limit is respected: the Actor never returns more rows than it is allowed to charge.

### Fair use

The Actor reads only what Pinterest shows any logged-out visitor. It has no official agreement with Pinterest. Use the data in line with Pinterest's terms and the privacy rules that apply to you, and do not use it to contact individuals who have not chosen to be contacted.

### Related LeadProof actors

- [Website Email Finder](https://apify.com/leadproof/website-email-finder): emails and contact details from the sites your pins link to.
- [Bulk Email Verifier](https://apify.com/leadproof/bulk-email-verifier): check those emails before you send.
- [Facebook Posts Scraper](https://apify.com/leadproof/facebook-posts): posts from public Facebook Pages.

Questions or a custom export: support@leadproof.co. Built by [LeadProof](https://leadproof.co).

# Actor input Schema

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

Pinterest searches, one per line, for example "handmade jewelry" or "home office ideas". Each keyword returns pins in Pinterest's own order.

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

Profile (pinterest.com/marthastewart/), board (pinterest.com/marthastewart/board-name/), single pin (pinterest.com/pin/123.../), search URL or pin.it short link. Country domains like pinterest.co.uk work too.

## `maxPinsPerSource` (type: `integer`):

Stop each keyword, profile or board after this many pins. A single pin URL always returns one pin.

## `includeProfiles` (type: `boolean`):

For profile URLs, also return one row with the account's followers, monthly views, website and bio (charged as a profile).

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

Leave as is: the Actor picks proxies that Pinterest accepts, at no extra cost to you. You can pass your own proxy URLs instead.

## Actor input object example

```json
{
  "searchQueries": [
    "handmade jewelry"
  ],
  "maxPinsPerSource": 20,
  "includeProfiles": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `pins` (type: `string`):

Every pin and profile row of this run.

## `csv` (type: `string`):

The same rows as CSV.

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

Per keyword and URL: status, pins and pages read; totals, charges and network use.

# 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": [
        "handmade jewelry"
    ],
    "maxPinsPerSource": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("leadproof/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": ["handmade jewelry"],
    "maxPinsPerSource": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("leadproof/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": [
    "handmade jewelry"
  ],
  "maxPinsPerSource": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call leadproof/pinterest-scraper --silent --output-dataset

```

## MCP server setup

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