100 free credits — no credit card required.Start building
Logo
Use case

Ad intelligence API for public ad libraries

See what a competitor is paying to say. The Facebook Ad Library is the deep lane: find the advertiser, then pull its live and archived creative filtered by country, status, format and date. Google ads by domain sit on the same key.

/v1/facebook/adlibrary

What rivals pay to say

  • GET /v1/facebook/adlibrary/search/companies
  • GET /v1/facebook/adlibrary/company/ads
  • GET /v1/linkedin/ads/search
  • GET /v1/google/company/ads

An ad intelligence API returns the ads a company is running, taken from the public ad transparency libraries platforms are required to publish. SocialCrawl covers the Facebook Ad Library in depth, with filters for country, status, media type and date range, plus Google ads by domain, on one API key and one shared schema.

What teams build with it

Every one of these runs in production today. The endpoint chain under each card is the actual call sequence.

Find the advertiser, then pull the ads

Search by company name to get the page, then request its ads. This two-step funnel is the most-used chain on the surface, and it works even when you only know the brand as a consumer would name it.

Endpoint chainadlibrary/search/companies -> company/ads

Search the creative itself

Query the ad copy rather than the advertiser to find everyone bidding on a claim or a category term. This is how you discover the competitors you did not know were competitors.

Endpoint chainadlibrary/search/ads (by keyword)

Read a video ad without watching it

Open a single ad for its full record, then request the transcript of its video. Turns a wall of creative into text you can classify, diff and search.

Endpoint chainadlibrary/ad -> ad/transcript

Paid search creative by domain

Point at a competitor's domain and get the ads it runs on Google. Pairs with the social lane to give you both halves of a media plan instead of one.

Endpoint chaingoogle/company/ads (by domain)

LinkedIn as a supplement

The LinkedIn ad search runs on the same key. LinkedIn is the least stable upstream we operate, so treat it as an extra lane on a B2B report rather than the backbone of one.

Endpoint chainlinkedin/ads/search

Watch a flight start and stop

Re-run the same advertiser query with a date range and record what changed. Creative that appears, disappears or shifts country is the signal, and it only exists if you kept yesterday's copy.

Endpoint chainadlibrary/company/ads (date-ranged)

How the ad intelligence API works

Four calls take you from a company name to the creative and the words inside it. Start broad, then open only the ads that matter.

Reads are priced in credits. Empty result sets are not billed on list endpoints, and failed upstream calls are refunded automatically.

  1. GET /v1/facebook/adlibrary/search/companies

    Resolve the advertiser

    Search by company name to get the advertising pages behind it. Necessary because the page running the ads is often not named the way the brand is.

    per call
  2. GET /v1/facebook/adlibrary/company/ads

    Pull its ads

    Request the page's ads with filters for country, status, media type and date range. Cursor through for the full set.

    per page
  3. GET /v1/facebook/adlibrary/ad

    Open one ad in full

    Fetch a single ad for its complete record, including the creative details you cannot see in a list response.

    per call
  4. GET /v1/google/company/ads

    Add the search lane

    Run the same competitor domain against Google ads so the report covers paid search alongside paid social.

    per call

Compared with the usual setup

Most teams either buy a per-channel ad-spy seat or scrape the ad library themselves. Here is what changes.

CapabilitySocialCrawlTypical setup
AccessAd library data through a plain HTTP call, authenticated with one key.A logged-in scraper that breaks when the page markup changes.
FilteringCountry, status, media type and date range are first-class query parameters.Client-side filtering after pulling everything.
Creative depthSingle ad detail and video ad transcripts, so the creative becomes searchable text.Thumbnails and a link, with the message left for a human to watch.
CoveragePaid social and paid search on one key, alongside 46 platforms of organic context.One channel per subscription, each with its own login.
Pricing modelNever-expire credit packs, priced per call, with refunds on upstream failures.Monthly seats billed whether you ran a report or not.
Building a product on topPermitted for transformed, customer-facing views. The terms say so in writing.Usually restricted or negotiated case by case.

Ad intelligence API questions

What is an ad intelligence API?

An ad intelligence API returns the ads a company is currently or previously running, as structured records rather than screenshots. The source is the public ad transparency libraries platforms publish, so the data is the platform's own record of what was served.

Which ad libraries do you cover?

The Facebook Ad Library in depth, covering company search, a company's ads, keyword search across ad copy, single ad detail and video ad transcripts. Google advertiser and domain ads sit on the same key. LinkedIn ad search is available and runs on our least stable upstream.

Can I filter by country and date?

Yes. Country, status, media type, sort order and start and end dates are query parameters on the Facebook ads endpoints, and they are the filters production traffic actually uses. Results are cursor paginated so you can walk a full advertiser history.

Do I need a Facebook developer account?

No. You authenticate once with a SocialCrawl API key. There is no per-platform app to register, no review process and no separate credentials to rotate for the ad library.

Can I read what a video ad actually says?

Yes. Ad detail returns the full record for a single ad, and the ad transcript endpoint returns the spoken text of video creative where the library carries it. That turns a competitor's creative library into text you can classify and diff over time.

Does this include ad spend or performance numbers?

No. Public ad libraries publish the creative, the advertiser and the run dates, not the budget or the results. Anyone quoting exact competitor spend from library data is estimating. What you get here is what was actually run, which is the part that is verifiable.

How much does ad monitoring cost?

Reads are priced in credits from never-expire packs, so you pay per call rather than per seat or per channel. A weekly competitor sweep is a handful of calls per brand. Signup includes 100 free credits and no card is required.

Pull your first competitor's ads

100 free credits on signup. No card, no sales call, no per-channel subscription.

Request
curl -G "https://socialcrawl.dev/v1/facebook/adlibrary/search/companies" \
  -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  --data-urlencode "query=Grow Therapy"
curl -G "https://socialcrawl.dev/v1/facebook/adlibrary/company/ads" \
  -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  --data-urlencode "pageId=123456789" \
  --data-urlencode "country=GB" \
  --data-urlencode "status=active"

Both calls run against live data. Swap the key and the company and they work as written.