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

Scrape Pinterest boards for one or more usernames, including board titles, pin counts, followers, descriptions, URLs, and optional board pins.

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

## Pricing

from $2.99 / 1,000 boards & pins

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?

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 Boards Scraper

Scrapes Pinterest boards from one or more user profiles. Extracts board title, description, pin count, follower count, cover image, and owner details — ideal for Pinterest content strategy analysis, influencer research, and social media benchmarking.

### Features

- **Multi-user scraping** — scrape boards from multiple Pinterest usernames in one run
- **Board metadata** — title, description, pin count, follower count, collaborator count
- **Cover images** — extracts board cover image URL
- **Owner details** — includes owner username, display name, and verification status
- **Optional pin scraping** — optionally fetch the pins inside each board
- **Cloud-ready** — runs on Apify with scheduling, proxy rotation, and webhook support

### Use Cases

- Pinterest content strategy analysis and planning
- Influencer board research and benchmarking
- Tracking competitor content organization
- Building datasets of Pinterest board data for social media analytics

### Input

| Field | Type | Default | Required | Description |
|-------|------|---------|----------|-------------|
| `usernames` | array | `—` | ✓ | List of Pinterest usernames to scrape boards from (e.g. `["nasa", "natgeo"]`). |
| `maxBoardsPerUser` | integer | `50` |  | Maximum number of boards to scrape per user (up to 500). |
| `maxItems` | integer | `100` |  | Maximum total boards across all users (up to 2000). |
| `includePins` | boolean | `false` |  | If enabled, also scrapes the pins inside each board. |
| `proxyConfiguration` | object | direct |  | Optional standard Apify Proxy settings. Proxy credentials never enter output records. |

### Output

Each scraped board includes:

| Field | Description |
|-------|-------------|
| `id` | Pinterest board ID |
| `type` | Always `board` |
| `name` | Board name/title |
| `description` | Board description |
| `url` | Full URL to the board |
| `imageCoverUrl` | Board cover image URL |
| `pinThumbnailUrls` | Array of up to 5 pin thumbnail URLs on the cover |
| `pinCount` | Number of pins on the board |
| `followerCount` | Number of followers of the board |
| `collaboratorCount` | Number of collaborators |
| `sectionCount` | Number of sections in the board |
| `isPrivate` | Whether the board is private/secret |
| `isCollaborative` | Whether the board is collaborative |
| `layout` | Board layout type |
| `categoryName` | Board category |
| `ownerUsername` | Owner's Pinterest username |
| `ownerId` | Owner's Pinterest user ID |
| `ownerFullName` | Owner's display name |
| `ownerProfileUrl` | Full URL to owner's profile |
| `ownerFollowerCount` | Owner's follower count |
| `ownerIsVerified` | Whether the owner is verified |
| `createdAt` | Board creation timestamp |
| `lastPinnedAt` | Timestamp of the last pin saved |
| `scrapedAt` | ISO 8601 timestamp of scrape |

#### Sample Output

```json
{
  "id": "123456789",
  "type": "board",
  "name": "Solar System Exploration",
  "description": "Exploring the planets in our solar system.",
  "url": "https://www.pinterest.com/nasa/solar-system/",
  "imageCoverUrl": "https://i.pinimg.com/736x/ab/cd/ef.jpg",
  "pinCount": 240,
  "followerCount": 15000,
  "isPrivate": false,
  "isCollaborative": false,
  "ownerUsername": "nasa",
  "ownerFullName": "NASA",
  "ownerIsVerified": true,
  "createdAt": "2020-03-15T10:00:00.000Z",
  "scrapedAt": "2026-05-21T10:00:00.000Z"
}
```

### Notes

- **Proxy**: Direct access is the default; enable a standard Apify Proxy configuration only when needed.
- **Private boards**: Only public boards are accessible. This Actor does not accept authentication and cannot access private/secret boards.
- **`includePins`**: Enabling pin scraping significantly increases run time. Use `maxItems` to control total output.

# Changelog

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

# 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.

## `fixtureFile` (type: `string`):

Optional repository-relative JSON fixture containing board records for deterministic local validation.

## Actor input object example

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

# Actor output Schema

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

No description

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

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

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

```

## MCP server setup

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