instagram · fetch · postsolari:read
solari fetch instagram post assets
Original-size download links for one Instagram post.
- MCP tool
- solari_fetch_instagram_post_assets
- CLI
- solari fetch instagram post assets
- Access
- solari:read
- Plans
- Free Trial
- Plus
- Pro
- Enterprise
- Credit
- 1
Overview
Get fresh download links for every media file of one Instagram post, at the largest size Instagram serves: a reel, a single photo or video, or every carousel slide. Every call reads the post from Instagram live.
When to use it — When you need the original files of a post. The assets on other tools point at stored copies, which can be smaller.
What comes back — The post's author and type, and one download link per media file in order.
Parameters
- urlstringoptional
- Public post URL (/p/, /reel/, or /tv/).≤ 512 chars
- slugstringoptional
- Instagram shortcode. Wins over url.pattern ^[A-Za-z0-9_-]{3,20}$
Response
Response
- foundboolean
- false if Instagram has no public post at that reference.
- slugstring | null
- Shortcode of the post.
- urlstring | null
- Public permalink.
- usernamestring | null
- The author's handle.
- post_typestring | null
- reel, video, photo, or carousel.
- media_countinteger
- Number of files in assets.
- assetsobject[]
- The media files in order.
- notestring | null
- Why there is nothing to download, when that is the case.
assets[]
- indexinteger
- Position of the file in the post, from 1.
- media_typestring
- video or image.
- asset_urlstring
- Download link for the file at the largest size the platform serves. It is temporary, so download promptly.
- fallback_urlsstring[]
- Other links to the same file, to try in order when asset_url fails.
- widthinteger | null
- Width in pixels, when known.
- heightinteger | null
- Height in pixels, when known.
- video_durationnumber | null
- Video length in seconds.
- file_extensionstring
- File extension to save with, such as mp4 or jpg.
- size_bytesinteger | null
- File size in bytes, when known.
- refererstring | null
- Send this as the Referer header when downloading. Null when no header is needed.
Example
Request
$ solari fetch instagram post assets slug=DcyMAmUh6FZResponse · Long strings and repeated array entries are trimmed for readability.
{
"found": true,
"slug": "DcyMAmUh6FZ",
"video_id": null,
"url": "https://www.instagram.com/p/DcyMAmUh6FZ/",
"username": "innisfreeofficial",
"post_type": "reel",
"media_count": 1,
"assets": [
{
"index": 1,
"media_type": "video",
"asset_url": "https://scontent-cph2-1.cdninstagram.com/….mp4?…",
"fallback_urls": [],
"width": 720,
"height": 1280,
"video_duration": 23.868,
"file_extension": "mp4",
"size_bytes": null,
"referer": null
}
],
"note": null
}As an MCP call
{
"name": "solari_fetch_instagram_post_assets",
"arguments": {
"slug": "DcyMAmUh6FZ"
}
}Notes
- To save the files in one step, run solari instagram download content slugs=… dir=… instead. It calls this tool and downloads every file.
- The links are temporary signed links. Download promptly and call again for fresh ones.
- Every call goes out to Instagram and takes a few seconds.
Related tools
- solari instagram download contentDownload Instagram content.
- solari_fetch_instagram_postCollect one Instagram post by URL and get its author.
- solari_catalog_instagram_content_detailAn Instagram post, by id, shortcode, or URL.
- solari_fetch_tiktok_post_assetsOriginal-size download links for one TikTok post.
Machine-readable: /docs/tools/fetch-instagram-post-assets.md