Public profile of one Instagram account by handle: bio and links, follower, following and post counts, verification and business flags.
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.profile" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"nasa"}'{
"output": {
"found": true,
"data": {
"handle": "<string>",
"displayName": "<string | null>",
"followers": "<integer | null>",
"verified": "<boolean | null>", …
}
},
"credits": 1
}Input and output
1 field
nasa.17 fields
Good to know
Private accounts are still found. You get found: true, private: true and whatever public details Instagram shows for the account.
Unknown handles return found: false. A miss is an answer, not an error.
Avatar URLs expire. Avatar URLs are signed CDN links that expire. Save the file if you need to keep it.
The same key and credits work for every API.