Pinterest Scraper | All-In-One avatar

Pinterest Scraper | All-In-One

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Pinterest Scraper | All-In-One

Pinterest Scraper | All-In-One

Scrape Pinterest pins by search keyword or public board URL. Extracts pin URLs, images, and titles using a headless browser that auto-scrolls to load more results. Fast and configurable — great for content research, trend tracking, moodboards, and dataset building from public Pinterest pages.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Biddut Hossain

Biddut Hossain

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Categories

Share

Pinterest Scraper

Scrape Pinterest pins by search keyword or public board URL. Extracts pin URLs, images, and titles using a headless browser (Playwright) that auto-scrolls to load more results.

Features

  • Search Pinterest by keyword, or scrape a specific public board
  • Auto-scrolls to load more pins up to your requested limit
  • Deduplicates pins automatically
  • Outputs clean, structured data ready for export (JSON/CSV/Excel)

Input

FieldTypeDescription
searchQuerystringKeyword to search on Pinterest. Leave empty if using boardUrl.
boardUrlstringDirect URL of a public Pinterest board. Leave empty if using searchQuery.
maxItemsintegerMaximum number of pins to scrape. Default: 50.

You must provide either searchQuery or boardUrl.

Example input

{
"searchQuery": "minimalist home decor",
"maxItems": 100
}

Output

Each scraped pin is pushed to the Actor's default dataset as an object:

{
"pinUrl": "https://www.pinterest.com/pin/123456789/",
"imageUrl": "https://i.pinimg.com/....jpg",
"title": "Minimalist Living Room Ideas"
}

View results in Storage → Dataset in Apify Console, or export as JSON, CSV, or Excel.

How it works

  1. Reads searchQuery or boardUrl from input and builds the starting Pinterest URL.
  2. Launches a headless Chromium browser via Playwright.
  3. Scrolls the page repeatedly to trigger Pinterest's lazy-loading of additional pins.
  4. Extracts the pin link, image URL, and title (alt text) for each pin card found.
  5. Pushes all collected, de-duplicated pins to the dataset.

Project structure

.actor/
actor.json # Actor metadata & config
input_schema.json # Defines the input form shown in Apify Console
src/
main.py # Actor entry point / scraping logic
Dockerfile # Build instructions (Python + Playwright/Chromium)
requirements.txt # Python dependencies
README.md

Notes & limitations

  • Pinterest's page markup can change over time, which may break the CSS selector used to find pin cards (div[data-test-id="pin"]). If the dataset comes back empty, inspect the live page in your browser's dev tools and update the selector in src/main.py.
  • Only public pages (public search results and public boards) can be scraped — private boards require a logged-in session, which this Actor does not handle.
  • Scraping Pinterest is against Pinterest's Terms of Service. Use responsibly, keep request volume reasonable, and don't republish scraped content commercially.

Running locally (optional, not required)

If you ever want to run this outside Apify Console:

pip install -r requirements.txt
playwright install --with-deps chromium
python -m src.main