# Pinterest Ads Library Scraper - Ad Repository, Reach, Targeting (`adintel-labs/pinterest-ad-repository-scraper`) Actor

Scrape Pinterest ads from the public Pinterest Ads Repository (EU, NO, BR, TR) by advertiser, country or category: title, description, image/video, landing page, run dates, reach by country, age/gender/interest targeting. No login. $2 / 1,000 ads.

- **URL**: https://apify.com/adintel-labs/pinterest-ad-repository-scraper.md
- **Developed by:** [Abi Fadeyi](https://apify.com/adintel-labs) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 ad scrapeds

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

## Pinterest Ads Library Scraper — Pinterest Ads Repository: promoted pins, reach & targeting

**Export Pinterest ads (promoted pins) from the public Pinterest Ads Repository — title, description, image/video, landing page, run dates, reach by country and age/gender/interest targeting — for the EU, Norway, Brazil and Turkey. No Pinterest login.**

Scrape **Pinterest ads** from the public [Pinterest Ads Repository](https://ads.pinterest.com/ads-repository/) — Pinterest's official ad library for ads shown in the **EU, Norway, Brazil and Turkey**. Search by **advertiser**, **country**, **ad category** and **date range** and get clean JSON with the **pin title, description, full-size image/video, landing page, start/end dates, reach by country and disclosed targeting** (age, gender, interests, audience types, keywords).

Built by **AdIntel Labs** on the repository's public JSON endpoints: no Pinterest login, no browser, fast and stable, with automatic 30-day window splitting, retries, proxy-session rotation and daily automated health checks.

### What can you do with it?

- **Pinterest competitor research** — every promoted pin a competitor ran in Europe, with landing pages and reach.
- **E-commerce & home/fashion brands** — study catalog and shopping ads, product titles and creative styles by category.
- **Audience intelligence** — see which interests, age groups and retargeting audiences rivals use.
- **Trend & creative inspiration** — browse all ads in a country and category (e.g. *Home decor* in Germany) without choosing an advertiser.
- **Monitoring** — schedule weekly runs over the last 30 days.

### Quick start

1. Click **Try for free** (or *Start*) — the input is pre-filled with a small, fast example.
2. Change the brand / keyword, set *Max results*, and press **Start**.
3. Download the ads as JSON, CSV, Excel or HTML, or fetch them via API / integrations below.

```json
{
  "advertisers": ["IKEA Deutschland"],
  "countries": ["DE"],
  "maxResults": 20
}
```

Leave `advertisers` empty to browse all ads in a country (optionally filtered by `category`).

### Why this Pinterest Ads Repository scraper?

| | This Actor |
|---|---|
| Speed | ~0.2–0.5 s per ad with pin details (20 ads in ~10 s) |
| Date ranges | Any range in the last 12 months — split into 30-day windows automatically (the repository silently returns nothing for longer ranges) |
| Landing pages | Resolves each ad pin for **landing URL, domain, advertiser profile, original image / video** |
| Targeting | Age buckets, genders, interests, audience types (visitor retargeting, customer lists, act-alikes), keyword usage |
| Billing | Pay only for ads delivered (`ad-scraped`) |

### What data can you extract?

`adId`, `advertiserName`, `advertiserUsername`, `advertiserProfileUrl`, `advertiserVerified`, `title`, `description`, `format` (IMAGE / VIDEO / CAROUSEL / SHOPPING), `imageUrl`, `imageUrls`, `videoUrl`, `landingPageUrl`, `domain`, `startDate`, `endDate`, `countries`, `reachEu`, `reachByCountry`, `targeting` (ageBuckets, genders, interests, audienceTypes, keywordsUsed, regions, metros…), `isCommercial`, `pinCreatedAt`, `pinUrl`, `scrapedAt`, optional `aiAnalysis`.

### Full input example

```json
{
  "advertisers": ["IKEA Deutschland"],
  "countries": ["DE", "AT"],
  "category": "ALL",
  "dateFrom": "2026-06-01",
  "maxResults": 100,
  "includePinDetails": true
}
```

Leave `advertisers` empty to browse all ads in the chosen countries and category.

### Sample output (real record, trimmed)

```json
{
  "platform": "pinterest",
  "adId": "4591842138727332224",
  "advertiserName": "IKEA Deutschland",
  "advertiserProfileUrl": "https://www.pinterest.com/ikeadeutschland/",
  "title": "IKEA – RANARP | Dein neues Lieblingsstück wartet auf dich.",
  "description": "RANARP Hängeleuchte. schwarz. max.: 22 W",
  "format": "IMAGE",
  "imageUrl": "https://i.pinimg.com/originals/29/1b/09/291b09d232af9976c07da5159e493e88.jpg",
  "landingPageUrl": "https://www.ikea.com/de/de/p/ranarp-haengeleuchte-schwarz-20390951/",
  "domain": "ikea.com",
  "startDate": "2026-07-18",
  "endDate": "2026-11-16",
  "countries": ["DE"],
  "reachEu": { "min": 0, "max": 10000, "text": "0 - 10000" },
  "targeting": { "ageBuckets": ["18+"], "genders": ["UNSPECIFIED", "FEMALE", "MALE"], "audienceTypes": ["VISITOR"], "keywordsUsed": false },
  "pinUrl": "https://www.pinterest.com/pin/4591842138727332224/"
}
```

### Pricing (pay per event — no subscription)

You pay only for results. With Apify pay-per-event pricing there is no separate compute charge for this Actor — just the events below.

| Event | Price | Per 1,000 | When |
|---|---|---|---|
| `ad-scraped` | $0.002 | $2.00 | Each ad written to your dataset (primary) |
| `ai-ad-analysis` | $0.02 | $20.00 | Optional, only when enabled and successful |
| Actor start | $0.00005 | — | Apify standard start event, once per run |

Example: 1,000 Pinterest ads with pin details = **$2.00**; 100 ads = $0.20.

Set **Max cost per run** (or `maxTotalChargeUsd` via the API) and the run stops cleanly at your budget. New Apify accounts get free monthly platform credit, which you can use to try this Actor.

### FAQ

**Which ads are included?** Pinterest publishes ads shown to users in the EU, Norway, Brazil and Turkey during the last 12 months. US-only campaigns are not in the repository.

**How do I find the exact advertiser name?** The Actor looks names up for you and uses the closest match (e.g. "IKEA" → "IKEA"); for country-specific accounts use names like "IKEA Deutschland" or "IKEA France".

**Is it legal?** The Ads Repository is a public, login-free transparency tool required by the EU Digital Services Act. The Actor collects advertiser-level ad data only — no personal data.

**Do I need a proxy?** No — Apify's default datacenter proxy works; the Actor rotates sessions and upgrades to residential automatically if Pinterest throttles.

**Can I run it on a schedule?** Yes. Create an Apify Schedule (daily, weekly, cron) for this Actor or a saved task. To get alerts only when something changes, use the [Competitor Ad Tracker](https://apify.com/adintel-labs/competitor-ad-tracker).

**Can I use it from an AI agent or my own app?** Yes — via the Apify API, the `apify-client` SDKs, n8n, Make, Zapier or the Apify MCP server. See *Integrations & API* below.

**Something broke or a field is missing?** Open an issue on the Issues tab with your run ID. We run automated health checks on every AdIntel Labs Actor daily and fix breakages as quickly as we can.

### Integrations & API

Use this Actor from code, no-code tools or AI agents:

- **REST API** — `POST https://api.apify.com/v2/acts/adintel-labs~pinterest-ad-repository-scraper/run-sync-get-dataset-items?token=<APIFY_TOKEN>` with the input JSON as the body returns the ads directly (waits up to 5 minutes; use `/runs` + webhooks for longer jobs).
- **n8n** — Apify node (`@apify/n8n-nodes-apify`) → *Run an Actor and get dataset*, Actor `adintel-labs/pinterest-ad-repository-scraper`.
- **Make** — Apify app → *Run an Actor* (run synchronously) → *Get Dataset Items*, or trigger on *Watch Actor Runs*.
- **Zapier** — Apify app → *Run Actor* action, or *Finished Actor Run* trigger + *Fetch Dataset Items* (for runs longer than Zapier's 30 s sync limit).
- **AI agents (MCP)** — add `https://mcp.apify.com?tools=adintel-labs/pinterest-ad-repository-scraper` to Claude, Cursor, VS Code or any MCP client; the Actor appears as the tool `adintel-labs--pinterest-ad-repository-scraper`.
- **Schedules & webhooks** — run it daily/weekly with Apify Schedules and push results to Slack, Google Sheets, Airtable, S3 and more.

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('adintel-labs/pinterest-ad-repository-scraper').call({"advertisers": ["IKEA Deutschland"], "countries": ["DE"], "maxResults": 20}, { maxTotalChargeUsd: 1 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

```python
import os
from apify_client import ApifyClient  # pip install apify-client
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("adintel-labs/pinterest-ad-repository-scraper").call(run_input={"advertisers": ["IKEA Deutschland"], "countries": ["DE"], "maxResults": 20})
for ad in client.dataset(run.default_dataset_id).iterate_items():  # apify-client 1.x: run["defaultDatasetId"]
    print(ad)
```

### More AdIntel Labs ad-library Actors

All built for the same job — competitor ad research — with a similar clean JSON schema and pay-per-ad pricing:

- [Google Ads Transparency Scraper](https://apify.com/adintel-labs/google-ads-transparency-scraper) — Search, Display & YouTube ads from the Google Ads Transparency Center
- [Facebook / Meta Ads Library Scraper](https://apify.com/adintel-labs/meta-ad-library-scraper) — Facebook & Instagram ads from the Meta Ad Library
- [LinkedIn Ad Library Scraper](https://apify.com/adintel-labs/linkedin-ad-library-scraper) — B2B ads with EU impressions & targeting
- [TikTok Ads Scraper](https://apify.com/adintel-labs/tiktok-ad-library-scraper) — Creative Center Top Ads + EU Ad Library (Beta)
- [Bing / Microsoft Ad Library Scraper](https://apify.com/adintel-labs/microsoft-ad-library-scraper) — Bing search & shopping ads shown in the EU/EEA
- [Snapchat Ads Library Scraper](https://apify.com/adintel-labs/snapchat-ad-library-scraper) — Snap Ads Gallery creatives & impressions (EU + TR)
- [Competitor Ad Tracker](https://apify.com/adintel-labs/competitor-ad-tracker) — scheduled alerts when competitors launch or stop ads on all 7 libraries

Browse them all at [apify.com/adintel-labs](https://apify.com/adintel-labs).

# Actor input Schema

## `advertisers` (type: `array`):

Advertiser names as listed in the Pinterest Ads Repository (e.g. "IKEA Deutschland", "adidas"). Closest match is used if the name is not exact. Leave empty to browse all ads in the selected countries.

## `countries` (type: `array`):

2-letter codes where ads were shown: EU countries plus NO, BR, TR (e.g. DE, FR, IT). One request series per country.

## `category` (type: `string`):

Pinterest ad category filter.

## `gender` (type: `string`):

Only ads targeted at this gender.

## `dateFrom` (type: `string`):

Start of the period (YYYY-MM-DD). Default: 30 days ago. Long ranges are split into 30-day windows automatically (library keeps 12 months).

## `dateTo` (type: `string`):

End of the period (YYYY-MM-DD). Default: today.

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

Maximum ads returned for EACH advertiser x country (or each country when browsing).

## `includePinDetails` (type: `boolean`):

Fetch each ad pin for the landing page URL, domain, advertiser profile, full-size image/video and creation date (1 extra request per ad).

## `includeAiAnalysis` (type: `boolean`):

Adds aiAnalysis (angle, hook, offer, audience, emotional triggers, funnel stage) to each ad. Charged per successfully analysed ad only.

## `llmApiKey` (type: `string`):

OpenAI-compatible API key. Leave empty to use the Actor's built-in key (if configured).

## `llmModel` (type: `string`):

Model name for the OpenAI-compatible endpoint.

## `llmBaseUrl` (type: `string`):

OpenAI-compatible base URL (OpenAI, OpenRouter, Groq, xAI...).

## `detailConcurrency` (type: `integer`):

Parallel pin-detail requests.

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

Pinterest's public repository endpoints work from Apify datacenter proxy (default); the Actor rotates sessions and auto-upgrades to RESIDENTIAL after repeated 403/429s.

## Actor input object example

```json
{
  "advertisers": [
    "IKEA Deutschland"
  ],
  "countries": [
    "DE"
  ],
  "category": "ALL",
  "gender": "ALL",
  "maxResults": 20,
  "includePinDetails": true,
  "includeAiAnalysis": false,
  "llmModel": "gpt-4o-mini",
  "llmBaseUrl": "https://api.openai.com/v1",
  "detailConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `ads` (type: `string`):

Dataset of all Pinterest Ads Repository ads collected in this run.

## `runStats` (type: `string`):

Key-value store record with request counts, proxy details, and finish time.

# 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 = {
    "advertisers": [
        "IKEA Deutschland"
    ],
    "countries": [
        "DE"
    ],
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("adintel-labs/pinterest-ad-repository-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 = {
    "advertisers": ["IKEA Deutschland"],
    "countries": ["DE"],
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("adintel-labs/pinterest-ad-repository-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 '{
  "advertisers": [
    "IKEA Deutschland"
  ],
  "countries": [
    "DE"
  ],
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call adintel-labs/pinterest-ad-repository-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,adintel-labs/pinterest-ad-repository-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/8XV7RAp9almeECRq6/builds/5INRXAWGy5r8abmcC/openapi.json
