# Pinterest Scraper (`datahamster/pinterest-scraper`) Actor

Pinterest scraper for public pins: search by keyword or read any public board. One row per pin with title, description, original image URL and size, outbound link, created date, reactions, saves, video URL and hashtags. No login, no pinner data. Monitor mode returns only new pins.

- **URL**: https://apify.com/datahamster/pinterest-scraper.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.92 / 1,000 result items

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

Search Pinterest by keyword or read any public board, and get one flat row per pin: title, description, original-size image URL with width and height, the website the pin links to, creation date, reaction, save and repin counts, video URL and hashtags. No Pinterest account, no login, no API key, no proxy.

**Try it:** the prefilled example returns 20 rows in about 7 seconds and costs about $0.05. Results cost $2.40 per 1,000.

### What you get

Real rows from the example dataset (`searchQueries: ["home decor", "wedding cake"]`):

| title | links to | created (UTC) | reactions | image | query |
|---|---|---|---|---|---|
| Lush Living Room: Plants + Wall Shelf Haven | (uploaded) | 2026-10-07 22:46 | 15 | 675x1200 | `home decor` |
| Living room | (uploaded) | 2026-10-09 21:13 | 227 | 1024x1536 | `home decor` |
| 30 Flawless Fondant Wedding Cakes That Look Like Art | `alexandradesignfinds.com` | 2026-10-18 05:47 |  | 768x1408 | `wedding cake` |
| 20 Brush Embroidery Wedding Cake Ideas for Romantic Brides | `snippetandink.com` | 2026-09-09 22:18 | 17 | 941x1672 | `wedding cake` |

Many pins on Pinterest have no title. Those rows still carry the image, counters and link, with `title: null`.

Full row: `id`/`pinId`, `url`, `title`, `description`, `altText`, `imageUrl`, `imageWidth`, `imageHeight`, `dominantColor`, `createdAt`, `outboundLink`, `domain`, `reactionCount`, `saveCount`, `repinCount`, `isVideo`, `videoUrl`, `isIdeaPin`, `hashtags`, `boardName` (board rows), `source`, `query`, `position`, `scrapedAt`.

The actor never returns who saved a pin. Pinner usernames, full names, avatars, follower counts and board owners are dropped before a row is built.

### Use cases

- **Trend and content research.** See which pins rank for your keywords right now, which sites they link to and how many reactions they collect.
- **Competitor and product tracking.** Find the pins that send traffic to a shop domain and watch new ones appear.
- **Image datasets.** Collect original-size image URLs with dimensions, dominant color and Pinterest's own image description for a topic.
- **Monitor new pins.** Save a task in monitor mode and get only the pins that appeared for a query since the last run, with a webhook or Telegram alert.

### Try it in 10 seconds

**One-off search**: press **Start**, the input already works (`searchQueries: ["home decor", "wedding cake"]`, `maxPinsPerQuery: 10`).

**A board**: put a public board URL such as `https://www.pinterest.com/pinterest/official-news/` into **Board URLs**.

**Monitor mode**: save the task, then set:

```json
{
  "mode": "monitor",
  "monitorStateId": "my-pinterest-watch",
  "searchQueries": ["your brand", "your product category"],
  "maxPinsPerQuery": 100,
  "webhookUrl": "https://your-endpoint.example.com/hook"
}
```

and put it on a schedule (Apify, Schedules, cron `0 8 * * *` for daily). Each run charges one `monitor-check` and returns only pins that are new since the previous run.

### Related actors

- [Etsy Listings Scraper](https://apify.com/datahamster/etsy-listings): the products behind many shopping pins, with prices and shops.
- [Google Trends Scraper](https://apify.com/datahamster/google-trends-scraper): check how search interest for the same keywords moves over time.
- [Reddit Scraper](https://apify.com/datahamster/reddit-scraper): posts and comments on the same topics from subreddits.
- [Threads Scraper](https://apify.com/datahamster/threads-scraper): public Threads posts by keyword.

### Input

| Field | Meaning | Default |
|---|---|---|
| `searchQueries` | Keywords to search pins for, e.g. `home decor`, `wedding cake`, `minimalist logo` | `["home decor", "wedding cake"]` |
| `boardUrls` | Public board URLs, e.g. `https://www.pinterest.com/pinterest/official-news/` | empty |
| `maxPinsPerQuery` | Pins taken from each query and each board | `10` |
| `acceptSpellingCorrection` | Keep results when Pinterest silently corrects the spelling of a query | `false` |
| `maxItems` | Stop the run after this many rows | `20` |
| `mode`, `monitorStateId`, `webhookUrl`, `telegramBotToken`, `telegramChatId` | Monitor mode settings | `scrape` |

### Pricing

| Event | Price |
|---|---|
| result | $0.0024 per pin ($2.40 per 1,000) |
| monitor-check | $0.005 per monitor run |
| change | $0.0024 per new pin in monitor mode |

Apify Store discounts apply: SILVER plans pay 10% less, GOLD and higher plans pay 20% less on every event. You pay only for pins actually pushed, and a run that finds nothing charges no result events. Platform usage is billed by Apify on top; the actor uses no proxy, so it stays small.

### Limits

- Pinterest search never answers "no results". A query it does not recognise is spell-corrected and returns pins for the correction. By default such a query is skipped and the run summary says so; set `acceptSpellingCorrection` to keep those pins.
- Search results are personalised by region and change from hour to hour, so `position` is the rank at scrape time.
- `createdAt` comes with search results. Board feeds do not include it, while they do include `saveCount` and `repinCount`, which search results leave out.
- Each query or board reads at most 120 pages of 25 (about 2,800 pins). Ads and Pinterest's own idea modules are skipped.
- Only public boards can be read. Secret boards and profile tabs such as saved pins are not supported.

### FAQ

**Do I need a Pinterest account or cookies?** No. There is no credential field. Every request is the same logged-out request the Pinterest website makes.

**Can I get the pinner's username or followers?** No. Pins are returned without any data about the person who saved them.

**Why are there fewer than 25 pins per page?** Pinterest mixes idea modules and ads into its result pages, and those are dropped.

**What happens when nothing matches?** No rows are pushed and nothing is charged. The `RUN_SUMMARY` record in the run's key-value store carries `emptyReason`.

### Changelog

- 0.1: initial release with keyword search, public boards and monitor mode for new pins.

***

If this actor saved you time, a short review on its Store page helps other people find it. Found a bug or need a field? Open a ticket on the **Issues** tab.

# Actor input Schema

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

Keywords to search pins for, one per line, e.g. "home decor", "wedding cake", "minimalist logo". Any language works. Leave empty to read only Board URLs.

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

Public Pinterest boards to read, e.g. "https://www.pinterest.com/pinterest/official-news/". Country hosts like pl.pinterest.com work; a section URL reads its whole board. Profile pages and secret boards are not supported.

## `maxPinsPerQuery` (type: `integer`):

Pins taken from each search query and each board, e.g. 100. The run still stops at Max items. Range 1-2500.

## `acceptSpellingCorrection` (type: `boolean`):

Pinterest silently corrects queries it does not recognise and returns pins for the correction. Off = such a query is skipped. On = keep the pins for the corrected query.

## `maxItems` (type: `integer`):

Stop the run after this many pins in total (you are charged only for pushed pins), e.g. 200.

## `mode` (type: `string`):

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorStateId` (type: `string`):

Optional state id when not running as a saved task (monitor mode)

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## Actor input object example

```json
{
  "searchQueries": [
    "home decor",
    "wedding cake"
  ],
  "boardUrls": [],
  "maxPinsPerQuery": 10,
  "acceptSpellingCorrection": false,
  "maxItems": 20,
  "mode": "scrape"
}
```

# Actor output Schema

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

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

## `runSummary` (type: `string`):

RUN_SUMMARY record

# 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": [
        "home decor",
        "wedding cake"
    ],
    "boardUrls": [],
    "maxPinsPerQuery": 10,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/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": [
        "home decor",
        "wedding cake",
    ],
    "boardUrls": [],
    "maxPinsPerQuery": 10,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/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": [
    "home decor",
    "wedding cake"
  ],
  "boardUrls": [],
  "maxPinsPerQuery": 10,
  "maxItems": 20
}' |
apify call datahamster/pinterest-scraper --silent --output-dataset

```

## MCP server setup

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