Web scrapers

Ad Library API

Every large ad platform is required to publish who is advertising and what they are running. Facebook, LinkedIn and Google each expose that as an ad library, and these endpoints turn all three into one JSON shape: the creatives themselves, the advertiser behind them, the spend and impression ranges where the platform discloses them, and the dates each ad started and stopped running. It is the cleanest competitive intelligence available anywhere, for the simple reason that the platforms publish it themselves.
  • 9 endpoints
  • 3 platforms
  • from $1.49 per 1,000 calls
  • One key, one JSON shape

Ad Library API

9 endpoints across 3 platforms.

Live competitor creatives, advertisers and spend ranges.

In every response

The same JSON, whichever platform you ask.

  • creatives[] Each active ad's media, copy and format.
  • advertiser The page, company or advertiser account running the ad.
  • spend / impressions Spend range and reach where the platform discloses them.
  • dates First-seen and last-seen run dates for each creative.
  • platforms[] Which surfaces the ad was served on, where the library reports it.
curl "https://hproxy.com/api/v1/scrape/facebook/ad-search?query=coffee" \
  -H "X-API-Key: hpx_your_key_here"
Response · Facebook Ad Library Search200 OK · JSON
{
  "advertiser": { "name": "Brand Inc", "pageId": "104..." },
  "creatives": [
    { "format": "video", "body": "Shop the new drop", "media": "https://.../ad.mp4" }
  ],
  "spend": { "min": 5000, "max": 10000, "currency": "USD" },
  "dates": { "firstSeen": "2026-06-30", "lastSeen": "2026-07-17" }
}

What people build with it

Where ad library api earns its keep.

  • See every ad a competitor is running right now, with the creative and the copy.
  • Track when a rival launches or kills a campaign, by watching first-seen and last-seen dates.
  • Build a swipe file of creatives that are still live in your category.
  • Estimate a competitor's spend from the disclosed ranges rather than from guesswork.

Ad Library API questions

Answered before you ask.

The scraper docs

Ad libraries exist precisely so the public can inspect them. These endpoints read the same public transparency pages the platforms publish under their own advertising rules, and nothing behind a login.

Yes. There are company and advertiser search endpoints for finding the right advertiser entity first, then a per-advertiser endpoint for pulling everything they are currently running.

They are ranges, and they are the platform's own. We pass through exactly what the library discloses without smoothing or estimating, so a wide range in the response is a wide range in the source.

As far as each library retains it, which differs by platform and by ad category. Political and issue ads are typically kept far longer than commercial ones, because that is what the transparency rules require.

More on ad library api

What ads covers

9 endpoints across 3 platforms: Facebook Ad Library Detail, Facebook Ad Library Search, Facebook Company Ads, Facebook Ad Library Company Search, LinkedIn Ad Library Search, LinkedIn Ad Detail, Google Ad Library Company Ads, Google Ad Detail and Google Advertiser Search. They are separate scrapers behind one API key, and they answer in the same JSON shape, so the code that reads one reads all of them.

Why the shape matters

Live competitor creatives, advertisers and spend ranges. Working platform by platform means a second integration for every network you add. Here the field names, the pagination and the error codes are the same wherever the data came from, so adding another platform is a change of URL rather than a rewrite.

What it costs

Calls in this group start at $1.49 per 1,000 and are billed from one balance, per call, with no subscription. Blocked, errored and timed-out calls are not charged, and each endpoint prices itself: a heavier lookup costs more than a simple one, and the page for each endpoint prints its own rate.

Ready when you are.

Your dashboard is ten seconds away. No sales call, no subscription, no minimum.