Instagram Post Scraper avatar

Instagram Post Scraper

Deprecated
View all Actors
This Actor is deprecated

This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?

See alternative Actors
Instagram Post Scraper

Instagram Post Scraper

anish0612/instagram-post-scraper

Scrape Instagram Post Information such as Likes,Comments,Ower Id etc...

Apify Actor: Instagram Post Detail Scraper

This Apify actor scrapes details from public Instagram posts based on a provided username or hashtag.

Important Note:

Respect Instagram's terms of service and avoid scraping excessively. This script focuses on public information and functionality might change due to updates in Instagram's API or structure.

Functionalities:

  • Scrapes details from public Instagram posts.
  • Targets posts based on username or hashtag.
  • Potential scraped data includes:
    • Post caption
    • Like count
    • Comments (limited by Instagram)
    • Post date and time
    • Media URL (image or video)
    • Additional details depending on implementation

Output example

1{
2    "id": "3284925016524545699",
3    "shortcode": "C2WZeXzvV6j",
4    "thumbnail_src": "https://scontent.cdninstagram.com/v/t51.29350-15/420154361_744219007325614_4614996776157844166_n.jpg?stp=c0.210.540.540a_dst-jpg_e15&_nc_ht=scontent.cdninstagram.com&_nc_cat=1&_nc_ohc=SApfPfS-upQAX8fxrW3&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfDXcUC-CFFY0ufmsvqt-iXudEU_XeU4jeQ6UEXAL03T6A&oe=65E923CE&_nc_sid=10d13b",
5    "dimensions": {
6        "height": 1137,
7        "width": 640
8    },
9    "gating_info": null,
10    "fact_check_overall_rating": null,
11    "fact_check_information": null,
12    "sensitivity_friction_info": null,
13    "sharing_friction_info": {
14        "should_have_sharing_friction": false,
15        "bloks_app_url": null
16    },
17    "media_overlay_info": null,
18    "media_preview": "ABgq6AEHqf1qlPfiF9m1mAxlh0Gf54qV5ioyBkZxnOB75/pWRdyCR/3fzDjJ/wAPb+vtS9BrzN0sPX9aKqG7Qx7kPoPcZ9uf/wBdFDdgSuUrx2YlQRgYOMc1nq2Ff6fzNad7CrqXzyB0B61lbMBse386pbEsfaOVlXAyOcj2xRS2cAkZskrgf1opMpWRsuN6lSoGRjPeqZshgjJ5qQk0zJpBYfb24gJP3sjHIoqPcfWigD//2Q==",
19    "display_url": "https://scontent.cdninstagram.com/v/t51.29350-15/420154361_744219007325614_4614996776157844166_n.jpg?stp=dst-jpg_e15&_nc_ht=scontent.cdninstagram.com&_nc_cat=1&_nc_ohc=SApfPfS-upQAX8fxrW3&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfDodF0V1HGzdOXgjn7fpuwgPMuWt991ztOZi8dCXrHr7w&oe=65E923CE&_nc_sid=10d13b",
20    "accessibility_caption": null,
21    "dash_info": {
22        "is_dash_eligible": false,
23        "video_dash_manifest": null,
24        "number_of_qualities": 0
25    },
26    "has_audio": true,
27    "video_url": "https://scontent.cdninstagram.com/v/t66.30100-16/54645285_353711480804390_5216537976387625394_n.mp4?_nc_ht=scontent.cdninstagram.com&_nc_cat=102&_nc_ohc=EIksl4erfPgAX99KkME&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfCyz_MsDTl7OrvxOXrKlQfbuW8UWE1N5tTBuHpVWSLBkg&oe=65E8C1A2&_nc_sid=10d13b",
28    "video_view_count": 5995706,
29    "video_play_count": 35232078,
30    "encoding_status": null,
31    "is_published": true,
32    "product_type": "clips",
33    "title": "",
34    "video_duration": 31.371,
35    "clips_music_attribution_info": {
36        "artist_name": "virat.kohli",
37        "song_name": "Original audio",
38        "uses_original_audio": true,
39        "should_mute_audio": false,
40        "should_mute_audio_reason": "",
41        "audio_id": "1050210796207410"
42    },
43    "is_video": true,
44    "tracking_token": "eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiOTc5NTM5M2Q2YThhNGQzMDk2ODY4ZDBmNmJlM2E0MWQzMjg0OTI1MDE2NTI0NTQ1Njk5In0sInNpZ25hdHVyZSI6IiJ9",
45    "upcoming_event": null,
46    "edge_media_to_tagged_user": {
47        "edges": [
48            {
49                "node": {
50                    "user": {
51                        "full_name": "O'cean Beverages",
52                        "followed_by_viewer": false,
53                        "id": "2569121441",
54                        "is_verified": false,
55                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/407421352_716390383890903_971251227398769157_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=1&_nc_ohc=e1CtXg4gM4QAX8JbcQw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfBWLNoJ4xGZuwNlq94xXmLDOn4YnaICleJ9euYM_ei1jA&oe=65EB7BF2&_nc_sid=10d13b",
56                        "username": "oceanbeverages"
57                    },
58                    "x": 0,
59                    "y": 0,
60                    "id": "3284925016524545699@2569121441"
61                }
62            }
63        ]
64    },
65    "owner": {
66        "id": "2094200507",
67        "username": "virat.kohli",
68        "is_verified": true,
69        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/331017149_3373809859551320_1963035851400324431_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=1&_nc_ohc=PlJK-fGIIWkAX82Cst-&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfAj-EP5WhbJS84uBPX9EmQxGGgI_gBB2kysJJ-NSH-eZw&oe=65ECB516&_nc_sid=10d13b",
70        "blocked_by_viewer": false,
71        "restricted_by_viewer": null,
72        "followed_by_viewer": false,
73        "full_name": "Virat Kohli",
74        "has_blocked_viewer": false,
75        "is_embeds_disabled": false,
76        "is_private": false,
77        "is_unpublished": false,
78        "requested_by_viewer": false,
79        "pass_tiering_recommendation": true,
80        "edge_owner_to_timeline_media": {
81            "count": 1678
82        },
83        "edge_followed_by": {
84            "count": 266867050
85        }
86    },
87    "edge_media_to_caption": {
88        "edges": [
89            {
90                "node": {
91                    "created_at": "1705813672",
92                    "text": "Research reveals that O’cean Fruit Water has built quite a devoted fan following. Shockingly, not because of me, but all thanks to its tasty tropical flavours, B-Vitamins and minerals. Must admit, I’m a big fan too. Try O’cean now : Use code VK10 to get a flat 10% off at www.oceanbeverages.in @oceanbeverages\n\nAvailable at your nearest stores and leading e-commerce platforms.🛒\n\n#Newlaunch #Livelylychee #OceanBeverages #OceanFruitWater #Hydration #SupremeHydration #OceanDrinks #FruitWater #NaturalFlavours #ad",
93                    "id": "18013087994165000"
94                }
95            }
96        ]
97    },
98    "can_see_insights_as_brand": false,
99    "caption_is_edited": false,
100    "has_ranked_comments": false,
101    "like_and_view_counts_disabled": false,
102    "edge_media_to_parent_comment": {
103        "count": 20579,
104        "page_info": {
105            "has_next_page": false,
106            "end_cursor": null
107        },
108        "edges": [
109            {
110                "node": {
111                    "id": "18026027677949741",
112                    "text": "8826976209 unlimited bat kare",
113                    "created_at": 1709659493,
114                    "did_report_as_spam": false,
115                    "owner": {
116                        "id": "65535195817",
117                        "is_verified": false,
118                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/431489760_366371916198064_3782748852289368796_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=104&_nc_ohc=16WpFG9Mr-kAX_u8XfN&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfBzkm-6Qz2lBLZ9kHUESOOx4_bovcy8tbnvYVVXObuWEg&oe=65EBBA66&_nc_sid=10d13b",
119                        "username": "sizam__22j"
120                    },
121                    "viewer_has_liked": false,
122                    "edge_liked_by": {
123                        "count": 0
124                    },
125                    "is_restricted_pending": false,
126                    "edge_threaded_comments": {
127                        "count": 0,
128                        "page_info": {
129                            "has_next_page": false,
130                            "end_cursor": null
131                        },
132                        "edges": []
133                    }
134                }
135            },
136            {
137                "node": {
138                    "id": "18036108070772950",
139                    "text": "Virat",
140                    "created_at": 1709658844,
141                    "did_report_as_spam": false,
142                    "owner": {
143                        "id": "57732967747",
144                        "is_verified": false,
145                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/328721419_1209478809996644_6191065055594062696_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=108&_nc_ohc=SFVg4Qhfx1EAX_k92W2&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfDnn9pcj85EVpHSoGk0rs5UbqREaJOosDymoJV3hF-64g&oe=65EC68E7&_nc_sid=10d13b",
146                        "username": "mon.ster9989"
147                    },
148                    "viewer_has_liked": false,
149                    "edge_liked_by": {
150                        "count": 0
151                    },
152                    "is_restricted_pending": false,
153                    "edge_threaded_comments": {
154                        "count": 0,
155                        "page_info": {
156                            "has_next_page": false,
157                            "end_cursor": null
158                        },
159                        "edges": []
160                    }
161                }
162            },
163            {
164                "node": {
165                    "id": "17861820723099401",
166                    "text": "Jaldi jaldi comment kar lun, server down h , sabko dikhega comment 😍",
167                    "created_at": 1709658763,
168                    "did_report_as_spam": false,
169                    "owner": {
170                        "id": "45084768769",
171                        "is_verified": false,
172                        "profile_pic_url": "https://scontent-iad3-1.cdninstagram.com/v/t51.2885-19/44884218_345707102882519_2446069589734326272_n.jpg?_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=1&_nc_ohc=kUHULkQ0wX0AX_cJAb_&edm=AAAAAAABAAAA&ccb=7-5&ig_cache_key=YW5vbnltb3VzX3Byb2ZpbGVfcGlj.2-ccb7-5&oh=00_AfADv5uywKLbYajZ2omIHX6MoKzys976obc3-5Py0p9eqQ&oe=65EBC60F&_nc_sid=2c5659",
173                        "username": "deepak_sharma20k"
174                    },
175                    "viewer_has_liked": false,
176                    "edge_liked_by": {
177                        "count": 0
178                    },
179                    "is_restricted_pending": false,
180                    "edge_threaded_comments": {
181                        "count": 0,
182                        "page_info": {
183                            "has_next_page": false,
184                            "end_cursor": null
185                        },
186                        "edges": []
187                    }
188                }
189            },
190            {
191                "node": {
192                    "id": "18001572902400200",
193                    "text": "🔥🔥🔥🔥",
194                    "created_at": 1709658433,
195                    "did_report_as_spam": false,
196                    "owner": {
197                        "id": "42972083943",
198                        "is_verified": false,
199                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/429816127_421774290514422_3334587425831230537_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=106&_nc_ohc=67u3dXvg0mcAX82KeCk&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfBvl6D_j2UXy1BMpAp_lJHtQJTRNLk6XvWGsG91gGRmYg&oe=65ED3124&_nc_sid=10d13b",
200                        "username": "varun_thakur_fitt"
201                    },
202                    "viewer_has_liked": false,
203                    "edge_liked_by": {
204                        "count": 0
205                    },
206                    "is_restricted_pending": false,
207                    "edge_threaded_comments": {
208                        "count": 0,
209                        "page_info": {
210                            "has_next_page": false,
211                            "end_cursor": null
212                        },
213                        "edges": []
214                    }
215                }
216            },
217            {
218                "node": {
219                    "id": "18017328038152839",
220                    "text": "❤️",
221                    "created_at": 1709658382,
222                    "did_report_as_spam": false,
223                    "owner": {
224                        "id": "47896233087",
225                        "is_verified": false,
226                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/426117051_1515632132560802_269823959555331985_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=102&_nc_ohc=J2Cb7r3PJioAX8K9waz&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfBR36Py7wXC9XVDWSS0YjAx0vlCkxoG65li-TS8mZ-BmQ&oe=65EC4AEA&_nc_sid=10d13b",
227                        "username": "_mohit_bxt"
228                    },
229                    "viewer_has_liked": false,
230                    "edge_liked_by": {
231                        "count": 0
232                    },
233                    "is_restricted_pending": false,
234                    "edge_threaded_comments": {
235                        "count": 0,
236                        "page_info": {
237                            "has_next_page": false,
238                            "end_cursor": null
239                        },
240                        "edges": []
241                    }
242                }
243            },
244            {
245                "node": {
246                    "id": "18043275034598912",
247                    "text": "🙌🙌🙌🙌",
248                    "created_at": 1709645682,
249                    "did_report_as_spam": false,
250                    "owner": {
251                        "id": "5442153318",
252                        "is_verified": false,
253                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/425560992_1128713728302439_2861427298622702160_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=107&_nc_ohc=LhiHGFMinJUAX81YiK6&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfDB_i1ojhhZD9Pj-Wzqpe8MlcjcZ5EF6M3CGWRZ_FPJcQ&oe=65EB790E&_nc_sid=10d13b",
254                        "username": "mo.hayatkhan_"
255                    },
256                    "viewer_has_liked": false,
257                    "edge_liked_by": {
258                        "count": 0
259                    },
260                    "is_restricted_pending": false,
261                    "edge_threaded_comments": {
262                        "count": 0,
263                        "page_info": {
264                            "has_next_page": false,
265                            "end_cursor": null
266                        },
267                        "edges": []
268                    }
269                }
270            },
271            {
272                "node": {
273                    "id": "18086124862379786",
274                    "text": "❤️❤️❤️❤️❤️",
275                    "created_at": 1709645679,
276                    "did_report_as_spam": false,
277                    "owner": {
278                        "id": "5442153318",
279                        "is_verified": false,
280                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/425560992_1128713728302439_2861427298622702160_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=107&_nc_ohc=LhiHGFMinJUAX81YiK6&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfDB_i1ojhhZD9Pj-Wzqpe8MlcjcZ5EF6M3CGWRZ_FPJcQ&oe=65EB790E&_nc_sid=10d13b",
281                        "username": "mo.hayatkhan_"
282                    },
283                    "viewer_has_liked": false,
284                    "edge_liked_by": {
285                        "count": 0
286                    },
287                    "is_restricted_pending": false,
288                    "edge_threaded_comments": {
289                        "count": 0,
290                        "page_info": {
291                            "has_next_page": false,
292                            "end_cursor": null
293                        },
294                        "edges": []
295                    }
296                }
297            },
298            {
299                "node": {
300                    "id": "18027967312936011",
301                    "text": "🔥🔥🔥🔥🔥",
302                    "created_at": 1709645677,
303                    "did_report_as_spam": false,
304                    "owner": {
305                        "id": "5442153318",
306                        "is_verified": false,
307                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/425560992_1128713728302439_2861427298622702160_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=107&_nc_ohc=LhiHGFMinJUAX81YiK6&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfDB_i1ojhhZD9Pj-Wzqpe8MlcjcZ5EF6M3CGWRZ_FPJcQ&oe=65EB790E&_nc_sid=10d13b",
308                        "username": "mo.hayatkhan_"
309                    },
310                    "viewer_has_liked": false,
311                    "edge_liked_by": {
312                        "count": 0
313                    },
314                    "is_restricted_pending": false,
315                    "edge_threaded_comments": {
316                        "count": 0,
317                        "page_info": {
318                            "has_next_page": false,
319                            "end_cursor": null
320                        },
321                        "edges": []
322                    }
323                }
324            }
325        ]
326    },
327    "edge_media_to_hoisted_comment": {
328        "edges": []
329    },
330    "edge_media_preview_comment": {
331        "count": 20579,
332        "edges": [
333            {
334                "node": {
335                    "id": "18036108070772950",
336                    "text": "Virat",
337                    "created_at": 1709658844,
338                    "did_report_as_spam": false,
339                    "owner": {
340                        "id": "57732967747",
341                        "is_verified": false,
342                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/328721419_1209478809996644_6191065055594062696_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=108&_nc_ohc=SFVg4Qhfx1EAX_k92W2&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfDnn9pcj85EVpHSoGk0rs5UbqREaJOosDymoJV3hF-64g&oe=65EC68E7&_nc_sid=10d13b",
343                        "username": "mon.ster9989"
344                    },
345                    "viewer_has_liked": false,
346                    "edge_liked_by": {
347                        "count": 0
348                    },
349                    "is_restricted_pending": false
350                }
351            },
352            {
353                "node": {
354                    "id": "18026027677949741",
355                    "text": "8826976209 unlimited bat kare",
356                    "created_at": 1709659493,
357                    "did_report_as_spam": false,
358                    "owner": {
359                        "id": "65535195817",
360                        "is_verified": false,
361                        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/431489760_366371916198064_3782748852289368796_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=104&_nc_ohc=16WpFG9Mr-kAX_u8XfN&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfBzkm-6Qz2lBLZ9kHUESOOx4_bovcy8tbnvYVVXObuWEg&oe=65EBBA66&_nc_sid=10d13b",
362                        "username": "sizam__22j"
363                    },
364                    "viewer_has_liked": false,
365                    "edge_liked_by": {
366                        "count": 0
367                    },
368                    "is_restricted_pending": false
369                }
370            }
371        ]
372    },
373    "comments_disabled": false,
374    "commenting_disabled_for_viewer": false,
375    "taken_at_timestamp": 1705813671,
376    "edge_media_preview_like": {
377        "count": 1266818,
378        "edges": []
379    },
380    "edge_media_to_sponsor_user": {
381        "edges": [
382            {
383                "node": {
384                    "sponsor": {
385                        "id": "2569121441",
386                        "username": "oceanbeverages"
387                    },
388                    "id": "2569121441"
389                }
390            }
391        ]
392    },
393    "is_affiliate": false,
394    "is_paid_partnership": true,
395    "location": null,
396    "nft_asset_info": null,
397    "viewer_has_liked": false,
398    "viewer_has_saved": false,
399    "viewer_has_saved_to_collection": false,
400    "viewer_in_photo_of_you": false,
401    "viewer_can_reshare": true,
402    "is_ad": false,
403    "edge_web_media_to_related_media": {
404        "edges": []
405    },
406    "coauthor_producers": [
407        {
408            "id": "2569121441",
409            "is_verified": false,
410            "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/407421352_716390383890903_971251227398769157_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=1&_nc_ohc=e1CtXg4gM4QAX8JbcQw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfBWLNoJ4xGZuwNlq94xXmLDOn4YnaICleJ9euYM_ei1jA&oe=65EB7BF2&_nc_sid=10d13b",
411            "username": "oceanbeverages"
412        }
413    ],
414    "pinned_for_users": []
415}
Developer
Maintained by Community