# Pinterest Ultimate Scraper (`khnaami/actor-pinterest-scraper`) Actor

Extract Pinterest Pins with original HD images & MP4 videos, outbound Shopify/Etsy store links for dropshipping, save counts, full boards, creator monthly views, and keyword search with zero login required

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Ultimate Scraper (Pins, Boards, HD Media, Outbound Links & Search)

High-speed, all-in-one Pinterest data extraction and trend discovery engine on Apify. Extract **Pins** with original HD images & MP4 videos, **Outbound Store Links** (Shopify, Etsy, Amazon, blogs), **Save/Repin Counts**, **Full Boards**, **Creator Profiles & Monthly Views**, and **Keyword Search** without requiring a login.

***

### ⚡ Key Features

- 🖼️ **Original HD Image Quality**: Automatically resolves and extracts the highest-resolution original image URLs (`originals/`, 1080p, 4K) — ideal for design inspiration and AI model training datasets (Midjourney, Stable Diffusion, Flux).
- 🔗 **Outbound Store & Destination Links**: Extracts the exact external URL where each pin leads (Shopify stores, Etsy listings, Amazon products, affiliate blogs) — the #1 feature for dropshipping & competitor research.
- 🎬 **Direct MP4 Video Downloads**: Extracts direct, high-quality MP4 video download streams for video pins and idea pins.
- 📈 **Engagement & Save Counts**: Scrapes repin / save counts, comments counts, and board categorization to identify viral trends.
- 📋 **Full Board Scraping**: Extract entire curated boards along with all pins inside each board.
- 👤 **Creator Profiles & Monthly Views**: Extract creator follower counts, monthly impressions/views, bio, avatar, and outbound website links.
- 🔍 **Keyword Search & Trend Discovery**: Search Pinterest by keyword queries to discover top-ranking pins, trending aesthetics, and Pinterest SEO insights.
- 🛡️ **Dual-Engine Architecture**: Blazing fast HTTP requests via `got-scraping` paired with an intelligent Playwright browser fallback.

***

### 📥 Input Configuration

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `mode` | String | `AUTO_DETECT` | Extraction mode: `AUTO_DETECT`, `PINS`, `BOARDS`, `PROFILES`, `SEARCH`. |
| `targetUrls` | Array | `[...]` | List of Pinterest URLs (Pin URLs `/pin/...`, Board URLs, or Profile URLs). |
| `searchKeywords` | Array | `[]` | Keywords to search across Pinterest for trend discovery. |
| `maxItems` | Integer | `50` | Maximum items to extract per target or search query. |
| `extractVideos` | Boolean | `true` | Automatically extract direct MP4 download links for video pins. |
| `proxyConfiguration` | Object | `{ useApifyProxy: true }` | Apify Residential proxy configuration (recommended). |

***

### 📤 Output Data Format

#### 1. Pinterest Pin Record with Outbound Link & HD Media

```json
{
  "type": "PIN",
  "id": "861594972476596163",
  "url": "https://www.pinterest.com/pin/861594972476596163/",
  "title": "Minimalist Japanese Oak Coffee Table",
  "description": "Handcrafted solid white oak coffee table designed with clean lines and warm natural textures. Shop the collection now on Etsy.",
  "imageUrl": "https://i.pinimg.com/originals/ab/cd/ef/abcdef123456789.jpg",
  "images": {
    "original": "https://i.pinimg.com/originals/ab/cd/ef/abcdef123456789.jpg",
    "high": "https://i.pinimg.com/736x/ab/cd/ef/abcdef123456789.jpg",
    "medium": "https://i.pinimg.com/474x/ab/cd/ef/abcdef123456789.jpg",
    "thumbnail": "https://i.pinimg.com/236x/ab/cd/ef/abcdef123456789.jpg"
  },
  "isVideo": false,
  "outboundUrl": "https://www.etsy.com/listing/123456789/oak-coffee-table",
  "domain": "etsy.com",
  "saveCount": 4820,
  "commentsCount": 38,
  "author": "nordichome",
  "authorName": "Nordic Home Studio",
  "authorUrl": "https://www.pinterest.com/nordichome/",
  "boardName": "Living Room Furniture",
  "hashtags": [
    "coffeetable",
    "homedecor",
    "minimalism"
  ],
  "scrapedAt": "2026-10-09T22:15:00.000Z"
}
```

#### 2. Creator Profile Record with Monthly Views

```json
{
  "type": "PROFILE",
  "id": "nike",
  "author": "nike",
  "authorName": "Nike",
  "url": "https://www.pinterest.com/nike/",
  "description": "Just Do It. Discover training tips, sport style, and workout inspiration.",
  "authorAvatarUrl": "https://i.pinimg.com/280x280_RS/...",
  "authorMonthlyViews": "10M+ monthly views",
  "authorFollowers": "1.2M followers",
  "scrapedAt": "2026-10-09T22:15:00.000Z"
}
```

***

### 💼 Dropshipping & Creative Use Cases

- **Winning Product Research**: Filter pins by high save counts (`> 1,000 saves`) and trace the outbound Shopify/Amazon links to validate product demand.
- **Affiliate & Competitor Spy**: Monitor top performing pins in your niche to see which affiliate offers and landing pages competitors are running.
- **AI Art & Creative Datasets**: Bulk download curated, uncompressed original images for training image generation models and creating moodboards.

***

### 📄 License

Apache-2.0

# Actor input Schema

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

Select Pinterest data extraction mode, or use AUTO_DETECT.

## `targetUrls` (type: `array`):

List of Pinterest URLs (Pin URLs, Board URLs, or Profile URLs).

## `searchKeywords` (type: `array`):

Keywords to search across Pinterest when in SEARCH mode.

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

Maximum number of pins or search results to extract per target.

## `extractVideos` (type: `boolean`):

If enabled, extracts direct high-quality MP4 video download URLs for video pins.

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

Select Apify Proxy (RESIDENTIAL recommended for high volume unthrottled Pinterest scraping).

## Actor input object example

```json
{
  "mode": "AUTO_DETECT",
  "targetUrls": [
    "https://www.pinterest.com/pin/861594972476596163/",
    "https://www.pinterest.com/nike/"
  ],
  "searchKeywords": [
    "minimalist home decor",
    "trending dropshipping products"
  ],
  "maxItems": 50,
  "extractVideos": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Scraped Pinterest records (Pins, Boards, Profiles, Outbound Links, Products)

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

High-level summary report and execution metrics stored in Key-Value store

# 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 = {
    "targetUrls": [
        "https://www.pinterest.com/pin/861594972476596163/",
        "https://www.pinterest.com/nike/"
    ],
    "searchKeywords": [
        "minimalist home decor",
        "trending dropshipping products"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("khnaami/actor-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 = {
    "targetUrls": [
        "https://www.pinterest.com/pin/861594972476596163/",
        "https://www.pinterest.com/nike/",
    ],
    "searchKeywords": [
        "minimalist home decor",
        "trending dropshipping products",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("khnaami/actor-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 '{
  "targetUrls": [
    "https://www.pinterest.com/pin/861594972476596163/",
    "https://www.pinterest.com/nike/"
  ],
  "searchKeywords": [
    "minimalist home decor",
    "trending dropshipping products"
  ]
}' |
apify call khnaami/actor-pinterest-scraper --silent --output-dataset

```

## MCP server setup

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