Instagram Stories API
Get the live stories of a public Instagram account (the last 24 hours) with image or video URLs, the time each was posted and when it expires. Viewing through the API never shows up in the account's viewer list.
GET /v1/users/{user}/stories: All live stories of an accountGET /v1/stories/{story}: One story by id (expired stories answer404)
Cost: 1 credit per successful call (free from cache). Failed calls and private accounts are free. Naming the account by a username we have to look up adds 1 credit; send the numeric id to skip it (details).
Try itsandbox data · no key needed
Every example on this page follows what you type here.
GET /v1/users/natgeo/stories
Sample data in the live schema. Use private_x, ghost_x or hidden_x to see errors.
Parameters
userpathrequiredNumeric user id (cheapest) or username. A username we have to look up costs 1 extra credit (why). All digits = an id; write
@12345 for an all-digit username. Private accounts answer 403 private_account (free).byqueryoptionalOptional.
username or id: says which one user is, instead of guessing from the digits.storypathrequiredNumeric story id (from a story URL or a stories list).
freshqueryoptionaltrue skips the cache.FAQ
Does the account see that I viewed their story?
No. Stories are fetched by HandleHaul, not by your Instagram account, so you never appear in the viewer list.
How fresh are stories?
Stories are cached for 5 minutes. Pass fresh=true for a live fetch.