Pinterest Scraper | All-In-One
Pricing
from $1.00 / 1,000 results
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
Maintained by CommunityActor 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
| Field | Type | Description |
|---|---|---|
searchQuery | string | Keyword to search on Pinterest. Leave empty if using boardUrl. |
boardUrl | string | Direct URL of a public Pinterest board. Leave empty if using searchQuery. |
maxItems | integer | Maximum 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
- Reads
searchQueryorboardUrlfrom input and builds the starting Pinterest URL. - Launches a headless Chromium browser via Playwright.
- Scrolls the page repeatedly to trigger Pinterest's lazy-loading of additional pins.
- Extracts the pin link, image URL, and title (alt text) for each pin card found.
- Pushes all collected, de-duplicated pins to the dataset.
Project structure
.actor/actor.json # Actor metadata & configinput_schema.json # Defines the input form shown in Apify Consolesrc/main.py # Actor entry point / scraping logicDockerfile # Build instructions (Python + Playwright/Chromium)requirements.txt # Python dependenciesREADME.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 insrc/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.txtplaywright install --with-deps chromiumpython -m src.main