# Pinterest Scraper: Search, Boards, Profiles & Videos (`wheaten_steelpan/pinterest-scraper`) Actor

Scrape public Pinterest pins from search terms, board URLs and profiles, logged out: title, description, outbound link, image and video URLs (.m3u8 and .mp4), board and date. You pay per pin, never more than your per-source limit.

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

## Pricing

$1.50 / 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: Search, Boards, Profiles & Videos

Scrape public Pinterest pins by keyword, from board URLs or from a profile's boards, without a Pinterest account or cookies. Every row has the pin's title, description, outbound link and its domain, original and 736 px image URLs, the video stream (`.m3u8`) for video pins plus an MP4 file where Pinterest offers one, the board it is saved to, the date it was created and its reaction count.

**$1.50 per 1,000 pins** ($0.0015 each). No start fee. A run that finds nothing costs nothing, and each search term, board or profile stops at the number of pins you set.

![Output rows from a real run: title, outbound domain, board, created date, reactions, video, image size and search term for each pin](https://api.apify.com/v2/key-value-stores/E5WeZ4A0mBFtE3IA5/records/output-example.png)

### What it's for

- **Content research.** See which pins, titles and descriptions show up for a keyword in your niche.
- **Find the sites behind the pins.** Every row has the outbound link and its domain, so you can count which blogs and shops Pinterest sends people to for a topic.
- **Collect video pins.** Turn on *Video pins only* to get Pinterest's video results with direct `.m3u8` stream URLs, and MP4 files where Pinterest offers them.
- **Export a board.** Paste a public board URL to get its pins, including the pins filed in its sections, with images and links. Paste a section URL to get just that section.
- **Collect a brand's pins.** Paste a profile URL to get pins from its public boards, board after board.
- **Image datasets.** Original-size image URLs with width and height, ready to download.
- **Give an AI agent Pinterest data**, through Apify's MCP server or the API (examples below).

### What people use it for

- **Pinterest keyword search export.** Search terms in, pins out as CSV, Excel or JSON.
- **Pinterest board scraper.** The pins of a public board and its sections, with images and outbound links.
- **Pinterest profile scraper.** Pins from a user's public boards. Profile details such as bio and followers are not collected.
- **Pinterest video downloader input.** Video pins with stream and MP4 URLs you can pass to your own downloader.
- **Pinterest image scraper.** Original image URLs for mood boards, trend research or training data you are allowed to use.
- **Competitor and niche research.** Which domains and boards rank for the keywords you care about.

### Example: search Pinterest for a keyword

Input:

```json
{
    "searchQueries": ["small garden ideas"],
    "maxPinsPerSource": 50
}
```

One output row:

```json
{
    "id": "e1_AfqPShyM6FVAsjomt_xZeUBkQYJE00P3TgriQ5ryF4cw_TJmzTTJ5A",
    "title": "15+ Small Garden Ideas",
    "description": "Outdoor ideas to save for later! Discover 15+ small garden ideas for 2026. Save these ideas, tap through for full tips and inspiration. #gardenideas #gardendesign #gardening #backyardideas #smallgardenideas",
    "altText": "small garden ideas for the new year and beyond with text overlay that reads, 15 small garden ideas 2056",
    "link": "https://pakigeneration.com/15-small-garden-ideas-to-create-a-beautiful-outdoor-space/",
    "domain": "pakigeneration.com",
    "imageUrl": "https://i.pinimg.com/originals/67/0b/74/670b7466272074a371553f7d99c0b6d1.jpg",
    "imageWidth": 768,
    "imageHeight": 1376,
    "image736Url": "https://i.pinimg.com/736x/67/0b/74/670b7466272074a371553f7d99c0b6d1.jpg",
    "isVideo": false,
    "videoUrl": null,
    "videoMp4Url": null,
    "videoDurationSec": null,
    "videoThumbnailUrl": null,
    "boardName": "Small Garden Ideas Garden Ideas",
    "boardUrl": "https://www.pinterest.com/mynewsubscribers01/small-garden-ideas-garden-ideas/",
    "createdAt": "2026-10-14T10:25:45Z",
    "reactionCount": 0,
    "sourceType": "search",
    "source": "small garden ideas"
}
```

### What you get: Pinterest pin data as CSV, JSON or Excel

| Field | What it is |
|---|---|
| `id` | Pinterest's id for the pin, as logged-out visitors get it |
| `title`, `description`, `altText` | The pin's text and its image alt text |
| `link`, `domain` | Where the pin points; both are empty for pins uploaded without a link |
| `imageUrl`, `imageWidth`, `imageHeight`, `image736Url` | Original image with its size, and a 736 px wide copy |
| `isVideo`, `videoUrl`, `videoMp4Url`, `videoDurationSec`, `videoThumbnailUrl` | Video pins: HLS stream, MP4 file when offered, length and cover image |
| `boardName`, `boardUrl` | The board the pin is saved to |
| `createdAt` | When the pin was created (UTC) |
| `reactionCount` | Reactions on the pin |
| `sourceType`, `source` | The search term, board URL or profile URL that found the pin |

The Actor returns pins only. It does not collect pinner profiles, follower counts or follower lists.

### Input

- **Search terms**: words you would type into Pinterest search, one per line, in any language. A pasted Pinterest search URL works too.
- **Board URLs**: public boards such as `https://www.pinterest.com/username/board-name/`, or one section of a board such as `https://www.pinterest.com/username/board-name/section-name/`. Country sites (`de.pinterest.com`, `pinterest.co.uk`) work. A board URL also reads the board's sections. Pin links are skipped with a note in the log.
- **Profile URLs**: public profiles such as `https://www.pinterest.com/username/`. The Actor reads the profile's public boards one after another, the most recently pinned board first, until the source reaches your pin limit. Only pin rows come back, no profile details.
- **Pins per search term, board or profile** (default 100): each source stops here. You are never charged for more.
- **Video pins only**: searches use Pinterest's video results, and only pins with a video stream are returned. On boards and profiles, pins without video are skipped at no charge.

### Pricing

| Pins | Price |
|---|---|
| 100 | $0.15 |
| 1,000 | $1.50 |
| 10,000 | $15.00 |

- Apify's platform usage is included, and there's no start fee.
- You pay for rows you get. A pin found by two of your search terms is returned and charged once.
- The default stops each source at 100 pins, so a run with three search terms costs at most $0.45. Raise *Pins per search term, board or profile* when you want more.
- To cap a whole run, set a maximum cost when you start it (`maxTotalChargeUsd` in the API). The Actor stops when it reaches the cap.

### Use it through the API

Run it and get the rows back in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/wheaten_steelpan~pinterest-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["nail art", "wedding cake"], "maxPinsPerSource": 50}'
```

Python (`pip install apify-client`):

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("wheaten_steelpan/pinterest-scraper").call(run_input={
    "searchQueries": ["wedding cake"],
    "maxPinsPerSource": 500,
})
for pin in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(pin["title"], pin["link"], pin["imageUrl"])
```

JavaScript (`npm install apify-client`):

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('wheaten_steelpan/pinterest-scraper').call({
    searchQueries: ['easy pasta recipe'],
    videoOnly: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const pin of items) console.log(pin.title, pin.videoUrl);
```

### Use it from an AI agent (MCP)

Add Apify's MCP server with this Actor as its tool, for example in Claude Desktop, Cursor or VS Code:

```json
{
  "mcpServers": {
    "pinterest": {
      "url": "https://mcp.apify.com?tools=wheaten_steelpan/pinterest-scraper"
    }
  }
}
```

### Speed and limits

- Typical run time on Apify in our tests: 20 search terms at 30 pins each plus two boards (623 pins) took about 1.5 minutes, start-up included.
- Pinterest sends 25 pins per page. Sources are read one after another, and rows appear in the dataset as each page arrives.
- Pinterest decides how deep a search goes. In our test, "wedding cake" ended at 910 pins. A search term can end below your maximum.
- Logged out, Pinterest shows some sessions only the first page of a board, about 25 pins. When that happens, the Actor starts a new session and asks again, up to six times, at no charge. If a board still stays on its first page, the run's status message says so and running it again may return more.
- A board's pin count on Pinterest can leave out the pins in its sections, so a board with sections can return more pins than its page shows. Pinterest may also hide a few pins from logged-out visitors: in our tests, 746 of 749 and 248 of 250.
- A pin saved to two boards, or found by two of your sources, is returned and charged once.
- Private and secret boards are not visible logged out, and show as failed in the log at no charge.
- Image and video links point to Pinterest's CDN (`i.pinimg.com`, `v1.pinimg.com`).

### FAQ

**Do I need a Pinterest account?**
No. The Actor reads the same public results a logged-out visitor sees on pinterest.com.

**Why is there no link to the pin's own page?**
Logged out, Pinterest gives pins a different id (starting with `e1_`) from the number in a pin page address, and that id doesn't open a pin page. Each row has what you need to find the pin: the board link, the outbound link and the image URL.

**Why are `link` and `domain` empty on some pins?**
Those pins were uploaded straight to Pinterest without a website link.

**Does it download the videos?**
It returns the video URLs. The `.m3u8` stream plays in VLC or a browser player, and tools such as ffmpeg can save it to a file. `videoMp4Url` is a direct file link when Pinterest offers one.

**Can I scrape a user's profile or followers?**
You can get a user's pins: put the profile under *Profile URLs*. Profile details (bio, follower counts) and follower lists are not collected.

**Is scraping Pinterest legal?**
The Actor collects only publicly visible pin data. How you use it is up to you; check Pinterest's terms and the rights of the people who made the images before you reuse them.

# Actor input Schema

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

Words you would type into Pinterest search, one per line. A pasted pinterest.com search URL works too. Duplicates are removed.

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

Public board links such as https://www.pinterest.com/username/board-name/, which also read the board's sections, or one section such as https://www.pinterest.com/username/board-name/section-name/. Pin links are skipped with a note in the log.

## `profileUrls` (type: `array`):

Public profiles such as https://www.pinterest.com/username/. Pins come from the profile's public boards, most recently pinned board first. No profile details (bio, followers) are collected.

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

The run stops each search term, board and profile at this many pins and never charges for more. Fewer come back when Pinterest has fewer.

## `videoOnly` (type: `boolean`):

Search Pinterest's video results and keep only pins with a video stream URL. On boards, pins without video are skipped and not charged.

## Actor input object example

```json
{
  "searchQueries": [
    "small garden ideas"
  ],
  "maxPinsPerSource": 100,
  "videoOnly": false
}
```

# Actor output Schema

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

Image, title, pin and outbound links, board, date and reactions for every pin.

## `data` (type: `string`):

Every field of every pin, including video stream URLs.

# 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": [
        "small garden ideas"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wheaten_steelpan/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": ["small garden ideas"] }

# Run the Actor and wait for it to finish
run = client.actor("wheaten_steelpan/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": [
    "small garden ideas"
  ]
}' |
apify call wheaten_steelpan/pinterest-scraper --silent --output-dataset

```

## MCP server setup

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