# Pinterest Search Scraper: Pins by Keyword, Board & URL (`xmolodtsov/pinterest-search-scraper`) Actor

Scrape pinterest search Pins by keyword, public board or numeric Pin URL. Export images, descriptions, source links, pinners and available engagement.

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

## Pricing

from $0.95 / 1,000 items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

This scraper for pinterest search collects public Pins from keywords, public board URLs and direct numeric Pin URLs. Export one row per unique Pin, including image links, titles, descriptions, source domains, pinner names and available engagement. Image Pins and video Pins share the same output; video rows have `isVideo: true`. Use the results for content research, catalog analysis and visual trend monitoring without connecting a Pinterest account.

### What data you get

Each row identifies one Pin. `id` is a numeric Pin ID when available, otherwise the opaque source ID. `sourceId` preserves the ID Pinterest actually returned. A Story/idea Pin with a numeric parent uses that parent's ID so the idea and parent do not become separate saved rows. Guest feeds can encrypt an ordinary Pin's ID while direct input returns its numeric ID; the actor also matches the combination of public author ID (`pinner.id`), creation timestamp (`createdAt`) and original image URL (`originalImageUrl`). All identity keys are reconstructed from these saved fields. Board IDs and usernames are excluded from identity. Indistinguishable public saves with the same origin combination are conservatively coalesced.

The output includes title, description, alt text, original image URL, served image sizes and dominant color when exposed. Source links and source domains describe the Pin's outbound destination. Board metadata contains ID, name and URL. Pinner metadata contains public ID (`pinner.id`), username and display name; no contact enrichment is performed. Available repin counts, save counts, comment counts and reaction counts accompany the row; an unavailable count is `null`, never a fabricated zero. Creation dates, rich metadata and product hints are included when present in the public feed.

**Pin URLs are nullable.** Many search rows contain only an opaque `e1_…` ID. Their `url` is `null`; the actor does not construct an unverified Pin link. Numeric IDs, including exposed numeric idea parents, have a canonical Pin URL. Images and outbound source links can still be present on rows without a Pin URL. Field coverage differs by input type and by Pin. This build uses the public feed fields and does not offer extra per-Pin enrichment or download media.

### How to use it

In [Apify Console](https://console.apify.com/actors), open the actor and run the prefilled `home decor` keyword with `maxItems: 10`. When the run finishes, inspect the dataset or export CSV, JSON or Excel. Add more keywords, board URLs or direct numeric Pin URLs when the sample fields suit your workflow. The result cap applies to the combined dataset, so put priority sources first.

Call the same input through the Apify API:

```sh
curl -X POST 'https://api.apify.com/v2/acts/xmolodtsov~pinterest-search-scraper/run-sync-get-dataset-items?timeout=120' \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"keywords":["home decor"],"maxItems":10}'
```

For larger jobs, start an asynchronous run, wait for its terminal status and fetch its default dataset. See the [Apify API documentation](https://docs.apify.com/api/v2). You can also invoke the actor through Apify's MCP integration from an MCP client. Pass the same input fields and retrieve dataset rows; MCP does not change coverage or quotas. Never put an API token in a shared dataset or public automation log.

### Pricing

Prices below are per **1,000 saved Pins**. One unique Pin persisted to the default dataset is one saved-item event. There are no optional detail events. Duplicate Pins and unsuccessful source requests add no saved rows. Platinum and Diamond use the Gold rate.

| Plan | Per 1,000 saved Pins |
| --- | --- |
| FREE | $1.36 |
| BRONZE | $1.22 |
| SILVER | $1.09 |
| GOLD | $0.95 |

For example, 200 saved Pins cost $0.272 at the FREE tier rate, $0.244 on Bronze, $0.218 on Silver or $0.190 on Gold. A 1,000-row dataset costs the corresponding table amount. These are saved-item event totals. Set a maximum total charge in Console to bound a run; the actor stops admitting new rows when its remaining charge budget cannot fit another Pin. A requested maximum is a ceiling, not a guarantee of delivery.

#### Is it free?

The developer limits Apify free plan use to **100 results per run and 20 runs per month**, per user and UTC calendar month. These are developer limits. The account owner and Apify TEST runs are exempt. Admitted attempts consume a monthly slot even if a later source request fails. A run beyond the allowance succeeds with zero results before proxy initialization or Pinterest requests. The allowance resets on the first day of the next UTC month. Free runs always use Apify Proxy, and the free cap never raises a smaller `maxItems` request. Normal Apify plan credits and the applicable event price determine the amount billed.

### Input

| Field | Purpose and default |
| --- | --- |
| `keywords` | Search phrases, default empty; the Console prefill is `home decor`. |
| `boardUrls` | Public whole-board URLs, default empty. |
| `pinUrls` | Direct numeric Pin URLs, default empty. |
| `maxItems` | Total unique saved Pins, 1–100,000; default 100, prefill 10. |
| `maxPages` | Feed pages per keyword or board, 1–60; default 60. |
| `proxyConfiguration` | Apify datacenter by default; paid custom HTTP(S) or direct access is accepted. |

Supply at least one keyword, board URL or Pin URL, with at most 100 sources combined. Keyword strings can contain up to 300 characters. Public regional Pinterest hosts, URL-encoded board slugs and board URLs with or without a trailing slash are supported. Profile roots, profile tabs, board sections, opaque Pin URLs and `pin.it` short links are invalid. Paste the full public board or numeric Pin URL instead. Private or secret boards are rejected as unavailable public inputs.

Residential proxy groups under either SDK group alias and country targeting are invalid. Custom SOCKS proxy URLs are also invalid because the HTTP transport does not support them. Free runs ignore custom routes and direct-mode requests. The actor uses datacenter proxy sessions with one bounded retry and does not switch to a more expensive proxy class after a block.

### Output

The following selection comes from a real saved Pin. The dataset also carries `altText`, `images`, `dominantColor`, `sourceUrl`, `board`, `reactionCounts`, `createdAt`, `richMetadata` and `productHints`. All rows include the same top-level fields, with `null` for unavailable values. The overview is a compact table; the full dataset export retains all fields.

```json
{
  "id": "e1_AfqPShx4tc0JXyzrnbVyvPfQaJE3wvLx4m-PEdXSGT_AcDvJ9-wV",
  "sourceId": "e1_AfqPShx4tc0JXyzrnbVyvPfQaJE3wvLx4m-PEdXSGT_AcDvJ9-wV",
  "url": null,
  "title": "Cozy Reading Nook",
  "description": "Neva Round Daybed in Recycled Faux Fur color: Pampas Grass Featured on Instagram @ladyofbookshire",
  "originalImageUrl": "https://i.pinimg.com/originals/2c/24/91/2c24917f5d44c73a48b10de4692f3467.jpg",
  "sourceDomain": "sixpenny.com",
  "pinner": {
    "username": "erinturnage",
    "displayName": "Erin Turnage"
  },
  "repinCount": 46583,
  "saveCount": 53573,
  "commentCount": 34,
  "isVideo": false,
  "source": "home decor"
}
```

![Pinterest search dataset preview](https://api.apify.com/v2/key-value-stores/2DxCOvbMjhvK3S1qP/records/pinterest-search-scraper-output.png)

### Guarantees and failure semantics

Deduplication uses one shared function during normal writes and restart seeding: `id`, `sourceId`, and the origin combination above. Keys commit after persistence and can be reconstructed from the saved row alone, including after board moves or username changes. If the source omits any origin input, identity is limited to `id` and `sourceId`; a cross-input duplicate remains possible for such a row. In the saved probe samples and round-1 captures, missing-origin shares were search **0/662 (0%)**, board feed **0/286 (0%)**, and direct Pin **0/11 (0%)**. These are Pin observations across saved responses, including repeated captures, not a promise of future coverage. No extra enrichment requests or alias journal are used.

Rows saved by a previous build retain their saved identity aliases. A continuation over rows too old to carry safe identity stops as partial success without new rows or charges; start a new run. Previously saved physical rows count toward both the requested result cap and the remaining dataset budget. Writes are serialized. An uncertain append acknowledgement stops further work and retains a pending marker; a restart reconciles saved rows and schedules no more source requests while that marker remains.

Saved rows survive later failures as SUCCEEDED partial results. A zero-row run reports no results only after a recognized terminal empty response. A configured page cap with valid empty continuation pages succeeds as limited coverage; it does not claim no results or a timeout. Unanswered inputs are FAILED with a leading category such as `blocked:`, `network:`, `timeout:`, `invalid:` or `outdated:`. HTTP blocks, actual HTML challenges, connection failures, invalid inputs and changed response structures have distinct failure paths. STATISTICS records request counts, bytes, completed inputs, limits, each unit's stop cause and the final category. A genuine failure with zero saved rows still fails even when another source reached a page cap.

Pinterest search has finite depth. In the feasibility sample, three common keywords ended after roughly 826–959 unique Pins. Those figures illustrate observed coverage and are not a delivery promise. A keyword or board that reaches its terminal bookmark before `maxItems` is complete. A result, charge, page or deadline cap limits coverage and is never reported as source exhaustion. Feed order can change, and overlapping sources can return the same Pin. No account cookies, logged-in content or private boards are accessed.

### Integrations

Export datasets to spreadsheets or connect the actor to n8n, Make or Zapier through Apify's integrations. Webhooks can signal that a run ended, after which a downstream step reads its dataset. Use `id` for joins across runs and preserve nullable fields when importing into a database. Filter `isVideo` if your research needs image Pins only. See [Apify integrations](https://apify.com/integrations) for connection options.

### More scrapers from this developer

**TikTok:** [TikTok Search Scraper](https://apify.com/xmolodtsov/tiktok-search-scraper): Videos and creators for any keyword, pay per result · [TikTok Profile Scraper (Pay Per Result)](https://apify.com/xmolodtsov/tiktok-profile-scraper): Profiles, followers and latest posts by username · [TikTok Comments Scraper](https://apify.com/xmolodtsov/tiktok-comments-scraper): Comments and full reply threads from any video · [TikTok Hashtag Scraper](https://apify.com/xmolodtsov/tiktok-hashtag-scraper): Videos for any hashtag, with views, likes and music · [TikTok Sound & Music Scraper](https://apify.com/xmolodtsov/tiktok-sound-scraper): Videos that use a sound or song · [TikTok Top Ads Scraper](https://apify.com/xmolodtsov/tiktok-top-ads-scraper): Public Creative Center ad rankings, engagement, media and landing pages

**Social & news:** [Reddit Search Scraper](https://apify.com/xmolodtsov/reddit-scraper): Posts by keyword, subreddit or author · [Google News Scraper](https://apify.com/xmolodtsov/google-news-scraper): Google News results as clean full-text articles · [Threads Replies Scraper](https://apify.com/xmolodtsov/threads-replies-scraper): Public post replies, likes, authors and inline nested replies · [Threads Posts Scraper](https://apify.com/xmolodtsov/threads-posts-scraper): Public profile timelines with likes, replies and reposts · [Pinterest Videos Scraper](https://apify.com/xmolodtsov/pinterest-videos-scraper): Public Pinterest videos by keyword or board, with MP4 links and stats · [Pinterest Comments Scraper](https://apify.com/xmolodtsov/pinterest-comments-scraper): Public Pin comments and replies with authors, dates and likes · [Telegram Comments Scraper](https://apify.com/xmolodtsov/telegram-comments-scraper): Public channel post comments with authors, dates and reactions · [Telegram Keyword Scraper](https://apify.com/xmolodtsov/telegram-keyword-scraper): Keyword matches in public channels you supply, with views and reactions · [Pinterest Trends Scraper](https://apify.com/xmolodtsov/pinterest-trends-scraper): Trending Pinterest keywords by market, with ranks, growth and seasonality · [Facebook Marketplace Scraper](https://apify.com/xmolodtsov/facebook-marketplace-scraper): Marketplace search and category listings with prices and locations

**Instagram:** [Instagram Reel Scraper](https://apify.com/xmolodtsov/instagram-reel-scraper): Public profile reels, plays, captions, music and media URLs · [Instagram Comment Scraper](https://apify.com/xmolodtsov/instagram-comment-scraper): Public post and reel comments, likes, timestamps and usernames · [Instagram Post Scraper](https://apify.com/xmolodtsov/instagram-post-scraper): Public profile posts, likes, captions, locations and media URLs

**E-commerce:** [Prom.ua Product Search Scraper](https://apify.com/xmolodtsov/prom-ua): Prom.ua product search results, no browser needed · [Amazon Product Search & Bestsellers Scraper](https://apify.com/xmolodtsov/amazon-search-scraper): Search results, sales ranks and product details from Amazon · [AliExpress Search Scraper](https://apify.com/xmolodtsov/aliexpress-search-scraper): AliExpress products by keyword with prices, orders and shipping · [AliExpress Product Reviews Scraper](https://apify.com/xmolodtsov/aliexpress-reviews-scraper): Public product reviews, ratings, buyer photos and follow-up feedback

**Maps & leads:** [Google Maps Scraper](https://apify.com/xmolodtsov/google-maps-scraper): Places, leads and emails from Google Maps

**Ads:** [Facebook Ad Library Scraper (Meta Ads Library)](https://apify.com/xmolodtsov/facebook-ads-library-scraper): Ads from the Meta Ad Library, with EU reach and payers · [Google Ads Transparency Scraper](https://apify.com/xmolodtsov/google-ads-transparency-scraper): Google ad creatives by advertiser or domain, with regional details

**Video:** [YouTube Transcript Scraper](https://apify.com/xmolodtsov/youtube-transcript-scraper): Transcripts, subtitles and captions from YouTube videos · [YouTube Shorts Scraper](https://apify.com/xmolodtsov/youtube-shorts-scraper): Shorts of any channel with exact views, likes and duration · [YouTube Channel Details Scraper](https://apify.com/xmolodtsov/youtube-channel-scraper): Every video of a channel, with channel stats · [YouTube Search Results Scraper](https://apify.com/xmolodtsov/youtube-search-scraper): Search results and videos for any keyword · [YouTube Comments Scraper](https://apify.com/xmolodtsov/youtube-comments-scraper): Comments, replies and likes from any video · [Bilibili Comments Scraper](https://apify.com/xmolodtsov/bilibili-comments-scraper): Public hot comments and reply threads by video or keyword

**Jobs:** [SEEK Job Listings Scraper](https://apify.com/xmolodtsov/seek-jobs-scraper): Public AU/NZ job listings, salaries and redacted descriptions

**Travel:** [Google Hotels Scraper](https://apify.com/xmolodtsov/google-hotels-scraper): Scrape Google Hotels property prices

### FAQ

#### Why did I receive fewer Pins than requested?

The source can end early, sources can overlap, and page, time or charge limits can stop a scan. Check `completedInputs` and `limited` in STATISTICS. Increase source variety when a keyword's public feed has ended; increasing the result cap alone cannot create more Pins.

#### Why is a Pin URL or engagement count null?

Pinterest often exposes only an opaque search ID. The actor retains it for identity without inventing a public URL. Missing counters mean the feed did not provide the value. Direct numeric Pin input can expose different fields, but there is no optional enrichment mode.

#### Does it download images or video files?

No. Image URLs and metadata are exported. Video Pins are ordinary rows marked `isVideo: true`. Consumers decide how to use returned metadata and remain responsible for rights in any media they access.

#### Is it legal to scrape Pinterest search?

This actor processes public data only. Your use must comply with applicable law, platform terms and intellectual property rights. Assess your purpose, lawful basis, retention and data-subject rights under GDPR and CCPA where applicable. Public availability does not remove those obligations. Do not supply private, secret or login-only targets.

### Support

Use the Issues tab on the [actor's Apify page](https://apify.com/xmolodtsov/pinterest-search-scraper). Include the run ID, input type and failure category so the source response can be investigated. Share credentials only through authorized secret settings, never in support messages. For API and export usage, consult [Apify documentation](https://docs.apify.com).

# Changelog

This Actor's version history is a separate document: https://apify.com/xmolodtsov/pinterest-search-scraper/changelog.md

# Actor input Schema

## `keywords` (type: `array`):

Pinterest search keywords to collect public Pins. Supply keywords, boardUrls or pinUrls; at most 100 sources combined.

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

Public board URLs, including regional Pinterest hosts, encoded slugs and optional trailing slashes. Profiles, private boards and pin.it short links are unsupported.

## `pinUrls` (type: `array`):

Direct public numeric Pinterest Pin URLs. Regional hosts are normalized. Opaque Pin IDs and pin.it short links are invalid; no redirect resolver is offered.

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

Maximum unique saved Pins across all inputs, not a promise of available results. Apify free plan: 100 results per run, 20 runs per month.

## `maxPages` (type: `integer`):

Maximum feed pages per keyword or board, each requesting up to 100 Pins. A page cap reports limited coverage, including valid empty continuation pages; it never means exhaustion or timeout.

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

Apify datacenter by default. Residential groups and country targeting are invalid. Paid runs may use HTTP(S) custom proxies or direct access; free runs always use Apify Proxy.

## Actor input object example

```json
{
  "keywords": [
    "home decor"
  ],
  "boardUrls": [],
  "pinUrls": [],
  "maxItems": 10,
  "maxPages": 60,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Public Pin rows include pinner.id (nullable public author ID), pinner.username and pinner.displayName. Deduplication derives id, sourceId and the pinner.id/createdAt/originalImageUrl origin from saved fields. Previous builds retain saved identity aliases; unsafe legacy continuations stop without new rows or charges. Indistinguishable origins coalesce; missing origin inputs leave id/sourceId only and possible cross-input duplicates. URL is null when only an opaque source ID is available; missing engagement is null.

# 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 = {
    "keywords": [
        "home decor"
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("xmolodtsov/pinterest-search-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 = {
    "keywords": ["home decor"],
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("xmolodtsov/pinterest-search-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 '{
  "keywords": [
    "home decor"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call xmolodtsov/pinterest-search-scraper --silent --output-dataset

```

## MCP server setup

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