Social Fetch
Instagram

List Instagram profile posts

Get posts from a specific Instagram profile.

Use `data.lookupStatus` for the domain outcome; call `GET /v1/instagram/profiles/{handle}` when you need full profile cards and related fields.

When `lookupStatus` is `found`, an empty `data.posts` page with `hasMore: false` can still mean a public profile with no posts in range. When `lookupStatus` is `private` or `not_found`, posts will be empty by design.

GET/v1/instagram/profiles/{handle}/posts
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
2
handle*stringpath

Instagram handle whose posts should be listed.

min 1 chars · max 64 chars

cursorstringoptionalquery

Opaque pagination cursor from a previous response (`data.page.nextCursor`).

min 1 chars

Response fields
28

Endpoint-specific response payload.

datalookupStatus
string

Whether posts could be listed for this handle.

one of: found, private, not_found

Instagram posts for the requested profile page.

dataposts[]id
string

Instagram media id for this item (vendor-defined composite id).

min 1 chars

dataposts[]shortcode
string

Public shortcode used in the Instagram post URL.

min 1 chars

dataposts[]mediaType
string

Normalized media type.

one of: image, video, sidecar, unknown

dataposts[]caption
stringnullable

Caption text when Instagram provides one.

dataposts[]takenAt
integer

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

dataposts[]url
string

Canonical public Instagram URL for this media.

min 1 chars

dataposts[]displayUrl
stringoptional

Primary display image URL when available.

dataposts[]thumbnailUrl
stringoptional

Thumbnail or cover image URL when available.

dataposts[]videoUrl
stringoptional

Direct video URL when this item is a video and a URL is available.

dataposts[]likeCount
integeroptional

Like count when Instagram exposes it.

≥ 0

dataposts[]commentCount
integeroptional

Comment count when Instagram exposes it.

≥ 0

dataposts[]playCount
integeroptional

Play or view count for video content when Instagram exposes it (Instagram-only views when distinguishable).

≥ 0

Width and height when available.

dataposts[]dimensionswidth
integer

Media width in pixels.

≥ 0

dataposts[]dimensionsheight
integer

Media height in pixels.

≥ 0

Users tagged in the media when Instagram exposes them.

dataposts[]taggedUsers[]handle
string

Tagged Instagram username without a leading @.

min 1 chars

dataposts[]taggedUsers[]platformUserId
stringoptional

Instagram numeric user id for the tagged account when present.

Pagination state for the current response.

datapagenextCursor
stringnullable

Cursor to pass as `cursor` in the next request when more posts are available.

datapagehasMore
boolean

Whether another page of posts is available from Instagram.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/instagram/profiles/charlidamelio/posts" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Instagram posts for the requested profile page. Inspect `data.lookupStatus` to interpret empty `data.posts` and restriction outcomes.

On this page

No Headings