GET /v1/instagram/likers
Instagram likers API: accounts that liked a post, by media id
Returns the accounts that liked one Instagram post as Account[]: id, username, full name, verified and private flags and profile picture URL. Send the numeric media_id. This read uses one of our signed-in Instagram accounts.
- Price
- $0.0100 per page
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/instagram/likers?media_id=3955764706547590026' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/instagram/likers",
params={
"media_id": "3955764706547590026",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
media_id required | query | string | Numeric media id (the post pk). A post shortcode is accepted and converted. |
cached | query | auto | cache_only | live | auto (default) serves a read saved within the last 24 hours for these exact arguments, otherwise fetches. cache_only never contacts Instagram (404 not_cached when nothing is saved, whatever its age). live always fetches. Anything else is a 400. A saved read is an earlier answer of this operation for the same arguments; an account in the profile library (/v1/instagram/profile) is not one until this operation has read it. |
get_raw | query | boolean | true returns the upstream JSON exactly as Instagram answered it instead of the normalized Account[]. |
Example response
The example response of the API reference.
json
{
"data": [
{
"id": "777",
"username": "liker_one",
"full_name": "L One",
"is_verified": false,
"is_private": false,
"avatar_url": "https://scontent.cdninstagram.com/l1.jpg",
"latest_story_at": null,
"extra": {}
}
],
"meta": {
"source": "live",
"fetched_at": "2026-09-09T03:10:22Z",
"cost": "$0.0100",
"balance": "$0.3777",
"request_id": "req_f1abb41157ca15c565d48a90bacef554"
}
}How it works
Wraps GET /api/v1/media/{id}/likers/. Returns Account[] under data; with get_raw=true returns the upstream JSON.
Unknown, unsupported, and repeated query parameters return 400 before acquisition or billing.
The example response is the crawler's own projection of a synthetic upstream document into Account[], not a live capture.
Billing: $0.0100 per call. This read spends one of our signed-in Instagram accounts, so it costs more than a logged-out read.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
403 | Instagram does not show this account to logged-out readers: it is private, hidden or restricted, or it no longer exists. Retrying will not change the answer until the account changes. You are not charged. |
404 | cached=cache_only found nothing saved for these arguments (not_cached; call again with cached=auto to fetch it), or the account, post, highlight, or location does not exist (not_found). |
429 | Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | capacity_exhausted means every logged-in reader this request may use is busy or waiting for a session opening; retry after the Retry-After delay. billing_unavailable means billing could not be confirmed, so no data was returned. You are not charged. |
504 | The upstream request timed out. You are not charged. |