Skip to main content
GET
Post
Everything lives under data.xdt_shortcode_media: shortcode, is_video, video_url, video_duration, has_audio, display_url, dimensions, accessibility_caption, edge_media_to_caption for the caption text, and owner. Measured at about 197 KB. download_media=true additionally mirrors the media to permanent storage and costs ten credits instead of one — leave it off unless the files are actually needed. For the discussion under the post use get_instagram_post_comments with the same URL; for the words spoken in a video, get_instagram_media_transcript.

Example

Authorizations

Authorization
string
header
required

AIsa API key. Get yours at https://aisa.one

Query Parameters

url
string
required

Instagram post or reel URL

region
string

2 letter country code to set the proxy in

trim
boolean

Set to true to get a trimmed response

download_media
boolean

Set to true to download the video/images and get back permanent Supabase URLs. Costs 10 credits if media is found, 1 credit otherwise.

Response

200 - application/json

Successful response

success
boolean
credits_remaining
integer
xdt_shortcode_media
object