# Pinterest Scraper (`danielmilevski9/pinterest-crawler`) Actor

Our free Pinterest Scraper allows you to get "pins" along with a user's profile. This unofficial Pinterest API is designed to give you more details than you can see in the web interface. It also enables you to extract public data from Pinterest without limits.

- **URL**: https://apify.com/danielmilevski9/pinterest-crawler.md
- **Developed by:** [Daniel Milevski](https://apify.com/danielmilevski9) (community)
- **Categories:** Social media
- **Stats:** 3,277 total users, 55 monthly users, 100.0% runs succeeded, 74 bookmarks
- **User rating**: 3.19 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

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

### What does Pinterest Scraper do?

Our free Pinterest Scraper allows you to extract "pins" along with a user's profile.

This unofficial Pinterest API is designed to give you more details than you can see in the web interface. It also enables anyone to extract public data from Pinterest without limits.

The Pinterest data scraper supports the following features:

- Scrape profiles - get metadata from the profile
- Scrape pins with full details - different kinds of pins will be parsed accordingly

### How to use Pinterest Scraper

For a step-by-step guide on how to use Pinterest Scraper, read [How to scrape data on Pinterest in 5 easy steps](https://blog.apify.com/how-to-scrape-data-on-pinterest-in-5-easy-steps/), or watch our [video tutorial](https://www.youtube.com/watch?v=v8WDCpA3iR0) on YouTube.

### How much does Pinterest Scraper cost?

It will cost you approx. USD 0.25 to scrape 1,000 pins. The more results you want to scrape, the more time it will take and the more usage credits it will cost.

Apify provides you with USD 5 free usage credits to use every month on the Apify Free plan so you can get up to 20,000 pins from Pinterest Scraper for those credits. So 20,000 results will be completely free!

But if you need to get more data or to get your data regularly you should grab an Apify subscription. We recommend our $49/month Personal plan - you could get up to 200,000 Pinterest pins reviews every month with the $49 monthly plan!

### Why scrape Pinterest?

Automatically gather data from this image sharing and social media service designed to enable the saving and discovery of images, animated GIFs, and videos.

So what can you do with that data? Here are some ideas:

- Collect data about your audience. How many subscribers do they have on average? Are they active on Pinterest? What sites do they have?
- Find the best subscribers. Make a shortlist of your ideal subscribers and actively pursue them by sending them DMs and offering partnerships!
- Collect data about your competitor's audience.

If you want more ideas, check out our [industries pages](https://apify.com/industries) for ways web scraping is already being used in a wide range of companies.

### Settings and proxies

#### Profile names and URLs

You need to provide a list of profile names or Pinterest URLs (they can be mixed in any order).

#### Using proxies

Pinterest now allows access under any type of proxies.

#### Custom proxies

You can also use proxies from other providers in the custom proxies fields (`proxyURLs` in the JSON settings).

### Is it legal to scrape Pinterest?

Web scraping is legal, but you should be aware that your results could contain personal data. Personal data is protected by GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `startUrls` (type: `array`):

Names or URLs to start with.

## `maxPinsCnt` (type: `integer`):

Max pins per profile

## `scrapeOnlyProfileData` (type: `boolean`):

Do not scrape pins, only profile details

## `proxyConfig` (type: `object`):

You need to use Apify proxy or custom proxies.

## Actor input object example

```json
{
  "startUrls": [
    "pinterest.com/poltronafrau",
    "bellinthewoods"
  ],
  "maxPinsCnt": 50,
  "scrapeOnlyProfileData": false,
  "proxyConfig": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "startUrls": [
        "pinterest.com/poltronafrau",
        "bellinthewoods"
    ],
    "maxPinsCnt": 50,
    "proxyConfig": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("danielmilevski9/pinterest-crawler").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 = {
    "startUrls": [
        "pinterest.com/poltronafrau",
        "bellinthewoods",
    ],
    "maxPinsCnt": 50,
    "proxyConfig": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("danielmilevski9/pinterest-crawler").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 '{
  "startUrls": [
    "pinterest.com/poltronafrau",
    "bellinthewoods"
  ],
  "maxPinsCnt": 50,
  "proxyConfig": {
    "useApifyProxy": true
  }
}' |
apify call danielmilevski9/pinterest-crawler --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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