The Meta Ads Library is public — no account needed to browse it. But browsing is
not the same as having the data. If you want a table of every competitor running
ads on a keyword, you need to scrape it.

The result below came from one real run on 2026-11-14: 25 ads for "meal kit"
running in the US.

Advertiser Started Offer
HelloFresh 2026-10-22 "10 FREE meals + FREE breakfast for life!"
Kroger (Home Chef) 2026-10-26 "Meals starting at $4.99/serving"
Hungryroot 2026-04-28 "40% off your order"

Summary from all 25: HelloFresh had 5 ads, Kroger 4, Hungryroot 3. 13 of the 25
were actual meal kits; the rest were matched by keyword but off-topic.

Download all 25 ads

The Actor: automatic/facebook-ads-library-scraper

Published at apify.com/automatic/facebook-ads-library-scraper.

What each ad row returns: archive ID, advertiser, start/end dates, platforms,
ad text (body copy), CTA type, media links. Spend and impressions are only available
for political or regulated ads — Meta does not publish these for commercial ads.

Run it from the terminal

apify call automatic/facebook-ads-library-scraper \ -i '{"searchTerms": ["meal kit"], "country": "US", "activeStatus": "active", "maxItems": 25}' \ -s -o > ads.json 

Follow a specific competitor by page ID:

apify call automatic/facebook-ads-library-scraper \ -i '{"pageIds": ["320774061283785"], "country": "US", "activeStatus": "active", "maxItems": 50}' \ -s -o > competitor-ads.json 

The page ID is the number after view_all_page_id= in an Ads Library URL.

Run it with one prompt in Claude / Cursor / Muse

Use the Apify connector to run the Actor automatic/facebook-ads-library-scraper with searchTerms ["meal kit"], country "US", activeStatus "active" and maxItems 25. If the run hasn't finished when the call returns, check its status until it has, then fetch the dataset items. Tell me which advertisers have the most ads, what offers and prices the ads mention, and the oldest start date. Quote ad text exactly and don't guess at anything the results don't say. 

What it costs

At current list prices: $0.0015 per ad plus a small start fee (about $0.0025 at the
default 2 GB). 25 ads: about $0.04, billed by Apify. Check the Actor's page for today's pricing.

Adapt it

  • Past ads too: "activeStatus": "all" adds stopped ads.
  • Filter by format: "mediaType": "video" or "image".
  • One platform only: "platforms": ["instagram"] (also facebook, messenger, audience_network, threads, whatsapp).
  • Only new ads on a schedule: add "onlyNewSinceLastRun": true and a "monitorName", then schedule the run; each run returns only ads you haven't seen.
  • Paste a search link: put an Ads Library URL in adLibraryUrls.
  • Multiple countries: run separate calls per country.

Good to know

  • Keywords match words, not intent. Add "skip ads that aren't for X" to your prompt.
  • The advertiser is the page, not the brand. Kroger's ads all lead to cook.homechef.com.
  • End date = day of run for active ads. The API doesn't tell you a planned end date.

The full recipe is at https://ssh.autos/recipes/competitor-ads.html.

Affiliate disclosure: links to apify.com in this post carry ?fpr=automatic. If you sign up for a paid Apify plan, ssh.autos may earn a commission at no cost to you.

Originally published at https://ssh.autos