How RAW API Works
The RAW API gives you access to live, unaggregated influencer data:
Follower lists
Recent content (posts & stories)
Comments, tags, and mentions
Hashtags used in posts
Post metadata (likes, comments, timestamps)
Use Cases Include:
Real-time campaign tracking
Custom influencer enrichment
Sentiment analysis
Audience overlap modeling
โน๏ธ Modash does not alter, enrich, or aggregate RAW API data โ responses mirror what's available publicly at the time of the request.
๐ If a userโs content or profile is private, Modash will not return that data.
โน๏ธ Some endpoints (like /user-tags-feed
or /hashtag-feed
) may return variable batch sizes depending on platform response constraints.
๐ง Key Use Cases & Endpoints
Use Case | Relevant Endpoints |
Real-time content monitoring |
|
Audience overlap analysis |
|
Sentiment & comment tracking |
|
Content classification |
|
Instagram user/hashtag search |
|
Each endpoint returns raw JSON data directly from public platforms. You'll need to structure, enrich, or deduplicate the data on your end.
Per-Request Limits
Endpoint | Max per request |
| 12 posts (Instagram) |
| All active stories available; no fixed limit. Cache applies only if the initial request fails. |
| 100 followers |
| 20 comments |
| Number of posts varies; use pagination via |
| 1 post per request โ returns likes, comments, tags, paid status, etc. |
Integration Tips
Queueing & Rate Limits
Handle
429 Too Many Requests
using exponential backoffAvoid concurrent requests per influencer
Retry Strategy (JavaScript):
javascriptCopyEditconst delays = [1000, 2000, 4000]; for (let delay of delays) { try { const res = await fetch(url); if (res.ok) break; } catch { await new Promise(r => setTimeout(r, delay)); } }
Caching
Cache follower snapshots, post data, or comments when reprocessing the same influencer
Reduces API load and improves repeat query speed
โ ๏ธ Thumbnail URLs (e.g., from
/user-feed
) may expire quickly โ store if needed
Story Caching Behavior
Story content is cached for up to 3 hours only if the initial fetch fails
If a story expires from the source platform, it cannot be retrieved later
Data Enrichment Flow (Optional)
Use the RAW API to enrich workflows from the Discovery API:
Use Discovery API to shortlist influencers
Fetch recent posts via
/user-feed
Analyze hashtags, metadata, or comment sentiment via
/media-comments
or/media-info
Use
/user-followers
to model audience overlap
Developer Notes
RAW API responses are unprocessed, direct from public data sources
Private, deleted, or restricted content may return
null
or be excludedAll timestamps are in UNIX format (milliseconds)