Core public profile fields (username, counts, bio, verification) for an Instagram account when you already hold its numeric user id.
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.basic_profile" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId":"25025320"}'{
"output": {
"found": true,
"data": {
"handle": "<string>",
"displayName": "<string | null>",
"followers": "<integer | null>",
"verified": "<boolean | null>", …
}
},
"credits": 1
}Input and output
1 field
25025320.17 fields
Good to know
Faster than instagram.profile because no handle lookup is needed.
Unknown user ID? It comes back as not found, not as an error.
The same key and credits work for every API.