Search ads
/v1/facebook/adLibrary/search/adsBuild an ad inspiration library by searching Meta ads with query filters and paging through matching creatives.
Search the Meta Ad Library, read ad creatives and explore advertisers. Retrieve video transcripts for a closer look at the message.
WHAT YOU CAN BUILD / 08 ENDPOINTS
Find your use case, then explore the request and response.
/v1/facebook/adLibrary/search/adsBuild an ad inspiration library by searching Meta ads with query filters and paging through matching creatives.
/v1/facebook/adLibrary/search/adsBuild an ad research form that sends its search filters as a JSON body and retrieves matching Meta ads.
/v1/facebook/adLibrary/adBuild a creative research card with ad variants, payer, beneficiary and regional transparency details.
/v1/facebook/adLibrary/search/companiesBuild an advertiser picker from company-name suggestions and page identifiers for subsequent ad searches.
/v1/facebook/adLibrary/company/adsBuild an advertiser research feed by retrieving ads for a selected company name or page ID.
/v1/facebook/adLibrary/company/adsBuild an advertiser research integration that sends company or page selection in a JSON request body.
/v1/facebook/ad-library/companies/adsBuild a compact advertiser archive in your own app by paging through normalized ad records and saving the results.
/v1/facebook/adLibrary/ad/transcriptBuild a searchable ad-script library from speech transcribed from an ad’s primary or carousel video.
HOW IT WORKS
Run a sample below without a key.
Create a free account and copy your key. You start with 100 free credits; no card needed.
Pick one of the 8 Meta Ads Library endpoints and add its input, such as a search query.
Call it with your key in the x-api-key header. ScrapeAtlas reads the public Meta Ads Library data and retries when a read fails.
Get structured JSON with a coverage status. Only successful requests use a credit.
TRY IT HERE / LIVE SAMPLE
Try the Meta Ads Library API right here. This sample uses the Search ads endpoint and returns live JSON. No API key needed.
Start with nike, or change the query field to your own value.
Execute the sample code and see the response in the JSON response tab.
Open the full playground to try more parameters and copy code for your app.
// Run this sample here — no API key needed.
const value = "nike";
const url = new URL("/website/demo/meta-ads",
"https://api.scrapeatlas.com");
url.searchParams.set("value", value);
const response = await fetch(url);
const data = await response.json();
console.log(data);
Run the sample to see the live JSON response here.
/v1/facebook/adLibrary/search/adsA live example from our playground. Change the value above, then select Run sample.
CUSTOMER STORIES
Watch Nigel’s story
Watch Janu’s storyEmail Viktor with a testimonial & receive 10,000 free credits.
Pay as you go
One-time credit packs, priced in US dollars. Credits never expire, and there is no monthly commitment.
Try the API with your next idea.
$0No credit card needed
100 free credits
One starter grant per account
For a new idea or a one-off project.
$19USD / one-time
10,000 credits
$1.90 per 1,000 successful requests
For regular workflows and bigger builds.
$89USD / one-time
50,000 credits
$1.78 per 1,000 successful requests
Enterprise Plan
Let’s talk about a plan that fits your scale.
Meta Ads Library API
Search public ads, find advertisers, browse a company’s creatives and retrieve individual ad details. Responses support creative research with media, advertiser information and transparency fields, with a separate video-transcript endpoint.
Search the library using the ad filters, or resolve a company with Find Advertisers and request its ads by page ID. Search and Company Ads support query-string or JSON-body requests and return continuation information for additional pages.
Yes. Ad Search has a POST operation that accepts the search parameters in a JSON body. It returns a page of ad records and continuation information, making it straightforward to connect a saved filter form to your application’s creative research workflow.
Ad Details provides creative variants, payer and beneficiary information, and regional transparency fields. Use the ad record with its source reference when researching who is behind a campaign and the creative it displays.
Yes. Find Advertisers returns company suggestions and page IDs. Pass a selected page ID to Company Ads, then follow continuation tokens. Compact Company Ads returns normalized archive records for an archive managed by your application.
Yes. Video Transcript returns speech text from an ad’s primary or carousel video. Ad Details also supports includeTranscript=true, so your application can keep the transcript with the creative record for message research.
Create a ScrapeAtlas account and generate an API key in the dashboard. Send the key in the x-api-key request header when calling https://api.scrapeatlas.com. The API playground lets you enter an endpoint’s parameters and inspect its JSON response.
Yes. Send authenticated HTTP requests from Python, JavaScript or another language that supports HTTP. The endpoint reference includes request examples and response fields. Use the ScrapeAtlas CLI for terminal workflows and pass the returned pagination values when requesting additional result pages.
Yes. Connect an MCP-compatible assistant to the ScrapeAtlas MCP server to discover and call the public platform tools with your ScrapeAtlas account. The agent reference also gives coding assistants a readable guide to the endpoints and their request schemas.
Make something with it
Bring social data into your next project.
Start with 100 free credits and see what you can build.
We use essential storage to keep the site working. With your permission, optional analytics cookies help us understand visits. You can change your choice anytime. Privacy policy
Google Analytics and PostHog measure visits, page engagement, signup-link clicks and website performance. Rejecting optional cookies does not affect access to the site.
Allow Affonso to record your referral visit and store a cookie for 30 days. If you sign up, we share your verified email with Affonso to attribute purchases. Privacy policy