Meta Ad Library ads of one advertiser
crawl4ai.meta-ads.library.advertiserThe ads one Facebook page runs, as the Meta Ad Library shows them, one row per ad: dates, platforms, text, link, button, media, cards; spend and reach for political ads. `page` is the page id, its Ad Library or Facebook URL, a company name (Tolteck) or web domain (tolteck.com); a name or domain picks the page (1-2 more fetches); the warnings say which, or that none matched. `country` (ALL or two letters) and `active_status` (active or all), left empty, take an Ad Library URL's values, else ALL and active. No login. 2-8 s; refused: a residential exit, then a browser (20-45 s). Columns: ad_archive_id, ad_url, page_id, page_name, page_url, page_likes, is_active, start_date, end_date, platforms, display_format, title, body, link_url, link_caption, cta, cta_type, images, videos, cards, same_creative_ads, impressions, spend, currency, paid_for_by.
- Price
- $0.00165/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Oct 11, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.meta-ads.library.advertiserPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
This tool has no parameters. See provider docs ↗ Provider docs
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.meta-ads.library.advertiser' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"page":"15087023444"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crawl4ai.meta-ads.library.advertiser",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"page\":\"15087023444\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.meta-ads.library.advertiser", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"page\":\"15087023444\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00165/success, including the service fee.