# Pinterest Scraper: Pins, Keyword Research, Top Sites & Alerts (`pikoulas/pinterest`) Actor

Search Pinterest by keyword for its related searches, the sites, boards and pinners that rank, and every pin's rank, image, link and video. Scrape profiles and boards, and get only new pins with alerts. No login, no browser: $0.50 per 1,000 pins, $2 per 1,000 keywords.

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

## Pricing

from $0.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: Pins, Keyword Research, Top Sites & Alerts

Search Pinterest the way its search box does and see what ranks for a keyword: Pinterest's related
searches, the sites, boards and pinners its pins come from, and every pin in its rank with its
full-size image or video, link and pinner. Or read any profile or board. For Pinterest SEO and
keyword research, trend and product research, and watching competitors:

- **Keyword research:** each search gives a keyword row with Pinterest's related searches (the
  refinements under its search box, scored), the top sites, boards and pinners among its pins, and
  how many are videos or link out. Turn on **Also search related searches** to go a level deeper.
- **Search:** pins for any keyword, each with its rank, or video pins only.
- **Profiles:** a profile's followers, following, pins, boards and monthly views, then the pins
  it created, newest first.
- **Boards:** a board's pin and follower counts, then its pins.
- **Pins:** single pin URLs, with all their details.
- **Alerts:** with **New only**, a daily schedule gives just the pins not given before, for a
  keyword, a competitor's profile or a board, each charged once.

Every pin comes with its title, description, alt text, full-size image, outbound link and
domain, date, reactions, and its pinner (with followers) and board. Turn on **Include saves,
comments and MP4** to add each pin's saves, repins, shares, comments, hashtags and the video as an
MP4 file.

It needs no browser and no login, and it is fast: 90 pins, a profile and a board took 7 seconds;
200 pins with all their details took 23. It costs **$0.50 per 1,000 pins** and **$2 per 1,000
keywords**.

### What people use it for

- **Pinterest SEO and keyword research:** the related searches of a keyword, and which sites and
  boards rank for it.
- **Trend and product research:** what gets pinned in a niche, and which shops' products it
  links to.
- **Marketing and competitors:** a brand's or a competitor's pins, boards and audience, and their
  new pins every morning.
- **Influencer lists:** pinners in a niche, ranked by followers and monthly views.
- **Images and videos for AI:** full-size images with alt text, and videos, by keyword.

### How to scrape Pinterest

1. Click **Try for free**; Apify's free plan covers a first run.
2. Enter a **Search**, or **Profiles, boards and pins**, and how many pins you want per source.
3. Click **Start**, then download the results as JSON, CSV, Excel or HTML, or read them through
   the API.

An input with more options:

```json
{
  "searchQueries": ["minimalist kitchen", "pasta recipe"],
  "searchType": "pins",
  "searchRelated": true,
  "maxRelatedSearches": 10,
  "urls": [
    "marthastewart",
    "https://www.pinterest.com/marthastewart/letscelebrate-pin-party/",
    "https://www.pinterest.com/pin/1142155155506324455/"
  ],
  "maxPinsPerSource": 50,
  "includeDetails": true
}
```

Set `maxPinsPerSource` to 0 to get only the profiles and boards, and each search's keyword row
(read off its first 25 pins), without their pins.

For a daily alert, schedule it with **New only** on and a **Memory name** per alert:

```json
{
  "searchQueries": ["boho bedroom"],
  "urls": ["https://www.pinterest.com/marthastewart/"],
  "maxPinsPerSource": 100,
  "trackChanges": true,
  "memory": "bedroom-and-martha"
}
```

The first run gives every pin, as a baseline; each run after it gives only the pins not given
before, and the keyword, profile and board rows again, so their counts can be followed. Pins given
before aren't charged, and the run's status counts them.

### Output

A keyword, its lists shortened here:

```json
{
  "type": "keyword",
  "query": "nike sneakers",
  "searchType": "pins",
  "url": "https://www.pinterest.com/search/pins/?q=nike%20sneakers",
  "relatedSearches": [
    {"term": "nike sneakers women", "label": "Women", "score": 8.94},
    {"term": "nike sneakers mens", "label": "Mens", "score": 8.25},
    {"term": "nike sneakers outfit", "label": "Outfit", "score": 7.63},
    {"term": "white nike sneakers", "label": "White", "score": 7.0}
  ],
  "pinsRead": 30,
  "videoPins": 1,
  "pinsWithLinks": 14,
  "averageReactions": 124.0,
  "topDomains": [{"domain": "link.amazon", "pins": 3}, {"domain": "amazon.com", "pins": 2}, {"domain": "nike.com", "pins": 1}],
  "topBoards": [{"boardUrl": "https://www.pinterest.com/carawalden/shoes/", "pins": 2}],
  "topPinners": [{"pinner": "carawalden", "pins": 2}],
  "source": "nike sneakers"
}
```

A pin, with details:

```json
{
  "type": "pin",
  "id": "1142155155506324455",
  "url": "https://www.pinterest.com/pin/1142155155506324455/",
  "title": "Pistachio Pesto Pasta",
  "description": "Elevate your pasta game with our Pistachio Pesto Pasta recipe! …",
  "altText": "a person pouring pasta into a bowl with spinach leaves in the backgroud",
  "link": null,
  "domain": null,
  "imageUrl": "https://i.pinimg.com/originals/c5/c2/a7/c5c2a7609180702a249d211320c95354.jpg",
  "imageWidth": 720,
  "imageHeight": 1280,
  "videoUrl": "https://v1.pinimg.com/videos/iht/expMp4/ad/e9/99/ade999fc99e102b814d9f11daa6ff9c5_720w.mp4",
  "videoDurationSeconds": 27,
  "dominantColor": "#7e682b",
  "createdAt": "2025-06-24T22:31:51+00:00",
  "reactions": 90,
  "saves": 1413,
  "repins": 735,
  "shares": 78,
  "comments": 0,
  "hashtags": ["#PistachioPestoPasta", "#FlavorFusion", "#NuttyGoodness", "#FreshFlavors", "#PastaPerfection", "#EasyRecipe", "#pasta"],
  "isPromoted": false,
  "pinner": "CulinizCooking",
  "pinnerName": "CulinizCooking",
  "pinnerFollowers": 577,
  "board": "Sustainable Cooking Recipes",
  "boardUrl": "https://www.pinterest.com/CulinizCooking/sustainable-cooking-recipes/",
  "source": "https://www.pinterest.com/pin/1142155155506324455/"
}
```

A profile:

```json
{
  "type": "profile",
  "id": "32088353503445352",
  "username": "marthastewart",
  "url": "https://www.pinterest.com/marthastewart/",
  "name": "Martha Stewart",
  "about": "Daily recipes, crafts, and inspiration from Martha Stewart.",
  "website": "http://marthastewart.com",
  "country": null,
  "followers": 1867954,
  "following": 322,
  "pins": 105380,
  "boards": 174,
  "monthlyViews": 9879051,
  "isVerifiedMerchant": false,
  "imageUrl": "https://i.pinimg.com/280x280_RS/c8/11/4c/c8114c783347e27daef00e5d4a6ac4f3.jpg",
  "source": "marthastewart"
}
```

A board has its name, description, category, pins, followers, sections and owner.

### Use it as an API

One call runs it and returns the results as JSON (for runs under 5 minutes; longer ones start a
run and read its dataset). Apify's Python and JavaScript clients, and its Make, Zapier and n8n
integrations, work the same way.

```bash
curl -X POST "https://api.apify.com/v2/acts/pikoulas~pinterest/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["minimalist kitchen"], "urls": ["marthastewart"], "maxPinsPerSource": 5}'
```

AI agents can call it as a tool through Apify's MCP server: `https://mcp.apify.com?tools=pikoulas/pinterest`.

### How much does it cost to scrape Pinterest?

You pay **$0.0005 per pin**, details included, which is $0.50 per 1,000. Keywords, profiles and
boards cost **$0.002** each. Under **New only**, pins given before are left out and not charged. Runs that go through Apify's residential proxy also pay its traffic, $0.0012 per
100 KB. There are no monthly fees.

### Good to know

- Without details, `saves`, `repins`, `shares`, `comments` and `hashtags` are empty, and a video
  pin's `videoUrl` is an HLS stream (`.m3u8`) rather than an MP4.
- `link` and `domain` are empty for pins uploaded straight to Pinterest.
- Logged out, Pinterest seals the ids of a search's pins (`e1_…`): its own pin pages don't open
  them and they have no details, so a search's pins come with `url` empty and without saves or
  MP4, except pins uploaded to Pinterest. A search pin has `rank`, its place in the search.
  Profiles', boards' and pin URLs' pins have it all.
- A memory forgets a pin not seen for 90 days; it lives in your own key-value store
  `pinterest-memory`.

### FAQ

#### Is it legal to scrape Pinterest?

It collects only what Pinterest shows publicly, without logging in. [Pinterest's terms](https://policy.pinterest.com/en/terms-of-service) prohibit this, and your use of it is your own responsibility. Personal data is also protected by laws such as the GDPR and the CCPA. If you're unsure, ask a lawyer;
Apify's [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/) is a good start.

#### How do I find Pinterest keywords?

Search a seed keyword with **Also search related searches** on: the keyword rows give Pinterest's
own related searches, scored, and which sites and boards rank for each.

#### Something missing or not working?

Open an issue on the **Issues** tab with the input you used, or ask there for a field you need.

If it does what you need, a review on the **Reviews** tab helps others find it.

# Actor input Schema

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

Keywords to search pins for, as on Pinterest's search page. Each search also gives a keyword row: Pinterest's related searches, and the sites, boards and pinners its pins come from.

## `searchType` (type: `string`):

All pins, or video pins only.

## `searchRelated` (type: `boolean`):

Searches Pinterest's related searches of each keyword too (nike sneakers women, white nike sneakers...), each with its own keyword row and pins: keyword research a level deep.

## `maxRelatedSearches` (type: `integer`):

How many related searches to run in all, the first keyword's first.

## `urls` (type: `array`):

Pinterest URLs or usernames. A profile gives its details and its latest pins, a board its details and its pins, a pin URL that pin with all its details.

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

0 gives the profiles and boards without their pins, and each search's keyword row alone (read off its first 25 pins).

## `includeDetails` (type: `boolean`):

Looks each pin up for its saves, repins, shares, comments, hashtags and MP4 video. Slower; pin URLs always get them. Logged out, Pinterest seals the ids of a search's pins, so those come without details or a pin page, apart from pins uploaded to Pinterest.

## `trackChanges` (type: `boolean`):

Only pins not given before under the memory name below, so a scheduled run gives a keyword's, profile's or board's new pins and isn't charged for the ones it gave before. Keyword, profile and board rows come every run. The first run gives everything, as a baseline.

## `memory` (type: `string`):

A name per alert, such as competitor-boards, so that alerts don't share one memory. It forgets a pin not seen for 90 days.

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

Not needed for most runs. Turn it on if Pinterest starts refusing requests.

## Actor input object example

```json
{
  "searchQueries": [
    "minimalist kitchen"
  ],
  "searchType": "pins",
  "searchRelated": false,
  "maxRelatedSearches": 10,
  "maxPinsPerSource": 20,
  "includeDetails": false,
  "trackChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `keywords` (type: `string`):

No description

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

No description

## `accounts` (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 kitchen"
    ],
    "maxPinsPerSource": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("pikoulas/pinterest").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 kitchen"],
    "maxPinsPerSource": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("pikoulas/pinterest").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 kitchen"
  ],
  "maxPinsPerSource": 20
}' |
apify call pikoulas/pinterest --silent --output-dataset

```

## MCP server setup

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

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/RjSaPhuiaQd9XQRzK/builds/TRL16ICqxKm0qIgrI/openapi.json
