Post
GET/v1/instagram/post1 credit
Returns a single post or reel: caption, media URLs, like and comment counts, play count, owner, location, tagged users, music and the first comments.
01Query parameters
| Name | Type | Description |
|---|---|---|
| urlrequired | string | Link to the post or reel (`/p/…`, `/reel/…` or `/tv/…`). A bare shortcode also works. |
| include_play_countoptional | boolean | Set to `false` to skip the reel play count lookup, which makes the call faster; `video_play_count` is then not filled.Default: true |
| trimoptional | boolean | Set to `true` for a slimmer answer that keeps only the most used fields.Default: false |
| cache_max_ageoptional | string | Accepted for compatibility. Every call is fetched fresh, so any allowed value gives the same live answer; any other value is a free 400.Accepted values:1d3d7d14d30d |
02Request
curl "https://api.scrapesocial.ai/v1/instagram/post?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FDecPSQfoaRe%2F" \ -H "x-api-key: $SCRAPESOCIAL_KEY"
03Responses
Real answers from the API. Lists are shortened to 2 items.
GET /v1/instagram/post?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FDecPSQfoaRe%2F
{
"success": true,
"credits_remaining": 4980,
"credits_charged": 1,
"data": {
"xdt_shortcode_media": {
"__typename": "XDTGraphVideo",
"__isXDTGraphMediaInterface": "XDTGraphVideo",
"id": "4007144993811702878",
"shortcode": "DecPSQfoaRe",
"thumbnail_src": "https://instagram.fist11-1.fna.fbcdn.net/v/t51.82787-15/847181832_18707500537019133_1918713844998405984_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=111&ig_cache_key=NDAwNzE0NDk5MzgxMTcwMjg3ODE4NzA3NTAwNTMxMDE5MTMz.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEwODAuc2RyLnZpZGVvX2RlZmF1bHRfY292ZXJfZnJhbWUuQzMifQ%3D%3D&_nc_ohc=v0trSDbVK8IQ7kNvwG3wevk&_nc_oc=AdqkyM4pxM1jk-Mo63Z1ydrO…",
"display_url": "https://instagram.fist11-1.fna.fbcdn.net/v/t51.82787-15/847181832_18707500537019133_1918713844998405984_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=111&ig_cache_key=NDAwNzE0NDk5MzgxMTcwMjg3ODE4NzA3NTAwNTMxMDE5MTMz.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEwODAuc2RyLnZpZGVvX2RlZmF1bHRfY292ZXJfZnJhbWUuQzMifQ%3D%3D&_nc_ohc=v0trSDbVK8IQ7kNvwG3wevk&_nc_oc=AdqkyM4pxM1jk-Mo63Z1ydrO…",
"video_url": "https://instagram.fist11-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQM6iQ1ip15lFl6fgHwC7-oXcT6r1oH_duCkuEwF1T6kLi_3ucfYJpWwheceItNNsdppXf6kzzCTMP5-RcgVQ86lnSLle4cYTKKi-YI.mp4?_nc_cat=102&_nc_oc=Adprh895VOdGQwCeMQJWBgArdtjksIDNF5zMKIaIjgab-x7lcmpblxGhY630sBPRUts&_nc_sid=5e9851&_nc_ht=instagram.fist11-1.fna.fbcdn.net&_nc_ohc=2MmGs-y1ij8Q7kNvwHCAYUw&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0…",
"video_play_count": 989250,
"has_audio": true,
"product_type": "clips",
"video_duration": 30.03,
"is_video": true,
"owner": {
"id": "787132",
"username": "natgeo",
"is_verified": true,
"profile_pic_url": "https://scontent.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=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy40MDAuQzMifQ%3D%3D&_nc_ohc=Wrw6QVW6ynMQ7kNvwEgCctA&_nc_oc=AdpX3Dh1WLVxONB4X7HQWCqYzuViSBchzBV3938kEa_WAGrSd3S3UI9zpu0S8H2sI9s&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=Bwdyl6HcwrtA3k-0…",
"full_name": "National Geographic"
},
"edge_media_to_caption": {
"edges": [
{
"node": {
"id": "4007144993811702878",
"text": "Presented by National Geographic Society in partnership with @Rolex. In the face of a changing world, these explorers are not giving up hope for our seas. Narrated by @auliicravalho, set sail across all five ocean basins in Expedition: Saving Our Seas, premiering Friday, November 13 at 9/8c on @natgeotv. Streaming next day on @DisneyPlus and @hulu.\n\nRolex and The National Geographic Society are pa…",
"created_at": "1791909007"
}
}
]
},
"created_at": "2026-10-13T16:30:08.000Z",
"taken_at_timestamp": 1791909008,
"edge_media_preview_like": {
"count": 22592,
"edges": []
},
"like_and_view_counts_disabled": false,
"comment_count": 117,
"edge_media_preview_comment": {
"count": 117,
"edges": [
{
"node": {
"id": "18130995436828109",
"text": "The sequence across these slides is stunning! Great work",
"owner": {
"id": "46021735312",
"username": "penguin.8656465",
"is_verified": false,
"profile_pic_url": "https://scontent.cdninstagram.com/v/t51.82787-19/642971158_18042956444535313_7384894640051603948_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4zMjAuQzMifQ%3D%3D&_nc_ohc=Jpd0nggV_coQ7kNvwFJ41zm&_nc_oc=AdpK6oGZnwg9S6GGXhjoBJW9Hq1_E8xm8iYTM78ffymRYT4k8Vr8IT0Q_-0KsOMFLNY&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=Bwdyl6HcwrtA3k…",
"full_name": ""
},
"edge_liked_by": {
"count": 0
},
"created_at": 1792903412
}
},
{
"node": {
"id": "18088850396295390",
"text": "#FlavioIrmaoDoTigrinho",
"owner": {
"id": "44470621342",
"username": "lamanitafungi",
"is_verified": false,
"profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/158270056_2679004639057404_6343831689224677911_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=101&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy41MDAuQzMifQ%3D%3D&_nc_ohc=c4gKPxREPLkQ7kNvwEYeueF&_nc_oc=AdrhygBwpqtitpm3r7_W_y159kkc9jxgodoeBThvwFlEU4p_WFQOWRJmzhNnldrABig&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_ss=7b289&oh=00_AQN9x…",
"full_name": ""
},
"edge_liked_by": {
"count": 0
},
"created_at": 1792808293
}
}
]
},
"edge_media_to_parent_comment": {
"count": 117,
"edges": [
{
"node": {
"id": "18130995436828109",
"text": "The sequence across these slides is stunning! Great work",
"owner": {
"id": "46021735312",
"username": "penguin.8656465",
"is_verified": false,
"profile_pic_url": "https://scontent.cdninstagram.com/v/t51.82787-19/642971158_18042956444535313_7384894640051603948_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4zMjAuQzMifQ%3D%3D&_nc_ohc=Jpd0nggV_coQ7kNvwFJ41zm&_nc_oc=AdpK6oGZnwg9S6GGXhjoBJW9Hq1_E8xm8iYTM78ffymRYT4k8Vr8IT0Q_-0KsOMFLNY&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=Bwdyl6HcwrtA3k…",
"full_name": ""
},
"edge_liked_by": {
"count": 0
},
"created_at": 1792903412
}
},
{
"node": {
"id": "18088850396295390",
"text": "#FlavioIrmaoDoTigrinho",
"owner": {
"id": "44470621342",
"username": "lamanitafungi",
"is_verified": false,
"profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/158270056_2679004639057404_6343831689224677911_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=101&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy41MDAuQzMifQ%3D%3D&_nc_ohc=c4gKPxREPLkQ7kNvwEYeueF&_nc_oc=AdrhygBwpqtitpm3r7_W_y159kkc9jxgodoeBThvwFlEU4p_WFQOWRJmzhNnldrABig&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_ss=7b289&oh=00_AQN9x…",
"full_name": ""
},
"edge_liked_by": {
"count": 0
},
"created_at": 1792808293
}
}
]
},
"edge_media_to_tagged_user": {
"edges": []
},
"clips_music_attribution_info": {
"artist_name": "natgeo",
"song_name": "Original audio",
"uses_original_audio": true,
"should_mute_audio": false,
"should_mute_audio_reason": "",
"audio_id": "28464707746543474"
},
"clips_metadata": {
"music_info": null,
"original_sound_info": {
"audio_asset_id": "28464707746543474",
"original_audio_title": "Original audio",
"ig_artist": {
"username": "natgeo",
"id": "787132"
},
"is_explicit": false,
"should_mute_audio": false,
"consumption_info": {
"should_mute_audio_reason": "",
"is_trending_in_clips": false
},
"audio_filter_infos": []
}
},
"is_ad": false,
"is_paid_partnership": false,
"location": null,
"coauthor_producers": []
}
},
"extensions": {
"is_final": true
},
"status": "ok"
}Common to every endpoint
Any route can answer these: a missing or wrong key, no credits left, the platform not answering, or a failure on our side. None of them costs credits.
GET /v1/cosmos/profile?handle=design
{
"success": false,
"message": "Invalid API key"
}04Notes
The post is under `data.xdt_shortcode_media`. A deleted or unknown post is a free 404, a URL that is not an Instagram post a free 400, and a post Instagram hides from the public a free 403 (`restricted`).
05Errors & credits
Every error has success: false, a real HTTP status and costs no credits.
400missing_parameter
A required parameter is missing or invalid.
403private_account
The account is private or age-restricted.
404not_found
No such account.
503upstream_error
The platform did not answer; retry shortly.