Social Fetch
Instagram

Get Instagram profile

Looks up an Instagram profile by handle. Outcomes such as found, private, or not found are indicated in `data.lookupStatus`.

Operation

GET/v1/instagram/profiles/{handle}

Headers

x-api-keystringrequired(header)

API key (`sfk_...`)

Parameters

handlestringrequired

Instagram handle to look up, with or without a leading @.

min 1 chars · max 64 chars

Response fields

data
objectrequired

Endpoint-specific response payload.

datalookupStatus
stringrequired

Whether the profile was found, private, or not found.

one of: found, private, not_found

dataprofile
objectrequirednullable

Profile details when available.

dataprofileplatform
stringrequired

Social platform for this profile.

one of: instagram

dataprofilehandle
stringrequired

Instagram username without the leading @.

dataprofiledisplayName
stringrequirednullable

Public display name on the Instagram profile.

dataprofilebio
stringrequirednullable

Profile biography text.

dataprofileavatarUrl
stringrequirednullable

Best available square avatar image URL.

dataprofileavatarUrlHd
stringnullable

Higher-resolution avatar URL when available.

dataprofileverified
booleanrequired

Whether Instagram marks the profile as verified.

dataprofileprofileUrl
stringrequired

Canonical public Instagram profile URL.

min 1 chars

dataprofileprivateAccount
booleanrequired

Whether the account is private.

dataprofileplatformUserId
string

Instagram numeric user id as a string.

dataprofilebusinessAccount
boolean

Whether the account is a business account.

dataprofileprofessionalAccount
boolean

Whether the account is a professional/creator account.

dataprofilecategoryName
stringnullable

Category label when Instagram provides one.

dataprofileexternalUrl
stringnullable

Primary external link from the profile.

dataprofilehighlightReelCount
integer

Number of story highlights on the profile.

≥ 0

dataprofilebioLinks
array

Structured bio links when available.

dataprofilebioLinks[]title
stringrequirednullable

Link title shown on the profile.

dataprofilebioLinks[]url
stringrequired

Destination URL.

min 1 chars

datametrics
objectrequirednullable

Profile metrics when available.

datametricsfollowers
integerrequired

Follower count reported by Instagram.

≥ 0

datametricsfollowing
integerrequired

Following count reported by Instagram.

≥ 0

datametricsposts
integerrequired

Total public posts count on the profile grid.

≥ 0

datarecentPosts
arrayrequired

Recent grid posts from the profile when available.

datarecentPosts[]id
stringrequired

Instagram media id for this post (vendor-defined).

datarecentPosts[]shortcode
stringrequired

Public shortcode for the post URL.

datarecentPosts[]mediaType
stringrequired

Normalized media type.

one of: video, image, sidecar, unknown

datarecentPosts[]caption
stringrequirednullable

Post caption when available.

datarecentPosts[]takenAt
integerrequired

When the media was taken or posted (Unix epoch seconds).

datarecentPosts[]commentCount
integer

Comment count when available.

≥ 0

datarecentPosts[]likeCount
integer

Like count when available.

≥ 0

datarecentPosts[]videoViewCount
integer

Video view count for video posts when available.

≥ 0

datarecentPosts[]displayUrl
string

Primary display image URL.

datarecentPosts[]thumbnailUrl
string

Thumbnail image URL.

datarecentPosts[]videoUrl
string

Direct video URL when available.

datarecentPosts[]dimensions
object

Width and height when available.

datarecentPosts[]dimensionswidth
integerrequired

Media width in pixels.

≥ 0

datarecentPosts[]dimensionsheight
integerrequired

Media height in pixels.

≥ 0

datarelatedProfiles
arrayrequired

Suggested related accounts when available.

datarelatedProfiles[]platformUserId
stringrequired

Instagram user id for the account.

datarelatedProfiles[]handle
stringrequired

Instagram username.

datarelatedProfiles[]displayName
stringrequirednullable

Display name.

datarelatedProfiles[]avatarUrl
stringrequirednullable

Profile picture URL.

datarelatedProfiles[]verified
booleanrequired

Whether the account is verified.

datarelatedProfiles[]privateAccount
booleanrequired

Whether the account is private.

meta
objectrequired

Metadata describing the request and billing outcome.

metarequestId
stringrequired

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integerrequired

Credits charged for this request.

≥ 0

metaversion
stringrequired

Public API version that served the response.

one of: v1

Code example

Responses

Lookup result. Check `data.lookupStatus` for `found`, `private`, or `not_found`.

Error codes

bad_requestinsufficient_creditsinternal_errorlookup_failedtemporarily_unavailableunauthorized

On this page