Instagram Story & Mentions Fetcher
Under maintenancePricing
from $4.00 / 1,000 results
Instagram Story & Mentions Fetcher
Under maintenanceFetches active Instagram stories and @mention stickers for one or more usernames. Returns story media URLs, metadata, and mention details.
Pricing
from $4.00 / 1,000 results
Rating
0.0
(0)
Developer
Ghost Rider
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
7 days ago
Last modified
Categories
Share
Apify actor that fetches active Instagram stories and @mention stickers for one or more usernames.
Features
- Fetch active stories for multiple Instagram usernames in one run
- Extract
@mentionstickers with username, user ID, full name, and profile picture - Return image/video URLs in multiple resolutions
- Handle accounts with no active stories gracefully
Input
| Field | Required | Description |
|---|---|---|
usernames | Yes | Array of Instagram usernames (without @) |
sessionId | Yes | Instagram sessionid cookie |
csrfToken | Yes | Instagram csrftoken cookie |
proxyConfiguration | No | Defaults to Apify residential proxy, India (IN) |
requestDelayMs | No | Delay between accounts in ms (default: 1500) |
How to get Instagram cookies
- Log in to instagram.com in Chrome
- Press
F12→ Application tab → Cookies →https://www.instagram.com - Copy
sessionidandcsrftokenvalues - Use a test account — not your main personal account
Default cookies on Apify
After apify push, open the actor in Apify Console → Input tab → paste your sessionId and csrfToken → click Save & Start once. Apify remembers them as the default input for future runs.
For local runs, copy INPUT.json.example to INPUT.json and fill in your cookies there (INPUT.json is gitignored).
Schemas
| File | Purpose |
|---|---|
.actor/input_schema.json | Apify input form with sample usernames, cookies, and India residential proxy |
.actor/output_schema.json | Links run output to the dataset in Apify Console |
.actor/dataset_schema.json | Documents every output field with examples |
Output
Each dataset item is either a full story record or a minimal "no stories" record.
Story with mentions
{"storyId": "3912892102384725364","userId": "3054343568","username": "arya_jain_","mediaType": "video","imageUrl": "https://...","videoUrl": "https://...","storyBloksStickersCount": 1,"storyBloksStickers": [{"stickerType": "mention","mentionUsername": "magnetomall","mentionAccountId": "6282740940","mentionFullName": "Magneto Mall","mentionProfilePicUrl": "https://..."}]}
No active stories
{"username": "explorewithsparsh","mediaType": "none","storiesCount": 0,"takenAtFormatted": "No active stories","success": true}
Local development
$npm install
Create INPUT.json in the project root:
{"usernames": ["natgeo"],"sessionId": "YOUR_SESSION_ID","csrfToken": "YOUR_CSRF_TOKEN"}
Run locally with Apify CLI:
$apify run
Deploy to Apify
$apify push
Limitations
- Requires valid Instagram session cookies (expire every few weeks)
- Private accounts only work if the logged-in user follows them
- Instagram may rate-limit or block requests — use Apify proxy
- Scraping Instagram is against their Terms of Service — use at your own risk