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

Scrape Pinterest user profiles by username, including display names, follower and following counts, monthly views, pin counts, biographies, and websites.

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

## Pricing

from $2.99 / 1,000 profiles

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

Collect structured profile data from public Pinterest accounts by username. The Actor reads public profile HTML and selects the embedded user object whose username exactly matches the requested profile, returning identity, biography, website, follower and board counts, verification flags, and Pinterest SEO metadata.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/pinterest-profile-scraper) and select **Try for free** or open the **Input** tab.
2. Enter one or more Pinterest `usernames` without the `@` prefix.
3. Set `maxItems` to the number of profiles you want and keep it small for the first run.
4. Start the Actor, open the dataset, and export the saved profiles as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check how many profiles were saved.

### Input

`usernames` is required; the other fields are optional. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `usernames` | string array | Required | Not supplied | Pinterest usernames to scrape, without `@`, for example `["nasa", "natgeo"]`. Accepts 1 to 50 unique names matching `^@?[A-Za-z0-9_]{1,64}$`. |
| `maxItems` | integer | Optional | `10` | Maximum number of profiles to scrape, from 1 to 50. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Optional standard Apify Proxy settings. Direct connections are used by default. |
| `timeoutSecs` | integer | Optional | `30` | Timeout for each public profile request, from 5 to 120 seconds. |

Example input from the saved run:

```json
{
  "usernames": [
    "pinterest",
    "nasa"
  ],
  "maxItems": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "timeoutSecs": 30
}
```

The Actor reads public Pinterest profile pages. It requires no Pinterest account and does not sign in, access private content, solve CAPTCHAs, or bypass access controls. Optional `proxyConfiguration` uses the standard Apify Proxy settings.

### Output

The dataset contains one row per public profile that could be resolved. A profile is saved only when Pinterest's embedded user object has a username that exactly matches the request. Missing optional values are omitted rather than inferred, and no diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `entityType` | string enum | Always | Record kind; always `pinterest_profile`. |
| `id` | string | Always | Public Pinterest user identifier. |
| `type` | string enum | Always | Embedded object type; saved profiles use `user`. |
| `username` | string | Always | Pinterest username that matched the request. |
| `fullName` | string | When Pinterest publishes it | Profile display name. |
| `profileUrl` | string | Always | Canonical public profile URL. |
| `profileImageUrl` | string | When Pinterest publishes it | Profile image URL. |
| `profileImageMediumUrl` | string | When Pinterest publishes it | Medium-size profile image URL. |
| `coverImageUrl` | string | When Pinterest publishes it | Profile cover image URL. |
| `about` | string | When Pinterest publishes it | Profile biography or about text. |
| `location` | string | When Pinterest publishes it | Public location shown on the profile. |
| `website` | string | When Pinterest publishes it | Website claimed on the profile. |
| `followerCount` | integer | When Pinterest publishes it | Number of followers. |
| `followingCount` | integer | When Pinterest publishes it | Number of accounts the profile follows. |
| `pinCount` | integer | When Pinterest publishes it | Number of public Pins attributed to the profile. |
| `boardCount` | integer | When Pinterest publishes it | Number of public boards. |
| `interestFollowingCount` | integer | When Pinterest publishes it | Number of followed interests, when exposed. |
| `isVerified` | boolean | When Pinterest publishes it | Whether Pinterest marks the account as verified. |
| `isVerifiedMerchant` | boolean | When Pinterest publishes it | Whether Pinterest marks the account as a verified merchant. |
| `isPrivate` | boolean | When Pinterest publishes it | Whether the profile is marked private. |
| `isPartner` | boolean | When Pinterest publishes it | Whether the profile is marked as a Pinterest partner. |
| `domainUrl` | string | When Pinterest publishes it | Claimed domain URL when exposed. |
| `domainVerified` | boolean | When Pinterest publishes it | Whether the claimed domain is verified. |
| `seoTitle` | string | When Pinterest publishes it | Profile title used in Pinterest page metadata. |
| `seoDescription` | string | When Pinterest publishes it | Profile description used in Pinterest page metadata. |
| `joinedAt` | string | When Pinterest publishes it | Profile creation date as published by Pinterest. |
| `sourceUrl` | string | Always | Public profile URL requested for the row. |
| `scrapedAt` | string | Always | Time the row was saved, in ISO UTC. |

The example below is the complete real saved row for `pinterest` from the 2026-10-25 run:

```json
{
  "entityType": "pinterest_profile",
  "id": "424605208526455283",
  "type": "user",
  "username": "pinterest",
  "fullName": "Pinterest",
  "profileUrl": "https://www.pinterest.com/pinterest/",
  "profileImageUrl": "https://i.pinimg.com/280x280_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",
  "profileImageMediumUrl": "https://i.pinimg.com/75x75_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",
  "about": "Find your reason to go offline. 📌",
  "website": "http://www.pinterest.com/",
  "followerCount": 6266907,
  "followingCount": 398,
  "pinCount": 98025,
  "boardCount": 154,
  "isVerified": true,
  "isVerifiedMerchant": false,
  "isPrivate": false,
  "isPartner": true,
  "domainVerified": true,
  "seoTitle": "Pinterest (pinterest) - Profile | Pinterest",
  "seoDescription": "Pinterest | Find your reason to go offline. 📌",
  "joinedAt": "Thu, 16 Aug 2012 06:25:03 +0000",
  "sourceUrl": "https://www.pinterest.com/pinterest/",
  "scrapedAt": "2026-10-25T20:44:48.298Z"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`. It records requested and saved profile counts and whether a proxy was used.

| Field | Meaning |
| --- | --- |
| `status` | Actor process outcome: `SUCCEEDED` or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Completeness of the saved profiles: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `hasData` | Whether at least one public profile was saved. |
| `normalRecords` | Number of profile rows written to the dataset. |
| `diagnosticRecords` | Diagnostic dataset rows; the Actor writes none. |
| `diagnosticCodes` | Codes for non-fatal profile lookup problems, empty when none occurred. |
| `lastErrorCode` | Most recent non-fatal error code, or `null` when none occurred. |
| `requestedProfiles` | Number of usernames requested. |
| `proxyUsed` | Whether an Apify Proxy connection was used. |
| `source` | Public source label, `pinterest`. |
| `finishedAt` | Time the summary was written, in ISO UTC. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Every requested public profile that was available was saved. |
| `SUCCEEDED` | `PARTIAL` | Some profiles were saved, but a later lookup failed. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The requests completed cleanly but no matching public profile was found. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable profile was saved. |

Example `OUTPUT_SUMMARY` from the 2026-10-25 run:

```json
{
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "hasData": true,
  "normalRecords": 2,
  "diagnosticRecords": 0,
  "diagnosticCodes": [],
  "lastErrorCode": null,
  "requestedProfiles": 2,
  "proxyUsed": false,
  "source": "pinterest",
  "finishedAt": "2026-10-25T20:44:48.799Z"
}
```

### Coverage and limitations

The Actor reads public Pinterest profile pages by username. It can return only profiles that Pinterest exposes publicly and whose embedded user object matches the requested username exactly. Private profiles, renamed accounts, removed accounts, or pages that require a challenge are reported in the run summary rather than converted into profile rows.

Location, website, cover image, domain, and other optional attributes are included only when Pinterest publishes them. Counts are point-in-time values and can change after the run. The Actor does not crawl followers, following lists, boards, Pins, or activity history; use a dedicated Actor for those datasets. `maxItems` caps the number of profiles processed even when more usernames are supplied.

### Usage and support

Cost depends on the number of profiles, request timeouts, optional retries, and any proxy usage. Start with a few usernames and a small `maxItems`, inspect the dataset and run summary, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/pinterest-profile-scraper/issues) to report a problem. Include the run ID, the input used, and the `OUTPUT_SUMMARY`; do not include tokens, cookies, or private data. This Actor is not affiliated with Pinterest. Use it only for public data and in accordance with Pinterest's terms, robots guidance, and applicable law. Public profiles can contain personal information; use the output only for lawful purposes.

# Changelog

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

# Actor input Schema

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

List of Pinterest usernames to scrape (without @). E.g. \["nasa", "natgeo"].

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

Maximum number of profiles to scrape.

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

Optional proxy settings. Direct connections are used by default; enable Apify Proxy when needed.

## `timeoutSecs` (type: `integer`):

Per-profile public request timeout.

## Actor input object example

```json
{
  "usernames": [
    "nasa",
    "natgeo"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "timeoutSecs": 30
}
```

# Actor output Schema

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

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# 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"
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    },
    "timeoutSecs": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/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 = {
    "usernames": ["nasa"],
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": False },
    "timeoutSecs": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/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 '{
  "usernames": [
    "nasa"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "timeoutSecs": 30
}' |
apify call w3crawler/pinterest-profile-scraper --silent --output-dataset

```

## MCP server setup

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