Adlibrary Company Ads Data API
Scrape Facebook Adlibrary Company Ads data with one API call. Returns ads from a specific company/page in the Facebook Ad Library. Each ad includes creative, status, spend, and targeting info.
Try the Facebook Adlibrary Company Ads API
See real data before writing a single line
Works with 21 platforms
What can you do with the Adlibrary Company Ads API?
The Adlibrary Company Ads endpoint gives you structured, AI-enriched Facebook data in a single request. No scraping infrastructure to build or maintain.
Example Request
GET /v1/v1/facebook/adLibrary/company/adsParameters
| Parameter | Required | Description |
|---|---|---|
| pageId | No | Facebook page ID of the advertiser |
| companyName | No | The name of the company. Can either use this or pageId |
| country | No | This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL. |
| status | No | Status of the ad. Defaults to ACTIVE. (ALL | ACTIVE | INACTIVE) |
| media_type | No | Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme. (ALL | IMAGE | VIDEO | MEME | IMAGE_AND_MEME | NONE) |
| language | No | Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc |
| sort_by | No | Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions. (total_impressions | relevancy_monthly_grouped) |
| start_date | No | Start date to search for. Format: YYYY-MM-DD |
| end_date | No | End date to search for. Format: YYYY-MM-DD |
| cursor | No | Cursor to paginate through results |
| trim | No | Set to true for a trimmed down version of the response |
How does the Facebook Adlibrary Company Ads API work?
Send a GET request with your API key and get back clean, structured JSON. Every response follows our unified schema with AI-computed fields.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 21 platforms covering 10B+ monthly active users.
One schema, every platform
Query 21 platforms with identical response structures. Write your integration once.
AI-enriched, not just scraped
Computed fields on every response: engagement_rate, estimated_reach, content_category, language.
No code required
Visual Data Explorer — paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://api.socialcrawl.com/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": { "username": "charlidamelio", "followers": 124000 },
"engagement": { "likes": 5200, "engagement_rate": 0.045 },
"metadata": { "language": "en", "content_category": "food" }
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usAsk AI about SocialCrawl
Ready to scrape Facebook Adlibrary Company Ads data?
Get your API key and start pulling Facebook data in under 60 seconds.
