Find public Instagram profiles matching a keyword (name, handle or bio words) with handle, name, verified and private flags.
1 credit/ call
Never more than 29 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/instagram.search_profiles" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"yoga coach"}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"profiles": [
{
"handle": "<string>",
"displayName": "<string | null>",
"followers": "<integer | null>",
"verified": "<boolean | null>", …
}
]
}
},
"credits": 1
}Input and output
3 fields
yoga coach.15 fields
Good to know
Instagram-native account search (names, handles, some bio words). Not a web index of bios/captions.
One page per call. Send nextCursor back as cursor to read the next page.
The same key and credits work for every API.