Skip to main content

Instagram likes API

GET /ig/media/likers/{pk|shortcode} · base https://api.getsocialapi.com/v1

Users who liked the media. Upstream: media/{pk}/likers/. One shot of up to ~100 users — the route has no pagination.

Request​

ParameterInRequiredDescription
pkpathyesNumeric media id, without the _userid suffix, or the post shortcode from its URL (e.g. Deu3BoCBbDP)

Example​

curl https://api.getsocialapi.com/v1/ig/media/likers/4003541350560126622 \
-H "X-API-Key: gsa_live_..."

Response​

{
"users": [
{
"pk": 74162010626,
"pk_id": "74162010626",
"strong_id__": "74162010626",
"id": "74162010626",
"account_badges": [],
"full_name": "rajaniii",
"is_private": false,
"is_verified": false,
"profile_pic_id": "3987482246881970403_74162010626",
"profile_pic_url": "https://…",
"username": "_rajani_066",
"latest_reel_media": 1792116948
}
],
"user_count": 379918,
"play_count": 57206589,
"follow_ranking_token": "f29c6d93…|osr",
"status": "ok"
}

User fields​

FieldTypeDescription
users[].pkintNumeric user id — same value as pk_id, id, strong_id__
users[].usernamestringHandle, no @
users[].full_namestringDisplay name
users[].is_private / is_verifiedboolAccount flags
users[].profile_pic_urlstringAvatar URL (signed, expires)
users[].latest_reel_mediaintUnix timestamp of the user's latest story; 0 when none
user_countintTotal likes count on the media
play_countintVideo plays (video media only)
note

Instagram closed the full likers list server-side: the response returns a fixed slice of ~50 users with no pagination. user_count always reflects the real total. Comment likers are not available at all — only the comment_like_count counter in media comments.

Errors​

HTTPMeaning
401 / 403 / 429see Rate limits
404media does not exist