# Pinterest Related Pins Scraper (`scrapingmonkey/pinterest-related-pins-scraper`) Actor

Collect public Pinterest pins recommended for selected source pins. Export paginated results with media, descriptions, external links, authors and board context.

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

## Pricing

from $1.00 / 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.
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

Find public pins Pinterest recommends alongside a selected pin and export each recommendation separately. **Pinterest Related Pins Scraper** collects descriptions, image and video references, source websites, creators and board context with the seed pin attached.

Use a known pin as the starting point for expanding a reference collection, comparing related content or discovering additional source websites.

| At a glance | Details |
|---|---|
| 📥 Input | Enter numeric Pinterest pin IDs or canonical pin URLs to collect recommended pins. |
| 📤 Output | One pin per success row with the input source retained |
| 📄 Pagination | Result pages per input; page sizes and availability are controlled by Pinterest |
| 🔐 Login required | No |
| ⚡ Processing | Up to 5 HTTP requests concurrently; up to 5 attempts for temporary failures |
| 💾 Delivery | One Apify dataset view with individual records and complete nested JSON |

### What the Pinterest related pins scraper collects 🧩

The Actor follows the public related-content feed for the input pin. It keeps actual pin records and skips interface modules, preserving the source-to-result relationship for later analysis.

Data can include:

- Recommended pin IDs, URLs, titles and descriptions
- Images, available video variants and dimensions
- Outgoing links and domains
- Creator and board fields exposed by the related feed
- Seed pin references and optional visible engagement

### How to collect related pins from Pinterest 🚀

1. Enter one or more supported inputs.
2. Set the page budget and any collection option you need.
3. Start the Actor.
4. Open the **Pins** dataset view and review success or failed rows.
5. Export the dataset or retrieve records from your application.

```json
{
  "inputList": [
    "https://www.pinterest.com/pin/500532946109224497/"
  ],
  "pagesPerPin": 1
}
```

The page setting counts related-feed pages for each seed pin. Recommendations and their order come from Pinterest. Repeated result IDs are removed within each seed’s pagination.

### Pinterest related pins output fields 📦

| Field | Type | Meaning |
|---|---|---|
| `input` | string | Original submitted input. |
| `status` | string | Whether this entity was successfully collected. |
| `page` | integer or null | One-based page within this input's collection. |
| `source_pin` | object or null | Pin requested as the source, including its distinct aggregate ID when returned. |
| `id` | string or null | Id when supplied by Pinterest. |
| `url` | string or null | Url when supplied by Pinterest. |
| `title` | string or null | Title when supplied by Pinterest. |
| `description` | string or null | Description when supplied by Pinterest. |
| `created_at` | string or null | Created at when supplied by Pinterest. |
| `link` | string or null | Link when supplied by Pinterest. |
| `domain` | string or null | Domain when supplied by Pinterest. |
| `alt_text` | string or null | Alt text when supplied by Pinterest. |
| `auto_alt_text` | string or null | Auto alt text when supplied by Pinterest. |
| `seo_title` | string or null | Seo title when supplied by Pinterest. |
| `seo_description` | string or null | Seo description when supplied by Pinterest. |
| `seo_alt_text` | string or null | Seo alt text when supplied by Pinterest. |
| `dominant_color` | string or null | Dominant color when supplied by Pinterest. |
| `image_url` | string or null | Image url when supplied by Pinterest. |
| `images` | array or null | Available image variants, preserved in one dataset cell. |
| `videos` | array or null | Available video variants with duration in milliseconds, preserved in one dataset cell. |
| `has_video` | boolean or null | Whether video variants were present in this response. |
| `is_video_raw` | boolean or null | Raw Pinterest is\_video flag; video variants can exist when it is false. |
| `is_repin` | boolean or null | Is repin when supplied by Pinterest. |
| `is_promoted` | boolean or null | Is promoted when supplied by Pinterest. |
| `repin_count` | integer or null | Repin count reported for this pin; separate from aggregate saves. |
| `comment_count` | integer or null | Comment count reported for this individual pin. |
| `favorite_user_count` | integer or null | Favorite user count when supplied by Pinterest. |
| `share_count` | integer or null | Share count when supplied by Pinterest. |
| `comments_disabled` | boolean or null | Comments disabled when supplied by Pinterest. |
| `aggregated_pin_id` | string or null | Pinterest aggregate ID shared by related copies of the pin. |
| `aggregated_comment_count` | integer or null | Comment count reported for the aggregated pin. |
| `aggregated_save_count` | integer or null | Save count reported for the aggregated pin. |
| `aggregated_done_count` | integer or null | Tried-it count reported for the aggregated pin. |
| `reactions` | array or null | Reactions when supplied by Pinterest. |
| `author` | object or null | Author when supplied by Pinterest. |
| `board` | object or null | Board when supplied by Pinterest. |
| `section` | object or null | Section when supplied by Pinterest. |
| `product` | object or null | Product fields when product metadata exists. Raw zero prices do not establish a free product. |

Nested field structure:

- `source_pin`: `id`, `url`, `title`, `aggregated_pin_id`.
- `images[]`: `variant`, `url`, `width`, `height`, `dominant_color`.
- `videos[]`: `variant`, `url`, `width`, `height`, `duration_ms`, `thumbnail_url`.
- `reactions[]`: `type`, `count`.
- `author`: `id`, `username`, `name`, `url`, `image_url`, `image_large_url`, `is_verified`, `is_verified_merchant`, `is_private`, `follower_count`.
- `board`: `id`, `url`, `name`, `description`, `pin_count`, `follower_count`, `section_count`, `sectionless_pin_count`, `collaborator_count`, `is_collaborative`, `privacy`, `category`, `cover_image_url`, `cover_image_hd_url`, `last_modified_at`, `owner`, `images`.
- `board.owner`: `id`, `username`, `name`, `url`, `image_url`, `image_large_url`, `is_verified`, `is_verified_merchant`, `is_private`, `follower_count`.
- `board.images[]`: `variant`, `url`, `width`, `height`, `dominant_color`.
- `section`: `id`, `title`, `slug`, `description`, `pin_count`, `url`.
- `product`: `metadata_id`, `price_value_raw`, `price_currency`, `availability`, `is_out_of_stock`, `is_stale`.

The examples below use normalized public response data. Values are snapshots and may change; every top-level output field is included. Different media variants and nested objects remain inside the same row.

Complete representative success result:

```json
{
  "input": "https://www.pinterest.com/pin/500532946109224497/",
  "status": "success",
  "page": 1,
  "source_pin": {
    "id": "500532946109224497",
    "url": "https://www.pinterest.com/pin/500532946109224497/",
    "title": null,
    "aggregated_pin_id": null
  },
  "id": "1141944049335610563",
  "url": "https://www.pinterest.com/pin/1141944049335610563/",
  "title": "",
  "description": " ",
  "created_at": "2026-08-03T02:15:36Z",
  "link": null,
  "domain": "Uploaded by user",
  "alt_text": null,
  "auto_alt_text": "three dolls standing next to each other in front of a wall with pictures on it",
  "seo_title": null,
  "seo_description": null,
  "seo_alt_text": null,
  "dominant_color": "#a99f9b",
  "image_url": "https://i.pinimg.com/originals/d2/e1/fd/d2e1fd7df47ea28972d5b42708899beb.jpg",
  "images": [
    {
      "variant": "170x",
      "url": "https://i.pinimg.com/236x/d2/e1/fd/d2e1fd7df47ea28972d5b42708899beb.jpg",
      "width": 236,
      "height": 398,
      "dominant_color": null
    },
    {
      "variant": "136x136",
      "url": "https://i.pinimg.com/136x136/d2/e1/fd/d2e1fd7df47ea28972d5b42708899beb.jpg",
      "width": 136,
      "height": 136,
      "dominant_color": null
    },
    {
      "variant": "474x",
      "url": "https://i.pinimg.com/474x/d2/e1/fd/d2e1fd7df47ea28972d5b42708899beb.jpg",
      "width": 474,
      "height": 800,
      "dominant_color": null
    },
    {
      "variant": "564x",
      "url": "https://i.pinimg.com/564x/d2/e1/fd/d2e1fd7df47ea28972d5b42708899beb.jpg",
      "width": 564,
      "height": 952,
      "dominant_color": null
    },
    {
      "variant": "736x",
      "url": "https://i.pinimg.com/736x/d2/e1/fd/d2e1fd7df47ea28972d5b42708899beb.jpg",
      "width": 736,
      "height": 1242,
      "dominant_color": null
    },
    {
      "variant": "orig",
      "url": "https://i.pinimg.com/originals/d2/e1/fd/d2e1fd7df47ea28972d5b42708899beb.jpg",
      "width": 1170,
      "height": 1975,
      "dominant_color": null
    }
  ],
  "videos": [],
  "has_video": false,
  "is_video_raw": false,
  "is_repin": false,
  "is_promoted": false,
  "repin_count": 41,
  "comment_count": 0,
  "favorite_user_count": null,
  "share_count": null,
  "comments_disabled": true,
  "aggregated_pin_id": "3734317592275105024",
  "aggregated_comment_count": null,
  "aggregated_save_count": 42,
  "aggregated_done_count": 0,
  "reactions": [],
  "author": {
    "id": "1141944186673960877",
    "username": "kikiya04",
    "name": "KIKI🍒",
    "url": "https://www.pinterest.com/kikiya04/",
    "image_url": "https://i.pinimg.com/75x75_RS/a6/e2/e6/a6e2e6d05b10befb8fae9e86a1773c0e.jpg",
    "image_large_url": "https://i.pinimg.com/140x140_RS/a6/e2/e6/a6e2e6d05b10befb8fae9e86a1773c0e.jpg",
    "is_verified": null,
    "is_verified_merchant": false,
    "is_private": null,
    "follower_count": null
  },
  "board": {
    "id": "1141944117956621515",
    "url": "https://www.pinterest.com/kikiya04/soft-pink/",
    "name": "💗Soft Pink",
    "description": null,
    "pin_count": 5,
    "follower_count": null,
    "section_count": null,
    "sectionless_pin_count": null,
    "collaborator_count": null,
    "is_collaborative": false,
    "privacy": "public",
    "category": null,
    "cover_image_url": "https://i.pinimg.com/200x150/d2/e1/fd/d2e1fd7df47ea28972d5b42708899beb.jpg",
    "cover_image_hd_url": "https://i.pinimg.com/474x/d2/e1/fd/d2e1fd7df47ea28972d5b42708899beb.jpg",
    "last_modified_at": "2026-08-21T01:15:21Z",
    "owner": {
      "id": "1141944186673960877",
      "username": "kikiya04",
      "name": "KIKI🍒",
      "url": "https://www.pinterest.com/kikiya04/",
      "image_url": "https://i.pinimg.com/75x75_RS/a6/e2/e6/a6e2e6d05b10befb8fae9e86a1773c0e.jpg",
      "image_large_url": "https://i.pinimg.com/140x140_RS/a6/e2/e6/a6e2e6d05b10befb8fae9e86a1773c0e.jpg",
      "is_verified": null,
      "is_verified_merchant": false,
      "is_private": null,
      "follower_count": null
    },
    "images": []
  },
  "section": null,
  "product": null
}
```

Complete failed dataset item:

```json
{
  "input": "invalid input",
  "status": "failed",
  "page": null,
  "source_pin": null,
  "id": null,
  "url": null,
  "title": null,
  "description": null,
  "created_at": null,
  "link": null,
  "domain": null,
  "alt_text": null,
  "auto_alt_text": null,
  "seo_title": null,
  "seo_description": null,
  "seo_alt_text": null,
  "dominant_color": null,
  "image_url": null,
  "images": null,
  "videos": null,
  "has_video": null,
  "is_video_raw": null,
  "is_repin": null,
  "is_promoted": null,
  "repin_count": null,
  "comment_count": null,
  "favorite_user_count": null,
  "share_count": null,
  "comments_disabled": null,
  "aggregated_pin_id": null,
  "aggregated_comment_count": null,
  "aggregated_save_count": null,
  "aggregated_done_count": null,
  "reactions": null,
  "author": null,
  "board": null,
  "section": null,
  "product": null
}
```

A failed row preserves `input`, sets `status` to `failed`, and sets every other top-level field to `null`. The reason is written to the run log. Optional successful values remain null or empty when Pinterest omits them. The single dataset view exposes object fields as useful columns; arrays are kept in their parent row rather than expanded into additional rows or views.

### Input and pagination settings ⚙️

| Parameter | Type | Required | Default | Rules |
|---|---|---|---|---|
| `inputList` | array of strings | Yes | None | Enter numeric Pinterest pin IDs or canonical pin URLs to collect recommended pins. |
| `pagesPerPin` | integer | No | `1` | Maximum result pages per input. Website page sizes vary; short pages can still have a continuation. Preparation requests do not count as result pages. Minimum `1`. |

Use supported Pinterest pin URLs or numeric pin IDs as seeds. Use Pin Search Scraper for a keyword query; a seed recommendation feed is not keyword search.

Use canonical HTTPS links on `www.pinterest.com` or `pinterest.com`. Country-specific hosts, shortened `pin.it` links and unsupported paths are not accepted.

Duplicate normalized inputs are processed once. A returned identifier is deduplicated within the pagination of one source input; the same object found under different source inputs retains each source relationship.

The first result request counts as page 1. Source validation and preparation requests do not consume result pages. A short or filtered page can continue if it supplies a usable cursor. Collection stops at the page budget or the end of pagination; a repeated cursor does not trigger an endless loop.

### Pinterest related pins use cases 🎯

#### Reference collection expansion

Start with a suitable pin and inspect recommendations to discover additional references. Keep seed IDs to explain how results were found.

#### Related source discovery

Collect websites and domains exposed by recommended pins. Review the websites separately before using them as qualified sources.

#### Recommendation snapshots

Run the same seed inputs later and compare the collected result IDs in your own system. A changed sample does not prove the source content was removed.

### Pricing and saved-result behavior 💰

Check the Actor’s **Pricing** tab for the active charging model and current rate. Store settings may change, so this README does not state an unverified fixed price or runtime.

Under dataset-item pricing:

- Each unique success result represents one pin for its source input.
- An invalid or unavailable input, an input with no accessible results, or a request that exhausts retries can produce a `failed` row.
- Retry attempts and supporting metadata requests do not create extra dataset rows by themselves.
- Nested media, author and source fields stay inside their parent result.
- A normal empty continuation after earlier successes creates no additional result row.
- Saved failed rows are not assumed to be free. Check the active pricing configuration for their treatment.

Larger page budgets and more inputs can produce more saved rows. Start with a small run and check actual usage before increasing the workload.

### Pinterest related pins API 🔌

Replace `$ACTOR_ID` with the identifier shown in this Actor’s **API** tab and `$APIFY_TOKEN` with your Apify token.

```bash
curl -X POST "https://api.apify.com/v2/acts/$ACTOR_ID/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"inputList":["https://www.pinterest.com/pin/500532946109224497/"],"pagesPerPin":1}'
```

Download JSON, CSV, Excel, XML or other formats available in the Console, or retrieve the dataset through the Apify API. Schedules, webhooks and Apify integrations can connect results to Google Sheets, Make, Zapier, n8n, cloud storage or your own backend. These are connection options rather than integrations already configured by the Actor.

### Reliability, retries, and public-data limits ⚠️

Collection uses pure HTTP with up to five concurrent requests. Invalid syntax and confirmed missing, removed or inaccessible targets stop without unnecessary retries. Temporary network or proxy failures, timeouts, blocking responses, malformed data, throttling and server errors are retried up to five total attempts per request.

Earlier successful pages remain saved when a later request fails. A normal end after previously saved results is not retried. An input that produces no accessible results can receive a failed row; this does not by itself prove the underlying account or collection does not exist. A later exhausted request can append a failed row while keeping earlier output.

Pinterest controls public availability, ranking, fields and pagination. Private, deleted, restricted or otherwise unavailable data can be omitted. Counts can change during collection, and media links can expire. Successful HTTP research confirms the supported request paths and pagination on tested sources, rather than future availability or exhaustive coverage.

Recommendations are a source-controlled sample and are not proof of visual equivalence, product identity or an editorial relationship. The same result found for different seed pins retains each seed’s context. The Actor does not traverse recommendations recursively.

An invalid string within a valid input list does not stop other inputs. A configuration that fails validation, such as a non-string list item or an invalid page-count type, exits before requests start. Infrastructure errors such as startup failure, unavailable dataset storage or an unrecoverable result-save error can stop the whole run. A failed dataset save is not retried as a new scraping request.

### Frequently asked questions ❓

#### Is this a keyword search?

No. It uses a seed pin and collects Pinterest’s related recommendations. Use Pin Search Scraper for search phrases.

#### Does it recursively collect related pins of every result?

No. Pagination stays within the feed of each submitted seed pin.

#### Does it return only visually identical images?

No. Pinterest controls recommendation relevance. Review descriptions, media and original links before interpreting similarity.

#### Does it require Pinterest login or personal cookies?

No. The Actor uses HTTP requests from the public website. It does not require a Pinterest account, password or personal session cookie, and does not launch a browser.

#### What happens to invalid or unavailable inputs?

Invalid individual inputs are saved as failed rows without a source request. Confirmed unavailable targets stop without unnecessary retries. Temporary failures allow up to five total attempts; other inputs and previously saved results remain available.

#### Can I export results or schedule runs?

Yes. Download the default dataset in supported formats or retrieve it through the Apify API. Apify schedules and completion webhooks can connect repeated runs to your own workflow.

### Support, responsible use, and related actors 🛟

For a reproducible issue, use the Actor’s **Issues** tab and provide the run ID, approximate time, safe public input, expected behavior and actual result. Include the selected mode or page count when applicable. Do not share access tokens, cookies or proxy credentials.

Use public data responsibly and follow applicable privacy, copyright, contractual and platform requirements before storing, analyzing or redistributing collected information.

# Actor input Schema

## `inputList` (type: `array`):

Enter numeric Pinterest pin IDs or canonical pin URLs to collect recommended pins.

## `pagesPerPin` (type: `integer`):

Maximum result pages per input. Website page sizes vary; short pages can still have a continuation. Preparation requests do not count as result pages.

## Actor input object example

```json
{
  "inputList": [
    "https://www.pinterest.com/pin/500532946109224497/"
  ],
  "pagesPerPin": 1
}
```

# Actor output Schema

## `pins` (type: `string`):

Individual result rows. Failed rows retain the input and status.

# 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 = {
    "inputList": [
        "https://www.pinterest.com/pin/500532946109224497/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapingmonkey/pinterest-related-pins-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 = { "inputList": ["https://www.pinterest.com/pin/500532946109224497/"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapingmonkey/pinterest-related-pins-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 '{
  "inputList": [
    "https://www.pinterest.com/pin/500532946109224497/"
  ]
}' |
apify call scrapingmonkey/pinterest-related-pins-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapingmonkey/pinterest-related-pins-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/VgbRNFICt0ifRR0my/builds/jrscrsA85FU0QWPPK/openapi.json
