Accounts Instagram recommends as similar to a public profile, with handle, display name, verified flag and avatar.
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.similar_profiles" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"nasa","userId":"528817151"}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"profiles": [
{
"username": "<string>",
"displayName": "<string | null>",
"verified": "<boolean | null>",
"private": "<boolean | null>", …
}
]
}
},
"credits": 1
}Input and output
3 fields
nasa.528817151.6 fields
Good to know
One suggestion set per call. Suggestions are personalised and volatile, and small or private accounts may get none.
Unknown handle? It comes back as not found, not as an error.
The same key and credits work for every API.