# Pinterest Keyword Search Scraper 📌 Pins via Google (No Login) (`tagadanar/pinterest-keyword-search-scraper`) Actor

Search Pinterest pins by keyword (as indexed by Google) and get each pin's URL, pin ID, image URL, title and Google position. Country, exact phrase and date filters. No login, no Pinterest request. $0.018 per Google page + $0.03 per 1,000 pins.

- **URL**: https://apify.com/tagadanar/pinterest-keyword-search-scraper.md
- **Developed by:** [Tagada Data](https://apify.com/tagadanar) (community)
- **Categories:** Social media, SEO tools, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $12.60 / 1,000 google results pages

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

## Pinterest Keyword Search Scraper: Pins via Google (No Login)

Type keywords, get the Pinterest pins that match them: one row per pin with its link, pin ID, image URL, title and
rank. Plain words or Google operators (`-exclude`, `OR`), exact-phrase matching, any country's Google, and an
"indexed within" date filter. No Pinterest account, no cookies, no login. A fast, cheap keyword-to-pins list.

**$0.018 per Google results page read + $0.03 per 1,000 pins on Free (lower on higher Apify plans), plus $0.001 per
run. Platform usage is included.** On a broad keyword nearly every image on a full Google page is a pin (about 95 to
100 pins per page), so 1,000 pins cost about $0.22 in all. No API key, no proxy to set up.

**How it finds pins, and what that means for the rows:** the search runs on Google Images, restricted to Pinterest
pin pages (`site:pinterest.com/pin`). Every field comes from **Google's results page**; the actor never opens
Pinterest itself. So each row is Google's view of the pin: its link, the image Google indexed, and the title Google
shows. Pinterest-only data is **not** included: no saves or repin counts, no board, no pinner profile, no comments,
no outbound link. Results are pins Google has indexed for your keywords, in Google's order, not Pinterest's in-app
search results.

### What you get

One flat row per pin.

| Field | What it is |
| --- | --- |
| `keyword` | The keyword that found this pin |
| `position` | Its rank among this keyword's pins on Google (1 = first) |
| `pinId` | The pin ID |
| `pinUrl` | The pin's link (`https://www.pinterest.com/pin/<id>/`) |
| `googlePinUrl` | The pin link exactly as Google lists it (it may be a country host such as `es.pinterest.com`) |
| `pinterestHost` | That host |
| `title` | The pin's title as Google shows it |
| `description` | Google's snippet for the pin, when Google gives one (mostly recipe and video pins) |
| `imageUrl` | The pin's image as Google indexed it: usually the full-size `i.pinimg.com` image, sometimes the original image on the creator's site |
| `imageWidth`, `imageHeight` | That image's size in pixels |
| `imageHost` | The image's host (`i.pinimg.com`, or the creator's site) |
| `thumbnailUrl` | Google's thumbnail of the image |
| `googleDate` | The date Google shows with the pin's snippet (`YYYY-MM-DD`), when it shows one |
| `searchPage`, `scrapedAt` | The Google results page it came from, and when the row was made |

Image and pin links are delivered as links; the actor does not download images.

### Who uses it

- **Content and trend research:** which pins rank for a topic, their titles and images, to plan boards, blog posts
  and product shoots.
- **SEO and Pinterest marketing:** which pins (and whose images) Google shows for your keywords, by country, run on
  a schedule to track positions.
- **Product and e-commerce research:** what people pin for a product category, with the image to review at a glance.
- **Mood boards and datasets:** a quick list of image URLs and pin links for a theme.

### Examples

Prefill (one keyword, 50 pins, one Google page):

```json
{"keywords": ["meal prep"], "maxResultsPerKeyword": 50, "maxPagesPerKeyword": 1}
```

Exact phrase, several keywords, up to 3 pages each:

```json
{"keywords": ["japandi bedroom", "small balcony garden"], "exactPhrase": true, "maxResultsPerKeyword": 200, "maxPagesPerKeyword": 3}
```

Pins Google indexed in the past month, from Google UK:

```json
{"keywords": ["christmas table decor"], "time": "month", "country": "gb", "maxPagesPerKeyword": 2}
```

### Input

- `keywords`: one search per line, up to 50. The actor adds the Pinterest restriction itself (a `site:` you type is
  removed).
- `maxResultsPerKeyword`: stop a keyword after this many pins (default 100, max 1,000).
- `maxPagesPerKeyword`: Google results pages read per keyword (default 3, max 10). Each page lists up to about 100
  images; the pins among them are kept and de-duplicated. A keyword stops early when Google has nothing new.
- `exactPhrase`: wrap each keyword in quotes so Google matches the exact phrase rather than the words in any order
  (default off).
- `country` (default `us`): the Google you search from; it changes which pins rank first. For pins in another
  language, type the keyword in that language.
- `time` (default `any`): only pins Google indexed in the past day, week, month or year. This is Google's date
  filter, not the pin's creation date.

### Results, zeros and errors

- A pin found by two keywords is delivered once, under the first keyword, and charged once.
- A keyword Google answered with no pin is named in the status ("no Pinterest pins") and costs only the results page
  read. A keyword Google refused, or the run clock stopped, is named and never reported as empty.
- Invalid input ends the run right away with an "Input error: ..." message and only the $0.001 start charge.

### Pricing

- $0.001 per run (start).
- $0.018 per Google results page read on Free ($0.0126 on Gold); each page lists up to about 100 images.
- $0.03 per 1,000 pins on Free ($0.021 per 1,000 on Gold).

Platform usage and proxies are included. Set a maximum charge per run in Apify for a hard ceiling: the actor checks
it before each page and before delivering pins, stops at it and says so in the status.

### FAQ

**Is this Pinterest's own search?** No. The actor never logs in and never calls Pinterest. It searches Google Images
for Pinterest pin pages matching your keywords. Results are pins Google has indexed, in Google's order.

**Why no saves, repins or board?** Those live on Pinterest's own pages, which this actor does not open. Each row is
what Google shows for the pin. If you need those counts, open the `pinUrl` yourself or use a tool that reads
Pinterest directly.

**How many pins per keyword?** It depends on how much Google has indexed for it. Broad keywords fill several pages;
narrow phrases may return a handful. `maxPagesPerKeyword` caps the pages read (and their cost).

**Can I download the images?** Each row carries `imageUrl`; the actor does not download it. Check the image's rights
before you reuse it.

### Data use

Only what Google publicly shows on its results page is collected; no login, no private boards, no profiles, no
emails. Pins and images belong to their creators. You are responsible for how you use the data, including
Pinterest's terms, image copyright and the privacy law that applies to you (for example the GDPR).

# Changelog

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

# Actor input Schema

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

What you would type into Pinterest search, one keyword or phrase per line (for example "meal prep", "japandi bedroom", "wedding cake ideas"). Google operators work too: -word to exclude, OR between words. Up to 50 keywords per run.

## `maxResultsPerKeyword` (type: `integer`):

Stop a keyword after this many pins. One Google page holds up to about 100 images, most of them pins. Default 100, max 1,000.

## `maxPagesPerKeyword` (type: `integer`):

Stop a keyword after this many Google results pages (each page is charged once). Google usually runs out after 2 to 4 pages for one keyword. Default 3, max 10.

## `exactPhrase` (type: `boolean`):

Wrap each keyword in quotes so Google matches the exact phrase rather than the words in any order. Off: Google also lists close matches.

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

Two-letter code of the Google you search from (us, gb, de, fr, br, in...). Changes which pins Google ranks first. Default us.

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

Only pins Google indexed in this period (Google's own date filter, not the pin's creation date).

## Actor input object example

```json
{
  "keywords": [
    "meal prep"
  ],
  "maxResultsPerKeyword": 50,
  "maxPagesPerKeyword": 1,
  "exactPhrase": false,
  "country": "us",
  "time": "any"
}
```

# Actor output Schema

## `dataset` (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 = {
    "keywords": [
        "meal prep"
    ],
    "maxResultsPerKeyword": 50,
    "maxPagesPerKeyword": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("tagadanar/pinterest-keyword-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["meal prep"],
    "maxResultsPerKeyword": 50,
    "maxPagesPerKeyword": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("tagadanar/pinterest-keyword-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "meal prep"
  ],
  "maxResultsPerKeyword": 50,
  "maxPagesPerKeyword": 1
}' |
apify call tagadanar/pinterest-keyword-search-scraper --silent --output-dataset

```

## MCP server setup

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