Skip to main content
GET
Post/Reel Info
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

url
string
required

Instagram post or reel URL

trim
boolean

Set to true to get a trimmed response

Response

Successful response

Key Response Fields:

  • data.xdt_shortcode_media.__typename: Media type — XDTGraphVideo for reels/videos, XDTGraphImage for photos
  • data.xdt_shortcode_media.id: Unique post ID
  • data.xdt_shortcode_media.shortcode: Post shortcode used in the URL
  • data.xdt_shortcode_media.display_url: Main display/thumbnail image URL
  • data.xdt_shortcode_media.thumbnail_src: Thumbnail image URL (cropped square version)
  • data.xdt_shortcode_media.dimensions: Width and height of the media (height, width)
  • data.xdt_shortcode_media.is_video: Whether the post is a video/reel
  • data.xdt_shortcode_media.product_type: Content type — clips for reels, feed for regular posts
  • data.xdt_shortcode_media.video_url: Video download URL (for video posts and reels)
  • data.xdt_shortcode_media.video_duration: Video length in seconds
  • data.xdt_shortcode_media.video_play_count: View count for reels. DEPRECATED: Instagram no longer returns view or play counts for single posts and reels, so this is now 0 or absent. Use the Posts endpoint (GET /v1/scrape/instagram/posts) to read per-item view counts.
  • data.xdt_shortcode_media.has_audio: Whether the video has audio
  • data.xdt_shortcode_media.dash_info.is_dash_eligible: Whether DASH adaptive streaming is available
  • data.xdt_shortcode_media.edge_media_preview_like.count: Total like count
  • data.xdt_shortcode_media.edge_media_to_parent_comment.count: Total comment count
  • data.xdt_shortcode_media.edge_media_to_caption.edges[0].node.text: Post caption text
  • data.xdt_shortcode_media.taken_at_timestamp: Post publish timestamp (Unix)
  • data.xdt_shortcode_media.owner.id: Owner's numeric user ID
  • data.xdt_shortcode_media.owner.username: Owner's username/handle
  • data.xdt_shortcode_media.owner.full_name: Owner's display name
  • data.xdt_shortcode_media.owner.is_verified: Whether the owner is verified
  • data.xdt_shortcode_media.owner.is_private: Whether the owner's account is private
  • data.xdt_shortcode_media.owner.profile_pic_url: Owner's profile picture URL
  • data.xdt_shortcode_media.owner.edge_followed_by.count: Owner's follower count
  • data.xdt_shortcode_media.owner.edge_owner_to_timeline_media.count: Owner's total post count
  • data.xdt_shortcode_media.clips_music_attribution_info.artist_name: Audio artist name
  • data.xdt_shortcode_media.clips_music_attribution_info.song_name: Audio/song name
  • data.xdt_shortcode_media.clips_music_attribution_info.uses_original_audio: Whether the reel uses original audio
  • data.xdt_shortcode_media.clips_music_attribution_info.audio_id: Audio track ID
  • data.xdt_shortcode_media.coauthor_producers: Array of collaborators/co-authors on the post (each has id, username, is_verified)
  • data.xdt_shortcode_media.edge_media_to_tagged_user.edges: Tagged users in the post
  • data.xdt_shortcode_media.is_paid_partnership: Whether the post is a paid/sponsored partnership
  • data.xdt_shortcode_media.is_ad: Whether the post is an ad
  • data.xdt_shortcode_media.comments_disabled: Whether comments are turned off
  • data.xdt_shortcode_media.like_and_view_counts_disabled: Whether like/view counts are hidden
  • data.xdt_shortcode_media.location: Location tag (null if none)
  • data.xdt_shortcode_media.accessibility_caption: Alt text for the media (image description)
  • data.xdt_shortcode_media.pinned_for_users: Users who pinned this post to their profile