100 free credits. No credit card required.Start building
Logo
Facebook logo
100 free credits. No credit card required

Facebook Adlibrary Company Ads API

Scrape Facebook Adlibrary Company Ads data with one API call. Returns ads from one company or page in the Facebook Ad Library, ordered by impressions or recency depending on `sort_by`. Same per-ad shape as `/v1/facebook/adlibrary/ad`: video creatives in `content.media_urls` and `content.thumbnail_url`, every ad signal on the `post.ext.ad` envelope (CTA, `link_url`, active status, dates, display format, headline, video URLs, plus the advertiser's `page_profile_uri`, `page_like_count` and `page_categories`). **`spend` and `reach_estimate` are populated for POLITICAL and issue ads only** and read null on commercial advertisers. `engagement.views` carries Facebook's audience REACH ESTIMATE, not a view count (an ad has no public view count); it is null on commercial advertisers and the same figure rides `post.ext.ad.reach_estimate` under its real name. `published_at` is the ad's first-run DATE: the `07:00:00Z` clock component is an artefact of Facebook's US Pacific day boundary and carries no sub-day meaning. `post.author.username` is null by design (an Ad Library record carries the page name, not its handle). A plain row carries no audience breakdown. Send `include=audience` and every ad is joined, in the same call, to the per-ad lookup: on an ad that ran in the EU, `post.ext.ad.eu_total_reach` is the total EU reach, `post.ext.ad.eu_reach_breakdown` lists each EU country with that reach split into age bands (18-24 to 65+) by `male`, `female` and `unknown`, and `target_ages`, `target_gender` and `target_locations` are who the advertiser targeted. These are counts Facebook publishes under EU transparency rules, so an ad that never ran in the EU has none of them and its row is refunded. Cost: 5 credits for the page plus 1 credit per ad filled from a fresh lookup (30 ads a page, so 35 credits at most); rows already in cache are free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0 credits. Time: `include=audience` adds 3 to 6 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds). The response carries a `hydration` block itemising rows, lookups, cache hits, credits and milliseconds.

Last updated October 2026Maintained by the SocialCrawl team

Returns the ads one company or page is running in the Facebook Ad Library, each with its creative, status, spend, and targeting info.

Use it when you know the advertiser by pageId or company name; to find ads by keyword across advertisers, use adlibrary/search/ads.

Searching 68 platforms in parallel

·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
Facebook API

What can you do with the Adlibrary Company Ads API?

The Adlibrary Company Ads endpoint gives you structured Facebook data with computed fields in a single request. No scraping infrastructure to build or maintain.

Example Request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://www.socialcrawl.dev/v1/facebook/adlibrary/company/ads?companyName=Lululemon&trim=true"
import requests

response = requests.get(
    "https://www.socialcrawl.dev/v1/facebook/adlibrary/company/ads",
    params={
    'companyName': 'Lululemon',
    'trim': 'true',
    },
    headers={"x-api-key": "YOUR_API_KEY"},
)

data = response.json()
const response = await fetch(
  "https://www.socialcrawl.dev/v1/facebook/adlibrary/company/ads?companyName=Lululemon&trim=true",
  {
    headers: { "x-api-key": "YOUR_API_KEY" },
  },
);

const data = await response.json();

Parameters worth sending

  • trim=true Same price, lighter payload: drops the bulky raw fields.

Parameters

ParameterRequiredDescription
pageIdNoFacebook page ID of the advertiser
companyNameNoThe name of the company. Can either use this or pageId
countryNoThis can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.
statusNoStatus of the ad. Defaults to ACTIVE. (ALL | ACTIVE | INACTIVE)
media_typeNoMedia 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)
languageNoLanguage to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc
sort_byNoSort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions. (total_impressions | relevancy_monthly_grouped)
start_dateNoStart date to search for. Format: YYYY-MM-DD
end_dateNoEnd date to search for. Format: YYYY-MM-DD
cursorNoCursor to paginate through results
trimNoSet to true for a trimmed down version of the response
includeNoSet to `audience` (one token only) to fill, on every ad that ran in the EU, `post.ext.ad.eu_total_reach`, `post.ext.ad.eu_reach_breakdown` (reach per EU country by age band and gender), `post.ext.ad.targets_eu`, `target_ages`, `target_gender` and `target_locations`. Holds 1 credit per ad (30 a page) and keeps only the rows filled from a fresh lookup; rows already in cache, ads that never ran in the EU and rows the lookup cannot fill are refunded, so a page is never more than 35 credits. The join takes 3 to 6 seconds on a fresh page, never more than 12 seconds a row, and nothing when the rows are already cached; read `data.hydration` for the rows, the credits held and kept, and the time. Without it the call is unchanged. (audience)
sinceNoOnly rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
untilNoOnly rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
Example Response

What does the Facebook Adlibrary Company Ads API return?

Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.

Example response
{
  "success": true,
  "platform": "facebook",
  "endpoint": "/v1/facebook/adlibrary/company/ads",
  "data": {
    "items": [
      {
        "post": {
          "id": "1399070072320010",
          "url": "https://www.facebook.com/ads/library?id=1399070072320010",
          "content": {
            "text": "Sample comment text (redacted).",
            "media_urls": [
              "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/786819659_1038476302401824_8270588719548095006_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=Lhc-LnjU7cQQ7kNvwHKUXVA&_nc_oc=AdqRNYFQUGx-EWAsCHBB8LcluV92lbFiSFYFiPfqw4Yi_gDP125qAINEtPzJyXjWXiE&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&oh=00_AQN8uyndemNG1GJ0kgvPcE7zjDo9tJiSm9smqQ3y_PAUbA&oe=6AC5194E",
              "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/786854476_886570574308097_7036274883093428982_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=kUR8qcp_p6kQ7kNvwEsnU4-&_nc_oc=AdqAyC95NtSRZ0hj8KTYQuWLrPV14qZMrgOAwf-O5HZgKxkwILuEQLRu38f-t-26gGo&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&oh=00_AQO_woKW4PbGuyrx2iFiVawQks47vL6WEHN8JvoQB2_6ew&oe=6AC5170F"
            ],
            "thumbnail_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/786819659_1038476302401824_8270588719548095006_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=Lhc-LnjU7cQQ7kNvwHKUXVA&_nc_oc=AdqRNYFQUGx-EWAsCHBB8LcluV92lbFiSFYFiPfqw4Yi_gDP125qAINEtPzJyXjWXiE&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&oh=00_AQN8uyndemNG1GJ0kgvPcE7zjDo9tJiSm9smqQ3y_PAUbA&oe=6AC5194E",
            "duration_seconds": null
          },
          "author": {
            "username": null,
            "display_name": "Lululemon",
            "avatar_url": "https://example.com/avatars/user_fc11d1.png",
            "verified": null
          },
          "engagement": {
            "views": null,
            "likes": null,
            "comments": null,
            "shares": null,
            "saves": null
          },
          "flags": {
            "nsfw": null,
            "spoiler": null,
            "pinned": null,
            "deleted": false
          },
          "published_at": "2026-08-25T07:00:00.000Z",
          "ext": {
            "ad": {
              "page_id": "33693527731",
              "currency": "",
              "spend": null,
              "reach_estimate": null,
              "publisher_platforms": [
                "FACEBOOK",
                "INSTAGRAM"
              ],
              "categories": [
                "UNKNOWN"
              ],
              "targeted_or_reached_countries": [],
              "cta_text": "Learn more",
              "cta_type": "LEARN_MORE",
              "link_url": "https://shop.lululemon.com/story/tennis",
              "is_active": true,
              "end_date_iso": "2026-10-02T07:00:00.000Z",
              "display_format": "DCO",
              "title": "Sample comment text (redacted).",
              "video_hd_url": "https://video-phl2-1.xx.fbcdn.net/o1/v/t2/f2/m366/AQNaQ8HJi99UmzDxeyJ9srvMA7oZJ4cFGMQoSymK_Zb36AP7oBSkClgxZKA6V6DjIsNgGZnFRIBM8ga0nOzXfKtIKyNRIHy_RZBkKf01dpzs8A.mp4?_nc_cat=111&_nc_sid=b66105&_nc_ht=video-phl2-1.xx.fbcdn.net&_nc_ohc=iRRH5Ce_HVIQ7kNvwEA0w1G&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5WSV9VU0VDQVNFX1BST0RVQ1RfVFlQRS4uQzMuMTI4MC5kYXNoX2gyNjQtYmFzaWMtZ2VuMl83MjBwIiwieHB2X2Fzc2V0X2lkIjoxMzcxMzc1ODU1MTQ2MDM4LCJhc3NldF9hZ2VfZGF5cyI6MzgsInZpX3VzZWNhc2VfaWQiOjEwNzk5LCJkdXJhdGlvbl9zIjo1LCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&vs=700353153aa732de&_nc_vs=HBksFQIYRWZiX2VwaGVtZXJhbC9BNjRGODQ4MkE5QTE2N0EyQTA4MkUzOEE3MUNDRjk5Rl9tdF8xX3ZpZGVvX2Rhc2hpbml0Lm1wNBUAAsgBEgAVAhhAZmJfcGVybWFuZW50L0I2NDZDNDlFNEMwNEU3NDU0OUZGNUREODQzMkY4M0FDX2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACbs0JirytDvBBUCKAJDMywXQBfU_fO2RaIYGWRhc2hfaDI2NC1iYXNpYy1nZW4yXzcyMHARAHUAZd6oAQA&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&_nc_zt=28&oh=00_AQOO5lzclD2luV5XZEqI96qtXVE3JTjCQv0pUrPaO516lw&oe=6AC54BF5",
              "video_sd_url": "https://video-phl2-1.xx.fbcdn.net/o1/v/t2/f2/m412/AQPfB7kP_FBMWhe-SC3RJdhnIrE3ebikM4xwZ3d7nPJwmfnCbRzcPwECZWozibfBWZO7vyyc0ALzGxZZ5nQRjT4pBiSX9Yybumj3b19TLQ.mp4?_nc_cat=106&_nc_sid=ef5aa3&_nc_ht=video-phl2-1.xx.fbcdn.net&_nc_ohc=HTdT4raZ3_sQ7kNvwE1A4I-&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5WSV9VU0VDQVNFX1BST0RVQ1RfVFlQRS4uQzMuNjQwLnN2ZV9zZCIsInhwdl9hc3NldF9pZCI6MTM3MTM3NTg1NTE0NjAzOCwiYXNzZXRfYWdlX2RheXMiOjM4LCJ2aV91c2VjYXNlX2lkIjoxMDc5OSwiZHVyYXRpb25fcyI6NSwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&_nc_zt=28&oh=00_AQNAH46q3sK0IMhvu1VU6bf046-EOP7ogljJBi1bcO1dvA&oe=6AC54850",
              "page_profile_uri": "https://www.facebook.com/Lululemon/",
              "page_like_count": 3726250,
              "page_categories": [
                "Clothing (Brand)"
              ],
              "caption": "Sample comment text (redacted)."
            }
          }
        },
        "computed": {
          "engagement_rate": null,
          "language": "fr",
          "content_category": "other",
          "estimated_reach": null
        }
      },
      {
        "post": {
          "id": "2216022032553958",
          "url": "https://www.facebook.com/ads/library?id=2216022032553958",
          "content": {
            "text": "Sample comment text (redacted).",
            "media_urls": [
              "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/786575287_2025888761398156_926178119362647638_n.jpg?_nc_cat=106&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=ox-8YVqmw9AQ7kNvwHVKoR1&_nc_oc=Adq7pUZb-7RLV6sdxMdIkCtI0m0BZKy-5F6LeR_Ft9lcLTmmaPmfB7A3dj2t2GBL8JA&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&oh=00_AQPnDmZj6-Gax_-ZW9eKVKdMqvaR3Ma4pyj506qMBo_54w&oe=6AC549AE",
              "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/786123593_3534708956712135_814860167091400209_n.jpg?_nc_cat=110&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=QLeceaxF9twQ7kNvwEtrINx&_nc_oc=AdrT4hnqmkvvQx6f5CzfiG1VX_DiYs3GCdcLbPQJgHYQSzGkHxEJueGnfwwvQ7oKhsU&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&oh=00_AQOV2-aUUGd5HbOINebYLdei2-yex_8IupNLQm5aqQMB9A&oe=6AC54429"
            ],
            "thumbnail_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/786575287_2025888761398156_926178119362647638_n.jpg?_nc_cat=106&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=ox-8YVqmw9AQ7kNvwHVKoR1&_nc_oc=Adq7pUZb-7RLV6sdxMdIkCtI0m0BZKy-5F6LeR_Ft9lcLTmmaPmfB7A3dj2t2GBL8JA&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&oh=00_AQPnDmZj6-Gax_-ZW9eKVKdMqvaR3Ma4pyj506qMBo_54w&oe=6AC549AE",
            "duration_seconds": null
          },
          "author": {
            "username": null,
            "display_name": "Lululemon",
            "avatar_url": "https://example.com/avatars/user_b21545.png",
            "verified": null
          },
          "engagement": {
            "views": null,
            "likes": null,
            "comments": null,
            "shares": null,
            "saves": null
          },
          "flags": {
            "nsfw": null,
            "spoiler": null,
            "pinned": null,
            "deleted": false
          },
          "published_at": "2026-08-25T07:00:00.000Z",
          "ext": {
            "ad": {
              "page_id": "33693527731",
              "currency": "",
              "spend": null,
              "reach_estimate": null,
              "publisher_platforms": [
                "FACEBOOK",
                "INSTAGRAM"
              ],
              "categories": [
                "UNKNOWN"
              ],
              "targeted_or_reached_countries": [],
              "cta_text": "Learn more",
              "cta_type": "LEARN_MORE",
              "link_url": "https://shop.lululemon.com/story/tennis",
              "is_active": true,
              "end_date_iso": "2026-10-01T07:00:00.000Z",
              "display_format": "DCO",
              "title": "Sample comment text (redacted).",
              "video_hd_url": "https://video-phl2-1.xx.fbcdn.net/o1/v/t2/f2/m366/AQPad2vao_ndv0ITX25mAuJ9WBR2lzj_SNEds7-5Dq-Kv-qZW3lLo4xJ2ajjkmEQWPvCewwttqoAKJKcmSu93D3aZQ7GFTQFd0lZbtFPve-Y1Q.mp4?_nc_cat=101&_nc_sid=b66105&_nc_ht=video-phl2-1.xx.fbcdn.net&_nc_ohc=wnsYD-bcd78Q7kNvwFpgrQ1&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5WSV9VU0VDQVNFX1BST0RVQ1RfVFlQRS4uQzMuNzIwLmRhc2hfaDI2NC1iYXNpYy1nZW4yXzcyMHAiLCJ4cHZfYXNzZXRfaWQiOjIxOTc5MDUzNjQxMDY5MTAsImFzc2V0X2FnZV9kYXlzIjozOCwidmlfdXNlY2FzZV9pZCI6MTA3OTksImR1cmF0aW9uX3MiOjUsInVybGdlbl9zb3VyY2UiOiJ3d3cifQ%3D%3D&ccb=17-1&vs=dc3f7723db939f9c&_nc_vs=HBksFQIYRWZiX2VwaGVtZXJhbC9BQjQ2REJDNzE4OEQzRjQxQUQwMDg0N0ZDMzk5QkI4Q19tdF8xX3ZpZGVvX2Rhc2hpbml0Lm1wNBUAAsgBEgAVAhhAZmJfcGVybWFuZW50L0NFNDY2NjAxOUNCNzlEMTZDQzhFNTQxNUNEMTJEOEFFX2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACa8-tGH977nBxUCKAJDMywXQBfbItDlYEIYGWRhc2hfaDI2NC1iYXNpYy1nZW4yXzcyMHARAHUAZd6oAQA&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&_nc_zt=28&oh=00_AQOUPeNLu57Bx5Jk6NaIBZud4zEv0PvYrgx4banbdLH3tw&oe=6AC5366B",
              "video_sd_url": "https://video-phl2-1.xx.fbcdn.net/o1/v/t2/f2/m412/AQOSN9gslNEgmOk7dE-3EuqoMdng44jklTyyrJCNuRXJ9aBIcPyFSVN5GdP-uCEIgk27_GL27b67ZNozi6haqEa-vXHfeNj8N4JDSYt7kw.mp4?_nc_cat=104&_nc_sid=ef5aa3&_nc_ht=video-phl2-1.xx.fbcdn.net&_nc_ohc=KIxzpM51gzsQ7kNvwHcCvVJ&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5WSV9VU0VDQVNFX1BST0RVQ1RfVFlQRS4uQzMuMzYwLnN2ZV9zZCIsInhwdl9hc3NldF9pZCI6MjE5NzkwNTM2NDEwNjkxMCwiYXNzZXRfYWdlX2RheXMiOjM4LCJ2aV91c2VjYXNlX2lkIjoxMDc5OSwiZHVyYXRpb25fcyI6NSwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&_nc_gid=Waj4_vFIxluJt9H8p2jwMQ&_nc_ss=78289&_nc_zt=28&oh=00_AQM6xbbyypStObzzEYfgx8AxTeUGVdXhNYObzBt-oSvewQ&oe=6AC514AE",
              "page_profile_uri": "https://www.facebook.com/Lululemon/",
              "page_like_count": 3726250,
              "page_categories": [
                "Clothing (brand)"
              ],
              "caption": "Sample comment text (redacted)."
            }
          }
        },
        "computed": {
          "engagement_rate": null,
          "language": "fr",
          "content_category": "other",
          "estimated_reach": null
        }
      }
    ],
    "next_cursor": "AQHT_rrZ7JdG0YQNH7dCNiENAgd53WErhTwMFNpK_KDXsYCfALk5C9uUmWCGc7wlu25d",
    "total": null,
    "dropped": 0
  },
  "credits_used": 5,
  "request_id": "req_example000000",
  "cached": false,
  "pagination": {
    "next_cursor": "sc.eyJ2IjoyLCJjIjoiQVFIVF9yclo3SmRHMFlRTkg3ZENOaUVOQWdkNTNXRXJoVHdNRk5wS19LRFhzWUNmQUxrNUM5dVVtV0NHYzd3bHUyNWQiLCJlIjoiZmFjZWJvb2svYWRsaWJyYXJ5L2NvbXBhbnkvYWRzIiwicCI6ImN1cnNvciJ9",
    "has_more": true,
    "page_size": 28
  },
  "credits_remaining": 9999,
  "source": "captured",
  "captured_at": "2026-10-02T07:32:26.370Z",
  "redacted": true
}

Live sample illustrating the unified response shape. Field values reflect the record you query.

API Details

How does the Facebook Adlibrary Company Ads API work?

Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.

Method

GET

Response

JSON

Why SocialCrawl

Why use SocialCrawl for Facebook Adlibrary Company Ads data?

We handle the complexity of Facebook data extraction so you can focus on building. Unified schema, AI enrichment, and zero platform logic in your code.

Developer First

How do you scrape social media data in seconds?

The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.

One schema, every platform

Query 68 platforms with identical response structures. Write your integration once.

Computed fields, not just scraped

When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.

See your data before you code

Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.

import requests

response = requests.get(
    'https://www.socialcrawl.dev/v1/tiktok/profile',
    params={'handle': 'charlidamelio'},
    headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json()
[ .JSON ]
{
  "success": true,
  "platform": "tiktok",
  "data": {
    "author": {
      "username": "charlidamelio",
      "followers": 152400000
    },
    "engagement": {
      "likes": 12400000000,
      "engagement_rate": 0.087
    },
    "metadata": {
      "language": "en",
      "content_category": "lifestyle"
    }
  }
}
+ 68 platforms
FAQ

Have a question? We got answers

Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.

Contact us
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.

Ask AI about SocialCrawl

Ready to scrape Facebook Adlibrary Company Ads data?

Get your API key and start pulling Facebook data in under 60 seconds.

Start for free

🤖 AI agent or LLM? Read this page as markdown