Social Fetch
Instagram

Get Instagram post or reel

Returns public metadata for a single Instagram post or reel. Play counts reflect Instagram-native totals when distinguishable from cross-posted network totals.

Operation

GET/v1/instagram/posts

Pricing

Base
1 credit
downloadMedia = trueHosted media download
+10 credits

Headers

x-api-keystringrequired(header)

API key (`sfk_...`)

Parameters

urlstringrequired(query)

Link to the post or reel.

min 1 chars · max 4096 chars

regionstring(query)

Optional two-letter region (country code) for request routing.

min 1 chars

trimboolean(query)

When true, returns a smaller response with fewer fields.

downloadMediaboolean+10 credits(query)

When true, returns permanent CDN URLs for media in `downloads`. Adds 10 credits (11 total including the base lookup).

Response fields

data
objectrequired

Endpoint-specific response payload.

datalookupStatus
stringrequired

Whether the post or reel was resolved.

one of: found, not_found

datapost
objectrequirednullable

Post details when found.

datapostid
stringrequired

Instagram media id.

min 1 chars

datapostshortcode
stringrequired

Public shortcode.

min 1 chars

dataposturl
stringrequired

Canonical public Instagram URL for this media.

min 1 chars

datapostcaption
stringrequirednullable

Caption text.

dataposttakenAt
integerrequired

Unix timestamp when the media was taken or posted.

datapostaccessibilityCaption
stringnullable
datapostisAd
boolean
datapostisAffiliate
boolean
datapostisPaidPartnership
boolean
dataowner
objectrequirednullable

Author when found.

dataownerplatformUserId
string

Instagram numeric user id.

dataownerhandle
stringrequired

Instagram username without a leading @.

min 1 chars

dataownerfullName
stringnullable

Display name when available.

dataownerverified
booleanrequired

Whether the account is verified.

dataowneravatarUrl
stringnullable

Profile picture URL.

dataownerprivateAccount
boolean

Whether the account is private.

datametrics
objectrequirednullable

Engagement metrics for the media.

datametricslikes
integernullable

Like count when Instagram exposes it.

≥ 0

datametricscomments
integernullable

Comment count when Instagram exposes it.

≥ 0

datametricsplayCount
integernullable

Play or view count for video/reel content when available.

≥ 0

datamedia
objectrequirednullable

Primary media payload for the post.

datamediamediaType
stringrequired

Normalized media type.

one of: image, video, sidecar, unknown

datamediadisplayUrl
stringnullable
datamediathumbnailUrl
stringnullable
datamediavideoUrl
stringnullable
datamediavideoDurationSec
numbernullable

≥ 0

datamediadimensions
object

Dimensions for a media item.

datamediadimensionswidth
integerrequired

Media width in pixels.

≥ 0

datamediadimensionsheight
integerrequired

Media height in pixels.

≥ 0

datamediaproductType
stringnullable

Product type when present (e.g. clips).

datamediacarouselChildren
array

Sidecar children when this is a carousel.

datamediacarouselChildren[]id
string
datamediacarouselChildren[]shortcode
string
datamediacarouselChildren[]displayUrl
string
datamediacarouselChildren[]videoUrl
stringnullable
datamediacarouselChildren[]isVideo
boolean
datadownloads
arrayrequired

Permanent CDN URLs when `downloadMedia` was true and media assets are available.

datadownloads[]postId
string

Post or media id when present.

datadownloads[]originalUrl
stringrequired

Original Instagram CDN URL.

datadownloads[]cdnUrl
stringrequired

Permanent hosted URL when download succeeded.

datadownloads[]type
stringrequired

Asset type.

one of: image, video

datataggedUsers
array
datataggedUsers[]handle
stringrequired

Tagged username.

min 1 chars

datataggedUsers[]platformUserId
string
datacoauthors
array
datacoauthors[]handle
stringrequired

min 1 chars

datacoauthors[]platformUserId
string
datacoauthors[]verified
boolean
datacoauthors[]avatarUrl
stringnullable
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

Post or reel metadata (found or not found in body).

Error codes

bad_requestinsufficient_creditsinternal_errorlookup_failedtemporarily_unavailableunauthorized

On this page