instagram.com
Get an Instagram post
Input
code requiredThe post's shortcode, the X in instagram.com/p/X/ or instagram.com/reel/X/. instagram.com/get_user_posts returns it as code.
Output
url requiredcode requiredid optionalInstagram's numeric media id.
width optionalauthor optionalheight optionalcaption optionalcarousel optionalEach item of a carousel, in order; empty for a single photo or video.
location optionaltaken_at optionalWhen it was posted, ISO datetime.
coauthors optionalUsernames of the other accounts the post is published with.
image_url optionalThe post's image, or the cover of a video or the first item of a carousel.
video_url optionallike_count optionalNull when the author hides likes.
media_type optionalview_count optionalNull when Instagram does not show it on the post's page, as for most reels.
product_type optionalInstagram's own kind of post: feed, clips (a reel), carousel_container, igtv.
repost_count optionalsponsor_tags optionaltagged_users optionalcomment_count optionalvideo_duration optionalSeconds.
caption_is_edited optionalcomments_disabled optionallike_count_hidden optionalis_paid_partnership optional