POST /v1/meta_ads/stored/advertisers/lookup
Meta Ad Library watchlist API: new ads of many advertisers by page id
Returns many tracked Meta advertisers in one call, each with its latest ad start (latestAdStartedAt), newest ingest time (ingestCursor) and newAdCount, the ads ingested after that page's newSince time. Send pageIds and newSince in a JSON body, and store each ingestCursor as the next newSince. An id we do not track is left out and not billed.
- Price
- $0.0002 per result
- Billing
- $0.0002/item
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl -X POST 'https://api.virev.ai/v1/meta_ads/stored/advertisers/lookup' \
-H "Authorization: Bearer $VIREV_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"pageIds":["9465008123","15087023444"],"newSince":{"9465008123":"2026-10-01"}}'import os
import requests
response = requests.request(
"POST",
"https://api.virev.ai/v1/meta_ads/stored/advertisers/lookup",
json={
"pageIds": ["9465008123", "15087023444"],
"newSince": {
"9465008123": "2026-10-01",
},
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Request body
{
"pageIds": [
"9465008123",
"15087023444"
],
"newSince": {
"9465008123": "2026-10-01"
}
}Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
{
"data": {
"advertisers": [
{
"pageId": "9465008123",
"pageName": "Amazon.com",
"pageUsername": "katrinaforeal",
"category": "Brand",
"verification": null,
"profilePicUrl": "https://scontent.fyto1-2.fna.fbcdn.net/v/t39.35426-6/841736001_1573511383985637_1424000039841587378_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=104&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=uXYo2CjQlNMQ7kNvwGZOSfO&_nc_oc=AdqZvu3UjJl…",
"igUsername": null,
"country": null,
"likes": 14344,
"igFollowers": null,
"adCount": 3995,
"activeAdCount": 3572,
"lastCrawledAt": "2026-10-09T17:25:40.238919Z",
"deepCrawledAt": "2026-10-09T17:25:40.249946Z",
"isTracked": false,
"latestAdStartedAt": "2026-10-09T07:00:00Z",
"ingestCursor": "2026-10-09T17:25:40.238919Z",
"newAdCount": 3984
},
{
"pageId": "15087023444",
"pageName": "Nike",
"pageUsername": "nike",
"category": "Sportswear",
"verification": null,
"profilePicUrl": "https://scontent-lhr11-1.xx.fbcdn.net/v/t39.35426-6/158841078_220175766515160_5243641419988248381_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=106&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=dtfZ-RKNjxEQ7kNvwHPW5lA&_nc_oc=AdruTg7rzyMcvb80xVo8q_LWkiYFMVFF6idy311…",
"igUsername": null,
"country": null,
"likes": 39504399,
"igFollowers": null,
"adCount": 0,
"activeAdCount": 0,
"lastCrawledAt": "2026-10-12T13:07:46.356684Z",
"deepCrawledAt": null,
"isTracked": false,
"latestAdStartedAt": "2026-10-06T07:00:00Z",
"ingestCursor": "2026-10-12T13:07:46.356684Z",
"newAdCount": null
}
]
},
"meta": {
"cost": "$0.0004",
"balance": "$9.9921",
"request_id": "req_4736a626aec97844ef91b5d69f526816"
}
}How it works
Many tracked advertisers in one call, for a watchlist: each row adds the latest ad start (latestAdStartedAt), the newest ingest time (ingestCursor), and newAdCount, the ads ingested after that page's newSince cursor. Store ingestCursor as the next newSince. Billed at the advertiser price per advertiser returned; an id the corpus does not hold is left out and not billed.
A POST: the ids are a JSON body. Unknown fields are ignored; invalid types return 400 before billing.
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. |