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

Scrape public Pinterest Search public pins, video pins, boards, and profiles by keyword. Export structured results, source URLs, IDs, and available details to CSV, JSON, or Excel for Pinterest visual discovery and topic research.

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

## Pricing

$1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Pinterest Search Scraper

Scrape Pinterest Search public pins, video pins, boards, and profiles by keyword from public pages and export Pinterest Search data to CSV, JSON, or Excel. This Pinterest Search API alternative turns repeatable inputs into structured results for Pinterest visual discovery and topic research.

Each dataset row represents a public result or a documented alternate record type. The output includes source identifiers and links where available, so you can verify a row, compare later runs, and distinguish missing source data from an omitted column.

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

The dataset schema defines every field below. Examples come from one successful published run; `null` means that field was not exposed for that particular record. Availability may differ by input mode, page, and record type.

| Field | Description | Example |
| --- | --- | --- |
| `type` | Record type: pin, video, board, or profile. | `pin` |
| `id` | Stable pin ID or public page path. | `1119918632367206773` |
| `url` | Direct public URL. | `https://www.pinterest.com/pin/1119918632367206773/` |
| `sourceUrl` | Search page or direct URL that led to the record. | `https://www.pinterest.com/search/pins/?q=home%20decor` |
| `query` | Search term, if discovered by keyword. | `home decor` |
| `title` | Public title or display name. | `Home decor \| Home décor` |
| `description` | Public description. | ` ` |
| `altText` | Image alternative text when available. | `null` |
| `imageUrl` | Largest available public image URL. | `https://i.pinimg.com/originals/4c/fa/c9/4cfac91c7f896af237805f92b1a2dc30.jpg` |
| `imageWidth` | Preview image width in pixels. | `736` |
| `imageHeight` | Preview image height in pixels. | `735` |
| `dominantColor` | Dominant image color. | `null` |
| `isVideo` | Whether the pin contains video. | `false` |
| `videoUrl` | Public video asset URL when exposed. | `null` |
| `creatorName` | Public creator display name. | `Suzanna` |
| `creatorUsername` | Public creator username. | `meliksetyansuzi` |
| `creatorUrl` | Public creator profile URL. | `https://www.pinterest.com/meliksetyansuzi/` |
| `boardId` | Board identifier when exposed. | `1119918701028652663` |
| `boardUrl` | Board URL when exposed. | `https://www.pinterest.com/shodi061197/_quick_saves/` |
| `destinationUrl` | Pin destination link when exposed. | `null` |
| `domain` | Destination or upload domain label. | `Uploaded by user` |
| `createdAt` | Pin creation timestamp when exposed. | `Wed, 15 Jul 2026 14:06:16 +0000` |
| `repinCount` | Public save count observed at collection time. | `0` |
| `isPromoted` | Public promotion flag when exposed. | `false` |

Use the identifier and URL fields as your join keys before comparing snapshots. Fields that describe a page, search, category, author, or tournament establish where the record came from; keep them when you export a subset. Numeric values and boolean flags reflect the public page at collection time, not a permanent claim about the underlying item.

### How to scrape Pinterest Search

1. Open the actor input form and choose a narrow public source: a search phrase, page URL, item URL, or ID supported by the input fields below.
2. Set the relevant per-source page or result limit and the total item limit. Start with a small sample to check which optional fields the public source exposes.
3. Run the actor. Its dataset contains one structured row per saved result; inspect the first rows and their source links for the chosen input.
4. Download the dataset as JSON, CSV, or Excel. Preserve identifiers when combining runs so repeated results can be deduplicated.

For this actor, anonymous search pages expose an empty shell, so keyword discovery depends on a public web index. Direct pin, board, profile, and search URLs can also be supplied; the type input controls keyword result class.

### Input

Use only the parameters relevant to your collection mode. An omitted optional filter uses the schema default shown here; an empty array, zero, and an omitted value can have different meanings, so keep intentional settings in your saved input.

| Parameter | Type | Default | Description |
| --- | --- | --- |
| `queries` | `array` | No default; example `["home decor"]` | Keywords to discover public results. Several focused terms improve coverage. |
| `startUrls` | `array` | None | Public pin, board, profile, or search URLs to collect. Search URLs use their q parameter. |
| `type` | `string` | `all-pins` | Choose pins, video pins, boards, or profiles for keyword discovery. |
| `limit` | `integer` | `30` | Maximum discovered results to consider for each term. Public index coverage can be lower. |
| `maxItems` | `integer` | `100` | Maximum saved records across all sources. Zero removes this cap. |
| `proxyConfiguration` | `object` | `{"useApifyProxy":true}` | Connection settings for public page requests. The default starts with datacenter access. |

Example input based on the published golden run (long URL lists are shortened):

```json
{
  "queries": [
    "home decor",
    "small apartment ideas",
    "modern kitchen ideas"
  ],
  "type": "all-pins",
  "limit": 12,
  "maxItems": 45
}
```

The example is a starting shape, not a guarantee of a particular result count. Source inventory and page accessibility change. When you need repeatable comparisons, save the exact input JSON with the run date and inspect the returned source or record-type field.

### Output example

The following is one real item from a successful published dataset. Long text and media arrays are shortened for readability; the actual dataset keeps the original values and all schema fields.

```json
{
  "type": "pin",
  "id": "1119918632367206773",
  "url": "https://www.pinterest.com/pin/1119918632367206773/",
  "sourceUrl": "https://www.pinterest.com/search/pins/?q=home%20decor",
  "query": "home decor",
  "title": "Home decor | Home décor",
  "description": " ",
  "imageUrl": "https://i.pinimg.com/originals/4c/fa/c9/4cfac91c7f896af237805f92b1a2dc30.jpg",
  "imageWidth": 736,
  "imageHeight": 735,
  "isVideo": false,
  "creatorName": "Suzanna",
  "creatorUsername": "meliksetyansuzi",
  "creatorUrl": "https://www.pinterest.com/meliksetyansuzi/",
  "boardId": "1119918701028652663",
  "boardUrl": "https://www.pinterest.com/shodi061197/_quick_saves/",
  "domain": "Uploaded by user",
  "createdAt": "Wed, 15 Jul 2026 14:06:16 +0000",
  "repinCount": 0,
  "isPromoted": false
}
```

This row illustrates the observed output structure, including its identifiers and public links. Empty values elsewhere in the dataset should be interpreted field by field; a field shown in this example is not promised for every result.

### Use cases

- Creative teams can collect public visual references around a campaign theme.
- Trend researchers can compare discovered pins across related phrases.
- Content analysts can inspect available creator, board, and destination metadata.
- Video researchers can isolate public video pins with the videos type.

The strongest analyses keep source context. A field such as price, rating, engagement, or rank has meaning only with its associated item, query, date, and public URL. Keep the raw export and create a separate cleaned view for charts or alerts.

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

The price is **$1.00 per 1,000 saved results**. Platform usage is included. The charge scales with output rows, so a restrictive filter or inaccessible page can produce fewer billable results than the requested maximum.

- 100 results: **$0.10**. This is useful for checking a small cohort and confirming which optional fields are present.
- 1,000 results: **$1.00**. This is the reference price for a larger export.
- 5,000 results: **$5.00**. Reaching this size may require multiple focused sources or scheduled runs, depending on public inventory and source caps.

Compute any other estimate as saved result count × $1.00 / 1,000. A maximum input is a ceiling, not a purchase of that many rows. For planning, use the actual saved-item count from an initial representative run.

### Tips for best results

Use several specific phrases and modest per-search limits. Provide direct startUrls for a known pin, board, or profile when coverage from keyword discovery is incomplete. Check type before comparing pin-only fields.

Collect a small baseline first, record the exact input and date, and inspect both a typical row and a sparse row. Expand by adding focused sources instead of assuming one broad input can reveal the full public inventory. When comparing two runs, match stable IDs or canonical URLs and use the same filters so changes reflect the source rather than a changed query.

Export the full JSON when nested arrays or objects matter. CSV and Excel are convenient for sorting and joins, but nested structures may need flattening before spreadsheet analysis. Keep numeric fields numeric and preserve source URLs as text; do not infer a zero from a null.

A discovery query and a direct URL serve different purposes. Use a query to find indexed public records, then use direct URLs when you already know which board, pin, or profile matters. The sourceUrl and query fields let you tell these paths apart after the records have been combined.

### Limits

Search index coverage can be lower than limit. Pin, video, board, and profile records do not share every media or engagement field; some descriptions are blank or absent.

Public pages can change, disappear, or expose different fields for different records. The schema is a list of possible output columns, not a promise that each column is filled in each row. The `maxItems`-style input limits cap saved results; they do not bypass source pagination, public visibility, or a site-specific result ceiling.

Treat a saved result as a snapshot. If a later run returns fewer rows, first compare the input, source access, and public inventory before concluding that the underlying market changed. If you need an audit trail, retain the source URL, stable identifier, and run timestamp with the export.

### Use with AI agents (MCP)

An agent can supply the documented input JSON, run this actor, and work from its dataset. Ask it to keep source links and identify null values explicitly when summarizing results. Example prompts:

> Run Pinterest Search Scraper for the sample input above. Return the first 20 results with their source URLs and the fields needed for Pinterest visual discovery and topic research. Mark unavailable fields as null.

> Schedule a repeat Pinterest Search collection with the same filters. Compare records by stable ID or canonical URL and report only new, removed, or changed public values.

### FAQ

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

This actor collects public data. Check the site’s terms, applicable law, and the rights of people whose data appears in your export. Follow GDPR and other privacy rules where relevant; do not use personal data for misuse, intrusive profiling, or unauthorized contact.

#### Do I need to configure proxies?

The input includes proxyConfiguration and defaults to Apify Proxy. Usually the default is enough to start. Availability can vary by page and region; changing network settings cannot make private or login-only information public.

#### How fast will a run finish?

Duration depends on the number of inputs, pages, detail requests, and source responses. A small sample is the best way to measure your workload. Increase the limits gradually, then use the observed run duration for scheduling and monitoring.

#### Can I schedule and monitor recurring runs?

Yes. Save the input and schedule recurring runs in Apify. Monitor run status, item count, and any missing-field changes; store the run date alongside exports when comparing snapshots.

#### Can I export to Google Sheets or Excel?

Yes. Download CSV or Excel from the dataset, or pass JSON to a spreadsheet integration. For nested fields, flatten the specific child values you need rather than losing the original JSON.

#### What if a field is empty?

An empty or null field means it was not available from that public source record in that run. Check the source URL, input mode, and record type. Do not replace missing prices, counts, dates, or flags with zero unless your own analysis has a documented rule for doing so.

#### Why did a keyword return fewer records than limit?

The limit is a ceiling. Anonymous Pinterest search is not directly available here, so discovery depends on what the public web index exposes for that phrase.

### Integrations

Use the Apify API to start runs and retrieve the dataset, webhooks to react when a run finishes, or Zapier, Make, and n8n to route records into other systems. Google Sheets supports lightweight review, while scheduled runs provide repeat snapshots. Keep the raw JSON when downstream workflows need nested fields or exact null values.

### Support

Open an issue on the Issues tab; we reply within 24h and add fields on request.

# Actor input Schema

## `queries` (type: `array`):

Keywords to discover public results. Several focused terms improve coverage.

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

Public pin, board, profile, or search URLs to collect. Search URLs use their q parameter.

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

Choose pins, video pins, boards, or profiles for keyword discovery.

## `limit` (type: `integer`):

Maximum discovered results to consider for each term. Public index coverage can be lower.

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

Maximum saved records across all sources. Zero removes this cap.

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

Connection settings for public page requests. The default starts with datacenter access.

## Actor input object example

```json
{
  "queries": [
    "home decor"
  ],
  "type": "all-pins",
  "limit": 30,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Collected public records in the default dataset.

# 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 = {
    "queries": [
        "home decor"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mlg14/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 = { "queries": ["home decor"] }

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

```

## MCP server setup

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