Instagram Get User By Id

PythonSocial Media
POST api.upapi.io/instagram-get-user-by-id.post

Resolve an Instagram profile from a numeric user id, no login. Anonymous returns identity (username, profile picture) — see detailLevel.

instagramprofileuserscrapingsocialhttp
AuthAPI key
Cost15 units
Timeout20s
Cache300s

Request schema

FieldTypeDescription
userIdreq
stringNumeric Instagram user id (pk)
proxyUrl
Optional proxy URL. Instagram 401-gates anonymous reads per egress IP.· default: null

Response schema

FieldTypeDescription
pkreq
string
fbid
· default: null
successreq
boolean
bioLinksreq
array
category
· default: null
fullName
· default: null
usernamereq
string
biography
· default: null
elapsedMsreq
integer
fetchedAtreq
string
isPrivate
· default: null
isBusiness
· default: null
isVerified
· default: null
mediaCount
· default: null
detailLevelreq
string'stub' = identity only (what anonymous returns today); 'full' = counts and profile detail were disclosed
externalUrl
· default: null
publicEmail
· default: null
businessEmail
· default: null
businessPhone
· default: null
followerCount
null = not disclosed by this surface, never 'zero followers'· default: null
profilePicUrl
· default: null
followingCount
· default: null
isProfessional
· default: null

Try it

Try it

Numeric Instagram user id (pk)

Optional proxy URL. Instagram 401-gates anonymous reads per egress IP.

Run this endpoint live

Jump in as a guest — no signup — and run instagram-get-user-by-id.post with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

curl -X POST https://api.upapi.io/instagram-get-user-by-id.post \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "userId": "example" }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.