# Meta Ad Library ads for a keyword

Provider: Crawl4AI
Final price: $0.00165/success
Success rate: n/a

The ads the Meta Ad Library (Facebook, Instagram, Messenger) shows for a keyword search, one row per ad: advertiser page, dates, platforms, text, link, button, media, cards, and spend and impressions for political ads. `query` is the search text; `country` is ALL or two letters (US, GB, DE); `active_status` is active or all; `limit` up to 100. A view shows up to 30 ads; below `limit`, the recipe adds the search split by media type (4 more fetches, not in the Library's order). No login. 2-8 s; if Facebook refuses our address, a residential exit (3-10 s), then a browser: 20-45 s, up to 10 units. 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.

## Example

```curl
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.meta-ads.library.search' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"query":"running shoes"}'
```

[View on Toolswitch](https://toolswitch.dev/zh/tools/crawl4ai.meta-ads.library.search)
