How to get Instagram post details
GET request to /v1/instagram/details with your input. You get clean JSON back in seconds for 1 credit per call — no OAuth, scraping or platform SDKs. Get an Instagram post or Reel — caption, likes, comments, media URLs, author, and publish date.How to get Instagram post details (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Instagram Post Details API
Send an authenticated GET request to /v1/instagram/details with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/instagram/details?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FDMpuiXeubFY%2F" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"platform": "instagram",
"url": "https://www.instagram.com/p/DMpuiXeubFY/",
"id": "DMpuiXeubFY",
"postType": "Video",
"productType": "clips",
"caption": "I’m sooooooooo tired of the clouds ☁️ and the rain 🌧️ … my friends …. 99% of you who see this are wonderful and great people .. please start loving yourself ❤️ start appreciating yourself ❤️ start understanding that for many Reasons too many of you put yourselves down and beat yourselves up … STOP 🛑 THAT SHIT … I am telling you, you’re great… now believe it yourself - stop comparing, stop worrying about outside noise and judgment - start slowing down and focusing on what actually matters ❤️❤️❤️❤️🔑 SHARE THIS WITH SOMEONE YOU LOVE 💕\n\nPS: Hit the follow or following button in my profile and hit the ⭐️ to add to favorites\n\n#loveyourself #mindset #garyvee",
"description": "I’m sooooooooo tired of the clouds ☁️ and the rain 🌧️ … my friends …. 99% of you who see this are wonderful and great people .. please start loving yourself ❤️ start appreciating yourself ❤️ start understanding that for many Reasons too many of you put yourselves down and beat yourselves up … STOP 🛑 THAT SHIT … I am telling you, you’re great… now believe it yourself - stop comparing, stop worrying about outside noise and judgment - start slowing down and focusing on what actually matters ❤️❤️❤️❤️🔑 SHARE THIS WITH SOMEONE YOU LOVE 💕\n\nPS: Hit the follow or following button in my profile and hit the ⭐️ to add to favorites\n\n#loveyourself #mindset #garyvee",
"publishedAt": "2025-07-28T12:47:26Z",
"durationSeconds": 43.141,
"thumbnailUrl": "https://scontent-mxp1-1.cdninstagram.com/v/t51.71878-15/523977602_1278121770625597_4217876654787678410_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=102&ig_cache_key=MzY4NjY4MjQ0MTc5MjcyOTQzMg%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad",
"videoUrl": "https://scontent-mxp2-1.cdninstagram.com/o1/v/t2/f2/m86/AQOHtEmHkCFISkPxZqXoHmebinsmMBpu7ILoNTfybikAJLlFVZfWqR3Wu0nCGjbCeibt1HDFNeXtCqc2CknThwA9MsHRSPr4Rd9kjgc.mp4?_nc_cat=104&_nc_sid=5e9851&_nc_ht=scontent-mxp2-1.cdninstagram.com",
"author": {
"username": "garyvee",
"displayName": "Gary Vay-Ner-Chuk",
"url": "https://instagram.com/garyvee",
"verified": true,
"profileImage": "https://scontent-mxp1-1.cdninstagram.com/v/t51.2885-19/447913595_1241465900569550_7339008130351792368_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-mxp1-1.cdninstagram.com&_nc_cat=1"
},
"engagement": {
"likes": 1018045,
"comments": 4326
},
"hashtags": [
"loveyourself",
"mindset",
"garyvee"
],
"mentions": []
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Instagram post or reel URL, e.g. https://instagram.com/reel/ID/. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Frequently asked questions
What does the Instagram Post Details API do?
The Instagram Post Details API lets you fetch full metadata and key stats from a public Instagram post using one GET request to /v1/instagram/details. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the Instagram Post Details API cost?
Each successful call costs 1 credit. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.
Do I need a Instagram API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the Instagram Post Details API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
Ready to get Instagram post details?
Start free with 100 credits — no credit card required.
Get your free API key