Platforms/Facebook/Company search

Meta Ad Library Advertiser Search API

GET · 1 credit

Send a brand's name, and get up to 15 advertisers from Meta's Ad Library, each with the Page id Company ads takes.

GET /v1/facebook/ad-library/companies/search

What people use it for

  • Name to id: turn the brand names on your list into the Page ids Company ads takes.
  • Competitor lists: find every advertiser that matches a brand, with their likes and category.
  • Cross-platform research: see each advertiser's Instagram account next to its Facebook Page.

How it works with other endpoints

Each advertiser's page_id goes to Company ads. To search ads by what they say rather than who runs them, use Ad search.

Limits

  • Up to 15 advertisers a call; no pages to follow.

Example request

const url = `${process.env.API_URL}/v1/facebook/ad-library/companies/search?query=nike`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
queryYesWords to search for.

Example response

{
  "data": [
    {
      "page_id": "15087023444",
      "name": "Nike",
      "handle": "nike",
      "category": "Sportswear Store",
      "likes": 39000000,
      "verified": true,
      "picture": "https://scontent.xx.fbcdn.net/v/t39.30808-6/nike-picture.jpg",
      "instagram_handle": "nike",
      "instagram_followers": 298000000
    }
  ],
  "page": null,
  "meta": {
    "platform": "facebook",
    "endpoint": "company_search",
    "params": {
      "query": "nike"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-29T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

What do I do with the results?

Send an advertiser's page_id to Company ads to list its ads.

How many advertisers does it return?

Up to 15 that match the name, with no pages to follow.

Does it show the Instagram account?

Yes, where the advertiser has one: instagram_handle and instagram_followers.

Works with

On other platforms

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required