Facebook Ad Library Ad Details API
Ad Details
for Facebook Ad Library, in one call.
The Ad Details endpoint from ScrapeCreators gives developers reliable access to Facebook Ad Library data without the hassle of building and maintaining scrapers. Our endpoint makes it easy to retrieve ad details data in real-time for your applications. Pass the Ad ID and get back details about the ad. Be careful that if an ad has multiple versions, you're actually going to want to get the title from the 'cards' object. If you ask for the transcipt, we will only transcribe the video if it's under 2 minutes.
// Example: Ad Details from the Facebook Ad Library API
const response = await fetch(`https://api.scrapecreators.com/v1/facebook/adLibrary/ad`, {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data); Endpoint spec
What the Ad Details endpoint returns
/v1/facebook/adLibrary/ad Parameters
id string Facebook Ad Id
url string Facebook Ad URL
get_transcript boolean Get the transcript of the ad. Only works if the video is under 2 minutes.
trim boolean Set to true for a trimmed down version of the response
Quick start
Ad Details quick start
Sign up, grab your API key, paste this in. First response in under a minute.
// Example: Ad Details from the Facebook Ad Library API
const response = await fetch(`https://api.scrapecreators.com/v1/facebook/adLibrary/ad`, {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data); Why us
Why use this Ad Details endpoint
Real-time data access
Get the most up-to-date Ad Details data without dealing with rate limits or IP blocks.
Simple integration
Clear documentation and a straightforward REST endpoint make it easy to get started in any language.
High reliability
Our infrastructure ensures high uptime and consistent performance for your applications, even at scale.
Comprehensive data
Access comprehensive Ad Details data through our carefully designed endpoint.
Use cases
Ad Details endpoint use cases
Data analysis
Analyze Ad Details data to gain insights and make data-driven decisions.
Content monitoring
Monitor Ad Details content to track changes and updates in real-time.
Integration
Integrate Ad Details data into your applications and services.
Automation
Automate processes using Ad Details data to improve efficiency.
Reporting
Generate reports and analytics using Ad Details data.
Custom solutions
Build custom solutions leveraging Ad Details data for your specific needs.
FAQ
Questions we hear
about this endpoint.
Is the Ad Details endpoint official?
No, ScrapeCreators provides an unofficial Ad Details endpoint that lets you access Facebook Ad Library data through our platform. We handle the complexities of data collection so you can focus on building your application.
How current is the Ad Details data?
We provide real-time Ad Details data from Facebook Ad Library. When you make a request, we fetch the latest information available, so you always get fresh data.
Can I use the Ad Details endpoint in production?
Absolutely. Many businesses rely on ScrapeCreators endpoints for their production applications. Our infrastructure is designed for reliability and performance at scale.
Do I need a credit card to try the Ad Details endpoint?
No credit card required. Sign up for free and you get 100 credits on the house to test the Ad Details endpoint before deciding on a plan. Credits never expire.
What format does the Ad Details endpoint return?
The Ad Details endpoint returns a clean JSON response over HTTPS. Call `GET https://api.scrapecreators.com/v1/facebook/adLibrary/ad` with your API key and parse the response like any other REST API.
Get started
Start using Ad Details
100 credits on the house. No credit card. Start pulling ad details data in under sixty seconds.
Also searched