Story downloader

Instagram Story Downloader API

Pass a username, get every currently active story back with direct video and image URLs, media type, duration and the exact time it was posted. Build a story saver, archive a brand's stories before they expire, or monitor competitors, all without an Instagram login.

50 free credits on signup · no card required

curl "https://api.profilequery.com/v1/profile/stories?handle=nike" \
  -H "Authorization: Bearer $PROFILEQUERY_KEY"

What you get

Structured JSON, not raw HTML

  • ▹Direct video_url and image_url for every active story
  • ▹taken_at timestamp on each story, so you know exactly when it went up
  • ▹Photo/video type and video duration in seconds
  • ▹Highlights endpoint for stories the account saved permanently
  • ▹Anonymous by design: the account never sees who requested it
  • ▹2 credits per call, however many stories the account has up

Tutorial

Download Instagram stories with code

1. Fetch the active stories

Stories expire after 24 hours, so the endpoint returns whatever is live right now. Each item includes the media URLs you need to save it.

curl "https://api.profilequery.com/v1/profile/stories?handle=nike" \
  -H "Authorization: Bearer $PROFILEQUERY_KEY"

2. Save the files

Media URLs from Instagram's CDN are signed and expire after a while, so download them soon after fetching.

import os, requests

API = "https://api.profilequery.com/v1"
H = {"Authorization": f"Bearer {os.environ['PROFILEQUERY_KEY']}"}

stories = requests.get(f"{API}/profile/stories", params={"handle": "nike"}, headers=H).json()["data"]["items"]
for s in stories:
    url = s["video_url"] or s["image_url"]
    ext = "mp4" if s["video_url"] else "jpg"
    with open(f"{s['taken_at'][:19].replace(':', '-')}_{s['id']}.{ext}", "wb") as f:
        f.write(requests.get(url, timeout=60).content)
    print("saved", s["type"], s["taken_at"])

3. Archive on a schedule

To keep every story an account posts, run the script every few hours (a cron job, GitHub Action or Vercel schedule) and skip ids you've already saved. Twelve hours between runs is enough to never miss one; six gives you a margin.

Example response

What comes back

{
  "data": {
    "items": [
      {
        "id": "3925236392186180177",
        "shortcode": "DZxabc12345",
        "type": "video",
        "taken_at": "2026-06-23T18:02:11Z",
        "image_url": "https://instagram.com/.../story.jpg",
        "video_url": "https://instagram.com/.../story.mp4",
        "video_duration": 14.2
      }
    ],
    "next_cursor": null
  }
}

Response fields

Fields returned by GET /v1/profile/stories

FieldDescription
itemsThe account's currently active stories.
idNumeric story id.
shortcodeThe story's shortcode.
typeMedia type: photo or video.
taken_atWhen the story was posted (ISO 8601, UTC).
image_urlURL of the story image (cover frame for video).
video_urlURL of the story video; null for photos.
video_durationStory video length in seconds; null for photos.
next_cursorAlways null. This endpoint returns a single page and isn't paginated.

No login required

Nothing to authenticate but your API key

No OAuth flow

One static API key in an Authorization: Bearer header. No redirect, no refresh tokens, no expiring session.

No Meta app review

Never touch Meta's developer platform, Business Verification, or a connected Facebook Page. Sign up directly with Profile Query.

Public data only

Every endpoint returns only what's already visible on Instagram without logging in. Private accounts are never accessible.

Pricing

2 credits per request. Credits start at $8.00 per 1,000 and drop to $6.00 per 1,000 at volume — no subscription, no minimums. New accounts get 50 free credits.

See full pricing

FAQ

Instagram Story Downloader API, explained

Can I download Instagram stories anonymously?

Yes. Requests go through our infrastructure, not an Instagram account, so the story owner never sees you in their viewer list.

Does it show when each story was posted?

Yes. Every story includes taken_at, an ISO 8601 UTC timestamp of when it went up.

Can I download stories from private accounts?

No. Only public accounts' stories are available.

What about stories older than 24 hours?

Expired stories are gone unless the account saved them to a highlight. Use /v1/profile/highlights to list those, or archive stories yourself on a schedule while they're live.

How much does it cost?

2 credits per stories request, regardless of how many stories are live. Credits start at $8.00 per 1,000, and new accounts get 50 free.

Start pulling downloader api data

Create a free key and make your first request in under a minute — 50 credits on us.