Sources › Social media › Instagram › Get Detail Post

Instagram Detail Post API

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.

InstagramGET /postAll plansBulk ready10 Zap

Request

GET
https://api.zapi.ink/v1/social-media:instagram-scraper/post/:id

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 10 minutes.

Parameters

NameTypeInRequiredDescription
idstringpathNoShortcode atau full Instagram post/reel URL (mis. https://instagram.com/p/DTPPJbZETtf) Example: DTPPJbZETtf
urlstringqueryNoFull Instagram post/reel URL — alias untuk id (dipakai bulk async scraping)

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:instagram-scraper/post/DTPPJbZETtf?url=" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:instagram-scraper/post/DTPPJbZETtf?url=", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/social-media:instagram-scraper/post/DTPPJbZETtf",
    params={"url":""},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "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=Mzk1NzQ2MzEyNzc5NjMzOTE5ODE4NjgzNTAzNzUwMDE5MTMz.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEwODAuc2RyLnZpZGVvX2RlZmF1bHRfY292ZXJfZnJhbWU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cm9ncmVzc2l2ZV9yZWNpcGUBMRUAACb6t9L4l5ywQhUCKAJDMywXQE8H752yLQ4YEmRhc2hfYmFzZWxpbmVfMV92MREAdfAHZazBAQA&_nc_gid=ElbUxQKI4tdCsHSCvCz3wg&_nc_ss=7b689&_nc_zt=28&oh=00_AQFOP2P0Hv8EKuYJvPtMvB3iZGE3Wd1dDYUgoSGMDGAzSA&oe=6A8E071D",
    "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=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy40MDAuQzMifQ%3D%3D&_nc_ohc=bds55CJ9-a0Q7kNvwEyHSAd&_nc_oc=AdogClLSsfS4gCDae70wfyjXKxwq8FSq5cW5noRIdekYLbnWAxdR1VY5fza0-_b-uVE&_nc_zt=24&_nc_ht=scontent-cgk2-2.cdninstagram.com&_nc_gid=ElbUxQKI4tdCsHSCvCz3wg&_nc_ss=7b689&oh=00_AQFt1tgN03kFCBZXk-aRMUjsfEEFXlO2jecG5TBHhHBD7Q&oe=6A91DE6B",
      "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 series from executive producers Jon Favreau and Mike Gunton, premiering Wednesday, August 19 at 9/8c on National Geographic. Streaming on @DisneyPlus and @hulu.",
    "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"
}

Frequently asked questions

How do I call the Instagram Detail Post API?

Send a GET request to https://api.zapi.ink/v1/social-media:instagram-scraper/post/:id with your Zapi key in the x-api-key header. Parameters — optional: id, url. The response is JSON in the { project, data, timestamp } envelope.

What does the Instagram Detail Post API return?

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. The example response has the fields url, type, image, video, width, author, height, postId.

Is the Instagram Detail Post API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 10 Zap. Paid plans raise the limits.

Can an AI assistant call the Instagram Detail Post API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "instagram-scraper" and endpoint "post".

What other Instagram API endpoints are there?

It has 8 endpoints. Besides Get Detail Post: Get User Profile, Get User Posts, Get Post Comments, Get User Stories, Get User Reels, Get Tagged Posts, and 1 more.