# Pinterest Search Scraper - Keyword & Pin Search (`imbuedata/pinterest-search-scraper`) Actor

Search Pinterest by keyword and export pin search results to JSON, CSV or Excel. Collect one page per run and continue with a resume bookmark. Built for content discovery, keyword research, trend research and marketing workflows. No Pinterest login required.

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

## Pricing

from $1.50 / 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 - Keyword & Pin Search

Search Pinterest by keyword and collect pin search results as structured data. Use this Pinterest keyword scraper for content discovery, niche research, moodboard planning and repeated searches for your marketing workflow.

### How to scrape Pinterest search results

1. Enter a keyword or phrase in **Search query**.
2. Leave **Resume bookmark** empty for the first page.
3. Run the Actor and open its dataset.
4. To collect the next page, follow the pagination instructions below.

```json
{"query": "minimalist decor"}
```

### Inputs

| Field | Required | Purpose |
|---|---|---|
| `query` | Yes | Pinterest keyword or search phrase. |
| `bookmark` | No | Next-page bookmark from a previous run with the same query. |

Each run collects one complete response page. Page size is controlled by the upstream response; there is no item-limit input. This Actor searches for pins. Use the related Actors below for board, profile or individual pin lookup.

### Use cases

- Discover pin content around a niche, product category or campaign theme.
- Compare the content returned for different search phrases.
- Repeat a saved keyword search to collect snapshots for your own analysis.

Search results are not Pinterest Trends search-volume data and do not measure keyword demand.

### Pagination: collect the next page

Open the run's key-value store and read `RESUME`. It contains `bookmark`, `totalCollected` for this run, and `done`. If `done` is false, copy `bookmark` into the next run's input with the same query or target and mode. If `resumeOffset` is nonzero, also copy it into **Resume position within page** to collect the remaining rows. Otherwise leave that field empty. Stop when `done` is true. Each run makes one page request; pagination is manual or can be orchestrated through the Apify API. Bookmarks should not be reused with another target.

### Output and exports

Results are saved to the default Apify dataset. Open the run's dataset to inspect the returned records, then export JSON, CSV or Excel. The Actor preserves the source response fields; field availability depends on the target and Pinterest's response. It does not invent missing values or guarantee that every record contains the same fields.

### Pricing

$1.50 per 1,000 dataset results, plus $0.00005 per Actor start event. Apify charges start events by memory (one event per GB, minimum one). Customer platform usage is included. For example, 100 dataset rows cost $0.15 in result charges, plus the applicable start charge. Check the Pricing tab for the current billing terms.

### Automation

Run this Actor from Apify Console or through the Apify API. Use saved tasks and Apify Schedules for repeated collection. Connect the results to your workflow through Apify integrations, webhooks, n8n, Make or Zapier.

### Frequently asked questions

#### Do I need a Pinterest account or API key?

No Pinterest login, cookies or separate ImbueData API key are requested in the input form. Service credentials are managed by the Actor owner.

#### Can I collect private data?

These Actors cover supported public Pinterest data. Private boards and actions requiring a user's Pinterest cookies are outside their scope.

#### Why are some results missing?

Availability depends on the source response. Check the target, spelling and selected mode. A search or list may return no records or fewer records than expected. Report reproducible failures through the Actor's Issues tab with the run URL and non-sensitive input.

### Related Pinterest scrapers

- [Pinterest Search Scraper](https://apify.com/imbuedata/pinterest-search-scraper)
- [Pinterest Board Scraper](https://apify.com/imbuedata/pinterest-board-scraper)
- [Pinterest Profile Scraper](https://apify.com/imbuedata/pinterest-profile-scraper)
- [Pinterest Pin Scraper](https://apify.com/imbuedata/pinterest-pin-scraper)

Powered by ImbueData. This Actor is not affiliated with Pinterest.

### Spending limits and resources

The Actor checks the remaining result budget before making a backend request. If it cannot cover one result, the run stops without calling the backend. If the budget allows only part of a list page, the Actor saves the remaining position in `RESUME`. Use the same target and its resume fields in the next run to continue. Results may change on Pinterest between runs.

Default memory is 256 MB, with a 512 MB maximum. Default run timeout is 90 seconds; backend requests time out after 30 seconds and are not automatically retried.

# Actor input Schema

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

Keyword or phrase to search on Pinterest.

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

Optional next-page bookmark from the RESUME output. Leave empty for the first page.

## `resumeOffset` (type: `integer`):

Only when RESUME reports a nonzero resumeOffset after a budget-limited page. Copy it with the same target, mode and bookmark; otherwise leave empty.

## Actor input object example

```json
{
  "query": "minimalist decor"
}
```

# Actor output Schema

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

No description

## `resume` (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": "minimalist decor"
};

// Run the Actor and wait for it to finish
const run = await client.actor("imbuedata/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": "minimalist decor" }

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

```

## MCP server setup

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