Keyword search over Instagram users, hashtags or places with names, counts and links.
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" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"nasa"}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"items": [
{
"handle": "<string | null>",
"name": "<string | null>",
"followers": "<integer | null>",
"verified": "<boolean | null>", …
}
]
}
},
"credits": 1
}Input and output
3 fields
nasa.16 fields
Good to know
One page per call (Instagram search is personalised and volatile).
The same key and credits work for every API.