Pintarest Details Scraper avatar

Pintarest Details Scraper

Pricing

Pay per usage

Go to Apify Store
Pintarest Details Scraper

Pintarest Details Scraper

Scrape Pinterest pins, boards, profiles & search results in one click. Extract images, engagement metrics, creator info & comments. Supports keyword search, direct URLs, ideas & search pages with smart pagination. Ideal for market research & content discovery.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Md Firoz Islam

Md Firoz Islam

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

3 hours ago

Last modified

Share

πŸ“Œ Pinterest Details Scraper

A production-ready Apify Actor for scraping structured Pinterest data using search queries and direct Pinterest URLs (pins, profiles, boards, ideas, and search pages).

Works in two modes:

  • Direct scrape mode β€” scrapes Pinterest directly (requires proxy for high volume)
  • API mode β€” routes requests through your own backend API (API_URL + PINTEREST_API_KEY)

✨ Features

  • πŸ” Keyword Search β€” collect Pinterest pins using plain text search queries
  • πŸ“Œ Pin Details β€” title, description, images (orig/564x/236x), engagement metrics, board info, comments
  • πŸ“‹ Board Scraping β€” all pins from any public board with full pagination
  • πŸ‘€ User Profile β€” follower/following counts, board count, monthly views, verified status
  • πŸ’‘ Ideas URL Support β€” auto-converts /ideas/<topic>/... to keyword search
  • πŸ”— Search URL Support β€” scrapes /search/pins/?q=... URLs directly
  • πŸ”„ Automatic URL Classification β€” detects pin, profile, board, ideas, or search URL automatically
  • πŸ“œ Optional Comments β€” fetch comments for individual pin URLs
  • πŸ“„ Pagination Control β€” max_items and end_page for fine-tuned result limits
  • πŸ” Retry Logic β€” automatic retries and safe error handling
  • 🧹 Structured JSON Output β€” clean, normalized data ready for analytics or storage

πŸš€ How to Use

Step 1 β€” Choose Your Input

Use search queries, start URLs, or both.

Search by Keywords

{
"queries": ["home decor", "fashion ideas", "logo design"]
}

Scrape by Direct URLs

{
"start_urls": [
"https://www.pinterest.com/pin/123456789/",
"https://www.pinterest.com/username/",
"https://www.pinterest.com/username/boardname/",
"https://www.pinterest.com/ideas/beauty/935541271955/",
"https://www.pinterest.com/search/pins/?q=Valentine%E2%80%99s%20Nail%20Art"
]
}

Step 2 β€” Configure Optional Settings

{
"max_items": 50,
"end_page": 3,
"include_comments": true,
"only_user_info": false
}

Step 3 β€” Run the Actor

  • Save your input configuration
  • Click Run in the Apify Console
  • Monitor logs for real-time progress
  • Access results in the Apify Dataset

πŸ“₯ Input Parameters

ParameterTypeDefaultDescription
queriesstring[]β€”Pinterest keyword searches
start_urlsstring[]β€”Direct Pinterest URLs to scrape
include_commentsbooleanfalseInclude comments for pin detail URLs
only_user_infobooleanfalseReturn only profile/board metadata (no pins)
max_itemsinteger20Max items per URL or query
end_pageinteger1Pagination depth (increase for more results)

πŸ“€ Output Examples

Search Result

{
"type": "search_query",
"query": "dress",
"count": 20,
"items": [
{
"pin_id": "846324954995310675",
"url": "https://www.pinterest.com/pin/846324954995310675",
"title": "Red Sequins V-neck Long 1920s Dress",
"description": "Fabric: Sequins...",
"link": "https://zapaka.com/products/red-sequins-dress",
"dominant_color": "#732e2b",
"image_original": "https://i.pinimg.com/originals/48/a0/f5/48a0f5.jpg",
"image_564": "https://i.pinimg.com/564x/48/a0/f5/48a0f5.jpg",
"image_236": "https://i.pinimg.com/236x/48/a0/f5/48a0f5.jpg",
"creator_username": "zapakaretro",
"creator_fullname": "Zapaka Retro",
"creator_profile_url": "https://www.pinterest.com/zapakaretro/",
"repin_count": 1423,
"like_count": 0,
"comment_count": 2,
"is_promoted": false
}
]
}

Pin Detail

{
"type": "pin_detail",
"source_url": "https://www.pinterest.com/pin/4222193395681386/",
"count": 1,
"items": [
{
"type": "pin",
"url": "https://www.pinterest.com/pin/4222193395681386/",
"id": "4222193395681386",
"description": "Beautiful minimalist design",
"grid_title": "Modern Home",
"dominant_color": "#65625e",
"created_at": "Sun, 23 Nov 2025 23:29:44 +0000",
"repin_count": 179,
"like_count": 0,
"share_count": 12,
"comment_count": 0,
"images": {
"236x": { "url": "https://i.pinimg.com/236x/55/86/54/558654.jpg" },
"564x": { "url": "https://i.pinimg.com/564x/55/86/54/558654.jpg" },
"orig": { "url": "https://i.pinimg.com/originals/55/86/54/558654.jpg" }
},
"board": {
"name": "Home Ideas",
"privacy": "public",
"owner": { "username": "johndoe", "full_name": "John Doe" }
},
"comments": []
}
]
}

User Profile

{
"type": "user_profile",
"source_url": "https://www.pinterest.com/dudadelsanto/",
"count": 1,
"items": [
{
"type": "user",
"id": "495648099432234901",
"url": "https://www.pinterest.com/dudadelsanto/",
"username": "dudadelsanto",
"full_name": "Duda Del Santo",
"about": "Fashion & beauty enthusiast",
"follower_count": 15200,
"following_count": 430,
"board_count": 48,
"pin_count": 3200,
"monthly_views": 2100000,
"verified_identity": {}
}
]
}

βš™οΈ Environment Variables

VariableRequiredDescription
PROXY_HOSTNoProxy host:port (e.g. p.webshare.io:80)
PROXY_USERNoProxy username
PROXY_PASSNoProxy password
API_URLNoBackend API URL (enables API mode)
PINTEREST_API_KEYNoAPI key for backend API mode

πŸ”§ Project Structure

pinterest-details-scraper/
β”œβ”€β”€ .actor/
β”‚ └── actor.json # Apify actor configuration
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ __init__.py
β”‚ └── scraper.py # Core scraping functions
β”œβ”€β”€ main.py # Actor entry point
β”œβ”€β”€ Dockerfile # Docker build config
β”œβ”€β”€ requirements.txt # Python dependencies
β”œβ”€β”€ input_schema.json # Apify input schema
└── README.md

πŸ›  How It Works

  1. Reads input from Apify (queries and start_urls)
  2. Processes keyword searches via Pinterest's internal search API
  3. Auto-classifies each URL as pin, profile, board, ideas, or search
  4. Fetches data with full pagination support
  5. Pushes structured JSON results to the Apify Dataset

⚠️ Error Handling

  • Unsupported URLs are safely skipped with a log message
  • All requests use retry logic (3 attempts) with 2-second delays
  • Clear error logs via Actor.log.error()
  • Graceful handling of missing or empty API responses

πŸ“Œ Use Cases

  • Pinterest market & trend research
  • Content inspiration & discovery
  • Social media analytics
  • Lead generation for creators/brands
  • Data aggregation for dashboards

πŸ“„ License

Free to use and extend for your own projects.