# Pinterest Comments Scraper: Public Pin Comments & Replies (`xmolodtsov/pinterest-comments-scraper`) Actor

Scrape Pinterest comments and replies from public Pins, including tried-it posts. Export comment text, author labels, dates, likes, reactions and parent IDs as dataset rows.

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

## Pricing

from $1.16 / 1,000 items

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?

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

Scrape pinterest comments from public Pins into a structured dataset: comments, replies and tried-it posts, with text, public author labels, dates, reactions and parent IDs. Use this scraper for pinterest comments to review audience responses, study recurring questions or prepare a discussion dataset without signing in. Each saved row represents one public comment or reply, including an image-only tried-it post when the source serves it.

### What data you get

Every row includes the comment `id`, its `pinId` and `pinUrl`, nullable `text`, and the author labels attached to the public comment. Those labels include `authorUsername`, `authorFullName`, `authorId`, `authorProfileUrl` and `authorImageUrl` when available. The actor reads no author profile pages and performs no contact enrichment.

Engagement fields include `likeCount`, `reactionCounts`, `helpfulCount` and `replyCount`. `createdAt` preserves the source date string; tried-it contributions use their completion date. `sourceType` distinguishes ordinary `aggregatedcomment` records from `userdiditdata` contributions. Replies have `isReply: true` and the original `parentCommentId`, so you can reconstruct threads after export. A parent's reply count is the public counter, rather than a promise about the number of readable replies.

### How to use it

#### Apify Console

1. Open the actor in [Apify Console](https://console.apify.com/actors).
2. Enter one or more public Pin URLs or numeric Pin IDs as strings in **Pin URLs or numeric IDs**.
3. Keep **Include replies** enabled to collect reply rows, or disable it for top-level comments and tried-it posts only.
4. Set the maximum comments per Pin and total results. Both limits count comments and replies together.
5. Start the run and open the dataset's **Overview** view. Export JSON, CSV, Excel or another supported dataset format.

The prefilled example collects only ten rows from one established public Pin. Use it to inspect the output before increasing limits. If a Pin has no readable public comments, there is no need to supply account credentials or a browser session.

#### API and MCP

Start a run through the Apify API. Keep your token in an environment variable and send it as a bearer token:

```sh
curl -X POST \
  'https://api.apify.com/v2/acts/xmolodtsov~pinterest-comments-scraper/runs' \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"pinUrls":["554857616584887404"],"includeReplies":true,"maxCommentsPerPin":10,"maxResults":10}'
```

The response contains a run ID and default dataset ID. Wait for the run to finish, then retrieve rows from `https://api.apify.com/v2/datasets/DATASET_ID/items?format=json`. For automation details, see the [Apify API documentation](https://docs.apify.com/api/v2). You can also use Apify's MCP integration to pass the same input from an MCP client and read the resulting dataset. Check the run status and its statistics before treating a partial dataset as a finished thread.

### Pricing

Pricing is per 1,000 saved results. A result is one unique public comment, reply or tried-it contribution written to the default dataset. Opening a Pin or requesting a reply page has no separate actor charge event.

| Apify plan | Price per 1,000 results |
| --- | --- |
| FREE | $1.66 |
| BRONZE | $1.50 |
| SILVER | $1.33 |
| GOLD | $1.16 |

Platinum and Diamond use the Gold rate. For example, 200 saved rows cost $0.30 at Bronze or $0.232 at Gold; 1,000 rows cost $1.50 at Bronze or $1.16 at Gold. A ten-row example is $0.015 at Bronze. Only rows actually saved count toward result billing. Duplicate rows are filtered before saving, including rows already in the dataset after a reboot. The actor stops when the user's maximum charge limit prevents further saves.

#### Is it free?

On the Apify free plan, the developer allows **100 results per run and 20 runs per month**, measured by UTC calendar month. Free-plan activity is subject to Apify's available credits and the Free pricing tier above. These are developer limits, not a promise of unlimited free service. After the monthly quota is used, another run succeeds with an explanatory message and makes no requests to Pinterest. The quota resets on the first day of the next UTC month. Paid Apify plans remove these developer free-plan caps; your configured result limits still apply. Free runs use Apify Proxy and ignore custom proxy URLs.

### Input

| Field | Default | Meaning |
| --- | --- | --- |
| `pinUrls` | One prefilled public Pin | Array of full public Pin URLs or numeric IDs as strings; required. Up to 1,000 entries. |
| `includeReplies` | `true` | Save replies as separate rows linked to their parent comment. |
| `maxCommentsPerPin` | `1000` | Maximum saved rows for each Pin, including replies. Prefill uses `10`. |
| `maxResults` | `1000` | Maximum saved rows across the run. Free plan: 100 per run, 20 runs per month. |
| `proxyConfiguration` | Apify default pool | Apify datacenter or paid caller proxies/direct; residential groups are rejected. |

The two numeric limits must be positive whole numbers, up to 1,000,000. The source may expose substantially fewer rows. Numeric IDs must be strings of 5–30 digits to avoid JavaScript number rounding. URLs must use HTTPS and the path `/pin/<id>/` (the final slash is optional). Query strings, tracking parameters and fragments are ignored. HTTP URLs, trailing slugs after the ID, `pin.it` short links, profile URLs and board URLs are unsupported; paste the full Pin URL instead. Credentials and nonstandard ports are rejected.

Accepted domains are `pinterest.com` and these explicit country forms: `pinterest.at`, `.ch`, `.de`, `.dk`, `.ie`, `.jp`, `.kr`, `.mx`, `.pt`, `.se`, `.co.at`, `.co.kr`, `.co.uk`, `.com.mx`, `.ca`, `.fr`, `.com.au`, `.nz`, `.es`, `.cl`, `.ph`, `.in`, `.co.in`, `.be`, `.pe`, `.co`, `.com.py`, `.com.bo`, `.com.ec`, `.ec`, `.hu`, `.com.vn`, `.it`, `.com.pe`, `.com.uy`, `.co.nz`, `.uk`, `.vn`, `.id`, `.th`, `.tw` and `.nl` (each suffix follows `pinterest`). Each accepts optional `www.` or `m.`; two-letter language subdomains such as `uk.pinterest.com` are also accepted. All requests and output Pin URLs use `www.pinterest.com`.

Every input is normalized before free-quota admission or proxy use. Duplicate URLs and IDs identify one Pin. In a mixed list, invalid entries receive per-input `invalid:` notes while valid Pins continue; deleted or unavailable Pins also receive individual notes. A list with no usable Pin URL or ID fails `invalid:` before reserving a monthly free run. A syntactically valid Pin that Pinterest later reports as deleted still uses its admitted slot.

Apify Proxy is datacenter-only. Residential selections through `apifyProxyGroups` or the SDK alias `groups` are rejected in any casing before proxy or source requests. Leave the pool unnamed; `DATACENTER` is not a valid group on this account. Country options (`apifyProxyCountry` or `countryCode`) require two uppercase letters; group names allow letters, digits, underscores, periods and tildes. Malformed proxy options fail before free admission. Paid runs may use caller HTTP(S) proxy URL strings or direct access. Leave the proxy setting at its default unless your paid workflow requires different routing. The actor uses the selected mode throughout the run and does not automatically switch to a more expensive proxy class. No cookies, login data or paid upstream API keys are needed or accepted.

### Output

A row from a real public-source run is shown below. Null values mean the public record did not include that optional field; an image-only tried-it post may have null text. Source strings, including usernames and comment spelling, are preserved.

```json
{
  "id": "5312689406784626107",
  "pinId": "185773553372200236",
  "pinUrl": "https://www.pinterest.com/pin/185773553372200236/",
  "text": "I forgot he was brish(btw I got The plush a long time ago and I jus saw it on the floor pole dancing and I thought it was funny)",
  "authorUsername": "sillyyyyyyyyyyyyyy",
  "authorFullName": "Silly",
  "authorId": "1061864555799530404",
  "authorProfileUrl": "https://www.pinterest.com/sillyyyyyyyyyyyyyy/",
  "authorImageUrl": "https://i.pinimg.com/75x75_RS/bb/56/8b/bb568b5d41860bae79191633a27859a2.jpg",
  "createdAt": "Sat, 05 Aug 2023 19:14:23 +0000",
  "likeCount": 3238,
  "reactionCounts": null,
  "helpfulCount": 6,
  "replyCount": 73,
  "isReply": false,
  "parentCommentId": null,
  "isEdited": false,
  "sourceType": "userdiditdata"
}
```

![Public Pin comment dataset preview](https://api.apify.com/v2/key-value-stores/2DxCOvbMjhvK3S1qP/records/pinterest-comments-scraper-output.png)

Use `pinId` together with `id` as a stable row key. Filter `isReply` to separate parents from replies, and join on `parentCommentId` to group discussion threads. Dataset order follows retrieval and concurrent reply completion, so it is not a chronological ranking. Use `createdAt` when your analysis needs date ordering. The Overview view shows IDs, Pin URL, text, username, date, likes, reply count and thread relationship fields; JSON exports include the remaining author and reaction fields.

### Guarantees and failure semantics

A run with saved rows finishes **SUCCEEDED** even if a later Pin or reply request fails. The available rows remain in the dataset, and `STATISTICS` in the run's key-value store records per-Pin notes, page counts, request attempts, blocked attempts and saved totals. Check those notes when you need to assess coverage. Result caps and the charge limit can intentionally end a run before every public page has been read.

Capped runs report `limited` and `partial` in statistics, including when a cap is reached on a terminal source page. If a dataset append loses its acknowledgement, the actor stops further writes and reconciles saved rows. A pending append also stops source requests and writes after a reboot, even while its rows are not yet readable. Saved rows produce a partial success; no readable saved rows produce a `network:` failure. Start a new run rather than resurrecting that uncertain append. Restart counts and deduplication read dataset pages through an empty page, without trusting reported totals; exceeding 10,000 pages stops admission. An admitted free run retains its original monthly admission when it migrates or reboots, including across the UTC month boundary.

With zero saved rows, a run succeeds as **no results** only when Pinterest answers with an empty comment feed, or with Pin metadata that shows nothing to read: a zero comment count without a conversation, or comments turned off without a comment count above zero. When comments are turned off but the metadata shows a comment count above zero, the actor reads its comments after the other Pins of the run. A monthly free-quota refusal or a user charge-limit refusal also succeeds with a specific status message. Unanswered requests and unexpected response formats do not silently become empty datasets. They end **FAILED** with a leading `blocked:`, `network:`, `timeout:`, `invalid:` or `outdated:` token. If one Pin is empty but another cannot be answered, the zero-row run fails so your workflow can retry.

Pagination follows public bookmarks until the source's terminal cursor, rather than chasing displayed counters. Deleted or withheld comments are not returned. Pinterest can advertise more replies than its public endpoints serve, and public counts change over time. The actor does not guarantee a historical archive or full availability of every counted comment. It bounds total feed and reply pages per Pin at 600, each individual reply thread at 200 pages, and reply concurrency at four. Long threads may end in one-row pages. It saves rows as pages arrive and reserves 30 seconds before the platform timeout to finish with the available data.

### Integrations

Download a CSV for a spreadsheet, send the dataset to a warehouse, or consume JSON in a research pipeline. Apify datasets work with webhooks, scheduled runs and tools such as Make and n8n. Use a completion webhook to retrieve the dataset after the run ends, then inspect the status and statistics before deciding whether to retry incomplete Pins. A repeated new run creates a fresh dataset; deduplication applies within each run and across its reboots, not across independent datasets. For recurring snapshots, store the combined `pinId` and `id` key in your destination.

### More scrapers from this developer

**TikTok:** [TikTok Search Scraper](https://apify.com/xmolodtsov/tiktok-search-scraper): Videos and creators for any keyword, pay per result ·
[TikTok Profile Scraper (Pay Per Result)](https://apify.com/xmolodtsov/tiktok-profile-scraper): Profiles, followers and latest posts by username ·
[TikTok Comments Scraper](https://apify.com/xmolodtsov/tiktok-comments-scraper): Comments and full reply threads from any video ·
[TikTok Hashtag Scraper](https://apify.com/xmolodtsov/tiktok-hashtag-scraper): Videos for any hashtag, with views, likes and music ·
[TikTok Sound & Music Scraper](https://apify.com/xmolodtsov/tiktok-sound-scraper): Videos that use a sound or song ·
[TikTok Top Ads Scraper](https://apify.com/xmolodtsov/tiktok-top-ads-scraper): Public Creative Center ad rankings, engagement, media and landing pages

**Social & news:** [Reddit Search Scraper](https://apify.com/xmolodtsov/reddit-scraper): Posts by keyword, subreddit or author ·
[Google News Scraper](https://apify.com/xmolodtsov/google-news-scraper): Google News results as clean full-text articles ·
[Threads Replies Scraper](https://apify.com/xmolodtsov/threads-replies-scraper): Public post replies, likes, authors and inline nested replies

**Instagram:** [Instagram Reel Scraper](https://apify.com/xmolodtsov/instagram-reel-scraper): Public profile reels, plays, captions, music and media URLs ·
[Instagram Comment Scraper](https://apify.com/xmolodtsov/instagram-comment-scraper): Public post and reel comments, likes, timestamps and usernames ·
[Instagram Post Scraper](https://apify.com/xmolodtsov/instagram-post-scraper): Public profile posts, likes, captions, locations and media URLs

**E-commerce:** [Prom.ua Product Search Scraper](https://apify.com/xmolodtsov/prom-ua): Prom.ua product search results, no browser needed ·
[Amazon Product Search & Bestsellers Scraper](https://apify.com/xmolodtsov/amazon-search-scraper): Search results, popular products and product details from Amazon ·
[AliExpress Search Scraper](https://apify.com/xmolodtsov/aliexpress-search-scraper): AliExpress products by keyword with prices, orders and shipping ·
[AliExpress Product Reviews Scraper](https://apify.com/xmolodtsov/aliexpress-reviews-scraper): Public product reviews, ratings, buyer photos and follow-up feedback

**Maps & leads:** [Google Maps Scraper](https://apify.com/xmolodtsov/google-maps-scraper): Places, leads and emails from Google Maps

**Ads:** [Facebook Ad Library Scraper (Meta Ads Library)](https://apify.com/xmolodtsov/facebook-ads-library-scraper): Ads from the Meta Ad Library, with EU reach and payers ·
[Google Ads Transparency Scraper](https://apify.com/xmolodtsov/google-ads-transparency-scraper): Google ad creatives by advertiser or domain, with regional details

**Video:** [YouTube Transcript Scraper](https://apify.com/xmolodtsov/youtube-transcript-scraper): Transcripts, subtitles and captions from YouTube videos ·
[YouTube Shorts Scraper](https://apify.com/xmolodtsov/youtube-shorts-scraper): Shorts of any channel with exact views, likes and duration ·
[YouTube Channel Scraper](https://apify.com/xmolodtsov/youtube-channel-scraper): Every video of a channel, with channel stats ·
[YouTube Search Scraper](https://apify.com/xmolodtsov/youtube-search-scraper): Search results and videos for any keyword ·
[YouTube Comments Scraper](https://apify.com/xmolodtsov/youtube-comments-scraper): Comments, replies and likes from any video ·
[Bilibili Comments Scraper](https://apify.com/xmolodtsov/bilibili-comments-scraper): Public hot comments and reply threads by video or keyword

**Jobs:** [SEEK Job Listings Scraper](https://apify.com/xmolodtsov/seek-jobs-scraper): Public AU/NZ job listings, salaries and redacted descriptions

### FAQ

#### Does this collect private comments or require a Pinterest account?

It reads only public Pin responses available anonymously. It does not log in, use account cookies, access private profiles or collect personal contact details. Author labels come only from the public comment record. Private, unavailable and deleted content cannot be recovered by increasing a result limit.

#### Why are there fewer replies than the Pin advertises?

Public counters may include deleted or withheld replies. The source can return a terminal bookmark while the displayed counter remains higher. A higher limit cannot recover comments that Pinterest does not serve. Consult `STATISTICS` to distinguish source completion from an input cap or incomplete request.

#### Is it legal to scrape pinterest comments?

This actor accesses public data only. Your use remains subject to applicable law, platform terms and your purpose for processing the data. Public visibility does not remove privacy obligations. Assess GDPR and CCPA requirements, retain only necessary data and respect deletion requests and retention limits. Consult qualified advice for your own use case.

#### Are images and author profiles downloaded?

The actor records the avatar URL attached to the public comment when present. It does not download avatars, visit profiles or enrich authors. Tried-it contributions are represented as comment rows; their text may be absent. This tool is intended for discussion data, not a media archive.

### Support

Use the actor's [Apify Store page](https://apify.com/xmolodtsov/pinterest-comments-scraper) to report an issue. Include the Apify run ID, a public Pin URL and a short description of the expected output. Do not send credentials or private data. A run's status message and `STATISTICS` help distinguish an unavailable Pin, a temporary request failure, a source format change and an intentionally limited dataset.

# Changelog

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

# Actor input Schema

## `pinUrls` (type: `array`):

HTTPS /pin/<id>/ URLs on Pinterest's main or allow-listed country domains (for example pinterest.com, pinterest.co.uk, pinterest.de, pinterest.fr, pinterest.ca, pinterest.com.au, pinterest.jp; full list in README), with optional www/mobile or two-letter language subdomains on pinterest.com; or numeric IDs as 5–30 digit strings. Query/tracking parameters are ignored. HTTP, trailing slugs, pin.it short links, profile/board URLs and private Pins are unsupported. Mixed inputs keep per-input invalid notes; no usable input fails before free-quota admission or proxy use.

## `includeReplies` (type: `boolean`):

Include public replies as separate rows with parentCommentId and isReply. Replies count toward both limits.

## `maxCommentsPerPin` (type: `integer`):

Maximum saved rows per Pin, counting comments, tried-it posts and their replies together.

## `maxResults` (type: `integer`):

Stop after this many saved pinterest comments and replies across all Pins. Apify free plan: 100 results per run, 20 runs per month (developer limits).

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

Apify Proxy is datacenter-only; residential groups are rejected (apifyProxyGroups and groups, any casing). Use the default pool without a named group. Country codes require two uppercase letters; group names allow letters, digits, underscores, periods and tildes; custom proxy URLs must be HTTP(S) strings. Malformed options fail before free admission. Free runs ignore custom proxies and use only Apify datacenter.

## Actor input object example

```json
{
  "pinUrls": [
    "https://www.pinterest.com/pin/554857616584887404/"
  ],
  "includeReplies": true,
  "maxCommentsPerPin": 10,
  "maxResults": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One public pinterest comment or reply per row, with text, author labels, likes, dates and parent relationships.

# 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 = {
    "pinUrls": [
        "https://www.pinterest.com/pin/554857616584887404/"
    ],
    "maxCommentsPerPin": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("xmolodtsov/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 = {
    "pinUrls": ["https://www.pinterest.com/pin/554857616584887404/"],
    "maxCommentsPerPin": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("xmolodtsov/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 '{
  "pinUrls": [
    "https://www.pinterest.com/pin/554857616584887404/"
  ],
  "maxCommentsPerPin": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call xmolodtsov/pinterest-comments-scraper --silent --output-dataset

```

## MCP server setup

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