Get Instagram media
instagram_get_mediaFetch an Instagram media object by ID to get its details, including carousel children and caption as untrusted text. Errors for deleted or expired stories.
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. A carousel child Instagram returns without an id is left out, and omittedWithoutId plus note say how many were. If an album's items cannot be read, the detail is still returned with children omitted and a note naming the 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 | ||
| note | No | ||
| caption | No | ||
| children | No | ||
| media_url | No | ||
| permalink | No | ||
| timestamp | No | ||
| like_count | No | ||
| media_type | No | ||
| thumbnail_url | No | ||
| comments_count | No | ||
| omittedWithoutId | No | ||
| media_product_type | No |