# Facebook Adlibrary Company Ads API (https://www.socialcrawl.dev/platforms/facebook/adlibrary-company-ads) > Returns ads from a specific company/page in the Facebook Ad Library. Each ad includes creative, status, spend, and targeting info. TL;DR: `GET /v1/facebook/adlibrary/company/ads` costs 5 credits per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | 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 | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/facebook/adlibrary/company/ads" \ -H "x-api-key: sc_YOUR_API_KEY" ``` ## FAQ ### How do I list all ads from a Facebook advertiser? Send a GET request to /v1/facebook/adlibrary/company/ads with either pageId or companyName. SocialCrawl returns every ad the advertiser has ever run, with creative, status, spend range, and impressions metadata. ### What filters can I apply to narrow results? Filter by country (2-letter code), status (ACTIVE/INACTIVE/ALL), media_type (IMAGE/VIDEO/MEME), language, date range (start_date, end_date), and sort_by (total_impressions or relevancy_monthly_grouped). ### How much does listing competitor ads cost? Each request costs 5 credits on the advanced tier and returns a batch of ads with pagination. Trim responses with trim=true to save on payload size. New accounts get 100 free credits — no credit card required to start. ### Can I track a competitor's ad strategy over time? Yes. Pair start_date and end_date with sort_by=relevancy_monthly_grouped to see how a competitor's ad spend and creative strategy have shifted month by month. Perfect for competitive intelligence dashboards. ### Does it work for SMB advertisers or just big brands? Both. The Facebook Ad Library includes every advertiser that has ever run ads on Meta platforms, from solo founders to Fortune 500 brands. If they've run an ad, you can pull it via pageId or companyName. See the full Facebook API: https://www.socialcrawl.dev/platforms/facebook ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - How to list every Facebook ad from one advertiser with SocialCrawl - How to track competitor ads on Meta with an API