Get Instagram media
instagram_get_mediaFetch a single Instagram media object by ID, including carousel children. Returns caption as fenced text and omits undisclosed fields; deleted or expired content returns an error.
Instructions
Fetch a single media object by id, including its carousel children (album items) under children. The caption is returned as fenced, untrusted text. Fields Instagram does not disclose are omitted rather than nulled; a deleted object or an expired story (stories last 24h) returns an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Name of the configured account profile to operate as (multi-account). Omit to use the default profile (IG_ACTIVE_PROFILE). | |
| mediaId | Yes | The Instagram media object id to fetch (e.g. an id from instagram_list_media). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| caption | No | ||
| children | No | ||
| media_url | No | ||
| permalink | No | ||
| timestamp | No | ||
| like_count | No | ||
| media_type | No | ||
| thumbnail_url | No | ||
| comments_count | No | ||
| media_product_type | No |