LIVEINSTAGRAM MEDIA URL API

Resolve Instagram share links into image and video URLs.

Submit shortcodes or official Instagram Post, Reel, TV, profile-prefixed Reel, and share links to receive the canonical page, media type, and ordered assets.

Returns temporary CDN URLs for publicly accessible content only.

The Instagram Media URL API returns ordered image and video URLs without hosting files on the server. The web tool can copy URLs, ask the browser to download each public asset, and export the full result as CSV or JSON. CDN URLs can expire.

Processes publicly accessible Instagram content onlyTOK//LAB is not affiliated with Instagram or Meta

Interface function

One media result per post reference

Built for download pipelines, content analysis, and automation that already has a link and needs direct media assets.

MEDIA URLS

Instagram Image & Video URL Extractor API

Resolve post IDs and public Post, Reel, TV, or share links into ordered image and video CDN URLs without hosting binary files.

Input
1–100 shortcodes or HTTPS share links
Output
Media type, image/video URLs, and dimensions
Run limit
Up to 100 references per run

Request to result

From share link to ordered assets

01REFERENCE

Submit a shortcode or official link

Use Post, Reel, TV, profile-prefixed Reel, Instagram share HTTPS links, or a bare shortcode.

02RESOLVE

Resolve pages and redirects safely

Every redirect stays on approved hosts, so arbitrary external URLs are never treated as resolver targets.

03ASSETS

Return media URLs in position order

Results include images, videos, carousel order, dimensions, and URLs grouped by media type.

Operator notes

Treat CDN URLs as temporary references

Consume URLs promptly

Instagram CDN URLs can expire and should not be stored as permanent asset locations.

One carousel is still one result

assets retains every media item in order; one successful post reference still produces a single result.

Submit official Instagram inputs only

This is not a general URL resolver. Non-HTTPS and non-Instagram hosts are rejected.

Normalized output

Instagram Media URL API response fields

input / position
The original post reference and its position in the submitted list.
resolvedUrl
The validated Instagram page after all redirects.
postCode / postUrl
Resolved shortcode and canonical post URL.
mediaType
image, video, or carousel.
imageUrls[] / videoUrls[]
Direct CDN URLs grouped by media type.
assets[]
The full ordered list with type, URL, width, and height.

Common questions

Instagram Media URL API FAQ

Which Instagram links are supported?

HTTPS /p/, /reel/, /tv/, username-prefixed Reel, and /share/ links are accepted, along with bare shortcodes.

Does the interface download or permanently store files?

The server does not host or permanently store files. The page asks your browser to fetch a public CDN asset directly and opens it in a new window when cross-origin download is blocked.

How are carousel posts returned?

Each input produces one result, with every resolvable carousel asset stored in position order inside assets.

Why did a CDN URL stop working later?

Instagram/Facebook CDN references can expire. Retain the shortcode and run the resolver again when a fresh URL is needed.