Pinterest Data Extractor avatar
Pinterest Data Extractor
Try for free

3 days trial then $35.00/month - No credit card required now

View all Actors
Pinterest Data Extractor

Pinterest Data Extractor

epctex/pinterest-scraper
Try for free

3 days trial then $35.00/month - No credit card required now

Unleash the potential of our Pinterest Scraper to gather pins, comments, user info, photos, videos, and deep insights. Extract titles, prices, creation date, user language, user locale, images, hashtags, and more. Export in XML, JSON, CSV, Excel, or HTML for unlimited and fast insights!

Actor - Pinterest Scraper

Pinterest scraper

The Pinterest data scraper supports the following features:

  • Retrieve pin information - Get all the information per pin. User information, videos, images, price, language, and many other things!

  • Scrape comments - Harvest all the comments without any limits! Get users, comments, and all the necessary information that you are looking for.

  • Get ideas - Fetch all the pins on an idea link.

  • Scrape user profile and user pins - Track any user and their pins. As easy as clicking a button.

  • Get collections - Want to get all the pins of a collection? Do it with ease with Pinterest Scraper!

  • Search and get any keyword results - Search any keyword you want and retrieve all the results right away.

Bugs, fixes, updates, and changelog

This scraper is under active development. If you have any feature requests you can create an issue from here.

Input Parameters

The input of this scraper should be JSON containing the list of pages on Pinterest that should be visited. Possible fields are:

  • search: (Optional) (String) Keyword that you want to search on Pinterest.

  • startUrls: (Optional) (Array) List of Pinterest URLs. You should only provide pin detail, ideas, user profiles, collections, or search URLs.

  • includeUserInfoOnly: (Optional) (Boolean) Includes only user info for fewer requests and faster results.

  • includeComments: (Optional) (Boolean) This will add all the comments that Pinterest provides into the pin objects. Please keep in mind that the time and resources the actor uses will increase proportionally to the number of comments.

  • endPage: (Optional) (Number) Final number of page that you want to scrape. The default is Infinite. This applies to all search requests and startUrls individually.

  • maxItems: (Optional) (Number) You can limit scraped items. This should be useful when you search through the big lists or search results.

  • proxy: (Required) (Proxy Object) Proxy configuration.

  • extendOutputFunction: (Optional) (String) Function that takes a JQuery handle ($) as an argument and returns an object with data.

  • customMapFunction: (Optional) (String) Function that takes each object's handle as an argument and returns the object with executing the function.

This solution requires the use of Proxy servers, either your own proxy servers or you can use Apify Proxy.

Tip

When you want to scrape over a specific list URL, just copy and paste the link as one of the startUrl.

If you would like to scrape only the first page of a list then put the link for the page and have the endPage as 1.

With the last approach that is explained above you can also fetch any interval of pages. If you provide the 5th page of a list and define the endPage parameter as 6 then you'll have the 5th and 6th pages only.

Compute Unit Consumption

The actor is optimized to run blazing fast and scrape as many items as possible. Therefore, it forefronts all the detailed requests. If the actor doesn't block very often it'll scrape 100 listings in 1 minute with ~0.01-0.02 compute units.

Pinterest Scraper Input example

1{
2  "startUrls":[
3    "https://www.pinterest.com/pin/1054827543951238554/",
4    "https://www.pinterest.com/ideas/beauty/935541271955/",
5    "https://www.pinterest.com/dudadelsanto/",
6    "https://www.pinterest.com/dudadelsanto/nail-inspo/",
7    "https://www.pinterest.com/search/pins/?q=Valentine%E2%80%99s%20Nail%20Art&rs=hub_page"
8  ],
9  "includeUserInfoOnly": false,
10  "proxy":{
11    "useApifyProxy":true
12  },
13  "search":"design",
14  "endPage":1,
15  "maxItems":10,
16  "includeComments":false
17}

During the Run

During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.

If you provide incorrect input to the actor, it will immediately stop with a failure state and output an explanation of what is wrong.

Pinterest Export

During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.

You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this Pinterest actor.

Scraped Pinterest Properties

The structure of each pin on Pinterest looks like this:

Pin Detail

1{
2    "type": "pin",
3    "url": "https://www.pinterest.com/pin/672584525610478245",
4    "access": [],
5    "aggregated_pin_data": {
6        "id": "5177796853051209185",
7        "aggregated_stats": {
8            "saves": 1454,
9            "done": 0
10        },
11        "comment_count": 0,
12        "is_shop_the_look": false
13    },
14    "alt_text": null,
15    "attribution": null,
16    "board": {
17        "category": null,
18        "id": "672584594289335576",
19        "image_cover_url": "https://i.pinimg.com/200x150/61/ff/b5/61ffb537b37630b8a4eb1d8a301839c8.jpg",
20        "map_id": "pinterest.ijz1714i",
21        "owner": {
22            "id": "672584663008554825",
23            "image_medium_url": "https://i.pinimg.com/75x75_RS/3d/34/8d/3d348dde519fe850f2aa7b5d717ced10.jpg",
24            "followed_by_me": false,
25            "full_name": "maria eduarda",
26            "indexed": true,
27            "type": "user",
28            "domain_verified": false,
29            "follower_count": 11680,
30            "username": "dudadelsanto",
31            "is_ads_only_profile": false,
32            "domain_url": null,
33            "explicitly_followed_by_me": false,
34            "blocked_by_me": false,
35            "first_name": "maria eduarda",
36            "locale": "pt-BR",
37            "is_default_image": false,
38            "is_verified_merchant": false,
39            "ads_only_profile_site": null,
40            "image_small_url": "https://i.pinimg.com/30x30_RS/3d/34/8d/3d348dde519fe850f2aa7b5d717ced10.jpg",
41            "verified_identity": {}
42        },
43        "pin_thumbnail_urls": [
44            "https://i.pinimg.com/150x150/b9/c7/25/b9c7251809ebd079fad0d5ab8f65c084.jpg",
45            "https://i.pinimg.com/150x150/86/0d/21/860d21478b7b1090d169391940eac594.jpg",
46            "https://i.pinimg.com/150x150/24/85/18/2485188b43babfa3e74a974e2e75285d.jpg",
47            "https://i.pinimg.com/150x150/a8/6a/d7/a86ad7019453bcc41a3a0dd32c6d50bd.jpg",
48            "https://i.pinimg.com/150x150/53/87/52/5387524714c636595f20cdba053a8526.jpg"
49        ],
50        "url": "/dudadelsanto/nail-inspo/",
51        "privacy": "public",
52        "followed_by_me": false,
53        "type": "board",
54        "description": "",
55        "is_collaborative": false,
56        "layout": "default",
57        "name": "nail inspo",
58        "image_thumbnail_url": "https://i.pinimg.com/upload/672584594289335576_board_thumbnail_2023-01-06-04-21-17_78297_60.jpg",
59        "collaborated_by_me": false,
60        "access": []
61    },
62    "buyable_product_availability": null,
63    "call_to_create_responses_count": 0,
64    "call_to_create_responses_preview_image_urls": [],
65    "call_to_create_source_pin": null,
66    "call_to_create_source_pin_id": null,
67    "can_delete_did_it_and_comments": false,
68    "carousel_data": null,
69    "category": "",
70    "click_through_link_quality": null,
71    "closeup_attribution": {
72        "id": "699535892028793959",
73        "image_medium_url": "https://i.pinimg.com/75x75_RS/2e/af/33/2eaf3346cf7b26067a1f615fd650f344.jpg",
74        "followed_by_me": false,
75        "full_name": "evasiviero",
76        "indexed": false,
77        "type": "user",
78        "domain_verified": false,
79        "follower_count": 10,
80        "username": "lasiviii",
81        "is_ads_only_profile": false,
82        "domain_url": null,
83        "explicitly_followed_by_me": false,
84        "blocked_by_me": false,
85        "first_name": "",
86        "locale": "it",
87        "is_default_image": false,
88        "is_verified_merchant": false,
89        "ads_only_profile_site": null,
90        "image_small_url": "https://i.pinimg.com/30x30_RS/2e/af/33/2eaf3346cf7b26067a1f615fd650f344.jpg",
91        "verified_identity": {}
92    },
93    "closeup_description": null,
94    "closeup_unified_description": " ",
95    "closeup_user_note": " ",
96    "comment_count": 0,
97    "comments_disabled": false,
98    "content_sensitivity": {},
99    "created_at": "Wed, 09 Feb 2022 20:32:10 +0000",
100    "creator_class": null,
101    "creator_class_instance": null,
102    "ctc_source_pin_creator": null,
103    "description": " ",
104    "description_html": " ",
105    "did_it_disabled": false,
106    "domain": "Uploaded by user",
107    "dominant_color": "#a8877d",
108    "embed": null,
109    "formatted_description": {},
110    "grid_title": "馃拝馃徏馃拝馃徏",
111    "hashtags": [],
112    "id": "672584525610478245",
113    "image_medium_url": "https://i.pinimg.com/200x/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg",
114    "image_signature": "c72fd8ee489409cdea7af99f4d944b0c",
115    "images": {
116        "60x60": {
117            "width": 60,
118            "height": 60,
119            "url": "https://i.pinimg.com/60x60/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg"
120        },
121        "136x136": {
122            "width": 136,
123            "height": 136,
124            "url": "https://i.pinimg.com/136x136/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg"
125        },
126        "170x": {
127            "width": 170,
128            "height": 299,
129            "url": "https://i.pinimg.com/170x/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg"
130        },
131        "236x": {
132            "width": 236,
133            "height": 416,
134            "url": "https://i.pinimg.com/236x/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg"
135        },
136        "474x": {
137            "width": 474,
138            "height": 836,
139            "url": "https://i.pinimg.com/474x/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg"
140        },
141        "564x": {
142            "width": 564,
143            "height": 995,
144            "url": "https://i.pinimg.com/564x/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg"
145        },
146        "736x": {
147            "width": 736,
148            "height": 1298,
149            "url": "https://i.pinimg.com/736x/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg"
150        },
151        "600x315": {
152            "width": 600,
153            "height": 315,
154            "url": "https://i.pinimg.com/600x315/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg"
155        },
156        "orig": {
157            "width": 828,
158            "height": 1461,
159            "url": "https://i.pinimg.com/originals/c7/2f/d8/c72fd8ee489409cdea7af99f4d944b0c.jpg"
160        }
161    },
162    "is_call_to_create": true,
163    "is_eligible_for_aggregated_comments": true,
164    "is_eligible_for_brand_catalog": false,
165    "is_eligible_for_pdp": false,
166    "is_hidden": false,
167    "is_native": true,
168    "is_oos_product": false,
169    "is_playable": false,
170    "is_promotable": false,
171    "is_promoted": false,
172    "is_quick_promotable": false,
173    "is_quick_promotable_by_pinner": false,
174    "is_repin": true,
175    "is_stale_product": false,
176    "is_video": false,
177    "is_whitelisted_for_tried_it": true,
178    "last_repin_date": null,
179    "link": null,
180    "link_domain": null,
181    "method": "photos",
182    "mobile_link": null,
183    "native_creator": {
184        "id": "699535892028793959",
185        "image_medium_url": "https://i.pinimg.com/75x75_RS/2e/af/33/2eaf3346cf7b26067a1f615fd650f344.jpg",
186        "followed_by_me": false,
187        "full_name": "evasiviero",
188        "indexed": false,
189        "type": "user",
190        "domain_verified": false,
191        "follower_count": 10,
192        "username": "lasiviii",
193        "is_ads_only_profile": false,
194        "domain_url": null,
195        "explicitly_followed_by_me": false,
196        "blocked_by_me": false,
197        "first_name": "",
198        "locale": "it",
199        "is_default_image": false,
200        "is_verified_merchant": false,
201        "ads_only_profile_site": null,
202        "image_small_url": "https://i.pinimg.com/30x30_RS/2e/af/33/2eaf3346cf7b26067a1f615fd650f344.jpg",
203        "verified_identity": {}
204    },
205    "origin_pinner": {
206        "id": "699535892028793959",
207        "image_medium_url": "https://i.pinimg.com/75x75_RS/2e/af/33/2eaf3346cf7b26067a1f615fd650f344.jpg",
208        "followed_by_me": false,
209        "full_name": "evasiviero",
210        "indexed": false,
211        "type": "user",
212        "domain_verified": false,
213        "follower_count": 10,
214        "username": "lasiviii",
215        "is_ads_only_profile": false,
216        "domain_url": null,
217        "explicitly_followed_by_me": false,
218        "blocked_by_me": false,
219        "first_name": "",
220        "locale": "it",
221        "is_default_image": false,
222        "is_verified_merchant": false,
223        "ads_only_profile_site": null,
224        "image_small_url": "https://i.pinimg.com/30x30_RS/2e/af/33/2eaf3346cf7b26067a1f615fd650f344.jpg",
225        "verified_identity": {}
226    },
227    "pinned_to_board": null,
228    "pinner": {
229        "id": "672584663008554825",
230        "image_medium_url": "https://i.pinimg.com/75x75_RS/3d/34/8d/3d348dde519fe850f2aa7b5d717ced10.jpg",
231        "followed_by_me": false,
232        "full_name": "maria eduarda",
233        "indexed": true,
234        "type": "user",
235        "domain_verified": false,
236        "follower_count": 11680,
237        "username": "dudadelsanto",
238        "is_ads_only_profile": false,
239        "domain_url": null,
240        "explicitly_followed_by_me": false,
241        "blocked_by_me": false,
242        "first_name": "maria eduarda",
243        "locale": "pt-BR",
244        "is_default_image": false,
245        "is_verified_merchant": false,
246        "ads_only_profile_site": null,
247        "image_small_url": "https://i.pinimg.com/30x30_RS/3d/34/8d/3d348dde519fe850f2aa7b5d717ced10.jpg",
248        "verified_identity": {}
249    },
250    "price_currency": "USD",
251    "price_value": 0,
252    "privacy": "public",
253    "product_pin_data": null,
254    "promoted_is_removable": false,
255    "promoter": null,
256    "reaction_counts": {},
257    "related_article": {},
258    "repin_count": 0,
259    "rich_metadata": null,
260    "section": null,
261    "seo_description": "6/fev/2022 - maria encontrou este Pin. Encontre (e salve!) seus pr贸prios Pins no Pinterest.",
262    "seo_noindex_reason": null,
263    "seo_title": "馃拝馃徏馃拝馃徏 | Unhas estranhas, Unhas coloridas, Unhas desenhadas",
264    "seo_url": "/pin/672584525610478245/",
265    "share_count": 0,
266    "shopping_flags": [],
267    "shopping_rec_disabled": false,
268    "should_redirect_id_only_url_to_text_url": false,
269    "sponsorship": null,
270    "story_pin_data": null,
271    "story_pin_data_id": null,
272    "third_party_pin_owner": null,
273    "title": "馃拝馃徏馃拝馃徏",
274    "tracked_link": null,
275    "tracking_params": "CwABAAAAEDUwMDQyMzE3MTAyMDkzNzgLAAcAAAAPdW5rbm93bi91bmtub3duAA",
276    "tracking_params_map": {
277        "PinResource": "CwABAAAAEDUwMDQyMzE3MTAyMDkzNzgLAAcAAAAPdW5rbm93bi91bmtub3duAA"
278    },
279    "via_pinner": {
280        "id": "52776764291687360",
281        "image_medium_url": "https://i.pinimg.com/75x75_RS/d0/a8/d5/d0a8d580f1578b6e23bf8ecf0d7ef04f.jpg",
282        "followed_by_me": false,
283        "full_name": "Sarah Cristina",
284        "indexed": true,
285        "type": "user",
286        "domain_verified": false,
287        "follower_count": 11,
288        "username": "sarahcsr_",
289        "is_ads_only_profile": false,
290        "domain_url": null,
291        "explicitly_followed_by_me": false,
292        "blocked_by_me": false,
293        "first_name": "Sarah",
294        "locale": "pt-BR",
295        "is_default_image": false,
296        "is_verified_merchant": false,
297        "ads_only_profile_site": null,
298        "image_small_url": "https://i.pinimg.com/30x30_RS/d0/a8/d5/d0a8d580f1578b6e23bf8ecf0d7ef04f.jpg",
299        "verified_identity": {}
300    },
301    "videos": null
302}

Contact

Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? devops@epctex.com is at your service.

Developer
Maintained by Community
Actor metrics
  • 37 monthly users
  • 99.9% runs succeeded
  • 0.4 days response time
  • Created in Feb 2023
  • Modified about 5 hours ago