Get Instagram Post or Reel Details

View all Instagram Data API endpoints →

Resolve a single post, Reel or IGTV item by shortcode or URL. Pass code_or_url — the segment after /p/, /reel/ or /tv/ (e.g. DeM-xDCA2W5) or a full instagram.com URL. The live-verified response returns data with id, code, taken_at, caption (text plus extracted hashtags and mentions), user (owner id, username and verification), media_type, like_count, comment_count, image_versions2 / video_versions media URLs, carousel_media for albums, location when tagged, and clips_metadata (audio_canonical_id, audio_type, reuse flags) for Reels. A lookup of shortcode DeM-xDCA2W5 returned media id 4002850218218579385 owned by instagram with matching caption and timestamp. Keep the returned numeric media id as your join key across endpoints.

API Features

Shortcode or full URL input Pass the /p/, /reel/ or /tv/ segment or a complete instagram.com link — both resolve.
Structured caption data caption carries text plus extracted hashtags and mentions, ready for tagging pipelines.
Reels audio metadata clips_metadata exposes audio_canonical_id and reuse flags for sound-level research.
Stable media ID The numeric id joins cleanly to feed items, comments and likes from the other endpoints.

Live API Demo

GET /api/project/instagram/post-detail

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/instagram/post-detail?key=<API_KEY>&code_or_url=DeM-xDCA2W5'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

How do I get details from an Instagram post link or shortcode?

Pass the full URL, or the shortcode that follows /p/, /reel/ or /tv/, to code_or_url. The response data.id is the numeric media ID that works across endpoints.

Related operations

Guides

View Subscription Plans →