Skip to main content
GET
Instagram Post Stats
Public Instagram post data with observed likes, comments and views when exposed. Hidden counts remain null. Views may be unavailable and do not include Facebook cross-post views. Saves and shares are unavailable; include=saves returns 422. Canonical post URLs are returned with tracking query parameters removed. A successful uncached call costs 5 credits. Failed requests and cache hits cost zero. Only observed public fields are returned. Missing data is not replaced with zero or inferred private metadata. Public visibility can change.

Authorizations

x-api-key
string
header
required

Headers

Cache-Control
string
Idempotency-Key
string
X-Max-Credits
integer

Optional nonnegative integer cap on the maximum request hold. A live request whose hold exceeds this cap returns 422 CREDIT_BUDGET_EXCEEDED before spending. Metered holds use the requested limit; cache hits and successful idempotent replays cost zero.

Required range: x >= 0

Query Parameters

url
string
required
safe_url
boolean

Accepts true or false. Only validated public Instagram post URLs are accepted, and returned post URLs are always canonical without tracking parameters.

include
enum<string>

Unsupported by the current public source; supplying this parameter returns 422.

Available options:
saves

Response

Public Instagram post data with observed likes, comments and views when exposed. Hidden counts remain null. Views may be unavailable and do not include Facebook cross-post views. Saves and shares are unavailable; include=saves returns 422. Canonical post URLs are returned with tracking query parameters removed.

success
boolean
required
platform
string
required
endpoint
string
required
credits_used
integer
required
Required range: x >= 0
credits_remaining
integer | null
required
request_id
string
required
cached
boolean
required
data
object
required

The selected operation determines the resource fields in this object. Source data can omit a metric or report it as null.