Instagram Post Stats API

Likes, comments and views for a public Instagram post or reel: the analytics a post exposes publicly. Send a public URL and get the fields in the same terms the platform uses.

Input: Public Instagram post URL. Returns: one object, in Instagram's own field names. Price: 2 credits per call; failed reads are free.

GET /v1/instagram/stats Public Instagram post URL · One object

Try it with a sample URL.

The snippets use the production endpoint. Replace the sample URL with your own public target before running them.

Try this API live Try the free tool
1

Pick a sample input

Start from a valid shape, then replace the sample value with your public target.

Selected instagram 5, 6, 7, ATE 🔥 @yawnzzn is serving up the coolest choreo for his new son… https://www.instagram.com/p/Dcn5O64y3xi/ Open

2

Preview the request

Use a server-side key and send parameters as query values.

GET https://api.sourcevine.io/v1/instagram/stats
curl -G 'https://api.sourcevine.io/v1/instagram/stats' \
  -H 'Authorization: Bearer sv_live_...' \
  --data-urlencode 'url=https://www.instagram.com/p/Dcn5O64y3xi/'
const params = new URLSearchParams({
  "url": "https://www.instagram.com/p/Dcn5O64y3xi/",
});

const res = await fetch('https://api.sourcevine.io/v1/instagram/stats?' + params, {
  headers: { Authorization: 'Bearer sv_live_...' },
});

const body = await res.json();
console.log(body.data);
import requests

r = requests.get(
    "https://api.sourcevine.io/v1/instagram/stats",
    params={"url": "https://www.instagram.com/p/Dcn5O64y3xi/"},
    headers={"Authorization": "Bearer sv_live_..."},
)

body = r.json()
print(body["data"])
Replays the recorded response. Nothing leaves your browser.
3

Read the response

Every success includes availability, a fetch timestamp and billing context.

GET /v1/instagram/stats Not run

Hit Show sample response to see the response.

A real Instagram Post Stats API response, recorded against the public target above.

available 2 credits recorded
Views64,790,729
Likes1,007,698
Comments12,909
Cost2 credits
{
  "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
}

Use this API from code, no-code tools, MCP clients and agents.

We build and maintain theseFirst-party surfaces, versioned with the API.

Response fields.

Each response includes typed availability, a fetch timestamp, and only the public fields this API promises.

FieldTypeMeaning
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.
comments integer
username string
mediaType string
profileLink string
publishedAt string

How a request is handled.

  1. 01 Send a public URL

    Send a public Instagram post URL. Sourcevine resolves ids, validates the resource type and returns a typed response.

  2. 02 Checked

    A URL of the wrong kind or platform is refused with a 400 before any fetch, and not charged.

  3. 03 Read

    The public data is read when you call. An identical request moments earlier is answered again, free.

  4. 04 Typed availability

    Deleted, private and unsupported resources return explicit statuses, so clients can stop retrying facts about the world.

  5. 05 JSON back

    Instagram names stay intact, so your code reads fullName instead of reverse-engineering a generic schema.

    fetchedAtcreditsChargedavailable

Every response carries fetchedAt and the platform timestamp, so you know how old a reading is before you act on it. Instagram Post Stats API fits recurring stats checks in dashboards, spreadsheets, workflows and agents.

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.

Where teams use Instagram Post Stats API.

Campaign reporting

Refresh public post metrics for the same URL set throughout a campaign.

Content benchmarking

Compare engagement fields in each platform’s own vocabulary.

Alerting

Watch a public post cross a view, comment or save threshold.

Data QA

Use typed availability and provenance to keep stale or private links out of reports.

2 credits per call, and nothing for a failed read.

The response and X-Credits-Charged header tell you what happened, including when it is zero.

Charged2 credits

  • AnsweredThe public data came back.
  • Not found or privateThe lookup was made, and that is the answer. The response says which.
  • Empty resultThe lookup was made and found nothing to return, such as an account with no posts.

Not charged0 credits

  • Failure on our sideA timeout or a read we could not complete.
  • Unsupported URLThe wrong kind of URL: refused before any fetch.
  • Cache hitAn identical request moments earlier, answered again.

Common questions.

What does Instagram Post Stats API return?

Likes, comments and views for a public Instagram post or reel: the analytics a post exposes publicly.

How is it billed?

A call costs 2 credits, including an empty result. Retrieval failures are not charged.

What happens when the resource is private or deleted?

The request returns available=false with a typed availability status. Not-found and private results are charged like any lookup; unsupported URLs and retrieval failures are not.

Does Sourcevine return contact data?

No. Bios, emails, phone numbers, postal addresses and private or restricted content are outside the public response contract.

Do I need to log in to Instagram?

No. Your integration authenticates with a Sourcevine API key. You do not need to supply Instagram credentials or a session.