Search Instagram Reels by keyword through Instagram's own reels search, with views, likes, comments, caption and creator.
1 credit/ call
Never more than 3 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/instagram.reels_search" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"coffee"}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"reels": [
{
"username": "<string | null>",
"displayName": "<string | null>",
"likes": "<integer | null>",
"hasAudio": "<boolean | null>", …
}
]
}
},
"credits": 1
}Input and output
3 fields
coffee.36 fields
Good to know
Results are relevance-ranked, not chronological. Repeated ids are removed within a page.
One page per call. Send nextCursor back as cursor to read the next page.
The same key and credits work for every API.