# Pinterest Profile Scraper (`thenetaji/pinterest-profile-scraper`) Actor

Retrieve a public Pinterest profile by username with its display name, bio, Pin and board totals, verification data, and cover details.

- **URL**: https://apify.com/thenetaji/pinterest-profile-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.60 / 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/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 Profile Scraper

The Actor retrieves the public profile record for each Pinterest profile you give it. It returns profile identity and description fields together with the Pin and board totals reported for each profile.

### Accepted input

Give one profile per line — a profile URL or the bare username.

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

The Actor saves one dataset item per profile. A profile that cannot be fetched is logged and skipped; the rest still run.

Set `addonBoards` to `true` to fetch this profile's public boards, attached under `boards`. The whole board list is paginated, up to `maxBoardsPerProfile` (`0` continues until no further boards are available). Billed once per profile, however many pages that takes.

Set `addonBoardPins` alongside it to also collect the Pins inside each of those boards, attached under each board's own `board_pins` and capped by `maxPinsPerBoard` (`0` continues until no further Pins are available). That is billed once per board whose Pins are collected — the same rate the [Pinterest Boards Scraper](https://apify.com/thenetaji/pinterest-boards-scraper) charges for the identical work, so it costs the same whichever Actor you reach it through.

### Profile fields

The profile record can include `id`, `username`, `full_name`, `seo_description`, `pin_count`, `board_count`, `group_board_count`, `story_pin_count`, `video_pin_count`, `is_private_profile`, `is_partner`, `verified_identity`, `image_large_url`, and `profile_cover`.

```json
{
  "id": "424605208526455283",
  "username": "pinterest",
  "full_name": "Pinterest",
  "pin_count": 95670,
  "board_count": 126,
  "group_board_count": 98,
  "story_pin_count": 496,
  "video_pin_count": 0,
  "is_private_profile": false,
  "is_partner": true
}
```

This is a live-verified result for the `pinterest` profile. `verified_identity` and `profile_cover` are nested records that appear only when the source supplies them, and `image_large_url` carries the profile avatar.

### Behaviour on unavailable profiles

When the profile cannot be resolved, the run completes without saving a record. Optional profile values are not guaranteed for every resolved profile and may be absent or null. The Actor does not return follower or following lists.

Boards belonging to the resolved username can be collected with the [Pinterest Boards Scraper](https://apify.com/thenetaji/pinterest-boards-scraper). The [Pinterest Search Scraper](https://apify.com/thenetaji/pinterest-search-scraper) is intended for keyword discovery rather than a known profile.

# Actor input Schema

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

Pinterest usernames or full pinterest.com/<username>/ profile URLs, one per line.

## `addonBoards` (type: `boolean`):

Fetch this profile's public boards, attached under `boards`, paginated up to `maxBoardsPerProfile` (0 continues until no further boards are available). This makes one or more extra requests and adds one charge per enriched row once the boards are collected. Combine with `addonBoardPins` to also fetch each returned board's Pins.

## `maxBoardsPerProfile` (type: `integer`):

Maximum number of boards to collect per profile when the boards add-on is enabled. The add-on paginates until this many boards are collected. 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.

## Actor input object example

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

# 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"
    ],
    "maxBoardsPerProfile": 0,
    "maxPinsPerBoard": 0
};

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

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/pinterest-profile-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 '{
  "username_or_url": [
    "pinterest"
  ],
  "maxBoardsPerProfile": 0,
  "maxPinsPerBoard": 0
}' |
apify call thenetaji/pinterest-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thenetaji/pinterest-profile-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/0Uf4OEEoiSWBIJ3Ri/builds/oFnOxBJDHHhgRERNN/openapi.json
