Newest Instagram posts under a hashtag, read from its live chronological feed, for monitoring a tag as posts appear.
1 credit/ call
Never more than 58 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/instagram.hashtag_recent_posts" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"hashtag":"travel"}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"posts": [
{
"username": "<string | null>",
"displayName": "<string | null>",
"likes": "<integer | null>",
"countsHidden": "<boolean | null>", …
}
]
}
},
"credits": 1
}Input and output
3 fields
travel.34 fields
Good to know
Engagement counts on fresh posts are usually near zero. The recent feed excludes reels.
Flat price per page. limit trims a page and the cursor resumes inside it.
The same key and credits work for every API.