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.
- 价格
- $0.00165/success按供应商原价
- 成功率
- —暂无成功率数据暂无成功率数据
- 延迟 p50
- ——
- 最后验证
- 2026年10月11日实测可用
POSThttps://toolswitch.dev/v1/tools/crawl4ai.meta-ads.library.advertiser预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
这个工具没有参数,详见供应商文档 ↗ 供应商文档
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00165/success 计费,已含服务费。