Instagram post
One post or reel, as Instagram's own post object.
Instagram publishes a post's view count only for video. Photo and carousel posts return null rather than zero, because zero would be a claim we cannot support.
Share and save counts are visible only to the account that owns a post. No public surface carries them, so we never populate them.
The example response below is real output from this endpoint, not an illustration. Long lists and long strings are shortened to keep the page readable, and each place that happens is marked. This example took 2.7s.
Authorization
ApiKeyAuth Your API key. Sent on every request.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/scrapers/instagram-post-v4" \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.instagram.com/p/DXuVyDtDyVH/" }'{ "request_id": "req_8f2c1d94e7b0", "success": true, "status": { "code": "OK", "message": "Scrape completed.", "retryable": false }, "data": { "data": { "xdt_shortcode_media": { "__typename": "GraphImage", "accessibility_caption": "Photo by NASA on April 29, 2026.", "clips_music_attribution_info": null, "coauthor_producers": [], "comments_disabled": null, "dimensions": { "height": 1080, "width": 1080 }, "display_url": "https://scontent-ord5-1.cdninstagram.com/v/t51.82787-15/682828177_18604723714049152_6210985867372343940_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_nc_cat=108&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiRkVFRC5iZXN0X2ltYWdlX3VybGdlbi5DMyJ9&_nc_ohc=8_jtygb-49UQ7kNvwHKDvG4&_nc_oc=AdpWZK0JWUtW_AMFuT7I5vZQMKds_ik1VFKKfbBnLerOv5d3cs… (+197 chars)", "edge_media_preview_like": { "count": 366453 }, "edge_media_to_caption": { "edges": [ { "node": { "text": "Need a little pick-me-up? 🌈\n\nType your name – or an uplifting word – in our “Your Name in Landsat” app and see it spelled out with satellite images of Earth’s beauty. Visit go.nasa.gov/YourName or check out the link in our bio. \n\nYou can save the picture and get a QR code to share with friends!\n\nImage description… (+229 chars)" } } ] }, "edge_media_to_comment": { "count": 1325, "edges": [] }, "edge_media_to_tagged_user": { "edges": [] }, "has_audio": null, "id": "3886139327395079495", "is_ad": null, "is_affiliate": null, "is_paid_partnership": null, "is_video": false, "like_and_view_counts_disabled": false, "location": null, "owner": { "__typename": "User", "full_name": "NASA", "id": "528817151", "ig_id": "17841401474538262", "is_private": false, "is_unpublished": false, "is_verified": true, "pk": "528817151", "polaris_ordered_timeline_connection": { "edges": [ { "node": { "__isXIGPolarisMedia": "XIGPolarisImageMedia", "__typename": "XIGPolarisImageMedia", "accessibility_caption": "Photo by NASA on August 19, 2026. May be an image of text.", "caption": { "text": "With your powers combined…\n\nThis colorful picture of the cosmos is the product of teamwork between our @NASAHubble, @NASAWebb, and @NASAChandraXray telescopes. Scientists brought their data together to get a vibrant look at this star-forming region known as the Tarantula Nebula, located 160,000 light-years from Earth.\n… (+381 chars)" }, "code": "DcOX3hWFiey", "display_uri": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/780550892_18639053554049152_7611034912661011809_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_nc_cat=1&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiRkVFRC5iZXN0X2ltYWdlX3VybGdlbi5DMyJ9&_nc_ohc=7OKvUFcmaKEQ7kNvwENkVCe&_nc_oc=AdrXpFmlGhUeuGnVT-uE_-qJyH5Vce-ZZl_7xO5Pqr_9aohfxL4A… (+195 chars)", "id": "POLARIS_3967213292204992434", "media_type": 1, "pk": "3967213292204992434", "product_type": "feed", "seo_canonical_url": null, "user": { "id": "17841401474538262", "pk": "528817151", "username": "nasa" } } }, { "node": { "__isXIGPolarisMedia": "XIGPolarisVideoMedia", "__typename": "XIGPolarisVideoMedia", "accessibility_caption": "Video by NASA’s Johnson Space Center on August 18, 2026. May be an image of telescope, space shuttle and text that says 'NASA サ'.", "caption": { "text": "Soothing spacewalk scenes. \n\nToday, August 18, NASA’s @astro_anil and ESA’s @soph_astro completed a 6 hour, 23 minute spacewalk to remove a failed communications antenna and stow it outside the International Space Station. These challenging tasks are accompanied by rewarding views as the orbiting laboratory continues s… (+115 chars)" }, "code": "DcMXl1IPNtB", "display_uri": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/779017700_18615481711026724_2930580986888954454_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_nc_cat=102&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=Mgr0ctdGUnUQ7kNvwEXTF9P&_nc_oc=AdpPfQyrYB8UxaOmt_bqgN7Zh8e9uQ2VBXQqvz24iT… (+205 chars)", "id": "POLARIS_3966649126543481665", "media_type": 2, "pk": "3966649126543481665", "product_type": "clips", "seo_canonical_url": null, "user": { "id": "17841400801700529", "pk": "673882723", "username": "nasajohnson" } } }, "… 10 more items in the full response" ] }, "profile_image_uri": "https://scontent-ord5-2.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=cp0_dst-jpg_s34x34_tt6&_nc_cat=1&ccb=7-5&_nc_sid=bf7eb4&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=CAGgXUfT4p0Q7kNvwEDmGVn&_nc_oc=AdpPUchKEikDNx0pk2taMDVAkdoGhYM6xB-O4-7RvVQ--JZsZIzZ… (+164 chars)", "profile_pic_url": "https://scontent-ord5-2.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=CAGgXUfT4p0Q7kNvwEDmGVn&_nc_oc=AdpPUchKEikDNx0pk2taMDVAkdoGhYM6xB-O4-7RvVQ--JZsZIzZQ3… (+162 chars)", "username": "nasa" }, "product_type": "feed", "shortcode": "DXuVyDtDyVH", "taken_at_timestamp": 1777484469, "thumbnail_src": "https://scontent-ord5-1.cdninstagram.com/v/t51.82787-15/682828177_18604723714049152_6210985867372343940_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=108&ig_cache_key=Mzg4NjEzOTMyNzM5NTA3OTQ5NQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTA4MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=8_jtygb-49UQ7kN… (+263 chars)", "video_duration": null, "video_play_count": null, "video_url": null, "video_view_count": null } }, "success": true }, "error": null, "meta": { "client_id": "client_abc123", "scraper": "instagram-post-v4", "billable": true, "duration_ms": 1960 }}