# Pinterest Boards Scraper — Boards by Profile (`thenetaji/pinterest-boards-scraper`) Actor

List public Pinterest boards for a username with each board's ID, privacy, Pin total, description, collaboration details, and cover data.

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

## Pricing

from $1.00 / 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/platform/actors/running/actors-in-store#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

The Actor lists public Pinterest boards for every profile you give it. Each dataset record represents a board and exposes both its `url` and its `id` for subsequent board-level Pin collection. Give one profile per line — a profile URL or the bare username.

```json
{
  "username_or_url": ["pinterest", "https://www.pinterest.com/nasa/"],
  "maxItems": 50
}
```

`maxItems` is the maximum number of board records to save per profile; it defaults to `50`. With `maxItems` set to `0`, collection continues until the available board list is exhausted.

Set `addonBoardPins` to `true` to fetch each board's Pins, attached under `board_pins`. The whole Pin list is paginated, up to `maxPinsPerBoard` (`0` continues until no further Pins are available), and billed once per board however many pages that takes.

Set `addonCoverPinDetails` to `true` to fetch full Pin detail (save count, comment count, and media) for the board's cover Pin, attached under `cover_pin_details` — one extra request per board, billed per enriched row.

Each board row carries `source_username`, the input it was collected for, so rows stay attributable when several profiles are given.

### Board records

Fields may include `id`, `name`, `url`, `privacy`, `pin_count`, `section_count`, `collaborator_count`, `is_collaborative`, `description`, `cover_images`, `cover_pin`, `owner`, and `created_at`. `cover_images` holds the board's cover image URLs by size; `cover_pin` carries the cover Pin's own record, including its `image_url`.

```json
{
  "id": "893683188497204781",
  "name": "Whimsical picnic day outfits",
  "url": "/fashion/whimsical-picnic-day-outfits/",
  "privacy": "public",
  "pin_count": 65,
  "section_count": 0,
  "collaborator_count": 1,
  "is_collaborative": true,
  "created_at": "2026-06-12T20:08:04.000Z"
}
```

This is a live-verified board-list result. The source creation date is normalized to ISO 8601 in `created_at`.

### Using a board result

Prefix the board's `url` path with `https://www.pinterest.com` and pass that full URL to the [Pinterest Board Pins Scraper](https://apify.com/thenetaji/pinterest-board-pins-scraper) to collect the board's Pins. A browser board URL works directly, so this listing is a convenience rather than a prerequisite. A run can finish below `maxItems` when the source returns no further board records.

For the profile-level record before listing boards, use the [Pinterest Profile Scraper](https://apify.com/thenetaji/pinterest-profile-scraper).

# Actor input Schema

## `username_or_url` (type: `array`):

Pinterest usernames or full pinterest.com/<username>/ profile URLs, one per line. Boards are listed for each.

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

Maximum boards to save per profile. Set `0` to continue until no further boards are available.

## `addonBoardPins` (type: `boolean`):

Fetch a board's Pins, attached under `board_pins`, paginated up to `maxPinsPerBoard` (0 continues until no further Pins are available). This makes one or more extra requests per board and adds one charge per enriched row once that board's Pins are collected. On the Profile Scraper, enabling this alongside `addonBoards` also fetches each returned board's Pins.

## `maxPinsPerBoard` (type: `integer`):

Maximum number of Pins to collect per board when the board Pins add-on is enabled. The add-on paginates until this many Pins are collected. Set `0` to continue until no further Pins are available.

## `addonCoverPinDetails` (type: `boolean`):

Fetch full Pin detail (save count, comment count, and media) for each board's cover Pin, attached under `cover_pin_details`. This makes one extra request per board and adds a charge per enriched row.

## Actor input object example

```json
{
  "username_or_url": [
    "pinterest",
    "https://www.pinterest.com/nasa/"
  ],
  "maxItems": 20,
  "addonBoardPins": false,
  "maxPinsPerBoard": 0,
  "addonCoverPinDetails": false
}
```

# Actor output Schema

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

All records scraped by this 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 = {
    "username_or_url": [
        "pinterest"
    ],
    "maxItems": 20,
    "maxPinsPerBoard": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/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 = {
    "username_or_url": ["pinterest"],
    "maxItems": 20,
    "maxPinsPerBoard": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/pinterest-boards-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "username_or_url": [
    "pinterest"
  ],
  "maxItems": 20,
  "maxPinsPerBoard": 0
}' |
apify call thenetaji/pinterest-boards-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=thenetaji/pinterest-boards-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/sDdEXYHMbKBzqJpOG/builds/qGvkATbELtd3VLK0W/openapi.json
