# Pinterest Scraper — Pins, Boards, Profiles & Creator Websites (`haketa/pinterest-scraper`) Actor

Extract Pinterest pins, boards, and creator profiles at scale. Collect titles, descriptions, hashtags, high-res original image URLs, outbound links, domains, board stats, pinner follower counts, monthly views, and creator websites for e-commerce trend tracking, SEO, and influencer lead generation.

- **URL**: https://apify.com/haketa/pinterest-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** Social media, Lead generation, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

<h1 align="center">Pinterest Scraper — Pins, Boards, Profiles &amp; Creator Websites</h1>

<p align="center">
  <img src="https://img.shields.io/badge/Platform-Pinterest-E60023?style=for-the-badge&logo=pinterest&logoColor=white" alt="Pinterest" />
  <img src="https://img.shields.io/badge/Data-Pins%20%7C%20Boards%20%7C%20Profiles-111827?style=for-the-badge" alt="Pins Boards Profiles" />
  <img src="https://img.shields.io/badge/No--Code-Ready-16A34A?style=for-the-badge" alt="No-Code Ready" />
  <img src="https://img.shields.io/badge/Fields-35%2B%20Structured-2563EB?style=for-the-badge" alt="35+ Fields" />
  <img src="https://img.shields.io/badge/Export-JSON%20%7C%20CSV%20%7C%20Excel-7C3AED?style=for-the-badge" alt="Export Formats" />
</p>

Extract structured **Pinterest pins, boards, and creator profiles** at scale — without manual copying or browser extensions. Collect titles, descriptions, hashtags, high-resolution original image URLs, external destination links, domains, board counts, creator follower numbers, monthly Pinterest views, and verified creator websites in clean JSON, CSV, or Excel datasets.

Built for **e-commerce product research, visual trend tracking, SEO & outbound traffic analysis, influencer discovery, and brand monitoring** across any Pinterest niche worldwide.

***

### ⚡ At a Glance

| Feature | Details |
|---|---|
| 🎯 **Supported modes** | Search Pins · Search Boards · Creator Profiles · Direct Profile / Board / Pin / Search URLs |
| 🖼️ **Visual metadata** | Original full-resolution image URL, thumbnail URL, pixel dimensions, dominant hex color, video flag |
| 🔗 **Traffic & e-commerce intel** | External destination URL, root domain, board name & URL, organic vs. promoted filter |
| 👤 **Creator & lead enrichment** | Username, full name, follower count, verified merchant flag + optional **creator website, bio & monthly views** |
| 🧩 **Zero-config friendly** | Works out of the box with no required fields — pick a topic dropdown, type keywords, or paste URLs |
| 📤 **Export formats** | JSON, CSV, Excel (XLSX), HTML table, XML, or direct API / webhook / n8n / Make integration |

***

### 🚀 Why Use Pinterest Scraper?

Pinterest is a visual search engine where **hundreds of millions of shoppers, designers, and brands** save products, recipes, outfits, home decor, and creative inspiration every month. Unlike short-lived social feeds, Pinterest pins drive evergreen outbound traffic to stores, blogs, and landing pages.

With **Pinterest Scraper**, you can:

- **Discover winning e-commerce products & trends** before they peak by monitoring high-frequency niches, outbound store domains, and visual styles.
- **Find influencers, creators & verified merchants** complete with follower counts, monthly Pinterest views, bios, and direct website URLs for outreach.
- **Audit competitor Pinterest SEO** by analyzing top-ranking pin titles, descriptions, alt texts, hashtags, board names, and destination landing pages.
- **Build structured visual datasets** with full-resolution image URLs, exact aspect ratios (`imageWidth` × `imageHeight`), and dominant color hex codes for design moodboards or ML pipelines.
- **Monitor brand mentions & content syndication** across public Pinterest boards and creator profiles on a recurring schedule.

***

### 💼 Popular Use Cases

| Industry / Team | What You Collect | Actionable Outcome |
|---|---|---|
| 🛒 **E-commerce & Dropshipping** | Pins with outbound links (`onlyWithOutboundLink: true`), destination domains, product images, titles | Identify trending Shopify/DTC products, spy on competitor landing pages, and track seasonal demand |
| 🤝 **Influencer & Affiliate Marketing** | Creator profiles (`searchMode: "profiles"` or `enrichCreatorProfiles: true`), monthly views, websites, follower counts | Build targeted creator outreach lists sorted by monthly Pinterest reach and niche relevance |
| 📈 **SEO & Content Marketing** | Top-ranking pin titles, descriptions, hashtags, alt text, board names | Reverse-engineer Pinterest keyword strategy and discover high-traffic blog/content angles |
| 🎨 **Creative Agencies & Design Studios** | Original high-res images, dominant color palettes, dimensions, board curations | Automate moodboard assembly, color-trend reports, and packaging/branding inspiration archives |
| 📊 **Market Research & Brand Intelligence** | Public board feeds, creator posting frequency, outbound domain share of voice | Measure how often competitors and domains appear in top visual search results |
| 🤖 **AI & Computer Vision Teams** | Clean image URLs paired with human-written descriptions, alt texts, and hashtags | Assemble labeled visual datasets for classification, search, or style-matching workflows |

***

### 🧭 How It Works (3 Simple Steps)

1. **Choose what to collect:** Select **Pins**, **Boards**, or **Creator Profiles** in the `What to extract` dropdown.
2. **Define your targets:** Enter one or more `Search keywords`, select a ready-made `Topic / category preset`, or paste public Pinterest URLs (profiles, boards, pins, or search pages). Leave everything blank to run a mixed trending discovery sample.
3. **Run & download:** Click **Start**, wait a few seconds for the run to finish, and download your structured dataset as JSON, CSV, or Excel — or connect it directly to Google Sheets, Airtable, Make, or n8n.

> 💡 **Tip for fast lead generation:** Set `searchMode` to **Creator Profiles** (or keep `Pins` and turn on `Enrich pins with creator website & monthly views`) to pull each creator's external website, bio, follower count, and monthly Pinterest views in one run.

***

### ⚙️ Input Parameters

No field is required — you can run the Actor immediately with default settings or customize any combination of filters.

| Parameter | Type | Default | Description |
|---|---|---|---|
| `searchMode` | Dropdown | `"pins"` | Choose `pins`, `boards`, or `profiles` for keyword and category searches. |
| `searchQueries` | Text list | `["minimalist logo design", "modern kitchen decor"]` | One or more search keywords or phrases (e.g., `"boho living room"`, `"skincare routine"`). |
| `category` | Dropdown | `""` | Optional preset topic from 19 popular Pinterest niches (Home Decor, Fashion, Graphic Design, Weddings, Beauty, Architecture, etc.). |
| `startUrls` | URL list | `[]` | Public Pinterest URLs: search pages, creator profiles (`pinterest.com/nike/`), boards (`pinterest.com/user/board/`), or single pins (`pinterest.com/pin/12345/`). |
| `maxItems` | Integer | `100` (prefill `50`) | Maximum total records to save across all queries and URLs (`1` to `50,000`). |
| `excludePromoted` | Boolean | `true` | Automatically skip sponsored/promoted ad pins so results stay organic. |
| `onlyWithOutboundLink` | Boolean | `false` | Return only pins that link to an external website, store, or article. |
| `enrichCreatorProfiles` | Boolean | `false` | Fetch each unique pin creator's public profile to populate `pinnerWebsite`, `pinnerMonthlyViews`, and `pinnerAbout`. |
| `proxyConfiguration` | Proxy | Apify Proxy | Standard proxy configuration for smooth, reliable runs at any scale. |

#### Example Input Configurations

##### 1. Keyword Pin Research (Default / Quick Start)

```json
{
  "searchMode": "pins",
  "searchQueries": ["minimalist logo design", "modern kitchen decor"],
  "maxItems": 100,
  "excludePromoted": true
}
```

<details>
<summary>2. E-commerce Product & Competitor Link Discovery</summary>

```json
{
  "searchMode": "pins",
  "searchQueries": ["ergonomic desk setup", "portable espresso maker"],
  "onlyWithOutboundLink": true,
  "excludePromoted": true,
  "maxItems": 300
}
```

</details>

<details>
<summary>3. Influencer & Creator Lead Generation (with Websites & Monthly Views)</summary>

```json
{
  "searchMode": "profiles",
  "searchQueries": ["interior design studio", "sustainable fashion brand"],
  "maxItems": 150
}
```

</details>

<details>
<summary>4. Scrape Specific Public Boards & Brand Profiles</summary>

```json
{
  "searchMode": "pins",
  "startUrls": [
    { "url": "https://www.pinterest.com/nike/" },
    { "url": "https://www.pinterest.com/sfgirlbybay/kitchen-decor/" }
  ],
  "maxItems": 200
}
```

</details>

***

### 📦 Output Data & Field Reference

Each run saves clean, flat JSON records into the default Apify Dataset and also writes a compact run summary to the Key-Value Store (`OUTPUT`).

#### Sample Output Record (Pin)

```json
{
  "itemType": "pin",
  "id": "516084438595550372",
  "pinUrl": "https://www.pinterest.com/pin/516084438595550372/",
  "title": "Minimalist Logo Design | Modern Brand Identity",
  "description": "Clean minimalist logo mark in deep teal and navy for startups and modern businesses. #MinimalistLogo #BrandIdentity #LogoDesign",
  "altText": "minimalist logo and branding design",
  "hashtags": ["MinimalistLogo", "BrandIdentity", "LogoDesign"],
  "imageUrl": "https://i.pinimg.com/originals/a8/77/ce/a877ce1c97289bbecdbc0504f9d94dc0.jpg",
  "thumbnailUrl": "https://i.pinimg.com/474x/a8/77/ce/a877ce1c97289bbecdbc0504f9d94dc0.jpg",
  "imageWidth": 1000,
  "imageHeight": 1500,
  "dominantColor": "#f8f6f3",
  "isVideo": false,
  "isPromoted": false,
  "outboundUrl": "https://examplebrand.com/branding-portfolio",
  "outboundDomain": "examplebrand.com",
  "savesCount": 42,
  "repinCount": 42,
  "commentCount": 3,
  "reactionCount": 11,
  "boardId": "228205974807643823",
  "boardName": "Minimalist Logo Design",
  "boardUrl": "https://www.pinterest.com/pixelandpenstudio/minimalist-logo-design/",
  "boardPinCount": 26,
  "pinnerId": "228206043527618630",
  "pinnerUsername": "pixelandpenstudio",
  "pinnerFullName": "Pixel & Pen Studio",
  "pinnerProfileUrl": "https://www.pinterest.com/pixelandpenstudio/",
  "pinnerAvatarUrl": "https://i.pinimg.com/140x140_RS/4c/bf/10/4cbf10cb26d0777d2338877bd45a47fd.jpg",
  "pinnerFollowers": 1420,
  "pinnerVerifiedMerchant": false,
  "pinnerWebsite": "https://pixelandpenstudio.com",
  "pinnerMonthlyViews": 185000,
  "pinnerAbout": "Brand identity and minimalist logo design studio.",
  "createdAt": "2026-11-16T08:25:30.000Z",
  "searchQuery": "minimalist logo design",
  "sourceUrl": "https://www.pinterest.com/search/pins/?q=minimalist%20logo%20design",
  "scrapedAt": "2026-11-23T17:15:00.000Z"
}
```

#### Field Dictionary & Data Coverage

Coverage indicators reflect typical live Pinterest data availability: 🟢 Nearly every record · 🟡 Present when published on Pinterest · ⚪ Optional / enrichment mode.

##### 📌 Core Pin & Content Fields

| Field | Type | Coverage | Description |
|---|---|---|---|
| `itemType` | String | 🟢 | Record category: `"pin"`, `"board"`, or `"profile"`. |
| `id` | String | 🟢 | Unique Pinterest pin, board, or user identifier. |
| `pinUrl` | String | 🟢 | Direct clickable Pinterest URL for the record. |
| `title` | String | 🟢 | Pin title, grid title, board name, or profile display name. |
| `description` | String | 🟡 | Full pin or board description text when provided by the creator. |
| `altText` | String | 🟢 | Pinterest SEO / accessibility alt text describing the visual content. |
| `hashtags` | Array | 🟡 | Parsed list of `#hashtags` extracted cleanly from title and description. |
| `createdAt` | String (ISO) | 🟢 | Creation or last-modified timestamp in ISO 8601 UTC format. |

##### 🖼️ Visual & Media Fields

| Field | Type | Coverage | Description |
|---|---|---|---|
| `imageUrl` | String | 🟢 | Highest available original image URL (`orig` / `736x`). |
| `thumbnailUrl` | String | 🟢 | Medium preview thumbnail URL (`474x` / `236x`). |
| `imageWidth` | Number | 🟢 | Original image width in pixels. |
| `imageHeight` | Number | 🟢 | Original image height in pixels. |
| `dominantColor` | String | 🟢 | Dominant hex color code detected for the visual (e.g., `#f8f6f3`). |
| `isVideo` | Boolean | 🟢 | `true` when the pin contains video / Idea Pin video media. |
| `isPromoted` | Boolean | 🟢 | `true` if the pin was flagged as promoted/sponsored. |

##### 🔗 Traffic, Board & Engagement Fields

| Field | Type | Coverage | Description |
|---|---|---|---|
| `outboundUrl` | String | 🟡 | External website, product page, or blog link attached to the pin. |
| `outboundDomain` | String | 🟡 | Clean root domain of the external link (e.g., `nike.com`, `shopify.com`). |
| `boardId` | String | 🟡 | Numeric ID of the board containing the pin. |
| `boardName` | String | 🟡 | Human-readable name of the Pinterest board. |
| `boardUrl` | String | 🟡 | Direct link to the Pinterest board. |
| `boardPinCount` | Number | 🟡 | Total number of pins saved on that board. |
| `savesCount` | Number | ⚪ | Total saves / repins (populated on direct pin URLs and detailed feeds). |
| `commentCount` | Number | ⚪ | Total public comments (populated on direct pin URLs). |
| `reactionCount` | Number | 🟡 | Sum of public reactions when present. |

##### 👤 Creator & Lead Enrichment Fields

| Field | Type | Coverage | Description |
|---|---|---|---|
| `pinnerId` | String | 🟢 | Numeric creator / account ID. |
| `pinnerUsername` | String | 🟢 | Public Pinterest handle (e.g., `nike`, `pixelandpenstudio`). |
| `pinnerFullName` | String | 🟢 | Creator or brand display name. |
| `pinnerProfileUrl` | String | 🟢 | Direct URL to the creator's public Pinterest profile. |
| `pinnerAvatarUrl` | String | 🟢 | Creator profile photo URL. |
| `pinnerFollowers` | Number | 🟢 | Total Pinterest followers of the creator. |
| `pinnerVerifiedMerchant` | Boolean | 🟢 | `true` when the account holds Pinterest Verified Merchant status. |
| `pinnerWebsite` | String | ⚪ | Creator's external website URL (populated in `profiles` mode, user URLs, or with `enrichCreatorProfiles: true`). |
| `pinnerMonthlyViews` | Number | ⚪ | Creator's monthly Pinterest views (populated in `profiles` mode, user URLs, or with `enrichCreatorProfiles: true`). |
| `pinnerAbout` | String | ⚪ | Creator bio / about text (populated in `profiles` mode, user URLs, or with `enrichCreatorProfiles: true`). |

***

### 🎯 Search Strategy Tips

| Goal | Recommended Settings |
|---|---|
| 🔥 **Fast broad visual discovery** | `searchMode: "pins"`, 2–5 keywords, `enrichCreatorProfiles: false`, `maxItems: 500` |
| 🛍️ **Store & product sourcing** | `searchMode: "pins"`, `onlyWithOutboundLink: true`, `excludePromoted: true` |
| 📇 **Influencer / brand lead list** | `searchMode: "profiles"`, niche keywords like `"interior design"`, `"jewelry brand"`, `maxItems: 200` |
| 📋 **Competitor board archive** | Paste board URLs into `startUrls`, keep `searchMode: "pins"`, set `maxItems` to board size |
| 🎨 **Curated board discovery** | `searchMode: "boards"`, niche keywords, sort exported CSV by `boardPinCount` descending |

***

### 📊 Verified Field Coverage (Live Benchmark)

Across a 150-pin multi-keyword benchmark run (`"minimalist logo design"` + `"modern kitchen decor"`), the Actor returned **150 unique records with 0 duplicates** and the following real-world fill rates:

| Field Group | Verified Fill Rate | Notes |
|---|---|---|
| `id`, `pinUrl`, `title`, `createdAt` | **100%** | Every record includes a clean title, direct Pinterest link, and ISO timestamp |
| `imageUrl`, `thumbnailUrl`, `imageWidth`, `imageHeight`, `dominantColor` | **100%** | Full-resolution original media URLs and exact pixel dimensions |
| `pinnerId`, `pinnerUsername`, `pinnerFullName`, `pinnerFollowers` | **100%** | Complete creator attribution on every collected pin |
| `boardId`, `boardName`, `boardUrl`, `boardPinCount` | **100%** | Full board context attached automatically |
| `outboundUrl`, `outboundDomain` | **~70%** | Populated for all pins that link to external stores, blogs, or websites |
| `pinnerWebsite`, `pinnerMonthlyViews`, `pinnerAbout` | **On demand** | Populated when `searchMode: "profiles"`, using profile URLs, or enabling `enrichCreatorProfiles` |

***

### 💻 Programmatic Usage (Node.js & Python)

Run **Pinterest Scraper** from your backend, scheduled pipeline, or AI workflow using the official Apify SDKs.

<details>
<summary>Node.js (apify-client)</summary>

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('haketa/pinterest-scraper').call({
    searchMode: 'pins',
    searchQueries: ['minimalist logo design', 'modern kitchen decor'],
    maxItems: 150,
    excludePromoted: true,
    onlyWithOutboundLink: false,
    enrichCreatorProfiles: false,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Collected ${items.length} pins`);
console.log(items[0]);
```

</details>

<details>
<summary>Python (apify-client)</summary>

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("haketa/pinterest-scraper").call(run_input={
    "searchMode": "profiles",
    "searchQueries": ["interior design studio", "sustainable fashion"],
    "maxItems": 100,
})

items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
for creator in items[:5]:
    print(creator["pinnerUsername"], creator.get("pinnerWebsite"), creator.get("pinnerMonthlyViews"))
```

</details>

***

### 🔌 Integrations & Automation

Connect your Pinterest datasets directly to your existing workflow:

- **Google Sheets & Excel:** Export directly as `.xlsx` or `.csv`, or auto-sync new runs into a live spreadsheet.
- **Make, Zapier & n8n:** Trigger scheduled runs every week to track emerging pins, new competitor links, and trending domains automatically.
- **Apify API & Webhooks:** Launch runs programmatically from Python or JavaScript and receive a webhook notification as soon as data is ready.
- **CRM & Outreach Tools:** Export creator profiles (`pinnerFullName`, `pinnerWebsite`, `pinnerFollowers`, `pinnerMonthlyViews`) straight into HubSpot, Clay, Airtable, or Apollo enrichment pipelines.

***

### ❓ Frequently Asked Questions

#### Do I need a Pinterest account or login cookies?

No. The Actor works out of the box on public Pinterest search results, boards, pins, and creator profiles without requiring any login credentials or API keys.

#### Can I scrape private or secret boards?

No. Only publicly visible Pinterest boards, pins, and profiles can be accessed. Secret boards and private accounts are skipped gracefully.

#### Why are `pinnerWebsite` and `pinnerMonthlyViews` empty on default pin runs?

By default, `enrichCreatorProfiles` is turned off so pin collection runs as fast and affordably as possible. Enable **Enrich pins with creator website & monthly views** (or switch `searchMode` to **Creator Profiles**) whenever you want creator websites, bios, and monthly view counts included.

#### How does deduplication work across multiple keywords?

Every pin, board, and creator profile is automatically deduplicated by its unique Pinterest ID within a run, so overlapping search queries never inflate your dataset with duplicate rows.

#### Why are `savesCount` or `outboundUrl` sometimes null?

Not every pin on Pinterest links to an external website (many are pure image uploads), and Pinterest's search feed does not always expose exact save/comment totals on every card. Direct pin URLs return detailed engagement counters whenever Pinterest publishes them.

#### What happens if I leave all inputs empty?

The Actor automatically runs a curated mixed-niche discovery sample (interior design, branding, fashion, recipes) and returns ~100 clean records so you can inspect the output structure immediately.

***

### ⚠️ Limitations

- **Public data only:** Private accounts, secret boards, and login-gated personalization feeds are not accessible.
- **Search depth:** Pinterest caps deep pagination on individual narrow keywords; for very large datasets (1,000+ items), combine several related keywords or topic variations in `searchQueries`.
- **Profile enrichment speed:** Enabling `enrichCreatorProfiles` performs an additional lookup per unique creator, which increases run time slightly when scraping hundreds of distinct accounts.

***

### 📝 Changelog

#### v0.1.0 (2026-11-23)

- Initial release of **Pinterest Scraper**.
- Added three extraction modes: **Pins**, **Boards**, and **Creator Profiles**.
- Added support for search keywords, 19 ready-made niche presets, and direct Pinterest URLs (profiles, boards, single pins, and search pages).
- Added optional creator profile enrichment (`pinnerWebsite`, `pinnerMonthlyViews`, `pinnerAbout`), organic-only ad filtering, outbound-link filtering, hashtag parsing, and automatic deduplication.

# Actor input Schema

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

Choose whether to collect individual pins, boards, or creator profiles when searching by keyword or category.

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

Keywords or niches to search on Pinterest (for example: 'minimalist logo design', 'boho living room', 'summer dress outfit'). Leave empty to collect trending mixed results.

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

Pick a ready-made Pinterest niche to explore without typing keywords. Works on its own or alongside your search keywords.

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

Paste any public Pinterest URL: a search page (pinterest.com/search/pins/?q=...), a creator profile (pinterest.com/nike/), a board (pinterest.com/username/board-name/), or a single pin (pinterest.com/pin/123456/).

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

Maximum total pins, boards, or profiles to return across all queries and URLs. Leave default for a fast run or raise it for large market studies.

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

Skip paid ad placements in search feeds so your dataset contains organic pins only.

## `onlyWithOutboundLink` (type: `boolean`):

Keep only pins that link out to an external store, blog, or landing page — useful for product sourcing and competitor traffic analysis.

## `enrichCreatorProfiles` (type: `boolean`):

When enabled, fetches each unique creator profile to attach their verified website URL, bio, and monthly Pinterest views. Adds extra requests per unique creator.

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

Proxy settings for reliable high-volume collection. Standard Apify datacenter proxies work well for most runs.

## Actor input object example

```json
{
  "searchMode": "pins",
  "searchQueries": [
    "minimalist logo design",
    "modern kitchen decor"
  ],
  "category": "",
  "startUrls": [],
  "maxItems": 50,
  "excludePromoted": true,
  "onlyWithOutboundLink": false,
  "enrichCreatorProfiles": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Structured Pinterest pins, boards, or creator profiles collected during the run.

# 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 = {
    "searchMode": "pins",
    "searchQueries": [
        "minimalist logo design",
        "modern kitchen decor"
    ],
    "startUrls": [],
    "maxItems": 50,
    "excludePromoted": true,
    "onlyWithOutboundLink": false,
    "enrichCreatorProfiles": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/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 = {
    "searchMode": "pins",
    "searchQueries": [
        "minimalist logo design",
        "modern kitchen decor",
    ],
    "startUrls": [],
    "maxItems": 50,
    "excludePromoted": True,
    "onlyWithOutboundLink": False,
    "enrichCreatorProfiles": False,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/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 '{
  "searchMode": "pins",
  "searchQueries": [
    "minimalist logo design",
    "modern kitchen decor"
  ],
  "startUrls": [],
  "maxItems": 50,
  "excludePromoted": true,
  "onlyWithOutboundLink": false,
  "enrichCreatorProfiles": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/pinterest-scraper --silent --output-dataset

```

## MCP server setup

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