Instagram Post Stats API reference
Likes, comments and views for a public Instagram post or reel: the analytics a post exposes publicly. Takes a public URL, 2 credits a call.
This named API keeps Instagram fields in Instagram's own vocabulary. For a higher-level product page, see Instagram Post Stats API.
Endpoint
GET /v1/instagram/stats
Authorization: Bearer sv_live_... `POST` is also accepted with the same parameters in the request body. Send the key in the `Authorization` header, never in the query string.
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
url | string | yes | Public Instagram URL matching this API's input. |
Sample Request
This is a copyable request shape. Replace the sample values with the public Instagram target or parameters your workflow uses.
curl -G 'https://api.sourcevine.io/v1/instagram/stats' \
-H 'Authorization: Bearer sv_live_...' \
--data-urlencode 'url=https://www.instagram.com/p/Dcn5O64y3xi/' Sample Response
A response this API returned, against the target above. Your values depend on the resource you ask about and when you ask.
{
"data": {
"url": "https://www.instagram.com/p/Dcn5O64y3xi/",
"likes": 1007698,
"saves": null,
"views": 64790729,
"cached": false,
"postId": "Dcn5O64y3xi",
"caption": "5, 6, 7, ATE 🔥\n\n@yawnzzn is serving up the coolest choreo for his new song “Ice Cream” 🍦🕺",
"comments": 12909,
"username": "instagram",
"fetchedAt": "2026-09-02T07:17:14Z",
"mediaType": "video",
"profileLink": "https://www.instagram.com/instagram",
"publishedAt": "2026-08-29T12:05:16Z",
"cacheAgeSeconds": null,
"sourceTimestamp": null
},
"success": true,
"available": true
} Fields
| Field | Type | Notes |
|---|---|---|
url | string | Canonical public post URL. |
postId | string | Platform post or video id. |
caption | string | null | Public text after contact-detail scrubbing. |
views | integer | null | Absent where the platform does not publish it. |
likes | integer | null | Public like count when available. |
saves | integer | null | Platform-native engagement field. |
fetchedAt | ISO datetime | When Sourcevine read the public page. |
sourceTimestamp | ISO datetime | null | The platform timestamp when it is available. |
cached | boolean | True when this answer repeats an identical request made moments earlier. |
cacheAgeSeconds | integer | Seconds since the reading was taken. |
Availability States
| Status | Charged | Client behavior |
|---|---|---|
available | yes for live reads | Use data. |
not_found | yes | Store the state and stop polling. |
private | yes | Store the state and stop polling. |
unsupported | no | Fix the URL or call the matching API. |
upstream_unavailable | no | Retry later with backoff. |
Unavailable resources return `success: true`, `available: false`, `availability`, and `data: null`. API or authentication failures return `success: false` with an `error` object.
Billing
A call costs 2 credits. A deleted, private or empty resource is charged like any lookup and says so. An unsupported URL or a read we could not complete is not charged. The `X-Credits-Charged` response header is the source of truth for what happened on that request.
Successful responses include `fetchedAt`, the time we read the platform.
What This API Does Not Return
- No contact or bio fields: Bios, email addresses, phone numbers, postal addresses and messenger handles are outside the response contract.
- No private data: Private accounts, restricted content and unavailable resources return typed availability instead of guessed data.
- No comment bodies: Stats APIs return public engagement counts. They do not return individual comments or commenter identities.
Related
- Instagram API hub
- Instagram Post Stats API product page
- Quickstart
- Credits and billing
- Instagram Profile API reference
- Instagram Channel Posts API reference
- Instagram Search API reference
- Instagram Hashtag API reference
Last updated 1 September 2026