GETProfiles2 credits

Get stories

GET https://api.instagramapi.dev/v1/profile/stories

Returns the account's currently live stories (expire after 24h). No pagination.

Build this with an AI agent

Paste this prompt into Claude, Codex, or any coding agent.

Parameters

NameTypeRequiredDescription
handlestringyesAn Instagram account. Accepts a username (`nike`), a numeric user id (`13460080`), or a full profile URL (`https://instagram.com/nike`). We resolve it automatically.

Example request

curl "https://api.instagramapi.dev/v1/profile/stories?handle=nike" \
  -H "Authorization: Bearer $INSTAGRAMAPI_KEY"

Try it

Live request · uses 2 credits

Example responses

Switch tabs to see the body shape for success and each error status.

{
  "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
  },
  "meta": {
    "endpoint": "profile/stories",
    "request_id": "req_3f8a1c9e",
    "credits_charged": 2,
    "credits_remaining": 4987,
    "ms": 412
  }
}

Response fields

Fields returned under data on a 200 response. Every response also includes a meta object with billing info.

FieldTypeDescription
itemsarray<object>The account's currently active stories.
items[].idstringNumeric story id.
items[].shortcodestringThe story's shortcode.
items[].typestringMedia type: photo or video.
items[].taken_atstringWhen the story was posted (ISO 8601, UTC).
items[].image_urlstringURL of the story image (cover frame for video).
items[].video_urlstringURL of the story video; null for photos.
items[].video_durationnumberStory video length in seconds; null for photos.
next_cursornullAlways null. This endpoint returns a single page and isn't paginated.