GET /v1/meta_ads/stored/advertisers
Meta Ad Library advertiser directory API: tracked advertisers by name
Returns the advertisers we track whose Page name or handle starts with query, sorted by active ads, total ads or Page likes: page id, name, category, ad counts, Page likes and Instagram account. Without query it lists every tracked advertiser, and total counts every match. Use a pageId from the answer with the stored advertiser, ads, insights and search APIs.
- Price
- $0.0010 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/meta_ads/stored/advertisers?query=nike&limit=2' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/meta_ads/stored/advertisers",
params={
"query": "nike",
"limit": "2",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
query | query | string | Start of the Page name or handle. |
sort_by | query | activeAds | totalAds | likes | Sort order. |
limit | query | integer | Rows to return. |
offset | query | integer | Rows to skip. |
Example response
The example response of the API reference.
{
"data": {
"advertisers": [
{
"pageId": "15087023444",
"pageName": "Nike",
"pageUsername": "nike",
"category": "Sportswear Store",
"verification": "BLUE_VERIFIED",
"profilePicUrl": "https://api.virev.ai/v1/media/meta_advertiser/15087023444/profile_pic?e=1793750400&s=98b4bdad4fd7074de644339239015e70",
"igUsername": "nike",
"country": null,
"likes": 39494438,
"igFollowers": 290888123,
"adCount": 90,
"activeAdCount": 22,
"lastCrawledAt": "2026-10-27T21:34:15.574903Z",
"deepCrawledAt": "2026-09-30T06:14:00.881296Z",
"isTracked": true
},
{
"pageId": "103164259268905",
"pageName": "Nike Seoul",
"pageUsername": "nikeseoul",
"category": "Brand",
"verification": "NOT_VERIFIED",
"profilePicUrl": "https://api.virev.ai/v1/media/meta_advertiser/103164259268905/profile_pic?e=1793750400&s=e966b7b00abe4e43f846c19d22a52392",
"igUsername": "nikeseoul",
"country": null,
"likes": 27010,
"igFollowers": 330824,
"adCount": 0,
"activeAdCount": 0,
"lastCrawledAt": null,
"deepCrawledAt": null,
"isTracked": false
}
],
"total": 14,
"next_cursor": {
"offset": 2
},
"has_more": true
},
"meta": {
"cost": "$0.0010",
"balance": "$49.9785",
"request_id": "req_3c2af500dc0588dd10bcee4312c39f6c"
}
}How it works
The tracked advertiser directory: a prefix match on Page name or handle, sorted by active ads, total ads or Page likes. Without query it lists every tracked advertiser. total counts every match, and next_cursor ({ offset }) with has_more names the next page. Use a pageId with /v1/meta_ads/stored/advertiser, /v1/meta_ads/stored/advertiser/ads, /v1/meta_ads/stored/insights or /v1/meta_ads/stored/search.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
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. |