Instagram Scraper
Dapatkan data profile, postingan dan lainnya dengan lengkap dan konsisten.
Get User Profile
Profil lengkap sebuah akun Instagram. Catatan: reelsCount menghitung story highlights, bukan jumlah reels — nama field ini dipertahankan demi kompatibilitas. Pakai endpoint reels untuk daftar reels yang sebenarnya.
/v1/social-media:instagram-scraper/profile/:usernameParameters
| Name | Type | In | Description |
|---|---|---|---|
| username | string | path | Username (with/without @) atau full Instagram URL. Required. |
Example response
{"project":"social-media:instagram-scraper", "data": {"fbId":"17841451905315511","avatar":"https://scontent-cgk2-2.cdninstagram.com/v/t51.82787-19/726673833_18058625930730178_3553335559014356943_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby43MzYuYzIifQ&_nc_ht=scontent-cgk2-2.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2gGTHOKdjS1zaO2ToIwuPuopT4NFVYz-S_M0oTJXvtcCNlQ3N39Z_Fgfllgljg4DIpU&_nc_ohc=XIBgrMwUyLcQ7kNvwEAtuQG&_nc_gid=qhGQUycdgxNrh3X6dGgBog&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AQFfPHz0iZd-bNVqFTArJT4F6fM9I4ZbwXKt2gUTWFynXQ&oe=6A70C306&_nc_sid=8b3546","userId":"51884090177", "bioLinks": [ {"url":"https://jaa.web.id","title":"🌟 My Website","linkType":"external" }, {"url":"https://github.com/zeative","title":"🔥 Open Source Project","linkType":"external" }, {"url":"https://trakteer.id/zaadevofc","title":"😻 Trakteer Laptop Ajaib","linkType":"external" }, {"url":"https://zpi.web.id","title":"💥 Free Rest APi","linkType":"external" } ],"category":"Digital creator","fullName":"Kejaa | Fullstack Developer","username":"zaadevofc","biography":"🌟 Fullstack Developer\n💯 Golang x Typescript\n💌 Contact Me 👇🏻","isPrivate":false,"postCount":21,"isVerified":false,"reelsCount":6,"externalUrl":"https://jaa.web.id/","followerCount":5654,"followingCount":217,"isBusinessAccount":false,"isProfessionalAccount":true },"timestamp":"2026-06-13T03:11:20Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Get User Posts
Postingan sebuah akun Instagram, per halaman. Catatan: total selalu null karena sumber datanya tidak mengirim jumlah keseluruhan di jalur ini. Ambil postCount dari endpoint profile kalau butuh totalnya.
/v1/social-media:instagram-scraper/posts/:usernameParameters
| Name | Type | In | Description |
|---|---|---|---|
| username | string | path | Username (with/without @) atau full Instagram URL. Required. |
| page | number | query | Nomor halaman. Default 1, max 50. Per page 12 post. |
Example response
{"project":"social-media:instagram-scraper", "data": {"page":1,"count":12, "posts": [ {"url":"https://www.instagram.com/p/Dbzo5YBGNLF/","type":"carousel","image":"https://scontent-cgk2-2.cdninstagram.com/v/t51.82787-15/771843829_18582417154075834_512596331335769987_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=Mzk1OTY2ODE1NjEzMDcxNjI1MA%3…","width":2000, "author": {"avatar":"https://scontent-cgk2-2.cdninstagram.com/v/t51.82787-19/749652868_18576613621075834_3305084378993563391_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqY…","userId":"2274763833","fullName":"BTS official","username":"bts.bighitofficial","isVerified":true },"height":2666,"postId":"3959688362047623877","caption":"BTS WORLD TOUR ‘ARIRANG’ IN FOXBOROUGH\n\n#방탄소년단 #BTS #BTS_WORLDTOUR_ARIRANG\n#BTS_WORLDTOUR_ARIRANG_NA\n#BTS_WORLDTOUR_ARIRANG_FOXBOROUGH","isVideo":false,"takenAt":1786251601, "carousel": [ {"image":"https://scontent-cgk2-2.cdninstagram.com/v/t51.82787-15/771843829_18582417154075834_512596331335769987_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=Mzk1OTY2ODE1NjEzMDcxNjI1MA%3…","width":2000,"height":2666,"mediaType":1 } ],"likeCount":2943381,"playCount":0,"shortcode":"Dbzo5YBGNLF","viewCount":0,"isCarousel":true,"takenAtIso":"2026-08-09T05:00:01.000Z","productType":"carousel_container","commentCount":15007 } ],"total":null,"userId":"2274763833","hasMore":true,"nextPage":2,"username":"bts.bighitofficial" },"timestamp":"2026-06-13T03:11:20Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Get Detail Post
One Instagram post or reel by URL or shortcode: caption, author, hashtags, mentions, image or video URL, dimensions, carousel flag, like and comment counts, and when it was posted.
/v1/social-media:instagram-scraper/post/:idParameters
| Name | Type | In | Description |
|---|---|---|---|
| id | string | path | Shortcode atau full Instagram post/reel URL (mis. https://instagram.com/p/DTPPJbZETtf). |
| url | string | query | Full Instagram post/reel URL — alias untuk id (dipakai bulk async scraping). |
Example response
{"project":"social-media:instagram-scraper", "data": {"url":"https://www.instagram.com/p/Dbru79IAdH-/","type":"reel","image":"https://scontent-cgk2-2.cdninstagram.com/v/t51.82787-15/766074324_18683503753019133_3711038265165025656_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=101&ig_cache_key=Mzk1NzQ2MzEyNzc5NjMzOTE5O…","video":"https://scontent-cgk2-1.cdninstagram.com/o1/v/t2/f2/m86/AQMIgrJKbqOmUon_sgZkkOa0Kcfrruc2VJBj-KZOee_sruT965YiNkJbRdgBOHpfegWGEWy4wY8chFaeC0IXIpe5dmA5i5QhxKoqYJc.mp4?_nc_cat=108&_nc_…","width":1080, "author": {"avatar":"https://scontent-cgk2-2.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5j…","userId":"787132","fullName":"National Geographic","username":"natgeo","isPrivate":false,"isVerified":true },"height":1920,"postId":"3957463127796339198","caption":"This young cub could be king… he’s just got some growing up to do first.\n\nWitness Kio's real-life journey from cub to king in #NatGeoLION, a new National Geographic documentary ser…","isVideo":true,"takenAt":1786024802, "hashtags": [ "NatGeoLION" ], "mentions": [ "DisneyPlus", "hulu." ],"likeCount":206896,"shortcode":"Dbru79IAdH-","isCarousel":false,"takenAtIso":"2026-08-06T14:00:02.000Z","productType":"clips","commentCount":1379 },"timestamp":"2026-06-13T03:11:20Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Get Post Comments
Comments on an Instagram post or reel by URL or shortcode, up to `limit`. Each comment has the author, text, like count, reply count and time.
/v1/social-media:instagram-scraper/comments/:idParameters
| Name | Type | In | Description |
|---|---|---|---|
| id | string | path | Shortcode or full Instagram post/reel URL (e.g. https://instagram.com/p/C32pChvPdoC). |
| url | string | query | Full post/reel URL — alias for `id` (used by bulk async scraping). |
| limit | number | query | Maximum number of comments. Default 50, max 200. |
Example response
{"project":"social-media:instagram-scraper", "data": {"url":"https://www.instagram.com/p/DbYwp2MArz2/","count":8,"total":225064,"postId":"3952122654932253942","hasMore":true, "comments": [ {"text":"<img src=\"https://cdn.fbsbx.com/v/t59.2708-21/590094220_1520373489205470_4279519019551692983_n.gif?_nc_cat=111&ccb=1-7&_nc_sid=9dcd69&_nc_ohc=pqaLoAqJvjEQ7kNvwFsilij&_nc_oc=AdqpzOn…", "author": {"avatar":"https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/769441744_18084712277250302_4092064938451308434_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW…","username":"rx_lohan","profileUrl":"https://www.instagram.com/rx_lohan/" },"likeCount":0,"replyCount":0,"createdAtIso":"2026-08-10T12:12:44.000Z","relativeTime":"2 minutes ago" }, {"text":"🔥🔥🔥", "author": {"avatar":"https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/670772666_18073221431333458_4836484433215236668_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW…","username":"eminem7cr","profileUrl":"https://www.instagram.com/eminem7cr/" },"likeCount":0,"replyCount":0,"createdAtIso":"2026-08-10T12:12:19.000Z","relativeTime":"2 minutes ago" }, {"text":"The greatest of all time", "author": {"avatar":"https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/670772666_18073221431333458_4836484433215236668_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW…","username":"eminem7cr","profileUrl":"https://www.instagram.com/eminem7cr/" },"likeCount":0,"replyCount":0,"createdAtIso":"2026-08-10T12:12:15.000Z","relativeTime":"2 minutes ago" } ],"shortcode":"DbYwp2MArz2" },"timestamp":"2026-06-13T03:11:20Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Get User Stories
Active stories (posted in the last 24 hours) of a public Instagram account, by username.
/v1/social-media:instagram-scraper/stories/:usernameParameters
| Name | Type | In | Description |
|---|---|---|---|
| username | string | path | Username (with/without @) or full Instagram URL. Required. |
Example response
{"project":"social-media:instagram-scraper","data":null,"timestamp":"2026-06-13T03:11:20Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Get User Reels
Reels sebuah akun Instagram.
/v1/social-media:instagram-scraper/reels/:usernameParameters
| Name | Type | In | Description |
|---|---|---|---|
| username | string | path | Instagram username (with or without @). Required. |
| cursor | string | query | Cursor from a previous response's `cursor` field. |
Example response
{"project":"social-media:instagram-scraper", "data": {"count":12, "reels": [ {"url":"https://www.instagram.com/reel/DbsdMYRgN3c/","caption":"Video by @joelsartore | Did someone say 18k? I’m thrilled to announce the 18,000th species to join the Photo Ark: the red handfish. As its name implies, this species belongs to a f…","likeCount":3503,"shortcode":"DbsdMYRgN3c","thumbnail":"https://s5.imginn.com/766320661_18683446726019133_2262153474795372438_n.jpg?t51.82787-15/766320661_18683446726019133_2262153474795372438_n.jpg?stp=dst-jpg_e35_p720x720_sh2.08_tt6&_…","commentCount":46,"relativeTime":"35 minutes ago" }, {"url":"https://www.instagram.com/reel/DbrNlfeg60B/","caption":"Black rhinos once again roam Matusadona National Park, decades after poachers turned the Zimbabwean refuge into what one conservationist called “a killing zone for rhinos.” As comm…","likeCount":17801,"shortcode":"DbrNlfeg60B","thumbnail":"https://s5.imginn.com/763980688_18683325880019133_5147937262801553304_n.jpg?t51.82787-15/763980688_18683325880019133_5147937262801553304_n.jpg?stp=dst-jpg_e35_p720x720_sh2.08_tt6&_…","commentCount":86,"relativeTime":"12 hours ago" }, {"url":"https://www.instagram.com/reel/DbqMfjACc5m/","caption":"Ready for another Latin lesson with Professor Tom?\n\n#PompeiiOutOfTime with Tom Hiddleston is now streaming on @DisneyPlus and @hulu","likeCount":5979,"shortcode":"DbqMfjACc5m","thumbnail":"https://s5.imginn.com/763357144_18618535330043047_8022383244983440671_n.jpg?t51.82787-15/763357144_18618535330043047_8022383244983440671_n.jpg?stp=dst-jpg_e35_p720x720_sh2.08_tt6&_…","commentCount":56,"relativeTime":"21 hours ago" } ],"cursor":"QVFEYWJOeldGdmVidElKOXc1V0ZXZ1ZIVnpnZlhPZGxhUWVqX3NGUFNjYk5xMG9jUkM5WlRPWE1WeXkxd1dzZGhKTjJnNWxzbmdZa05FTVc4OU9NRDNFTA==","userId":"787132","hasMore":true,"username":"natgeo" },"timestamp":"2026-06-13T03:11:20Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Get Tagged Posts
Postingan tempat sebuah akun Instagram ditandai.
/v1/social-media:instagram-scraper/tagged/:usernameParameters
| Name | Type | In | Description |
|---|---|---|---|
| username | string | path | Instagram username (with or without @). Required. |
| cursor | string | query | Cursor from a previous response's `cursor` field. |
Example response
{"project":"social-media:instagram-scraper", "data": {"count":12, "posts": [ {"url":"https://www.instagram.com/p/BrGHMHIF8Kz/","image":"https://scontent-atl3-2.cdninstagram.com/v/t51.82787-15/640956567_18562047613037433_6822966074348684895_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=102&ig_cache_key=MTkyOTI2MTEwODk4NjEwMjQ1M…", "owner": {"userId":"429173","username":"hynecheck" },"postId":"1929261108986102451","caption":"Vardzia is a cave monastery site located in southern Georgia. It is excavated from the slopes of the Erusheti Mountain on the left side of the Kura River. Oh Georgia, I miss you wh…","isVideo":false,"isSidecar":false,"likeCount":14031,"shortcode":"BrGHMHIF8Kz","thumbnail":"https://s5.imginn.com/640956567_18562047613037433_6822966074348684895_n.jpg?t51.82787-15/640956567_18562047613037433_6822966074348684895_n.jpg?stp=dst-jpg_e35_p828x828_tt6&_nc_cat=…","commentCount":581 }, {"url":"https://www.instagram.com/p/BrGAGBxFvn7/","image":"https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/630462428_18409600975125917_7503154876014188463_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=103&ig_cache_key=MTkyOTIyOTkwNDU4OTAyNzgzN…", "owner": {"userId":"276524869","username":"samuellemieux" },"postId":"1929229904589027835","caption":"No helmet needed once your on Cát Bà Island.\n.\nCát Bà Island || Vietnam\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\nShot on EOS T3i and SIGMA 85mm F1.4 EX DG HSM\nISO 100 | f/1.4 | 1/2000\n——\n#v…","isVideo":false,"isSidecar":false,"likeCount":6181,"shortcode":"BrGAGBxFvn7","thumbnail":"https://s5.imginn.com/630462428_18409600975125917_7503154876014188463_n.jpg?t51.82787-15/630462428_18409600975125917_7503154876014188463_n.jpg?stp=dst-jpg_e35_s828x828_tt6&_nc_cat=…","commentCount":182 }, {"url":"https://www.instagram.com/p/BrF5A8wADke/","image":"https://scontent-atl3-2.cdninstagram.com/v/t51.82787-15/639492080_18437172370118532_7460465766046979666_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=101&ig_cache_key=MTkyOTE5ODc2OTI3OTA4ODkyN…", "owner": {"userId":"1423130965","username":"canusatouristik" },"postId":"1929198769279088926","caption":"☀️Warme Sonnenstrahlen, herrliche Seeluft und weicher Sandstrand - erlebt den ewigen Sommer in Florida😍 Die rund 700 Kilometer lange Landzunge zwischen dem Atlantik und dem Golf v…","isVideo":false,"isSidecar":false,"likeCount":5572,"shortcode":"BrF5A8wADke","thumbnail":"https://s5.imginn.com/639492080_18437172370118532_7460465766046979666_n.jpg?t51.82787-15/639492080_18437172370118532_7460465766046979666_n.jpg?stp=dst-jpg_e35_s828x828_tt6&_nc_cat=…","commentCount":205 } ],"cursor":"1928051354388873282","userId":"787132","hasMore":true,"username":"natgeo" },"timestamp":"2026-06-13T03:11:20Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Hashtag Posts
Recent public posts for an Instagram hashtag (shortcode, caption, image, author), ~8 per page, page 1-10.
/v1/social-media:instagram-scraper/hashtag-posts/:nameParameters
| Name | Type | In | Description |
|---|---|---|---|
| name | string | path | Nama hashtag, dengan atau tanpa #. Required. |
| page | number | query | Nomor halaman. Default 1, max 10. Per page ±8–12 post. |
Example response
{"project":"social-media:instagram-scraper","data":null,"timestamp":"2026-06-13T03:11:20Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Try it
Live request with your key
const data = await client.run( "social-media:instagram-scraper", "profile", { username: "zaadevofc" });
Instagram Scraper
Dapatkan data profile, postingan dan lainnya dengan lengkap dan konsisten.
Profil lengkap sebuah akun Instagram. Catatan: reelsCount menghitung story highlights, bukan jumlah reels — nama field ini dipertahankan demi kompatibilitas. Pakai endpoint reels untuk daftar reels yang sebenarnya.
/v1/…instagram-scraper/profile/:usernameTry it
Parameters
username
string · path · required
Username (with/without @) atau full Instagram URL.
Example response
{"project":"social-media:instagram-scraper", "data": {"fbId":"17841451905315511","avatar":"https://scontent-cgk2-2.cdninstagram.com/v/t51.82787-19/726673833_18058625930730178_3553335559014356943_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby43MzYuYzIifQ&_nc_ht=scontent-cgk2-2.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2gGTHOKdjS1zaO2ToIwuPuopT4NFVYz-S_M0oTJXvtcCNlQ3N39Z_Fgfllgljg4DIpU&_nc_ohc=XIBgrMwUyLcQ7kNvwEAtuQG&_nc_gid=qhGQUycdgxNrh3X6dGgBog&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AQFfPHz0iZd-bNVqFTArJT4F6fM9I4ZbwXKt2gUTWFynXQ&oe=6A70C306&_nc_sid=8b3546","userId":"51884090177", "bioLinks": [ {"url":"https://jaa.web.id","title":"🌟 My Website","linkType":"external" }, {"url":"https://github.com/zeative","title":"🔥 Open Source Project","linkType":"external" }, {"url":"https://trakteer.id/zaadevofc","title":"😻 Trakteer Laptop Ajaib","linkType":"external" }, {"url":"https://zpi.web.id","title":"💥 Free Rest APi","linkType":"external" } ],"category":"Digital creator","fullName":"Kejaa | Fullstack Developer","username":"zaadevofc","biography":"🌟 Fullstack Developer\n💯 Golang x Typescript\n💌 Contact Me 👇🏻","isPrivate":false,"postCount":21,"isVerified":false,"reelsCount":6,"externalUrl":"https://jaa.web.id/","followerCount":5654,"followingCount":217,"isBusinessAccount":false,"isProfessionalAccount":true },"timestamp":"2026-06-13T03:11:20Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Code
const data = await client.run( "social-media:instagram-scraper", "profile", { username: "zaadevofc" });