GET /v1/meta_ads/stored/advertiser
Meta Ad Library stored advertiser API: ad counts and likes by page id
Returns one tracked advertiser (a Meta Page): name, username, category, verification, Instagram account, Page likes and total and active ad counts. Send the page_id. This is a stored read: an advertiser we do not track is a 404.
- Price
- $0.0002 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/meta_ads/stored/advertiser?page_id=9465008123' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/meta_ads/stored/advertiser",
params={
"page_id": "9465008123",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
page_id required | query | string | Meta Page id of the advertiser (from /v1/meta_ads/stored/search or /v1/meta_ads/search_companies). |
Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
json
{
"data": {
"page_id": "9465008123",
"page_name": "Amazon.com",
"page_username": "61557458285618",
"category": "Business",
"verification": null,
"profile_pic_url": "https://scontent.fdps2-1.fna.fbcdn.net/v/t39.35426-6/652509937_795416030301968_1974627614417241229_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=102&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=5SzjOYQZd9IQ7kNvwGxRPY1&_nc_oc=Adog-itRXhj4WlrVlpYJbMZHuJYdznsb4uS8lC…",
"profile_pic_cdn_url": null,
"ig_username": null,
"country": null,
"likes": 182227,
"ig_followers": null,
"is_tracked": true,
"ad_count": 1002,
"active_ad_count": 870,
"first_seen_at": "2026-07-08T17:11:38.292306Z",
"last_crawled_at": "2026-07-09T03:49:33.779010Z",
"deep_crawled_at": "2026-07-08T21:35:31.714013Z",
"ads_seen": 1002,
"ads_active": 870,
"ads_counted_at": "2026-07-09T04:02:51.118000Z"
},
"meta": {
"cost": "$0.0002",
"balance": "$0.7982",
"request_id": "req_00e8fc06398dc38618aec277bd9d0815"
}
}How it works
A tracked advertiser (Meta Page): page name/username, category, verification, Instagram link, page likes, and total/active ad counts — the discovery pivot for per-advertiser monitoring.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | Advertiser not tracked. |
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 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |