# Pinterest Boards (`shareze001/pinterest-boards`) Actor

A versatile Pinterest board scraper that collects detailed information from either user profiles or search results. It retrieves data such as board names, pin and follower counts, creation dates, and image previews. Ideal for trend research, content analysis, and visual inspiration tracking.

- **URL**: https://apify.com/shareze001/pinterest-boards.md
- **Developed by:** [shareze](https://apify.com/shareze001) (community)
- **Categories:** E-commerce, Developer tools, Integrations
- **Stats:** 4 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

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

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

This tool allows you to **scrape Pinterest boards** either from a specific user’s profile or from search results.
It’s useful for gathering visual inspiration, analyzing board performance, or collecting creative trend data.

### 🚀 How It Works

1. Choose a data source: **profile-page** or **search-page**.
2. Provide a **username** or **keyword** depending on the source type.
3. The scraper collects board data, including name, URLs, pin counts, followers, and image previews.
4. Results are returned in structured JSON format.

### ⚙️ Input Parameters

| Parameter        | Type      | Required | Default          | Description                                                                                                           |
| ---------------- | --------- | -------- | ---------------- | --------------------------------------------------------------------------------------------------------------------- |
| **data\_source**  | `string`  | ✅        | `"profile-page"` | Choose where to scrape data from: `"profile-page"` (a user’s boards) or `"search-page"` (boards from search results). |
| **source\_value** | `string`  | ✅        | `"nike"`         | The input value based on the selected data source — a username for profiles or keywords for search.                   |
| **size**         | `integer` | ✅        | `10`             | Number of boards to retrieve (minimum: 1).                                                                            |

#### Example Input

```json
{
  "data_source": "profile-page",
  "source_value": "rihamarchitacteur",
  "size": 5
}
```

### 📦 Output Structure

Each record in the dataset follows this structure:

```json
{
  "id": "854276691756435376",
  "name": "M A  C K U P",
  "uri": "/rihamarchitacteur/m-a-c-k-u-p/",
  "url": "https://www.pinterest.com/rihamarchitacteur/m-a-c-k-u-p/",
  "sectionCount": 0,
  "boardOrderModifiedAt": "Wed, 05 Nov 2025 16:09:28 +0000",
  "pinCount": 91,
  "createdAt": "Sun, 03 May 2020 22:46:34 +0000",
  "imageCoverUrl": "https://i.pinimg.com/474x/8e/e6/60/8ee660207cf9822bcbb640b52fa0153f.jpg",
  "images": {
    "170x": [
      {
        "url": "https://i.pinimg.com/170x/67/cb/dd/67cbddba5f6da00e25ab16e75988ccf3.jpg",
        "width": 170,
        "height": 206,
        "dominant_color": "#B88B67"
      }
    ],
    "236x": [
      {
        "url": "https://i.pinimg.com/236x/67/cb/dd/67cbddba5f6da00e25ab16e75988ccf3.jpg",
        "width": 236,
        "height": 286,
        "dominant_color": "#B88B67"
      }
    ]
  },
  "followerCount": 12529,
  "description": "",
  "owner": {
    "id": "854276760475354469",
    "username": "rihamarchitacteur",
    "fullName": "Nike",
    "imageUrl": "https://i.pinimg.com/75x75_RS/85/44/39/85443942d2292a689e921ed7b3148f8c.jpg",
    "followerCount": 12560,
    "isVerifiedMerchant": null
  }
}
```

### 🧠 Field Description

| Field                    | Type      | Description                                                                       |
| ------------------------ | --------- | --------------------------------------------------------------------------------- |
| **id**                   | `string`  | Unique ID of the board.                                                           |
| **name**                 | `string`  | The board’s title.                                                                |
| **uri**                  | `string`  | Pinterest’s internal URI for the board.                                           |
| **url**                  | `string`  | Full board URL.                                                                   |
| **sectionCount**         | `integer` | Number of sections in the board.                                                  |
| **boardOrderModifiedAt** | `string`  | Last modification date of the board’s order.                                      |
| **pinCount**             | `integer` | Number of pins saved to the board.                                                |
| **createdAt**            | `string`  | Date the board was created.                                                       |
| **imageCoverUrl**        | `string`  | Cover image URL of the board.                                                     |
| **images**               | `object`  | Sample preview images in different resolutions (`170x`, `236x`).                  |
| **followerCount**        | `integer` | Board follower count.                                                             |
| **description**          | `string`  | Board’s description text, if any.                                                 |
| **owner**                | `object`  | Information about the board owner (username, full name, avatar, followers, etc.). |

***

### 📊 Example Output

```json
[
  {
    "id": "854276691756435376",
    "name": "M A  C K U P",
    "url": "https://www.pinterest.com/rihamarchitacteur/m-a-c-k-u-p/",
    "pinCount": 91,
    "followerCount": 12529
  }
]
```

***

### 🪄 Notes

- Supports **two scraping modes**: search-based and profile-based.
- Works only with **public boards**.
- Excellent for **trend analysis**, **content aggregation**, and **visual curation**.

### 🧰 Use Cases

- Collect boards for specific themes or niches
- Research audience interests by profile
- Build datasets for visual inspiration or trend tracking

# Actor input Schema

## `size` (type: `integer`):

boards size, default is 10

## `data_source` (type: `string`):

Retrieve the source of the boards page — there are two options: the search page and the profile page.

## `source_value` (type: `string`):

Corresponding to the value of `data_source`: if `data_source` is `profile-page`, pass in the profile’s username (e.g., rihamarchitacteur, nike, etc.); otherwise, pass in the search keywords.

## Actor input object example

```json
{
  "size": 10,
  "data_source": "profile-page",
  "source_value": "nike"
}
```

# 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 = {
    "size": 10,
    "source_value": "nike"
};

// Run the Actor and wait for it to finish
const run = await client.actor("shareze001/pinterest-boards").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 = {
    "size": 10,
    "source_value": "nike",
}

# Run the Actor and wait for it to finish
run = client.actor("shareze001/pinterest-boards").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 '{
  "size": 10,
  "source_value": "nike"
}' |
apify call shareze001/pinterest-boards --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shareze001/pinterest-boards"
        }
    }
}

```

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/LcUBzHFZa0qtPCNf2/builds/34UJVdPDPYRDyrwMK/openapi.json
