# Pinterest Scraper — Pins, Boards, Profiles & Search (`nice_dev/pinterest-scraper`) Actor

Scrape Pinterest without an account: pins, boards, profiles and search results by keyword or URL. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/nice_dev/pinterest-scraper.md
- **Developed by:** [Nice Dev](https://apify.com/nice_dev) (community)
- **Categories:** Social media, Marketing, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.09 / 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.
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

### 📌 What is Pinterest Scraper?

**Pinterest Scraper** extracts **pins, boards, profiles and keyword suggestions from [Pinterest](https://www.pinterest.com)**: **title, description, image and video, outbound link, reactions, saves, creator, board and product price**, for any keyword or Pinterest URL. It works as a **Pinterest API alternative**: run it on a schedule, call it from your code, or plug it into Make, Zapier or n8n.

Type a **keyword** (`home decor`) or paste any Pinterest URL — a pin, a board, a profile or a search — click **Start**, and download the results in JSON, CSV or Excel. No Pinterest account, no cookie, nothing to set up. Pins, boards, profiles and keyword suggestions come out in one dataset, one row each, told apart by the `type` column.

### 📋 What data can you extract from Pinterest?

One row per pin, board, profile or keyword suggestion, 142 fields:

| Category | What you get |
| --- | --- |
| 📌 **Pin** | title, description, alt text, outbound link and its domain, Pinterest page of the pin — `Pottery Barn Console Styling` |
| 🖼️ **Image and video** | original image and every size, width and height, main color, an image fingerprint shared by every copy of the image, video file and stream with its duration, carousel and idea-pin pages |
| 📈 **Engagement** | reactions, saves, repins, number of comments (Extract pin details), shares, "tried it" count and rating |
| 🛍️ **Products** | product name, price and currency, availability, rating and number of reviews, shop name, affiliate disclosure |
| 👤 **Creator** | username, display name, profile link, avatar, followers, verified badge, original creator of a repin |
| 🗂️ **Board** | the pin's board (name, link, pins, sections, cover, owner); board rows: pins, followers, sections, collaborators, last update |
| 🧑 **Profile** | followers, following, pins, boards, monthly views, bio, website and verified domain, Instagram account, business account, shop catalog |
| 🔑 **Keyword suggestions** | the related searches Pinterest suggests for your keyword, and the suggestions of those suggestions |
| 🏷️ **Labels** | topics and objects Pinterest sees in the image, category, hashtags, AI-generated label, ad flag |
| 🧠 **AI pin analysis** (option) | what AI sees in the picture of each pin, written in English: description, subject, niche and sub-niche, content type, styles, colors, objects, text written in the picture, people visible, target audience, product category, brand, purchase-intent score from 0 to 100, keywords — `Cozy scandinavian living room`, `home decor`, `82` |
| 🕒 **Dates and origin** | creation date, the keyword or URL the row was found on, its rank in the list, extraction time |

Every field, with an example, is listed in the **Output** section below.

Fields marked **Extract pin details** in the Output tab (full description, shares, hashtags, original creator, affiliate link, the board's description and section…) are filled when that option is ticked, for the pins that have a public page. Pins of boards, sections and profiles already carry their saves without it (and their repins, on boards and on a profile's created pins).

### ✅ Why use Pinterest Scraper?

- 🧭 **All of Pinterest in one Actor**: keyword search (pins, video pins, boards or users), boards and board sections, profiles with their boards, single pins with the pins shown under them, and keyword suggestions — in the same run and the same dataset.
- 🔓 **No account, no cookie**: the Actor reads what Pinterest shows to any visitor; you never hand over a login.
- 🔍 **Honest about what Pinterest shows**: when a pin has no public page for visitors without an account, its `url` is empty and `idEncrypted` says so, instead of a link that leads nowhere; `imageSignature` stays a stable key for it.
- 📈 **Saves included** for the pins of boards, sections and profiles, and **repins** for those of boards and of a profile's created pins, with no extra request and no extra fee.
- 🎛️ **Filters the site does not have**: creation date, minimum reactions or saves, creator followers range, video pins only, verified creators only, no ads, only pins with a link, and Pinterest's own "no AI-generated images" switch.
- 🔔 **Monitoring built in**: tick **Only new results**, schedule the Actor, and each run returns (and charges) only what it has never delivered before.
- 🧠 **Pictures read for you**: tick one option and AI looks at each pin and tells you its niche, style, colors, objects, the text in the picture, the audience and a purchase-intent score — ready to sort, tag or feed a report.
- 💸 **Pay only for what you tick**: pin details, related pins, profile boards, keyword suggestions and the AI pin analysis are options, unticked by default.
- 🔌 API, scheduling, integrations (Make, Zapier, n8n, Google Sheets…) and JSON/CSV/Excel export via the Apify platform.

### 🚀 How to scrape Pinterest

1. Create a free Apify account.
2. Open **Pinterest Scraper**, type a **Search keyword** (e.g. `home decor`) and pick the **Search type**: pins, video pins, boards or users.
3. Or paste your own Pinterest URLs into **Start URLs**: pins, boards, board sections, profiles or search pages, on any country domain of Pinterest. Pagination is automatic. When Start URLs is filled, the keywords are ignored.
4. Set **Max results** (100 by default, 0 = no limit) — and **Max results per search** when you run several searches — then click **Start**.
5. Download the dataset in JSON, CSV, Excel or via API.

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

This Actor uses **pay per event** pricing: you pay for each row saved, by its kind, plus a small fee per run start. The amounts are on the **Pricing** tab of this page. Platform usage (compute, proxy) is included in the price.

| Event | When it is charged |
| --- | --- |
| `apify-actor-start` | once per run |
| `result` | each pin saved from a search, a board, a board section or a profile, and each pin URL you paste |
| `pin-details` | on top of `result`, each pin whose page is opened for its details: with **Extract pin details**, and always for a pin URL you paste (its row is read from its page) |
| `related-pin` | each pin saved from under a pasted pin, with **Include related pins** |
| `profile-row` | each profile row: a profile URL, or a search with **Search type** set to users |
| `board-row` | each board row: a board URL, **Include the boards of a profile**, or a search with **Search type** set to boards |
| `keyword-suggestion` | each suggestion saved with **Include keyword suggestions** |
| `pin-analysis` | on top of `result`, each pin whose picture was analyzed by AI (**AI pin analysis**): one event per pin, only when the analysis is delivered |

The five options — **Extract pin details**, **Include related pins**, **Include the boards of a profile**, **Include keyword suggestions** and **AI pin analysis** — are unticked by default: leave them off and you pay none of their events, with one exception: a pin URL you paste is always read from its page, so it pays `pin-details` even with **Extract pin details** unticked. Filters the site does not offer are applied by the Actor on every row it reads: a row you keep costs its normal price, a row a filter drops costs only a small filter fee (`filter-check`; `detail-filter-check` when the filter needed the pin page), lower than a result — filtering never costs more than taking everything. **Max AI pin analyses** caps the analyses (and their charge) of a run.

### ⚙️ Input

```json
{
    "query": "home decor",
    "maxItems": 200
}
```

Several searches, a cap per search, only recent and popular pins, keyword ideas, only the pins not delivered before:

```json
{
    "searchQueries": ["wedding dress", "wedding cake"],
    "searchScope": "pins",
    "maxItemsPerQuery": 50,
    "postedAfter": "30 days",
    "minReactions": 10,
    "includeKeywordSuggestions": true,
    "onlyNew": true,
    "stateKey": "wedding-ideas"
}
```

Pins read by AI, to find the niche, style and audience of each picture (a paid option, at most 50 analyses):

```json
{
    "query": "scandinavian living room",
    "maxItems": 50,
    "includePinAnalysis": true,
    "maxPinAnalyses": 50
}
```

Or with your own URLs — a profile with its boards, and a pin with the pins shown under it:

```json
{
    "startUrls": [
        { "url": "https://www.pinterest.com/nasa/" },
        { "url": "https://www.pinterest.com/pin/142567144449027286/" }
    ],
    "includeProfileBoards": true,
    "includeRelatedPins": true,
    "maxItems": 300
}
```

| Field | Notes |
| --- | --- |
| `query`, `searchQueries` | Keyword search, exactly as typed in the Pinterest search bar (`home decor`); `searchQueries` adds more keywords, one search each (max 101 searches per run). A pin found by several searches is saved once. Ignored when `startUrls` is set. |
| `searchScope` | What the keyword search returns: `pins` (default), `videos`, `boards` or `users` (profiles). A pasted search URL keeps its own type. |
| `startUrls` | Pinterest URLs, any country domain: a pin (`https://www.pinterest.com/pin/142567144449027286/`), a board (`/nasa/learn-with-nasa/`) or a board section, a profile (`/nasa/`, `/nasa/_created/`, `/nasa/pins/`, `/nasa/boards/`) or a search (`/search/pins/?q=wedding`). Max 1,000 URLs. |
| `maxItems`, `maxItemsPerQuery` | Rows saved for the whole run, and for EACH list read; `0` = no limit. A keyword's results, its keyword suggestions, a profile's pins and its boards are each a list, counted separately by `maxItemsPerQuery`. The row of a profile or of a board counts as one row, like a pin, in `maxItems`. |
| `extractDetails`, `includeVisualObjects` | Open the page of each pin that has one, for saves, repins, comment and share counts, category, hashtags, full description, product price and original creator (paid option, unticked). `includeVisualObjects` adds the objects Pinterest detects in the image, free, with `extractDetails` only. |
| `profilePins`, `includeProfileBoards`, `includeUserInfoOnly` | For a profile URL: its `created` pins (default), its `saved` pins, or `none`; `includeProfileBoards` adds one row per public board (paid option, unticked); `includeUserInfoOnly` saves the profile row alone. A pasted tab URL (like /nasa/\_created/ or /nasa/boards/) reads that list alone: `profilePins` and `includeProfileBoards` then have no effect. |
| `includeRelatedPins`, `maxRelatedPinsPerPin` | For each pin URL of `startUrls`, also save the pins Pinterest shows under it (paid option, unticked), up to 25 per pin by default. |
| `includeKeywordSuggestions`, `keywordSuggestionDepth` | For each search keyword, also save the related searches Pinterest suggests, about 12 per keyword (paid option, unticked); depth 2 or 3 adds the suggestions of each suggestion. |
| `includePinAnalysis`, `maxPinAnalyses` | AI pin analysis: AI looks at the picture of each pin and writes the analysis (see the FAQ); paid Apify plans only, off by default. `maxPinAnalyses` caps the analyses made (and charged) in one run, 100 by default: the pins beyond it are delivered without analysis, with the status cap-reached. |
| `excludeAiGenerated` | Ask Pinterest to leave AI-generated images out of the keyword search results. |
| `postedAfter`, `postedBefore` | Pin creation date (`createdAt`): `2026-09-01`, or a period before now (`7 days`, `2 weeks`, `1 month`, `24 hours`). Pins without a date are dropped. |
| `excludeKeywords` | Drop the pins whose title or description contains one of these words (`diy`): whole words only (`art` does not match `party`), case and accents ignored. A word in Chinese, Japanese, Thai, Lao, Khmer or Burmese is looked for as a piece of text. |
| `minSaves`, `minReactions` | Keep the pins with at least this many saves or reactions; `0` = no filter. Pins whose count is unknown (no saves on a keyword search) are kept, and the log says how many. |
| `minFollowers`, `maxFollowers` | Followers range of the pin's creator, and of the boards and profiles; `0` = no bound. Pinterest gives the creator's followers on keyword searches and on pin pages only: the other pins have no count and are kept. |
| `verifiedOnly`, `videoOnly`, `excludePromoted`, `onlyWithLink` | Verified creators only, video pins only, no ads, only pins that link to a website. |
| `onlyNew`, `stateKey`, `resetState` | Monitoring: only the rows never delivered under this memory key (`wedding-ideas`); `resetState` forgets the memory (it needs `onlyNew`; without it the run warns and forgets nothing). |
| Advanced | `proxyConfiguration` (Apify proxy by default, included in the price; the residential proxy is not available), `maxConcurrency`, `maxRequestsPerMinute`, `minRequestIntervalMs`, `maxRequestRetries`, `debugLog`. |

### 📦 Output

A real pin from a keyword search (shortened: long texts cut, most empty columns left out). This pin has no public page for visitors without an account, so `url` is null and Pinterest gives no saves, repins or comment count for it:

```json
{
    "type": "pin",
    "id": "e1_AfqPShzf8Rp-jtL6h-Icap60iRXJWnVoSc0oT0hJdE6ePLkCop-v_g",
    "url": null,
    "scrapedAt": "2026-10-21T20:19:27.341Z",
    "searchQuery": "home decor",
    "sourceUrl": "https://www.pinterest.com/search/pins/?q=home+decor",
    "position": 1,
    "idEncrypted": true,
    "title": "Pottery Barn Console Styling | Warm Neutral Entryway Ins",
    "description": "This Pottery Barn-inspired console setup is the definition of warm, elevated styling.",
    "altText": "a table with candles and a bowl on it in front of a large round mirror",
    "link": "https://www.potterybarn.com/products/vintners-buffet/?catalogId=84&sku=6851319",
    "domain": "potterybarn.com",
    "imageUrl": "https://i.pinimg.com/originals/d4/2d/e0/d42de0b1dfbded24f21abf0c5a7a7907.png",
    "imageWidth": 1122,
    "imageHeight": 1402,
    "imageSignature": "d42de0b1dfbded24f21abf0c5a7a7907",
    "dominantColor": "#92704c",
    "isVideo": false,
    "createdAt": "2026-05-23T01:13:16.000Z",
    "reactionCount": 58,
    "saves": null,
    "repinCount": null,
    "commentCount": null,
    "isPromoted": false,
    "isAiGenerated": true,
    "siteName": "Pottery Barn",
    "pinnerId": "1100567365097486829",
    "pinnerUsername": "alljlkhome",
    "pinnerName": "JLK Home",
    "pinnerUrl": "https://www.pinterest.com/alljlkhome/",
    "pinnerFollowers": 13,
    "pinnerVerified": false,
    "boardId": "1100567296379892362",
    "boardName": "Console Styling",
    "boardUrl": "https://www.pinterest.com/alljlkhome/console-styling/",
    "boardPinCount": 4,
    "visualAnnotations": ["Front Entry Way Decor Ideas", "Living Room Buffet Table Decor", "Dining Side Table Decor"],
    "pinAnalysis": null,
    "pinAnalysisStatus": null
}
```

With **AI pin analysis** ticked, `pinAnalysis` holds the analysis (shortened here) and `pinAnalysisStatus` is `done`:

```json
{
    "pinAnalysis": {
        "description": "A warm entryway console with candles and a bowl in front of a large round mirror.",
        "subject": "Entryway console styling",
        "niche": "Home decor",
        "subNiche": "Entryway styling",
        "contentType": "photo",
        "styles": ["warm neutral", "rustic"],
        "colors": ["beige", "brown", "cream"],
        "objects": ["console table", "round mirror", "candles", "bowl"],
        "textInImage": null,
        "peopleVisible": false,
        "targetAudience": "Homeowners looking for entryway ideas",
        "productCategory": "Furniture",
        "brandGuess": null,
        "purchaseIntentScore": 72,
        "keywords": ["console styling", "entryway decor", "round mirror"]
    },
    "pinAnalysisStatus": "done"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV or Excel. The Output tab has a view per kind of row: pins, boards, profiles and keywords.

#### All 142 fields

| Fields | What you get |
| --- | --- |
| `type`, `id`, `url`, `idEncrypted`, `aggregatedPinId` | **Row**: `pin`, `board`, `profile` or `keyword`; the Pinterest id (numeric, or `e1_…` for a pin with no public page, then `url` is null and `idEncrypted` is true); the id Pinterest gives to every copy of the same pin |
| `searchQuery`, `sourceUrl`, `position`, `scrapedAt` | **Origin**: the keyword or start URL the row was found on, its rank from 1, ISO timestamp |
| `title`, `gridTitle`, `description`, `altText`, `autoAltText`, `seoTitle`, `seoDescription`, `userNote` | **Texts** of the pin: title, short grid title, description, alt texts written by the creator and by Pinterest, page title and meta description, creator's note (Extract pin details) |
| `link`, `domain`, `trackedLink`, `siteName`, `richPinType` | **Link**: the website the pin leads to, its domain, the link as tracked by Pinterest, the site name and rich-pin type (`product`, `recipe`, `article`…) |
| `imageUrl`, `imageWidth`, `imageHeight`, `thumbnailUrl`, `images`, `imageSignature`, `dominantColor` | **Image**: original image (a profile's avatar on a profile row), size in px, 236 px thumbnail, every size by name, image fingerprint, main color |
| `isVideo`, `videoUrl`, `videoHlsUrl`, `videoDuration`, `videoWidth`, `videoHeight`, `videoThumbnailUrl` | **Video**: MP4 file, HLS stream, duration in seconds, size, thumbnail |
| `isCarousel`, `isStoryPin`, `carouselImages` | Carousel and idea pins, with the image of each page |
| `createdAt`, `isEdited`, `isRepin`, `isPromoted`, `isAiGenerated` | Creation date (what the date filters read), edited after publishing, repin, ad, labelled AI-generated by Pinterest |
| `reactionCount`, `saves`, `repinCount`, `commentCount`, `commentsDisabled`, `shareCount`, `favoriteUserCount`, `doneCount`, `triedItCount`, `triedItRating` | **Engagement**: reactions (every pin but the ones listed under a pasted pin), saves (boards, sections, profiles, related pins, pin pages), repins (boards, a profile's created pins, pin pages), comment count (pin pages: Extract pin details, pasted pins), shares, favorites, "tried it" count and rating |
| `category`, `hashtags`, `visualAnnotations`, `visualObjects` | **Labels**: category, hashtags, topics Pinterest sees in the image, objects detected with their position (Include visual objects) |
| `productName`, `productPrice`, `productCurrency`, `productAvailability`, `productRating`, `productReviewCount`, `productRatingCount`, `productBestRating` | **Product** pins: name, price, ISO currency, availability, rating and number of reviews |
| `isAffiliate`, `affiliateDisclosure`, `affiliateLink` | Affiliate pin, its disclosure text and link (Extract pin details) |
| `pinnerId`, `pinnerUsername`, `pinnerName`, `pinnerUrl`, `pinnerFollowers`, `pinnerVerified`, `pinnerImageUrl`, `originalPinnerUsername` | **Creator** of the pin: id, username, name, profile page, followers, verified badge, avatar, original creator of a repin (Extract pin details) |
| `boardId`, `boardName`, `boardUrl`, `boardPinCount`, `boardPrivacy`, `boardIsCollaborative`, `boardSectionCount`, `boardCollaboratorCount`, `boardCoverImageUrl`, `boardOwnerUsername`, `boardDescription`, `boardCategory`, `boardSectionName` | **Board of the pin**: id, name, page, pins, privacy, group board, sections, collaborators, cover, owner; description, category and section (Extract pin details) |
| `relatedToPinId` | For a related pin: the id of the pasted pin it was found under |
| `name`, `pinCount`, `followerCount`, `sectionCount`, `collaboratorCount`, `isCollaborative`, `collaborators`, `privacy`, `coverImageUrl`, `hasCustomCover`, `lastModifiedAt`, `ownerId`, `ownerUsername`, `ownerName`, `ownerUrl`, `ownerFollowers`, `ownerImageUrl` | **Board rows**: name, pins and followers (also on profile rows), sections, collaborators and their usernames, privacy, cover, last pin added, owner (id, username, name, page, followers, avatar) |
| `username`, `fullName`, `firstName`, `lastName`, `about`, `pronouns`, `followingCount`, `boardCount`, `groupBoardCount`, `videoPinCount`, `storyPinCount`, `monthlyViews`, `profileReach`, `lastPinSavedAt`, `country`, `profileCoverUrl` | **Profile rows**: username, names, bio, pronouns, following, boards, group boards, video and idea pins, monthly views, reach, last pin saved, country, cover |
| `websiteUrl`, `domainUrl`, `domainVerified`, `instagramUsername`, `instagramUrl`, `impressumUrl` | Website of the profile, claimed domain and whether it is verified, linked Instagram account, legal-notice link |
| `isVerifiedMerchant`, `verifiedIdentity`, `isPartner`, `hasCatalog`, `isAdsOnlyProfile`, `isPrivate` | Verified merchant, verified identity, business account, shop catalog, ads-only profile, private profile |
| `keyword`, `seedQuery`, `suggestionType`, `suggestionDepth` | **Keyword rows**: the suggestion, the keyword it was asked for, `query` or `user`, depth 1 to 3 |
| `pinAnalysis`, `pinAnalysisStatus` | **AI pin analysis**: `{description, subject, niche, subNiche, contentType, styles, colors, objects, textInImage, peopleVisible, targetAudience, productCategory, brandGuess, purchaseIntentScore, keywords}` and its status (`done`, or why there is no analysis); `null` without the option, and on boards, profiles and keyword rows |

### 💡 Tips

#### How to get more results

Set `maxItems` to `0` and use broad keywords, several at once in `searchQueries`. A board or a profile gives all its pins: paste the boards you care about into `startUrls`. With **Include keyword suggestions** at depth 2, one keyword brings the related searches you can feed back into the next run.

#### How to reduce costs

You pay per row, so the levers are `maxItems`, `maxItemsPerQuery`, the filters (a filtered-out row costs only the filter fee, lower than a result), `onlyNew` for recurring runs (you never pay twice for the same row), and the options: leave unticked those you do not need (**Max AI pin analyses** caps the AI analysis). **Profile info only** gives the profile row alone, without its pins.

#### Several searches in one run

Fill `searchQueries`: the Actor runs one search per keyword, `query` included (up to 101 per run), all with the same **Search type**. A pin found by several searches is saved — and charged — once. Set `maxItemsPerQuery` to give every search its own cap: without it the first searches can use up the whole `maxItems` budget. You can also paste several search URLs into `startUrls`: each one is a search of its own, with the same cap.

#### Monitoring: only the new pins

Tick **Only new results** (`onlyNew`) and schedule the Actor. The first run returns everything; each later run skips the rows already delivered: they are not saved, not charged, and their page is not even opened. The memory lives in a named key-value store of your account (`pinterest-scraper-seen`, up to 150,000 results per key) and is only updated with rows that really reached the dataset, so a failed run never hides anything. Give each schedule its own `stateKey` (two schedules sharing a key would hide each other's rows), and tick `resetState` once to start over. The pins of a profile come newest first, so a run stops once it meets a long run of pins it already has; a search, a board or a section has no such order: the run reads on past the pins you already have, and stops after 20 pages in a row with nothing new.

#### Filter by creation date

`postedAfter` and `postedBefore` take a date (`2026-09-01`, the whole day is included) or a period before now (`7 days`, `2 weeks`, `1 month`; via the API also `24 hours` or a full ISO date-time). The filter reads `createdAt`; a pin without a date is dropped as soon as a date bound is set. Pins of keyword searches, related lists and profiles carry their date; pins of a section get it only with **Extract pin details** (their page gives it); pins of a board never have one, so a date filter drops all of them. Boards and profiles are not filtered by date. Filtered-out pins are not saved and do not count in `maxItems` (each pin dropped costs the filter fee, see Pricing); the run summary tells how many were filtered.

### 🔌 Integrations and API

Call the Actor via the Apify API, the JavaScript or Python clients, or connect it with integrations and webhooks (Make, Zapier, n8n, Google Sheets, Slack, Airtable…). The dataset can be fetched as JSON or CSV from any tool.

### 🤖 Use with AI agents (MCP)

AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the [Apify MCP server](https://mcp.apify.com), billed to their Apify account like any run. It returns one row per Pinterest pin, board, profile or keyword suggestion. Actor id: `nice_dev/pinterest-scraper`; MCP server with this Actor only: `https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/pinterest-scraper`.

Smallest input, for a cheap first call:

```json
{
    "query": "home decor",
    "maxItems": 10
}
```

Key output fields: `type`, `id`, `url`, `title`, `imageUrl`, `link`, `reactionCount`, `pinnerUsername` and, with the AI pin analysis, `pinAnalysis`.

Cost: pay per event, one event per row by its kind plus a small fee per run start, see the pricing section above. Cap each call with `maxItems` and, through the API, with the run option `maxTotalChargeUsd`.

### ❓ FAQ

#### Is it legal to scrape Pinterest?

The Actor only reads what Pinterest shows publicly to any visitor without an account: public pins, boards and profiles. It logs in to nothing. Results can contain personal data (display names, usernames, websites of profiles), which is protected by GDPR: do not store it without a legitimate reason. You are responsible for using the data in compliance with Pinterest's Terms of Service and applicable law. This Actor is not affiliated with Pinterest.

#### Does it need a login, a cookie or a proxy?

No login and no cookie. The proxy is included in the price: leave the default setting (the residential proxy is not available). A request the site turns away is retried at once on a new proxy session, up to 10 times on top of the retries (without a proxy, after a pause of 5 seconds, doubled at each retry up to 150 seconds).

#### Why do some pins have no URL and no saves?

Pinterest gives most pins of keyword searches, of boards and of the "more like this" lists to visitors without an account under an encrypted id (`e1_…`) and without a page of their own. The Actor keeps them, with `url` null and `idEncrypted` true, rather than invent a link; `imageSignature` and `aggregatedPinId` stay stable keys for them. Such a pin cannot be opened, so **Extract pin details** skips it (and charges nothing for it). Pins of keyword searches come without saves, repins or comment count: Pinterest does not give them there. Pins of boards have their saves and repins, those of sections and profiles their saves (repins too on a profile's created pins); the number of comments comes only from a pin's own page (**Extract pin details**, pasted pin URLs). Pins of profiles, of sections and pasted pin URLs have a numeric id, a URL and a page.

#### What is the AI pin analysis?

An option that looks at the picture of each pin for you. Tick **AI pin analysis** (`includePinAnalysis`) and each pin comes with `pinAnalysis`: a description of the picture, its subject, niche and sub-niche, the content type (`photo`, `product-shot`, `illustration`, `infographic`, `text-graphic`, `screenshot`, `collage` or `other`), the styles, the colors, the objects, the text written in the picture, whether people are visible, the target audience, the product category, the brand when its logo is visible, a purchase-intent score from 0 to 100 (an estimate) and keywords. Everything is written in English.

- It applies to pins only. Boards, profiles and keyword suggestions are delivered as usual, with `pinAnalysis` and `pinAnalysisStatus` set to `null`. It works for the pins of a search, a board, a profile and for pasted pin URLs.
- It needs a paid Apify plan. **Max AI pin analyses** (`maxPinAnalyses`) caps the analyses of the run (100 by default): the pins beyond it are delivered without analysis.
- It is charged once per pin analyzed (`pin-analysis`), on top of the pin itself (`result`), and only when the analysis is made and delivered. When there is none, `pinAnalysis` is `null` and `pinAnalysisStatus` says why: `no-image` (a pin without picture), `image-unavailable` (the picture could not be read), `cap-reached`, `max-cost-reached` (the run's maximum cost would not pay for it), `free-plan`, `unavailable`, `no-time` or `failed`. Nothing is charged for those.
- The analysis reads a medium-size version of the picture, so very small details and small text may be missed; the purchase-intent score and the brand are estimates, not facts.

#### Is the data safe to open in Excel or to show on a web page?

Titles, descriptions and bios are the pinners' own words, copied as they are. A text can begin with `-`, `+`, `=` or `@`: Excel and Google Sheets may read such a cell of a CSV file as a formula or as a number. The Actor leaves the text as it is, so that the JSON and the API give the real value: when you open a CSV, import these columns as text. On a web page, escape every field like any text written by a stranger.

#### Known limitations

- Comment texts are hidden by Pinterest from visitors without an account: the Actor gives the number of comments only.
- Pins with an encrypted id have no `url` and no details (see above).
- Related pins are read for the pin URLs you paste in `startUrls`, not for the pins of a search.
- `onlyNew` remembers row ids, not their content: a pin whose reactions changed is not returned again.
- Two runs sharing the same `stateKey` at the same time may both return the same new pin.

**A run that reaches its timeout** stops itself about 45 seconds before it: no new page is asked, what it read is saved and, with `onlyNew`, remembered, and the run ends *Succeeded* with "Stopped before the run's timeout". Resurrect it to go on from there, or give the next run a longer timeout (Run options).

**A run the platform stops without warning** (out of memory)

- Resurrect it: it goes on from where it stood at most a minute before the stop. What it had read since is read again, and the rows already saved are skipped: none is delivered or charged twice, and `maxItems` still counts them.
- With `onlyNew`, the memory is saved after each write (at most once every 2 seconds): resurrect the stopped run and the rows it had saved meanwhile join the memory; leave it stopped for good, and the next run may return the rows of its last 2 seconds once more.

#### Something doesn't work?

The last line of the log counts the rows saved, filtered out and no longer on Pinterest (removed while the run was reading them), and the requests that failed after every retry. Those requests and the removed pins are listed, with the reason, in the `FAILED_REQUESTS` record of the run's key-value store. A run that saved nothing and had failed requests fails, and its last message gives the cause (a board or a profile that does not exist says so, instead of "run it again").

If Pinterest changes its pages, you are told instead of paying for blank rows. If the first 20 results read all lack the same expected field — the image, image fingerprint, creator or board of a pin; the date of a pin read from its page; the name or privacy of a board; the username of a profile; the text of a suggestion — the run saves nothing more, stops and fails, and its last message names the missing field: at most those first results are charged. A pin that `postedAfter` / `postedBefore` drops because it has no date at all counts among those 20. A run of fewer results (a scheduled `onlyNew` run that finds a few new pins, a small **Max results**) is checked at its end, from 5 results: its rows are already saved, and the run fails with the missing field instead of ending green.

### 🛟 Support

Open an issue in the **Issues** tab with a link to your run: the run log and the `FAILED_REQUESTS` record of the key-value store show exactly which URLs failed and why.

# Actor input Schema

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

Pinterest URLs, any country domain (pinterest.com, .fr, .de, .co.uk, .ca…): a pin (`https://www.pinterest.com/pin/142567144449027286/`), a board (`/nasa/learn-with-nasa/`) or a board section, a profile (`/nasa/`, `/nasa/_created/`, `/nasa/pins/`, `/nasa/boards/`) or a search (`/search/pins/?q=wedding`). Pagination is automatic. When this list is not empty, the search fields below (keywords) are ignored; filters, caps and monitoring still apply. Max 1 000 URLs.

## `query` (type: `string`):

Free-text search, exactly as typed in the Pinterest search bar (e.g. `home decor`). What is searched (pins, videos, boards or users) is set by **Search type**.

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

Several keywords in one run: one search per keyword. Added to **Search keyword**; pins found by several searches are saved once.

## `searchScope` (type: `string`):

What the keyword search returns: pins, video pins, boards or user profiles (same tabs as on pinterest.com).

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

Maximum number of rows (pins, boards, profiles, keyword suggestions) to save for the whole run (after deduplication and filters). 0 = no limit.

## `maxItemsPerQuery` (type: `integer`):

Cap for EACH list read, so that the first one cannot use up the whole **Max results** budget: a keyword's results, its keyword suggestions, a profile's pins and its boards each count separately (the profile row itself is not counted; the board row of a board URL counts in its list: a cap of 10 gives that row and 9 pins). 0 = no per-search cap.

## `extractDetails` (type: `boolean`):

Open the page of each pin that has a public numeric id (1 extra request per pin) to add saves, repins, comment and share counts, category, hashtags, full description, product price and the original creator. Paid option, charged per enriched pin (see Pricing). A pin URL you paste in Start URLs is the exception: it is always read from its page and charged `pin-details`, even with this option unticked. Pins found by keyword search, in a board or among related pins have an encrypted id that Pinterest does not open to visitors without an account: they keep the list fields only. Pins of boards, sections and profiles already include their saves without this option (repins too on boards and on a profile's created pins); the number of comments comes only with it.

## `includeVisualObjects` (type: `boolean`):

With **Extract pin details**: also save the objects Pinterest detects in the pin image (column `visualObjects`: name, position and score of each). Free, no extra request. Ignored when **Extract pin details** is off.

## `includeRelatedPins` (type: `boolean`):

For each pin URL in **Start URLs**, also save the 'More like this' pins that Pinterest shows under it (column `relatedToPinId` = the source pin). Paid option, charged per related pin (see Pricing).

## `maxRelatedPinsPerPin` (type: `integer`):

Cap of related pins saved for each pin URL (used when **Include related pins** is on).

## `profilePins` (type: `string`):

Which pins to save for a profile URL: the pins the user created, the pins the user saved, or none (profile row and boards only).

## `includeProfileBoards` (type: `boolean`):

For a profile URL, also save one row per public board of the user (name, pin count, followers, sections, cover image). Paid option, charged per board (see Pricing). Off: a profile URL gives the profile row and its pins only.

## `includeUserInfoOnly` (type: `boolean`):

For a profile URL, save only the profile row (followers, following, pins, boards, monthly views, website…), without its pins or boards. Fastest way to check many profiles.

## `includeKeywordSuggestions` (type: `boolean`):

For each search keyword, also save the related keyword suggestions Pinterest offers for it (about 12 per keyword) as rows of type `keyword`. Paid option, charged per suggestion (see Pricing).

## `keywordSuggestionDepth` (type: `integer`):

1 = suggestions of your keywords only. 2 or 3 = also the suggestions of each suggestion (about 12 times more rows per level). Used only when 'Include keyword suggestions' is on.

## `includePinAnalysis` (type: `boolean`):

An AI looks at the picture of each pin and writes an analysis of it in English: what it shows, subject, niche and sub-niche, content type, styles, colors, objects, the text written in the picture, whether people are visible, target audience, product category, brand when its logo is visible, a purchase-intent score from 0 to 100 and keywords. Applies to the pins only (boards, profiles and keyword suggestions are delivered without it). Paid Apify plans only. Charged as a separate event, once per pin analyzed; nothing is charged when the analysis is skipped or fails (the pin is delivered without it and the reason is in `pinAnalysisStatus`).

## `maxPinAnalyses` (type: `integer`):

Most analyses made (and charged) in one run, used when **AI pin analysis** is on. The pins beyond it are delivered without analysis.

## `excludeAiGenerated` (type: `boolean`):

Ask Pinterest to leave AI-generated images out of the keyword search results (the site's own filter).

## `postedAfter` (type: `string`):

Only pins created on or after this date (pin creation date, `createdAt`): `2026-09-01`, or a period before now such as `7 days`, `2 weeks`, `1 month` (API: `24 hours` and full ISO date-times work too). Pins without a creation date are dropped. Pins of a section have a date only with **Extract pin details** (their page gives it), so without it they are dropped; pins of a board never have one, so a board is dropped whole. Boards and profiles are not filtered.

## `postedBefore` (type: `string`):

Only pins created on or before this date (the whole day is included), or older than a period such as `30 days`. Pins of a section have a date only with **Extract pin details** (their page gives it), so without it they are dropped; pins of a board never have one, so a board is dropped whole.

## `excludeKeywords` (type: `array`):

Drop the pins whose title or description contains one of these whole words (`art` does not match `party`), case and accents ignored. A word in Chinese, Japanese, Thai, Lao, Khmer or Burmese is looked for as a piece of text.

## `verifiedOnly` (type: `boolean`):

Keep only the pins whose creator is a verified merchant or has a verified identity on Pinterest.

## `minSaves` (type: `integer`):

Keep only the pins saved at least this many times. Applies to pins whose saves are known (pins of boards, sections, profiles and related lists, or pins with **Extract pin details** that have a page of their own); pins without a page of their own (for example most pins from a keyword search) have no saves count and are kept (their number is given in the log). 0 = no filter.

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

Keep only video pins.

## `excludePromoted` (type: `boolean`):

Drop ads (promoted pins) from the results.

## `onlyWithLink` (type: `boolean`):

Keep only the pins that link to a website (`link` not empty), e.g. to collect shop or blog pages.

## `minReactions` (type: `integer`):

Keep only the pins with at least this many reactions (`reactionCount`, known for every pin but the ones listed under a pasted pin: those are kept). 0 = no filter.

## `minFollowers` (type: `integer`):

Keep only the pins whose creator has at least this many followers, and the profiles / boards with at least this many followers. The creator's followers are given on keyword searches and on pin pages only: pins of boards, sections, profiles and related lists (without **Extract pin details**) are kept. 0 = no filter.

## `maxFollowers` (type: `integer`):

Keep only the pins whose creator has at most this many followers, and the profiles / boards with at most this many followers (find small creators). Unknown counts are kept, as above. 0 = no limit.

## `onlyNew` (type: `boolean`):

Skip the rows that a previous run (same **Memory key**) already delivered: they are not saved and not charged, and their page is not even opened. First run = everything is new.

## `stateKey` (type: `string`):

Name of the memory used by **Only new results**. Give each schedule / task its own key (e.g. `wedding-ideas`) so that they do not share their memory. Letters, digits, `-` and `_`.

## `resetState` (type: `boolean`):

Forget everything remembered under this **Memory key** before the run: this run returns (and charges) every row again. Untick it afterwards. It only works together with **Only new results**: without it no memory is opened, nothing is forgotten, and the run says so.

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

Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.

## `maxConcurrency` (type: `integer`):

Maximum number of requests processed in parallel.

## `maxRequestsPerMinute` (type: `integer`):

Most requests to the site in any 60 seconds, all of them counted: results pages, pin pages and the extra page read for a pin. A budget, not an even pace: up to this many can leave at once when the minute starts (spread them with the minimum delay below). Lower it if the site answers HTTP 429 / 403 in the log.

## `minRequestIntervalMs` (type: `integer`):

Smallest gap between two requests, in milliseconds. Unlike the per-minute rate, this spreads the requests evenly instead of letting them go out in a burst. 0 = no gap.

## `maxRequestRetries` (type: `integer`):

Retries per request before it is marked as failed. Behind a proxy, a request the site turns away is also retried on a new proxy session up to 10 times without using up these retries.

## `debugLog` (type: `boolean`):

Include debug messages in the run log.

## Actor input object example

```json
{
  "startUrls": [],
  "query": "home decor",
  "searchQueries": [],
  "searchScope": "pins",
  "maxItems": 100,
  "maxItemsPerQuery": 0,
  "extractDetails": false,
  "includeVisualObjects": true,
  "includeRelatedPins": false,
  "maxRelatedPinsPerPin": 25,
  "profilePins": "created",
  "includeProfileBoards": false,
  "includeUserInfoOnly": false,
  "includeKeywordSuggestions": false,
  "keywordSuggestionDepth": 1,
  "includePinAnalysis": false,
  "maxPinAnalyses": 100,
  "excludeAiGenerated": false,
  "excludeKeywords": [],
  "verifiedOnly": false,
  "minSaves": 0,
  "videoOnly": false,
  "excludePromoted": false,
  "onlyWithLink": false,
  "minReactions": 0,
  "minFollowers": 0,
  "maxFollowers": 0,
  "onlyNew": false,
  "stateKey": "default",
  "resetState": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 8,
  "maxRequestsPerMinute": 120,
  "minRequestIntervalMs": 0,
  "maxRequestRetries": 5,
  "debugLog": false
}
```

# Actor output Schema

## `results` (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 = {
    "query": "home decor",
    "extractDetails": false,
    "includeRelatedPins": false,
    "includeProfileBoards": false,
    "includeKeywordSuggestions": false,
    "includePinAnalysis": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nice_dev/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 = {
    "query": "home decor",
    "extractDetails": False,
    "includeRelatedPins": False,
    "includeProfileBoards": False,
    "includeKeywordSuggestions": False,
    "includePinAnalysis": False,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nice_dev/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 '{
  "query": "home decor",
  "extractDetails": false,
  "includeRelatedPins": false,
  "includeProfileBoards": false,
  "includeKeywordSuggestions": false,
  "includePinAnalysis": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nice_dev/pinterest-scraper --silent --output-dataset

```

## MCP server setup

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