How to Use Facebook Ad Library advertisers in Claude Code
Find advertisers by name and get their Facebook Page IDs, categories, verification status, and Instagram details. Use it to distinguish similarly named Pages before researching their advertising.
Prompts to try with Facebook Ad Library advertisers in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Facebook Ad Library advertisers to search Nike and add the returned Page IDs, names, verification status, and Instagram usernames to a research table in this project.
Use Facebook Ad Library advertisers to search IKEA and add a comparison screen for the returned Page names and Instagram identities.
Scrape https://example.com/pricing with Facebook Ad Library advertisers and turn it into a comparison table. Save the result in ./assets.
Crawl the docs at https://docs.example.com with Facebook Ad Library advertisers and summarize each section.
Pull the latest posts from this blog with Facebook Ad Library advertisers and list their titles and dates.
How to set up Facebook Ad Library advertisers in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Facebook Ad Library advertisers
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "scrapecreators", "model": "scrapecreators/facebook-adlibrary-search-companies", "input": { "query": "nike" } }'
Then paste one of the prompts above: Claude Code finds Facebook Ad Library advertisers on Spiral, shows the price and runs it.
Facebook Ad Library advertisers providers and prices
Spiral runs Facebook Ad Library advertisers through ScrapeCreators. Open a card for today's price, with every fee included.
What can you do with Facebook Ad Library advertisers in Claude Code?
Build a Meta advertising research view that keeps advertiser identities attached to the evidence. A coding agent can turn returned Page IDs, advertiser details, and ad creatives into project data and comparison screens.
Competitor research brief
Identify the Facebook Pages associated with Nike and Adidas, then compare keyword-matched ads by message, offer, format, and call to action.
Advertiser identity review
Compare advertiser names and Page IDs found in ad results with name-search matches. Flag similarly named Pages for review before attributing a campaign to a brand.
Agency research handoff
Prepare a client research sheet with advertiser Page IDs and Instagram identities, alongside examples of keyword-matched ad copy and creative formats.
Brand portfolio review
Find candidate Pages for Nike and Nike Football, then organize matching ad results by returned Page ID so separate brand properties stay separate.
Advertiser directory
Build a directory of public business Pages for brands such as IKEA, Patagonia, and REI, using returned Page IDs, names, verification status, and Instagram details.
More on Facebook Ad Library advertisers and Claude Code
Facebook Ad Library advertisers in other agents
Questions about Facebook Ad Library advertisers in Claude Code
Can Claude Code use Facebook Ad Library advertisers?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Facebook Ad Library advertisers like any built-in tool.
How much does Facebook Ad Library advertisers cost in Claude Code?
$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need a ScrapeCreators account to use Facebook Ad Library advertisers in Claude Code?
No. Spiral runs Facebook Ad Library advertisers on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up Facebook Ad Library advertisers in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Facebook Ad Library advertisers runs?
Facebook Ad Library advertisers runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Which platforms does the Meta Ad Library cover?
Meta describes the library as covering ads currently running across its technologies. Ad search results identify placements such as Facebook and Instagram.
How quickly do new ads appear?
Meta says an ad appears within 24 hours of its first impression. A campaign can therefore start delivering before it becomes visible in the library.
Can I research older commercial ads?
Meta retains ads of any type delivered to the UK or EU during the past year. That regional archive extends beyond the library's coverage of currently running ads.
How long are political and social issue ads retained?
Meta retains ads about social issues, elections, or politics in its public Ad Library for seven years.
What advertiser information can I find?
Advertiser search returns Facebook Page IDs. Its documented response also includes Page names, verification status, Facebook likes, Instagram usernames, and Instagram follower counts.
Start using Facebook Ad Library advertisers in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


