YepAPI
Instagram API

Post Likers

Get users who liked an Instagram post.

POST/v1/instagram/post-likers
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/instagram/post-likers', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ shortcode: 'C5xAbCdEfGh' }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/instagram/post-likers \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"shortcode": "C5xAbCdEfGh"}'

Request Body

ParameterTypeRequiredDescriptionDefault
shortcodestringYesPost shortcode from the Instagram URL
end_cursorstringNoPagination cursor from previous response

Response

{
  "ok": true,
  "data": {
    "has_next_page": true,
    "end_cursor": "QVFDcE...",
    "likers": [
      {
        "id": "12345678901",
        "username": "photo_fan",
        "full_name": "Photo Fan",
        "profile_pic_url": "https://scontent.cdninstagram.com/...",
        "is_verified": false,
        "is_private": false
      }
    ]
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.has_next_pagebooleanWhether more likers are available
data.end_cursorstringCursor for fetching the next page
data.likersobject[]Array of user objects who liked the post
data.likers[].idstringUnique user identifier
data.likers[].usernamestringInstagram username
data.likers[].full_namestringUser's display name
data.likers[].profile_pic_urlstringProfile picture URL
data.likers[].is_verifiedbooleanWhether the user is verified
data.likers[].is_privatebooleanWhether the account is private

Use the end_cursor value from the response to paginate through likers.

On this page