Sources › Social media › Instagram › Get User Stories
Instagram User Stories API
Active stories (posted in the last 24 hours) of a public Instagram account, by username.
Request
https://api.zapi.ink/v1/social-media:instagram-scraper/stories/:usernameSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| username | string | path | Yes | Username (with/without @) or full Instagram URL Example: cnn |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:instagram-scraper/stories/cnn" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:instagram-scraper/stories/cnn", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:instagram-scraper/stories/cnn", headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Frequently asked questions
How do I call the Instagram User Stories API?
Send a GET request to https://api.zapi.ink/v1/social-media:instagram-scraper/stories/cnn with your Zapi key in the x-api-key header. Parameters — required: username. The response is JSON in the { project, data, timestamp } envelope.
What does the Instagram User Stories API return?
Active stories (posted in the last 24 hours) of a public Instagram account, by username.
Is the Instagram User Stories API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 5 Zap. Paid plans raise the limits.
Can an AI assistant call the Instagram User Stories API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "instagram-scraper" and endpoint "stories".
What other Instagram API endpoints are there?
It has 8 endpoints. Besides Get User Stories: Get User Profile, Get User Posts, Get Detail Post, Get Post Comments, Get User Reels, Get Tagged Posts, and 1 more.