# Pinterest Search Scraper (`w3crawler/pinterest-search-scraper`) Actor

Search Pinterest for pins, boards, or people by keyword, including titles, images, save counts, source URLs, board names, and creator profiles.

- **URL**: https://apify.com/w3crawler/pinterest-search-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 search results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Search Scraper with Public Pin Detail Enrichment

Search public Pinterest for Pins, boards, or people with one keyword or phrase. The Actor reads public Pinterest page and API responses, filters navigation and promotional cards from Pin results, preserves source-backed Pin, board, and profile fields, and records whether a Pin card was enriched from its public Pin page.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/pinterest-search-scraper) and select **Try for free** or open the **Input** tab.
2. Enter a `query` and choose `searchType`: `pins`, `boards`, or `people`.
3. Set `maxItems` to the number of results you need and keep it small for the first run.
4. Start the Actor, open the dataset, and export the results as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to see result counts and whether Pin detail enrichment ran.

### Input

`query` is required; the other fields are optional. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `query` | string | Required | Not supplied | Keyword or phrase to search for on Pinterest, from 1 to 200 characters. |
| `searchType` | string enum | Optional | `pins` | Result type: `pins`, `boards`, or `people`. |
| `maxItems` | integer | Optional | `50` | Maximum number of search results to save, from 1 to 1000. |
| `requestTimeoutSecs` | integer | Optional | `90` | Timeout for each public Pinterest request, from 30 to 180 seconds. |
| `maxRequestRetries` | integer | Optional | `0` | Bounded retry count, from 0 to 2. |
| `requestDelayMs` | integer | Optional | `0` | Optional delay between public Pinterest pages, from 0 to 5000 ms. |
| `proxyConfiguration` | object | Optional | Not supplied | Optional standard Apify Proxy settings. Leave empty for a direct connection; Apify Proxy is recommended for live Pinterest searches. |

Example input:

```json
{
  "query": "interior design",
  "searchType": "pins",
  "maxItems": 50,
  "requestTimeoutSecs": 90,
  "maxRequestRetries": 0,
  "requestDelayMs": 0
}
```

The Actor reads public Pinterest search pages and public API responses. It does not log in to private accounts or bypass access controls. Optional `proxyConfiguration` uses the standard Apify Proxy settings.

### Output

The dataset contains one row per saved search result. Pin results, board results, and people results share one schema; fields that do not apply to a result type or that Pinterest does not publish are omitted rather than inferred. No diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `entityType` | string enum | Always | Record kind; always `pinterest_search_result`. |
| `detailEnriched` | boolean | Always | Whether the Pin card was enriched from its public Pin page. |
| `dataCompleteness` | string enum | Always | `detail_enriched` when Pin detail data was merged, otherwise `search_card`. |
| `populatedFieldCount` | integer | Always | Number of optional fields populated on the search card or enriched Pin. |
| `missingFields` | string array | Always | Optional field names the extractor looked for but did not find. |
| `position` | integer | Always | One-based position of the result in the saved result set. |
| `id` | string | Always | Pinterest object identifier for the Pin, board, or person. |
| `type` | string enum | When Pinterest returns it | Result type: `pin`, `board`, or `person`. |
| `title` | string | When Pinterest publishes it | Pin or board title. |
| `description` | string | When Pinterest publishes it | Pin or board description. |
| `altText` | string | When Pinterest publishes it | Alternative text attached to the Pin image. |
| `hashtags` | string array | When Pinterest publishes it | Hashtags detected in the Pin content. |
| `category` | string | When Pinterest publishes it | Pin category shown by Pinterest. |
| `pinUrl` | string | When Pinterest publishes it | Public Pinterest Pin URL. |
| `destinationUrl` | string | When Pinterest publishes it | Outbound destination URL attached to the Pin. |
| `trackedUrl` | string | When Pinterest publishes it | Tracked outbound URL exposed by Pinterest. |
| `imageUrl` | string | When Pinterest publishes it | Primary Pin image URL. |
| `imageWidth` | integer | When Pinterest publishes it | Primary image width in pixels. |
| `imageHeight` | integer | When Pinterest publishes it | Primary image height in pixels. |
| `imageMediumUrl` | string | When Pinterest publishes it | Medium-size image URL. |
| `imageSmallUrl` | string | When Pinterest publishes it | Small image URL. |
| `dominantColor` | string | When Pinterest publishes it | Dominant image color as a hex value. |
| `isVideo` | boolean | When Pinterest publishes it | Whether the Pin is a video Pin. |
| `isStoryPin` | boolean | When Pinterest publishes it | Whether the Pin is a story Pin. |
| `videoUrl` | string | When Pinterest publishes it | Public video URL when the Pin has video. |
| `videoDuration` | number | When Pinterest publishes it | Video duration when exposed. |
| `saves` | integer | When Pinterest publishes it | Public save count. |
| `repinCount` | integer | When Pinterest publishes it | Public repin count. |
| `likeCount` | integer | When Pinterest publishes it | Public like count. |
| `commentCount` | integer | When Pinterest publishes it | Public comment count. |
| `closeupCount` | integer | When Pinterest publishes it | Number of close-up views or close-up records when exposed. |
| `pinnerId` | string | When Pinterest publishes it | Public identifier of the Pin creator. |
| `pinnerUsername` | string | When Pinterest publishes it | Username of the Pin creator. |
| `pinnerFullName` | string | When Pinterest publishes it | Display name of the Pin creator. |
| `pinnerProfileUrl` | string | When Pinterest publishes it | Public profile URL of the Pin creator. |
| `pinnerFollowerCount` | integer | When Pinterest publishes it | Follower count of the Pin creator. |
| `pinnerIsVerified` | boolean | When Pinterest publishes it | Whether the Pin creator is verified. |
| `boardId` | string | When Pinterest publishes it | Public board identifier. |
| `boardName` | string | When Pinterest publishes it | Board name. |
| `boardUrl` | string | When Pinterest publishes it | Public board URL. |
| `boardSectionId` | string | When Pinterest publishes it | Board-section identifier when the Pin belongs to a section. |
| `boardSectionTitle` | string | When Pinterest publishes it | Board-section title when available. |
| `richMetadataUrl` | string | When Pinterest publishes it | Canonical URL from the Pin's link metadata. |
| `richMetadataTitle` | string | When Pinterest publishes it | Title from the Pin's link metadata. |
| `richMetadataDescription` | string | When Pinterest publishes it | Description from the Pin's link metadata. |
| `richMetadataImageUrl` | string | When Pinterest publishes it | Image URL from the Pin's link metadata. |
| `richMetadataType` | string | When Pinterest publishes it | Object type from the Pin's link metadata. |
| `richMetadataSiteName` | string | When Pinterest publishes it | Site name from the Pin's link metadata. |
| `closeupAttributionName` | string | When Pinterest publishes it | Attribution name shown on the close-up view. |
| `closeupAttributionUrl` | string | When Pinterest publishes it | Attribution URL shown on the close-up view. |
| `embedType` | string | When Pinterest publishes it | Embed type exposed for the Pin. |
| `embedSrc` | string | When Pinterest publishes it | Embed source URL exposed for the Pin. |
| `isRepin` | boolean | When Pinterest publishes it | Whether the Pin is a repin. |
| `isAdultContent` | boolean | When Pinterest publishes it | Whether Pinterest marks the Pin as adult content. |
| `isSafe` | boolean | When Pinterest publishes it | Whether Pinterest marks the Pin as safe. |
| `url` | string | When Pinterest publishes it | General Pinterest URL for the result when exposed. |
| `imageCoverUrl` | string | When Pinterest publishes it | Cover image URL for a board or video result. |
| `pinThumbnailUrls` | string array | When Pinterest publishes it | Thumbnail URLs shown for the Pin or board. |
| `pinCount` | integer | When Pinterest publishes it | Number of Pins on a board or profile result. |
| `followerCount` | integer | When Pinterest publishes it | Follower count for a board owner or person result. |
| `collaboratorCount` | integer | When Pinterest publishes it | Number of collaborators on a board. |
| `sectionCount` | integer | When Pinterest publishes it | Number of sections on a board. |
| `isPrivate` | boolean | When Pinterest publishes it | Whether a board or profile is private. |
| `isCollaborative` | boolean | When Pinterest publishes it | Whether a board is collaborative. |
| `layout` | string | When Pinterest publishes it | Layout label exposed for a board result. |
| `categoryName` | string | When Pinterest publishes it | Human-readable category name for a board. |
| `ownerUsername` | string | When Pinterest publishes it | Username of a board owner. |
| `ownerId` | string | When Pinterest publishes it | Public identifier of a board owner. |
| `ownerFullName` | string | When Pinterest publishes it | Display name of a board owner. |
| `ownerProfileUrl` | string | When Pinterest publishes it | Public profile URL of a board owner. |
| `ownerFollowerCount` | integer | When Pinterest publishes it | Follower count of a board owner. |
| `ownerIsVerified` | boolean | When Pinterest publishes it | Whether a board owner is verified. |
| `lastPinnedAt` | string | When Pinterest publishes it | Time of the most recent Pin on a board. |
| `username` | string | When Pinterest publishes it | Username for a person result. |
| `fullName` | string | When Pinterest publishes it | Display name for a person result. |
| `profileUrl` | string | When Pinterest publishes it | Public profile URL for a person result. |
| `profileImageUrl` | string | When Pinterest publishes it | Profile image URL for a person result. |
| `profileImageMediumUrl` | string | When Pinterest publishes it | Medium-size profile image URL for a person result. |
| `about` | string | When Pinterest publishes it | Biography text on a person profile. |
| `location` | string | When Pinterest publishes it | Public location on a person profile. |
| `website` | string | When Pinterest publishes it | Website on a person profile. |
| `pronouns` | string | When Pinterest publishes it | Pronouns shown on a person profile. |
| `followingCount` | integer | When Pinterest publishes it | Number of accounts followed by a person. |
| `boardCount` | integer | When Pinterest publishes it | Number of boards owned by a person or board owner. |
| `groupBoardCount` | integer | When Pinterest publishes it | Number of group boards associated with a person. |
| `monthlyViews` | integer | When Pinterest publishes it | Monthly views shown for a profile. |
| `impressionCount` | integer | When Pinterest publishes it | Impression count shown for a profile. |
| `isVerified` | boolean | When Pinterest publishes it | Whether a person profile is verified. |
| `isVerifiedMerchant` | boolean | When Pinterest publishes it | Whether a person profile is a verified merchant. |
| `domainUrl` | string | When Pinterest publishes it | Claimed domain URL on a profile. |
| `domainVerified` | boolean | When Pinterest publishes it | Whether the claimed domain is verified. |
| `country` | string | When Pinterest publishes it | Country associated with a profile or result. |
| `locale` | string | When Pinterest publishes it | Locale associated with a profile or result. |
| `searchQuery` | string | Always | Query used for the search. |
| `searchType` | string enum | Always | Requested result type: `pins`, `boards`, or `people`. |
| `sourceUrl` | string | Always | Public Pinterest search URL that produced the row. |
| `scrapedAt` | string | Always | Time the row was saved, in ISO UTC. |

The example below is the complete real saved Pin row from the 2026-10-25 run:

```json
{
  "entityType": "pinterest_search_result",
  "position": 1,
  "id": "e1_AfqPShwaTkPtRbl_y7gih9_iOTVOMHb7_t2_K470HNTikTWOx00b",
  "type": "pin",
  "pinUrl": "https://www.pinterest.com/pin/e1_AfqPShwaTkPtRbl_y7gih9_iOTVOMHb7_t2_K470HNTikTWOx00b/",
  "imageUrl": "https://i.pinimg.com/originals/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
  "imageWidth": 1206,
  "imageHeight": 1779,
  "imageMediumUrl": "https://i.pinimg.com/474x/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
  "imageSmallUrl": "https://i.pinimg.com/236x/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
  "dominantColor": "#79583c",
  "isVideo": false,
  "isStoryPin": false,
  "pinnerIsVerified": false,
  "isRepin": false,
  "isAdultContent": false,
  "isSafe": true,
  "searchQuery": "interior design",
  "searchType": "pins",
  "sourceUrl": "https://www.pinterest.com/search/pins/?q=interior%20design",
  "scrapedAt": "2026-10-25T20:45:35.592Z",
  "detailEnriched": false,
  "dataCompleteness": "search_card",
  "populatedFieldCount": 3,
  "missingFields": [
    "title",
    "description",
    "destinationUrl",
    "pinnerUsername",
    "pinnerFullName",
    "boardName",
    "saves",
    "commentCount",
    "richMetadataTitle"
  ]
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`. It records result counts, how many navigation cards were filtered, whether Pin detail enrichment ran, and the proxy state.

| Field | Meaning |
| --- | --- |
| `status` | Actor process outcome: `SUCCEEDED` or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Completeness of the saved results: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `hasData` | Whether at least one search result was saved. |
| `normalRecords` | Number of search-result rows written to the dataset. |
| `diagnosticRecords` | Diagnostic dataset rows; the Actor writes none. |
| `lastErrorCode` | Most recent non-fatal error code, or `null` when none occurred. |
| `processedItems` | Search cards processed before filtering. |
| `uiResultsFiltered` | Navigation, promotional, or otherwise non-result cards removed. |
| `detailEnrichedRecords` | Pin rows enriched from their public Pin pages. |
| `requestedQuery` | Query recorded from the input. |
| `searchType` | Requested result type. |
| `requestedMaxItems` | Maximum number of results requested. |
| `proxyUsed` | Whether an Apify Proxy connection was used. |
| `source` | Public source label, `pinterest`. |
| `finishedAt` | Time the summary was written, in ISO UTC. |
| `optionalFailureCount` | Optional enrichment or metadata failures recorded without failing the run. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Search results were saved without an extraction problem. |
| `SUCCEEDED` | `PARTIAL` | Results were saved, but a later enrichment or pagination problem occurred. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The search completed cleanly and returned no matching results. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable result was saved. |

Example `OUTPUT_SUMMARY` from the 2026-10-25 run:

```json
{
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "hasData": true,
  "normalRecords": 5,
  "diagnosticRecords": 0,
  "lastErrorCode": null,
  "processedItems": 5,
  "uiResultsFiltered": 0,
  "detailEnrichedRecords": 0,
  "requestedQuery": "interior design",
  "searchType": "pins",
  "requestedMaxItems": 5,
  "proxyUsed": true,
  "source": "pinterest",
  "finishedAt": "2026-10-25T20:45:36.703Z",
  "optionalFailureCount": 0
}
```

### Coverage and limitations

Pinterest's public search response determines which results are discoverable. The Actor filters navigation and promotional cards from Pin results, then reports what it saw through `detailEnriched`, `dataCompleteness`, `populatedFieldCount`, and `missingFields`. A Pin card that was not enriched keeps search-card fields only; missing values are not inferred.

The Actor does not return every result Pinterest knows about, private or hidden content, or fields omitted by the public response. Board and people results use the same wide schema as Pin results, so many fields will be absent for those types. Search order and counts are point-in-time and can change between runs. Blocked, empty, or partial responses are reported in `OUTPUT_SUMMARY` and logs rather than written as dataset rows.

### Usage and support

Cost depends on the number of search pages, Pin detail requests, browser startup, proxy traffic, and result count. Start with a small `maxItems` and `searchType: "pins"`, inspect the dataset and run summary, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/pinterest-search-scraper/issues) to report a problem. Include the run ID, the input used, and the `OUTPUT_SUMMARY`; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by Pinterest. Use it only for public data and in accordance with Pinterest's terms, robots guidance, and applicable law. Public search results can contain personal information; use the output only for lawful purposes.

# Changelog

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

# Actor input Schema

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

The keyword or phrase to search for on Pinterest.

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

Type of content to search: pins, boards, or people.

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

Maximum number of results to scrape.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout from 30 to 180 seconds.

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

Bounded retry count from 0 to 2.

## `requestDelayMs` (type: `integer`):

Optional delay between public Pinterest pages.

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

Optional proxy settings. Leave empty for a direct connection; Apify Proxy is recommended for live Pinterest searches.

## Actor input object example

```json
{
  "query": "interior design",
  "searchType": "pins",
  "maxItems": 50,
  "requestTimeoutSecs": 90,
  "maxRequestRetries": 0,
  "requestDelayMs": 0
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

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

Run status and counters stored by the Actor.

# 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": "interior design",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/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 = {
    "query": "interior design",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/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 '{
  "query": "interior design",
  "maxItems": 50
}' |
apify call w3crawler/pinterest-search-scraper --silent --output-dataset

```

## MCP server setup

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