Social Media
Instagram User Stories
Get an Instagram user's active stories by username or user_id, as JSON.
POST/api/v1/instagram/user/stories
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonusernamestringInstagram username. Provide this or user_id.
Example: nasa
user_idstringNumeric user id. Provide this or username.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.instagram.user_stories(username="nasa")
print(results)Response
"count": 1,
"_backend": "igrapi"
},
"response_time": 6674,
"credits_used": 2,
"credits_remaining": 4730
}