vexqo Get an API key
Part of the vexqo ecommerce data API

Meta Ad Library API for ad intelligence tools

Send an advertiser's page ID or its Ad Library URL. vexqo returns the ads the public Facebook Ad Library shows for it as JSON, with every creative card, the run dates, the advertiser details and the product each ad links to.

Free to test. Call it with an advertiser you already know.

One ad from a public Ad Library page

The adactive

AdvertiserSephora

Ad ID2087003595270151

FormatDynamic product ad, 6 cards

Running since22 Oct 2026

PlatformsFacebook, Instagram, Threads

Spendnull

The product its first card links toverified

ProductTOM FORD Black Orchid Eau de Parfum

VariantSKU 1008572, 1 oz / 30 mL

PriceUSD 125.00

Captured logged out on 18 November 2026.

verified_productThe ad record, trimmed1 of 6 cards shown

{
  "adArchiveID": "2087003595270151",
  "pageName": "Sephora",
  "isActive": true,
  "spend": null,
  "snapshot": {
    "displayFormat": "DPA",
    "cards": [
      {
        "title": "TOM FORD Black Orchid Eau de Parfum with Black Truffle & Ylang Ylang 1 oz/ 30 mL",
        "linkUrl": "https://www.sephora.com/product/black-orchid-P183301?skuId=1008572&om_mmc=paid_social_Facebook_DPA"
      }
    ]
  },
  "ecommerceData": [
    {
      "name": "Black Orchid Eau de Parfum with Black Truffle & Ylang Ylang",
      "offers": { "price": "125.00", "priceCurrency": "USD" }
    }
  ]
}

What an ad record holds

One JSON record per ad, with the advertiser's page details beside it. A value the library does not publish stays null.

The product behind the ad

An ad record says what was shown. For a commerce ad, vexqo also reads the page it links to, so you know which product it sold and at what price.

How the match works

  • vexqo follows the link the ad card carries, including its SKU parameter.
  • The price and image come from the variant the ad selected, not the default one or the cheapest one.
  • Prices are decimal strings with the currency code the retailer states.
  • A link to an app or a landing page returns an empty list, not a guessed product.

Other retailers are added on request.

Three ads from one advertiser

2087003595270151product

TOM FORD Black Orchid Eau de Parfum, 1 oz / 30 mL

SKU 1008572, USD 125.00

2345600249520402product

CLINIQUE Acne Solutions Clarifying Lotion, 6.7 oz / 200 mL

SKU 1027473, USD 23.00

1229350099285014no product

App landing page

Returned as an empty list

From Sephora's public Ad Library page on 18 November 2026. Each price is the retailer's price at capture time, not the price when the ad first ran.

What the public Ad Library does not show

vexqo returns what Meta publishes and leaves the rest null. It does not estimate.

Meta's official Ad Library API

vexqo is not a Meta API. This is what Meta's documentation says about the official route, next to what vexqo does.

The official route

  • Meta's Ad Library API, which many people still call the Facebook Ad Library API, returns ads about social issues, elections or politics. Other ads come back only if they reached the EU or the UK.
  • Access needs a confirmed identity and an access token from a Meta developer app.

As Meta documented it, checked in November 2026. See what the official API returns and leaves out.

What vexqo does

  • Reads the public Ad Library page, logged out, with no Meta account.
  • Returns the ads that page shows for an advertiser, commercial ads included.
  • Reports its coverage with every capture.

This is web scraping. Meta has not approved it. Check that your intended use fits their terms.

Questions

Something else? Write to [email protected].

Is this Meta's official Ad Library API?

No. vexqo reads public Ad Library pages, logged out, with no Meta account. It is web scraping, with no approval from Meta and no claim of one. Check that your intended use fits their terms.

Can I search ads by keyword?

Yes. Send a keyword, an advertiser's page ID or both. One request answers up to 100 ads, and a cursor continues the search after them. The first answer also carries the total the library shows, so you know how much is left.

How fast is a search?

In our test on 20 November 2026, a keyword search for 30 ads took a median of 3.0 seconds and one for 100 ads took 14.1 seconds. The speed test compares it with Apify's actor and lists the limits of the test.

How do I tell an empty search from a failed one?

By the status. A search that matches no ads answers 200 with a total of 0. A search the library did not answer, which is what a challenge page looks like, answers 502. An empty list never stands in for a failed read.

Do you return every ad an advertiser runs?

One request answers up to 100 ads, and a cursor continues as deep as the library goes. The first answer carries the library's total, and every answer counts the requests the library refused, so a short answer is never silent.

Do you estimate spend or performance?

No. A value the library does not publish stays null.

Which retailers can you match ads to?

The sample matches ads to Sephora product pages. Other retailers are added on request.

How often can you re-check an advertiser?

Tell us the advertisers and the schedule you need. We size it in the pilot and report what each run captured.

What does it cost?

You pay in credits. A search costs 1 credit for every 10 ads it returns, one ad with its details costs 2, and the product behind a link costs 1. Packs start at $49 for 20,000 credits, and the trial is free. See pricing.

What else does vexqo cover?

The same API returns marketplace listings through the eBay sold listings API. The ecommerce data API page lists every source.

Get an API key.
Test it on your own advertisers.

Call the API with the page ID of an advertiser whose ads you already know. The ads the public Ad Library shows for it come back as JSON records. Compare them with what you have before you spend anything.

GET https://api.vexqo.dev/facebook/ads?page_id=16453004404&limit=30
X-API-Key: YOUR_KEY
  • Free trial with 500 credits
  • A request that fails costs nothing
  • Packs from $49, with no renewal

Your test keyFree

We send the key to this address and use it for nothing else.