# Pinterest Comments Scraper ✨📌💬 (`scrapestorm/pinterest-comments-scraper`) Actor

Pinterest Comments Scraper 💬📌🔍 allows you to extract detailed comments from Pinterest posts. With customizable filters and in-depth data extraction, you can easily gather the insights needed for your projects! 🌟✨📝

- **URL**: https://apify.com/scrapestorm/pinterest-comments-scraper.md
- **Developed by:** [Storm\_Scraper](https://apify.com/scrapestorm) (community)
- **Categories:** Social media, Lead generation, SEO tools
- **Stats:** 9 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$9.90/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#rental-actors

## 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 Comments Scraper 💬✨

The Pinterest Comments Scraper allows you to easily scrape comments from a specific Pinterest post 🎨. Simply input the URL of the post and set the maximum number of comments to fetch 🔍.

Just enter the post URL and start extracting valuable comment data instantly!

### Description 💬💯🎨

The Pinterest Comments Scraper is designed for those who want to gather and analyze the comments on Pinterest posts. Whether you're a marketer looking to monitor engagement or a researcher analyzing trends, this tool makes it easy to scrape comments from any Pinterest pin.

You can specify the maximum number of comments to scrape 🔢 and retrieve key details such as:

```
Comment text ✏️
Commenter’s username & profile link 👤
Like count 👍
Reply count 💬
Whether the comment was edited ✍️
And more!
```

🚨 Its power 💪 lies in its ability to scrape not just comments from posts (URLs with "/pins/"), but also all the comments from image links, photos, and Videos 📸🎥.
And the best part? It works even when authentication 🔒 is required to access the content!

### How many comments can you scrape? 🔍

You can scrape as many comments as needed, depending on the post and your specified filters.

Set the maximum number of comments to fetch based on your needs.

### Key Features ✨

- Customizable Filters 🛠️: Easily define the post URL and the maximum number of comments you want to scrape.

- Detailed Comment Data 💬: Retrieve comment text, user information (name, username, profile image), like count, reply count, and more!

- Simple Setup 🔑: Just input the Pinterest post URL and the number of comments to scrape—then you’re ready to go.

- User Profile Information 👩‍🦰: Fetch the user's full name, profile link, and profile image to get detailed context about each commenter.

### 💸 Pricing

This scraper operates on a monthly subscription basis, priced at $9.90/month.

### How to Use? 📲

Using the Pinterest Comments Scraper is straightforward and intuitive. Just follow these steps:

```
Sign up for an account on Apify 🔑.
Access the Pinterest Comments Scraper on the Apify platform 🌐.
Enter the Post URL of the Pinterest pin from which you want to scrape comments 🚨.
Set the maximum number of comments you want to retrieve 🔢.
Hit "Start" and let the scraper collect the comments!
After scraping, download the data in your preferred format: JSON 📄, CSV 📊, XML 📑, Excel 📈, or HTML 🌐.
```

That’s it! You’ll have all the comments from the Pinterest post ready for analysis.

### Applications 🌟

🧑‍🎨 Content Research: Analyze popular comments and trends on specific Pinterest pins.

📈 Engagement Monitoring: Track comments, likes, and replies to gauge user interaction with your content.

📝 Social Media Insights: Understand user sentiment and opinions on specific Pinterest posts.

### Input Example 📲 👌

The scraper accepts various parameters to customize the scraping process. Here’s how to structure your input JSON:

```
{
    post_url = "https://jp.pinterest.com/pin/1031113277171426444/",
    maxcomments = 40
}


```

### Example Output from Pinterest Scraper 👌

Once the extraction is finished, the data will be stored in a dataset. You can download this data in various formats (JSON, CSV, XML, RSS, HTML Table).

```
[
  {
      "comment_id": "5360070471943503313",
      "text": "I have my 5 yr old Grandson Thursdays and Fridays and He is gonna LOVE THESE!!!! Thanks",
      "created_at": "Tue, 23 Apr 2024 07:05:16 +0000",
      "like_count": 2,
      "reply_count": 0,
      "is_edited": false,
      "is_translatable": false,
      "marked_helpful_by_me": false,
      "highlighted_by_pin_owner": false,
      "user_id": "792704109319885930",
      "username": "Stephismomma89",
      "profile_link": "https://www.pinterest.com/Stephismomma89/",
      "user_full_name": "Anne M G",
      "user_profile_image": "https://i.pinimg.com/75x75_RS/6a/86/42/6a864277e5ab3202c1489c3ac5c28e0d.jpg",
      "user_is_private": false
  },
  {
      "comment_id": "5349311739399821500",
      "text": "I love the way the rocket flies and looks, no engine needed!",
      "created_at": "Fri, 23 Feb 2024 22:02:32 +0000",
      "like_count": 4,
      "reply_count": 0,
      "is_edited": false,
      "is_translatable": false,
      "marked_helpful_by_me": false,
      "highlighted_by_pin_owner": false,
      "user_id": "962222414043902419",
      "username": "christianparry201",
      "profile_link": "https://www.pinterest.com/christianparry201/",
      "user_full_name": "Christian",
      "user_profile_image": "N/A",
      "user_is_private": true
  }
]


```

### Related Actors ⭐

If you're interested in other Pinterest, Google, social media scraper or real estate Actors:

- [Pinterest Profiles Search Scraper 🖼️👥🔍](https://apify.com/scrapestorm/pinterest-profiles-search-scraper)
- [Pinterest Boards Search Scraper 🎨🔍](https://apify.com/scrapestorm/pinterest-boards-search-scraper)
- [Pinterest Pins/Videos Search Scraper 🎨🔍](https://apify.com/scrapestorm/pinterest-pins-videos-search-scraper)
- [Google News Scraper Fast & Real-Time (Pay per results) 📰⚡](https://apify.com/scrapestorm/google-news-scraper-fast-real-time-pay-per-results)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Shares Scraper (Exclusive & Affordable) 🚀💡](https://apify.com/scrapestorm/facebook-shares-scraper-exclusive-affordable)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Scraper (By Keyword) - ⭐⭐⭐⭐⭐ Fast & cheap](https://apify.com/scrapestorm/youtube)
- [Youtube Channel Scraper](https://apify.com/scrapestorm/youtube-channel-scraper)
- [Youtube Shorts Scraper 📺 (Rental) - Fast & cheap](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Zillow (Find a Home Improvement Agent) 🛠️)](https://apify.com/scrapestorm/zillow-find-a-home-improvement-agent)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)

***

### Can I use this Pinterest Search API in Python? 🎓

Yes, you can use the Apify API with Python.

To access the Pinterest Search API with Python, use the apify-client PyPI package. You can find more details about the client in our Python Client documentation.

### 📫 Support

😊 Leave us a star ⭐ if you are satisfied with the product!
🌍 For any questions, specific needs or issues, please reach out through Apify's platform or via email - [Storm\_Scraper 🌪️🌩️](https://apify.com/scrapestorm)
Happy scraping! 😊

# Actor input Schema

## `post_urls` (type: `array`):

One or more Pinterest pin URLs to scrape comments from. Each URL is scraped separately.

## `maxcomments` (type: `integer`):

The maximum number of comments to fetch per URL.

## Actor input object example

```json
{
  "post_urls": [
    "https://www.pinterest.com/pin/4011087181235843/"
  ],
  "maxcomments": 20
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "post_urls": [
        "https://www.pinterest.com/pin/4011087181235843/"
    ],
    "maxcomments": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/pinterest-comments-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 = {
    "post_urls": ["https://www.pinterest.com/pin/4011087181235843/"],
    "maxcomments": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/pinterest-comments-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 '{
  "post_urls": [
    "https://www.pinterest.com/pin/4011087181235843/"
  ],
  "maxcomments": 20
}' |
apify call scrapestorm/pinterest-comments-scraper --silent --output-dataset

```

## MCP server setup

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