saveapi.org

Instagram story monitoring API

Keep a list of public accounts, check each one on a schedule and save every story the moment it appears — no Instagram login, no cookies, no session to keep alive. One request returns everything an account has live; a check that finds nothing costs 0.1 credits. Below: how the loop works, what it costs per month at real hit rates, working code, and what this approach cannot do.

How the loop works

cURL — every live story of one account
curl -s "https://api.saveapi.org/v1/instagram" \
  -H "Authorization: Bearer sk_live_xxxx" \
  -G --data-urlencode "url=https://www.instagram.com/stories/natgeo/"

What it costs per month

Each check costs 5 credits when the account has stories live and 0.1 when it does not. The table assumes 27% of checks find something — the share measured on our API in the week to 12 November 2026, over 7,038 story checks — which averages 1.42 credits per check over 30 days. Accounts that post stories every day push it towards 5; quiet ones towards 0.1.

ScenarioChecks / monthCredits / monthCheapest packsRate
50 accounts, every hour36,00051,228$9 — Pro0.8/min needed — 60/min allowed
100 accounts, every hour72,000102,456$18 — 2 × Pro1.7/min needed — 60/min allowed
400 accounts, every hour288,000409,824$39 — Ultra6.7/min needed — 250/min allowed
400 accounts, every 30 min576,000819,648$75 — 4 × Pro + Ultra13.3/min needed — 250/min allowed
1,000 accounts, every hour720,0001,024,560$87 — Pro + 2 × Ultra16.7/min needed — 250/min allowed

Packs last 30 days and stack; the rate limit is the highest of the packs you hold. Prices from the live plan list at build time. The free 1,000 credits cover about 703 checks to try it.

A working monitor in Python

One sweep an hour over a list of usernames: new stories are written to disk, ones already saved are skipped, accounts with nothing live cost 0.1 credits. Swap the set for a database table and the sequential loop for a worker pool before you scale past a few hundred accounts.

Python
import pathlib, time, urllib.parse
import httpx

API = "https://api.saveapi.org/v1/instagram"
KEY = "sk_live_xxxx"
ACCOUNTS = ["bbcnews", "natgeo", "nasa"]
EVERY = 60 * 60            # one sweep an hour
OUT = pathlib.Path("stories")
seen: set[str] = set()     # use a database table in production

client = httpx.Client(headers={"Authorization": f"Bearer {KEY}"}, timeout=60)


def live_stories(username: str) -> list[dict]:
    r = client.get(API, params={"url": f"https://www.instagram.com/stories/{username}/"})
    data = r.json()
    if data["success"]:
        return data["medias"]
    code = data["error"]["code"]
    if code == "MEDIA_NOT_FOUND":        # nothing live right now (0.1 credits)
        return []
    if code == "RATE_LIMITED":
        time.sleep(int(r.headers.get("Retry-After", "10")))
        return []                        # picked up on the next sweep
    print(username, code)                # e.g. PRIVATE_CONTENT: drop the account
    return []


def story_key(media: dict) -> str:
    # No story id in the response. The file name in the CDN path is stable;
    # the query string is a signature and changes, so never key on the full URL.
    return urllib.parse.urlsplit(media["url"]).path.rsplit("/", 1)[-1]


while True:
    for username in ACCOUNTS:
        for media in live_stories(username):
            key = story_key(media)
            if key in seen:
                continue
            name = key if "." in key else f"{key}.{media['ext']}"   # video paths have no extension
            target = OUT / username / name
            target.parent.mkdir(parents=True, exist_ok=True)
            target.write_bytes(httpx.get(media["url"], timeout=120).content)
            seen.add(key)
            print("new", media["type"], target)
    time.sleep(EVERY)

Tracking the profile as well

/v1/instagram/profile returns follower and post counts, the verified flag, the avatar and up to 6 recent posts with likes and comments for 3 credits — one call a day per account gives you a growth curve for 90 credits a month. Bio, bio links and the following count are not available to logged-out clients and come back as null; a private account usually returns 404.

cURL
curl -s "https://api.saveapi.org/v1/instagram/profile" \
  -H "Authorization: Bearer sk_live_xxxx" \
  -G --data-urlencode "url=https://www.instagram.com/natgeo/"

What this cannot do

If you need highlights, story ids and posting times, or private accounts, you need a service that works through a logged-in Instagram session — a different product with different risks. The Instagram API comparison lists prices of the main providers.

Вопросы перед началом

How often should I check an account?
Stories stay up for 24 hours, so a check every hour catches every story with plenty of margin. Check more often only if you need to know within minutes — cost grows in direct proportion.
Do I pay for checks that find nothing?
0.1 credits. A check that finds live stories costs 5, however many there are. Errors on our side — timeouts, upstream failures — cost nothing.
Is there a webhook when a new story is posted?
No. Instagram does not offer one to outside clients, so any monitoring service polls; this page shows how to do it and what it costs.
Do I need an Instagram account or cookies?
No. The request is the link and your API key; no Instagram login is involved on your side or ours.
Can I monitor private accounts?
No. Only stories a logged-out visitor could see are available. Those checks end with a final error at 0.1 credits.

Related

Получить ключ и попробоватьТарифы