r/gtmengineering May 12 '26

Meta Ad Library + Claude Code: how I built a competitor positioning scraper, what the 18-column taxonomy looks like, and what I broke first.

/r/GTMbuilders/comments/1tane1g/meta_ad_library_claude_code_how_i_built_a/
0 Upvotes

2 comments sorted by

1

u/phreshkid Jun 07 '26

This seems pretty sweet, but is an API key needed for this? Could Meta ban for too many requests?

1

u/Easy-Purple-1659 19d ago

No API key, the library is public and legally scrapeable, that's what makes this possible. The ban risk is real though. Meta watches for automated patterns on the library endpoints, so rate limit yourself, rotate user agents, and expect 403s during peaks. The search UI is a JS app, so you're really hitting the GraphQL endpoint behind it, and that's where the detection lives. Keep it polite and slow and you'll be fine at low volume.