Meta Ad Library API for your agent. One call per company.
The job
What the Meta Ad Library API gives your agent
Meta publishes every ad that runs on Facebook and Instagram in its Ad Library. Your agent reads that library for you. Send a company domain or a page and see the ads it has live, with the copy, the format and when each one started. That is the fastest way to see how a competitor sells.
The providers split two ways. Some start from a company and list its ads. Others start from a keyword and return the ads that match, which finds firms you had not named. One covers Facebook, Instagram, Audience Network, Messenger and Threads together, and filters by platform, media type and active status.
You give
a company domain, a Facebook page or a keyword
nike.com
You get
- Ad creative text, images and video
- Active or ended status
- Platforms the ad runs on
- Start date
- Advertiser page
Sample calls
The request and what comes back
Each run is one POST to /v1/runs with an endpoint id and an input. These are illustrative calls with generic values. The run's result holds the provider's own fields.
{"endpointId":"scrapecreators-facebook-adlibrary-company-ads-get","input":{"companyName":"Nike","country":"US"},"wait":30}// POST /v1/runs, then read run.status and run.result // result: lists all ads currently running for a company by name or page ID, with filters for country, media type, date range and language
The prompt
Copy one prompt, give it to your agent.
Edit the names and numbers, paste it, and the agent runs the job and shows the cost.
- One run is one company.
- 1 steps across 3 providers.
- Runs on demand, whenever you ask.
set up looot - https://looot.ai/skill.mdBefore you start
Settle these before the first run
- Filter by country. The library is searchable per country, and a global pull returns a pile you cannot read.
- Ask for active ads when you want what runs now. Ended ads stay in the library, and they tell a different story about what the company tried.
- Use the ad id to go deeper. One provider returns an ad's details and its video transcript, and both start from the id a search returns.
FAQ
Questions people ask
- use case
- Meta Ad Library API
- run
- company
- schedule
- on demand
- step
- Fetch the ads: scrapecreators adyntel searchapi-io
- setup
- https://looot.ai/skill.md
- llms.txt
- https://looot.ai/llms.txt
- updated
- 2026-10-04
Try Meta Ad Library with your own agent.
Start your workspace, top up, and paste the prompt into the agent you already use.