Instagram Stories Scraper API
Returns the active stories currently in a user's story tray. Each story includes its id, media URLs (image or video), thumbnail, duration, capture time, and the author. Pass either handle or user_id. Passing user_id is faster because no username lookup is needed.
GET /api/v1/data/instagram/stories · 5 credits per call · The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.
Inputs
handle: Instagram username without the @ symbol.user_id: Instagram numeric user ID. Use this for faster responses.since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.count(integer): How many posts this answer holds.posts[].id(string): The item's ID on the platform.posts[].url(string): Link to it on the platform.posts[].published_at(string): When it was published (ISO 8601).posts[].language(string): Its language code.posts[].deleted(boolean): Whether it was deleted.posts[].author_username(string): The author's username.posts[].author_name(string): The author's display name.posts[].author_verified(boolean): Whether the author is verified.posts[].author_avatar_url(string): The author's picture.posts[].media[].url(string): Its media.posts[].media[].thumbnail_url(string): Its media's thumbnail.posts[].media[].duration_seconds(number): Its video's length in seconds.posts[].content_type(string): What it is: post.posts[].platform(string): The platform's name.posts[].source_data(object): Everything the platform sent for this row, as it came.posts[].source_data.computed.content_category(string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.posts[].source_data.computed.engagement_rate(number): Computed engagement rate (0..1).posts[].source_data.computed.estimated_reach(number): Estimated reach based on views or follower count. Null when uncomputable.posts[].source_data.computed.language(string): ISO 639-1 language code detected from the post text. Null when undetectable.posts[].source_data.computed.save_rate(number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.posts[].source_data.post.author.avatar_url(string): URL to author profile pictureposts[].source_data.post.author.display_name(string): Author display nameposts[].source_data.post.author.username(string): Author usernameposts[].source_data.post.author.verified(boolean): Whether the author account is verifiedposts[].source_data.post.content.duration_seconds(number): Video/clip duration in seconds (null for non-video posts)posts[].source_data.post.content.media_urls(any): URL(s) of the primary media. Single string for video/photo posts; array of strings for carousels.posts[].source_data.post.content.thumbnail_url(string): URL to thumbnail imageposts[].source_data.post.ext.coauthors(array): Instagram collaborative posts (the native "Collab" feature). The full list of co-author accounts on the post, as `{ id, username, full_name, is_verified, profile_pic_url }`. A collab post has ONE producer and appears in every co-author's grid, so `post.author` is whichever account created it, which is not necessarily the profile you queried. The complete set of accounts on a post is `post.author.username` plus every `username` in this array.posts[].source_data.post.ext.media_type(string): Media kind: image, video or carousel.posts[].source_data.post.ext.published_at_epoch(number): Kept for one deprecation cycle for integrations pinned to the numeric form.posts[].source_data.post.flags.deleted(boolean): Whether the post is tombstoned (always present)posts[].source_data.post.id(string)posts[].source_data.post.published_at(any): Post creation timestamp as an ISO 8601 UTC string.posts[].source_data.post.url(string)
Good to know
- Each call costs 5 credits. A call that finds nothing, or fails, is free.
- The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.
- Send one of: handle, user_id.
Example call
GET /api/v1/data/instagram/stories?handle=instagram
Questions
How much does the Instagram Stories API cost?
Each call costs 5 credits. A call that finds nothing, or fails, costs nothing.
What do I send?
Give one of handle and user_id. 4 more inputs are optional: handle, user_id, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How fresh is the data?
The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.
Do I need an Instagram account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.
Related Instagram endpoints
- Story Download: Download a single Instagram story. 5 credits a call
More Instagram scraper APIs
- Instagram Audio Reels Scraper API
- Instagram Basic Profile Scraper API
- Instagram Comment Scraper API
- Instagram Comment Likers Scraper API
- Instagram Engagement Scraper API
- Instagram Followers Scraper API
- Instagram Following Scraper API
- Instagram Hashtag Scraper API
- Instagram Highlight Detail Scraper API
- Instagram Highlights Scraper API
- Instagram Location Scraper API
- Instagram Location Posts Scraper API
- Instagram Media Screen Text Scraper API
- Instagram Media Transcript Scraper API
- Instagram Music Trending Scraper API
- Instagram Post Comment Replies Scraper API
- Instagram Post Likers Scraper API
- Instagram Post Stats Scraper API
- Instagram Profile About Scraper API
- Instagram Profile Country Scraper API
- Instagram Profile Full Scraper API
- Instagram Profile Posts Scraper API
- Instagram Profile Posts Full Scraper API
- Instagram Profile Reels Full Scraper API
- Instagram Reels Trending Scraper API
- Instagram Search Scraper API
- Instagram Search Hashtag Scraper API
- Instagram Search Location Scraper API
- Instagram Search Mentions Scraper API
- Instagram Search Music Scraper API
- Instagram Search Popular Scraper API
- Instagram Search Profiles Scraper API
- Instagram Similar Scraper API
- Instagram Story Download Scraper API
- Instagram Tagged Scraper API
- Instagram Trending Searches Scraper API
- Instagram User Embed Scraper API
- Instagram Username Suggestions Scraper API