# Pinterest Boards Scraper (`scrapeai/pinterest-boards-scraper`) Actor

Scrape Pinterest boards for one or more usernames. Extracts board title, pin count, follower count, description, board URL, and optionally the boards' pins — ideal for Pinterest content strategy analysis, influencer research, and social media benchmarking.

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

## Pricing

from $2.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Pinterest Boards Scraper

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-orange.svg)](https://apify.com)
[![Crawlee](https://img.shields.io/badge/Crawlee-Playwright-green.svg)](https://crawlee.dev)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-brightgreen.svg)]()

Fast, robust, and comprehensive **Pinterest Boards Scraper** that extracts public Pinterest boards and optionally their pins from any Pinterest user profile. Get rich metadata including board titles, descriptions, pin counts, follower statistics, cover images, topics, owner details, verification status, and pin content.

***

### 🚀 Features

- **Multi-Profile Scraping** — Scrape boards from multiple Pinterest usernames or profile URLs in a single run.
- **Rich Board Metadata** — Extract board title, full description, pin count, follower count, collaborator count, and section count.
- **High-Resolution Covers & Previews** — Captures high-res cover image URLs and thumbnail arrays.
- **Topics & Keywords** — Extracts Pinterest topic keywords (`topics`) associated with each board for SEO and category intelligence.
- **Owner & Creator Profiles** — Detailed owner information including full name, handle, avatar URL, follower count, and verification status.
- **Optional Pin Extraction** — Enable `includePins` to also scrape the individual pins inside each board (image URL, dimensions, likes, repins, dominant color, video URL, etc.).
- **Dynamic Pagination & Scrolling** — Seamlessly scrolls through complete board feeds without hitting rate limits.
- **Residential Proxy Support** — Built-in integration with Apify Proxy for high anonymity and reliability.

***

### 💡 Use Cases

- **Pinterest SEO & Content Strategy** — Discover high-performing board themes, topic keywords, and structure.
- **Competitor Benchmarking** — Analyze how top brands and competitors categorize and organize their Pinterest boards.
- **Influencer & Creator Research** — Evaluate creator reach, follower counts, and active board portfolios.
- **E-Commerce & Trend Monitoring** — Track trending product boards and curation strategies across retail niches.
- **Dataset Generation & Machine Learning** — Collect structured visual metadata and social graphs for analytics.

***

### 📥 Input Parameters

The Actor accepts the following input configuration:

| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
| `usernames` | Array | `["nasa"]` | **Yes** | List of Pinterest usernames (e.g. `["nasa", "natgeo"]`) or full profile URLs (e.g. `["https://www.pinterest.com/nasa/"]`). |
| `maxBoardsPerUser` | Integer | `50` | No | Maximum number of boards to scrape per user profile (1–500). |
| `maxItems` | Integer | `100` | No | Maximum total dataset items across all profiles (1–2000). |
| `includePins` | Boolean | `false` | No | If enabled, also scrapes the pins inside each board. |
| `proxyConfiguration` | Object | `{ "useApifyProxy": true }` | No | Proxy settings. Residential proxy group is recommended for large crawls. |

#### Example Input JSON

```json
{
  "usernames": ["nasa", "natgeo"],
  "maxBoardsPerUser": 25,
  "maxItems": 50,
  "includePins": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

***

### 📤 Output Data Structure

The Actor produces clean, structured JSON output in the default Apify Dataset.

#### 1. Board Output (`type: "board"`)

| Field | Type | Description |
|---|---|---|
| `id` | String | Unique Pinterest board ID |
| `type` | String | Always `"board"` |
| `name` | String | Title / name of the board |
| `description` | String | Full text description of the board |
| `url` | String | Canonical URL to the Pinterest board |
| `imageCoverUrl` | String | High-resolution board cover image URL |
| `pinThumbnailUrls` | Array | Preview thumbnail URLs of pins on the board |
| `topics` | Array | Associated Pinterest topic keywords |
| `pinCount` | Number | Total number of pins in the board |
| `followerCount` | Number | Total followers of the board |
| `collaboratorCount`| Number | Number of collaborators |
| `sectionCount` | Number | Number of sections inside the board |
| `isPrivate` | Boolean | Whether the board is secret/private |
| `isCollaborative` | Boolean | Whether multiple pinners can contribute |
| `layout` | String | Board layout style |
| `categoryName` | String | Category assigned to the board |
| `ownerUsername` | String | Pinterest handle of the board owner |
| `ownerId` | String | Unique user ID of the owner |
| `ownerFullName` | String | Display name of the owner |
| `ownerProfileUrl` | String | URL to the owner's Pinterest profile |
| `ownerFollowerCount`| Number | Total followers of the owner |
| `ownerAvatarUrl` | String | Owner profile picture URL |
| `ownerIsVerified` | Boolean | Account verification badge status |
| `createdAt` | String | Board creation timestamp |
| `lastPinnedAt` | String | Timestamp of last saved pin or board modification |
| `scrapedAt` | String | ISO 8601 timestamp of when the data was scraped |

##### Sample Board JSON

```json
{
  "id": "142567213143159083",
  "type": "board",
  "name": "Learn With NASA",
  "description": "Activities, resources, and opportunities from NASA and its partners that are designed to engage K-12 students in the agency's missions.",
  "url": "https://www.pinterest.com/nasa/learn-with-nasa/",
  "imageCoverUrl": "https://i.pinimg.com/474x/bc/4b/d4/bc4bd4150190ef8ac96e9ff6c4f3e806.jpg",
  "pinThumbnailUrls": [
    "https://i.pinimg.com/236x/aa/2c/db/aa2cdb83e5b375df7cff92e3c972b786.jpg",
    "https://i.pinimg.com/236x/7d/66/5b/7d665b4bd75af3376d06d665eddadd39.jpg"
  ],
  "topics": [
    "nasa space education",
    "nasa educational events",
    "learn about nasa missions"
  ],
  "pinCount": 1621,
  "followerCount": 526940,
  "collaboratorCount": 0,
  "sectionCount": 0,
  "isPrivate": false,
  "isCollaborative": false,
  "layout": null,
  "categoryName": null,
  "ownerUsername": "nasa",
  "ownerId": "142567281862381039",
  "ownerFullName": "NASA",
  "ownerProfileUrl": "https://www.pinterest.com/nasa/",
  "ownerFollowerCount": 556364,
  "ownerAvatarUrl": "https://i.pinimg.com/75x75_RS/37/a1/75/37a175e6d2431425576f0b8f81389394.jpg",
  "ownerIsVerified": true,
  "createdAt": "Mon, 05 Dec 2016 19:34:54 +0000",
  "lastPinnedAt": "Tue, 11 Aug 2026 19:46:19 +0000",
  "scrapedAt": "2026-08-25T12:02:37.863Z"
}
```

***

#### 2. Board Pin Output (`type: "board_pin"`)

When `includePins: true` is enabled, individual pins inside each board are also scraped:

| Field | Type | Description |
|---|---|---|
| `id` | String | Unique Pinterest pin ID |
| `type` | String | Always `"board_pin"` |
| `title` | String | Title of the pin |
| `description` | String | Pin description text |
| `pinUrl` | String | Direct URL to the pin page |
| `destinationUrl` | String | Outbound link URL |
| `imageUrl` | String | Direct high-resolution image URL |
| `imageWidth` | Number | Image width in pixels |
| `imageHeight` | Number | Image height in pixels |
| `dominantColor` | String | Dominant hex color code |
| `isVideo` | Boolean | Whether the pin is a video |
| `isStoryPin` | Boolean | Whether the pin is an idea/story pin |
| `videoUrl` | String | Video stream URL if applicable |
| `saves` | Number | Repin / save count |
| `likeCount` | Number | Number of likes |
| `commentCount` | Number | Number of comments |
| `pinnerUsername` | String | Handle of the pinner |
| `pinnerFullName` | String | Full name of the pinner |
| `sourceDomain` | String | Outbound domain source |
| `altText` | String | Accessibility image alt text |
| `boardId` | String | ID of the parent board |
| `boardName` | String | Name of the parent board |
| `boardUrl` | String | URL of the parent board |
| `ownerUsername` | String | Username of the board owner |
| `scrapedAt` | String | ISO 8601 timestamp |

***

### ⚡ Tips & Best Practices

1. **Proxy Usage**: Residential proxies (`RESIDENTIAL`) provide the highest reliability when scraping large numbers of profiles.
2. **Speed**: For fast board audits, keep `includePins: false`. Turn on `includePins: true` when you need detailed content analysis.
3. **Flexible Inputs**: You can pass usernames as plain strings (`"nasa"`), prefixed handles (`"@nasa"`), or direct profile URLs (`"https://www.pinterest.com/nasa/"`).

***

### 📄 License

ISC License.

# Actor input Schema

## `usernames` (type: `array`):

List of Pinterest usernames whose boards you want to scrape.

## `maxBoardsPerUser` (type: `integer`):

Maximum number of boards to scrape per user.

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

Maximum total boards across all users.

## `includePins` (type: `boolean`):

If enabled, also scrape the pins inside each board (first page).

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

Proxy settings. Residential proxies recommended.

## Actor input object example

```json
{
  "usernames": [
    "nasa",
    "natgeo"
  ],
  "maxBoardsPerUser": 50,
  "maxItems": 100,
  "includePins": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset containing all scraped Pinterest boards and pins

# 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 = {
    "usernames": [
        "nasa"
    ],
    "maxBoardsPerUser": 50,
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/pinterest-boards-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 = {
    "usernames": ["nasa"],
    "maxBoardsPerUser": 50,
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/pinterest-boards-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 '{
  "usernames": [
    "nasa"
  ],
  "maxBoardsPerUser": 50,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapeai/pinterest-boards-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/pinterest-boards-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/CtSqgXhpinuB7MmNL/builds/66GposBIZRnYlZFQe/openapi.json
