apiwren
Guide Instagram

Instaloader alternatives for downloading public reels

Instaloader stops with 401 “Please wait a few minutes” and 429 errors when logged out. Why, how to work around it, and when yt-dlp or an API fits better.

By Terrell Louis · Updated

Short answer

If you only need single public reels, use yt-dlp on your own machine, or a hosted API when the downloads run on a server. Keep Instaloader for archiving whole profiles with a signed-in session, and run it slowly. We make the Instagram Reels API listed below, so weigh that.

The errors Instaloader users hit

Two messages come up again and again in Instaloader’s issue tracker:

  • JSON Query to graphql/query: 401 Unauthorized - "fail" status, message "Please wait a few minutes before you try again."
  • 429 Too Many Requests, which Instaloader’s own troubleshooting page covers.

Both mean Instagram is limiting the requests from your IP address. Logged out, the limit comes quickly.

If you want to keep Instaloader

  • Update it. Instagram changes its queries, and fixes land in new releases: pip install -U instaloader.
  • Slow down. Download fewer posts per run and leave gaps between runs.
  • Use a saved session. instaloader --login YOUR_USER once, then reuse the session file. Signed-in limits are looser, but all the traffic is tied to that account, so use one you can afford to have challenged or locked.
  • Download single posts by shortcode. instaloader -- -DaI91choaNb fetches one post instead of crawling a profile.

Alternatives compared

ToolBest forOther people’s public reelsRuns onCost
InstaloaderArchiving profiles, stories and highlights you can see when signed inYesYour machine (Python)Free, open source
yt-dlpSingle public reels from the command lineYesYour machineFree, open source
Instagram Graph APIYour own business or creator accountNot by linkMeta’s serversFree
Instagram Reels API (ours)Single public reels from a server or botYes, licensed music includedHosted, behind RapidAPI1,000 free requests a month, then $5.99 for 100,000

yt-dlp

yt-dlp downloads a single public reel with one command and needs no login: yt-dlp https://www.instagram.com/reel/DaI91choaNb/. It uses Instagram’s logged-out GraphQL query, which also returns reels with licensed music. Running it on a server means managing your own IP limits and updating it when Instagram changes the query.

The official Instagram Graph API

Meta’s API is the supported route, but it is built around accounts that sign in to your app. It cannot fetch an arbitrary reel by link.

The Instagram private API

Libraries built on the mobile app’s API sign in with a real account. Without a session, its media endpoint answers 403 login_required.

A hosted reel API

Our Instagram Reels API takes a reel link or shortcode and returns the MP4 URL with sound, the thumbnail, caption, author and duration. It tries several routes, so a limit on one does not stop the request. It reads one post per call and has no profile, story or highlight endpoints, which is where Instaloader still wins. Other hosted options are compared in the best Instagram downloader APIs.

Replace an Instaloader post download with one HTTP call

Python
# Instaloader: L.download_post(Post.from_shortcode(L.context, "DaI91choaNb"), target="reels")
import requests

reel = requests.get(
    "https://instagram-reels-downloader-videos-carousels-music-reels.p.rapidapi.com/reel",
    params={"shortcode": "DaI91choaNb"},
    headers={"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY", "X-RapidAPI-Host": "instagram-reels-downloader-videos-carousels-music-reels.p.rapidapi.com"},
    timeout=30,
).json()["data"]
open(f"reels/{reel['shortcode']}.mp4", "wb").write(requests.get(reel["video_url"], timeout=60).content)
print(reel["author"]["username"], reel["caption"][:80])

The free plan covers 1,000 requests a month. To try a reel first without code, use the free Instagram reel downloader.

Instagram Reels API

Public reels as MP4 with audio. 1,000 free requests a month.

Get a free key on RapidAPI

FAQ

Why does Instaloader say “Please wait a few minutes before you try again”?
Instagram answers some of Instaloader’s logged-out GraphQL queries with 401 and this message when it rate limits the IP address. Waiting, slowing down, or signing in with a session usually gets it working again for a while.
Can I use Instagram’s API without logging in?
The official Instagram Graph API needs an app and an account that authorizes it, and it is built around that account’s data. It cannot fetch an arbitrary reel by link. For other public reels, use yt-dlp, or a hosted API such as ours that returns the MP4 link from a reel URL.
Does yt-dlp work for Instagram reels?
Yes, for single public reels. Run yt-dlp with the reel URL. It uses Instagram’s logged-out GraphQL query. It runs on your machine, so Instagram’s per-IP limits apply to you.
What is the Instagram private API?
It is the API the Instagram mobile app uses. It is undocumented and needs a signed-in session. Libraries built on it log in with a real account.
Is Instaloader still worth using?
Yes, for what it does best: archiving whole profiles, stories and highlights for an account you sign in with, at a slow pace. For fetching single public reels from a server, yt-dlp or a hosted API fits better.
Free plan on every API

Give your app real data.

Every API has a free plan on RapidAPI, and one key works for all of them.