instagram/v3/post-info-by-code
Get post details by shortcode Shortcode is the identifier in the post URL, e.g., `DUajw4YkorV` from `https://www.instagram.com/p/DUajw4YkorV/` Returns complete post info
Input
Idle
Example output — click Run to generate your own
API README
Get post info by shortcode
Purpose:
- Get post details by shortcode
- Shortcode is the identifier in the post URL, e.g.,
DUajw4YkorVfromhttps://www.instagram.com/p/DUajw4YkorV/ - Returns complete post info Parameters:
- code: Post shortcode (e.g., DUajw4YkorV, required) Return:
data.items: Post info listid: Post IDcode: Post shortcodemedia_type: Media type (1=image, 2=video, 8=carousel)like_count: Likes countcomment_count: Comments countcaption.text: Post caption textuser: Publisher infoimage_versions2: Image version listvideo_versions: Video version list (exists for videos)carousel_media: Carousel media list (exists for carousels)taken_at: Published timestamp Price:
- 0.008 USD/request
code = "DUajw4YkorV"
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

