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

- **URL**: https://apify.com/good-apis/pinterest-profile-scraper.md
- **Developed by:** [Danny](https://apify.com/good-apis) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.50 / 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.

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

Get public profile data for any Pinterest account — by username or profile URL — as clean, structured JSON: **name, bio, website, follower / following / pin / board counts, monthly views, verified status, avatar and country** — no login, no API key, no browser to manage.

Pass a list of usernames and get one row per profile that resolves.

**Pricing: $2.50 per 1,000 results** (pay per result — one result per profile returned; usernames that don't resolve are never charged).

### What you get

| Field | Description |
|---|---|
| `username` | Pinterest username (handle) |
| `full_name` | Display name |
| `id` | Numeric Pinterest user id |
| `url` | Canonical profile URL |
| `about` | Profile bio / description |
| `website` | Linked website (if any) |
| `followers` | Follower count |
| `following` | Following count |
| `pins` | Number of pins |
| `boards` | Number of boards |
| `monthly_views` | Monthly profile views (Pinterest "reach") |
| `verified` | Whether the account is verified / a verified merchant |
| `avatar` | Profile picture URL (highest resolution available) |
| `country` | Account country code (if public) |

### Input

| Field | Description |
|---|---|
| `usernames` | List of Pinterest usernames or profile URLs — `"nike"`, `"@natgeo"`, or `"https://www.pinterest.com/natgeo/"` |

```json
{ "usernames": ["nike", "natgeo", "marthastewart"] }
```

### Example output

```json
{
  "username": "natgeo",
  "full_name": "National Geographic",
  "id": "459789785076550",
  "url": "https://www.pinterest.com/natgeo/",
  "about": "Taking our followers to the ends of the earth.",
  "website": "https://www.nationalgeographic.com",
  "followers": 1308858,
  "following": 42,
  "pins": 9405,
  "boards": 51,
  "monthly_views": 3289968,
  "verified": true,
  "avatar": "https://i.pinimg.com/600x600_R/...jpg",
  "country": "US"
}
```

### How to run

**Console** — paste the usernames into the input form and click **Start**.

**API** (start a run and get the dataset):

```bash
curl -X POST "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"usernames": ["nike", "natgeo"]}'
```

**Python client:**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("YOUR_ACTOR_ID").call(run_input={"usernames": ["nike", "natgeo"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["username"], item["followers"], item["monthly_views"])
```

**Node.js client:**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('YOUR_ACTOR_ID').call({ usernames: ['nike', 'natgeo'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### FAQ

**Do I need to log in or provide cookies?** No. Only public profile data is returned.

**What if a username doesn't exist?** It is simply omitted from the results — you are never charged for a username that doesn't resolve.

**Can I pass profile URLs instead of usernames?** Yes — full `pinterest.com/<user>/` URLs, `@handle`, or bare usernames all work.

**Is this rate-limited?** Runs are billed per delivered profile; there is no separate rate limit for normal use.

**Is the data live?** Yes — every run fetches the profile fresh from Pinterest.

# Actor input Schema

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

One or more Pinterest usernames or profile URLs (e.g. "nike", "@natgeo", or "https://www.pinterest.com/natgeo/"). You get one result row per username that resolves.

## Actor input object example

```json
{
  "usernames": [
    "nike",
    "natgeo"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped items in the default dataset.

# 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": [
        "nike",
        "natgeo"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("good-apis/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": [
        "nike",
        "natgeo",
    ] }

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

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/dBOufu3z92kq59JhL/builds/vyQjI2FvNaERGKgKQ/openapi.json
