API reference
Get an Instagram Reel
Public Reels and video posts.
GET
/v1/instagramSend a public Instagram URL and get metadata plus a downloadUrl to a stored copy of the file. The first call for a video downloads and stores it; repeat calls are answered from storage.
Authorization#
Authorizationstring · headerrequiredBearer token: Bearer <YOUR_API_KEY>. The key needs the resolve scope.
Query parameters#
urlstringrequiredThe video page URL, URL-encoded.
formatmp4 | m4aoptionalContainer to prefer for downloadUrl. m4a returns the audio track (Starter and up).
res360p … 2160poptionalQuality to prefer for downloadUrl. Falls back to the best your plan allows.
Accepted URLs#
- https://www.instagram.com/reel/<code>/
- https://www.instagram.com/reels/<code>/
- https://www.instagram.com/p/<code>/
- https://www.instagram.com/tv/<code>/
Good to know#
- Only public posts. Private accounts and photo-only posts answer 404 not_found.
- For a carousel post, the first video in it is returned.
- Same quality rules as TikTok: short side, scaled to your plan's cap when needed. Costs 3 credits + 1.46 per MB, rounded up.
Errors#
400 bad_requestMissing or malformed url, a URL from another platform, or a coming-soon service.401 unauthorizedMissing, invalid or revoked API key.403 insufficient_scopeThe key is valid but lacks the scope this endpoint needs (resolve, formats or usage:read).404 not_foundPrivate, removed or region-locked video, or a post without video.402 insufficient_creditsYour credit balance cannot cover this call. Buy a top-up or change plan in the dashboard.429 rate_limitedThe platform is throttling — retry later.502 upstream_errorThe platform or storage failed for this call. Safe to retry.