Instagram API

Instagram Stories full API

Fetch a public Instagram account's currently live stories with media, type, dimensions, posting time, and 24-hour expiry by username.

$2.20/1k req, pay per request, no subscription.

What the API returneditems[0]
{
"id": "3993371135160947333",
"username": "nba",
"mediaType": 2,
"image": "https://scontent.cdninstagram.com/v/t51.71878-15/nba_story_frame.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1",
"videoUrl": "https://scontent.cdninstagram.com/o1/v/t2/f2/m78/nba_story.mp4?_nc_ht=scontent.cdninstagram.com&_nc_cat=110",
"width": 1080,
"height": 1920,
"durationSeconds": 17.466,
... 13 more fields
}
Uptime
99.93%
30d · 4,425 calls
Requests
4,434
30d · weekly, last 12 wks
Response
1.2s
median · 30d

Pricing and providers

Instagram Stories full API pricing: one API, 2 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$22.00
$2.20/1k req, only for what you use. No monthly plan.
Your first 45 requests are free with the $0.10 starting balance.

Try it

Get Instagram stories full in one request

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a story that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 24 of 25 fields. See every field

{
  "found": true,
  "data": {
    "items": [
      {
        "id": "3993371135160947333",
        "username": "nba",
        "mediaType": 2,
        "image": "https://scontent.cdninstagram.com/v/t51.71878-15/nba_story_frame.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1",
        "videoUrl": "https://scontent.cdninstagram.com/o1/v/t2/f2/m78/nba_story.mp4?_nc_ht=scontent.cdninstagram.com&_nc_cat=110",
        "width": 1080,
        "height": 1920,
        "durationSeconds": 17.466,
        "createdUtc": 1790266907,
        "expiresUtc": 1790353307,
        "code": "DdrTeO_kRKF",
        "userId": "20824486",
        "displayName": "NBA",
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.82787-19/nba_profile.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1",
        "verified": true,
        "private": false,
        "productType": "story",
        "paidPartnership": true,
        "soundTitle": "Original audio",
        "soundAuthor": "footlocker",
        "audioId": "28825397337055428"
      },
      {
        "id": "3993398120334519850",
        "username": "nba",
        "mediaType": 1,
        "image": "https://scontent.cdninstagram.com/v/t51.71878-15/nba_story_frame_2.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1",
        "videoUrl": "",
        "width": 1080,
        "height": 1920,
        "createdUtc": 1790270407,
        "expiresUtc": 1790356807,
        "code": "DdrZmK3kQ7p",
        "userId": "20824486",
        "displayName": "NBA",
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.82787-19/nba_profile.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1",
        "verified": true,
        "private": false,
        "productType": "story",
        "paidPartnership": false
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • usernamestring

    nba

    Instagram username or handle without the @.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a story that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each itemdata.items[]

Currently live story records for the requested account, with media, type, dimensions, posting time, and expiry. Populated whenever the provider has data for the entity.

  • audioIdstringcan require

    28825397337055428

    Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list reels using it. Null when the story has no music sticker or this source does not report it.

  • avatarUrlstring

    https://scontent.cdninstagram.com/v/t51.82787-19/nba_profile.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1

    Profile picture URL of the story owner.

  • codestring

    DdrTeO_kRKF

    Instagram media shortcode. Populated whenever the provider has data for the entity.

  • createdUtcnumber

    1790266907

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.

  • displayNamestring

    NBA

    Display name of the story owner.

  • durationSecondsnumber

    17.466

    Video duration in seconds. Null on a photo story, or when this source does not report it.

  • expiresUtcnumber

    1790353307

    Expiry UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.

  • heightinteger

    1920

    Media pixel height. Populated whenever the provider has data for the entity.

  • idstring

    3993371135160947333

    Story identifier. Populated whenever the provider has data for the entity.

  • imagestring

    https://scontent.cdninstagram.com/v/t51.71878-15/nba_story_frame.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1

    Direct URL to the story image (highest resolution). Populated whenever the provider has data for the entity.

  • mediaTypeinteger

    2

    Media type: 1 = image, 2 = video. Populated whenever the provider has data for the entity.

  • paidPartnershipboolean

    true

    True when the story is tagged as a paid partnership.

  • privateboolean

    false

    True when the owner's account is private.

  • productTypestring

    story

    Instagram product type of the media, for example story.

  • soundAuthorstringcan require

    footlocker

    Credited author of the sound. Null when the story has no music sticker or this source does not report it.

  • soundTitlestringcan require

    Original audio

    Name of the sound on the story's music sticker. "Original audio" means the creator's own audio rather than a licensed track. Null when the story has no music sticker or this source does not report it.

  • userIdstring

    20824486

    Instagram user id of the story owner.

  • usernamestring

    nba

    Owner username. Populated whenever the provider has data for the entity.

  • verifiedboolean

    true

    True when the owner's account carries a verified badge.

  • videoUrlstring

    https://scontent.cdninstagram.com/o1/v/t2/f2/m78/nba_story.mp4?_nc_ht=scontent.cdninstagram.com&_nc_cat=110

    Direct URL to the story video, when the story is a video. Populated whenever the provider has data for the entity.

  • widthinteger

    1080

    Media pixel width. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

    True when stories were found; false when the lookup returned nothing.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Instagram Stories full API

The AnyAPI Instagram Stories full API returns Instagram stories full data as normalized JSON from one POST call to /v1/run/instagram.stories_full. Fetch a public Instagram account's currently live stories with media, type, dimensions, posting time, and 24-hour expiry by username. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $2.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.9% of Instagram stories full calls through AnyAPI succeeded, with a median response time of 1.2 seconds across 4,425 measured calls.

It costs from $2.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Fetch a public Instagram account's currently live stories with media, type, dimensions, posting time, and 24-hour expiry by username. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 99.9% of Instagram stories full calls through AnyAPI succeeded, with a median response time of 1.2 seconds across 4,425 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 45 Instagram Stories full calls at $0.0022 each.

AnyAPI asks the next of its 2 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/instagram.stories_full with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.