---
title: "Advertisers"
description: "Find advertisers in the Meta Ad Library by name: each with the id that ads takes as advertiser."
---

> Every apinoa docs page as markdown: https://apinoa.com/llms.txt (all in one file: https://apinoa.com/llms-full.txt; this API family in one file: https://apinoa.com/docs/ads/llms.txt)

```http
GET | POST /v1/meta-ads/advertisers
```

Send parameters as a query string with `GET`, or as a JSON body with `POST`. Both are equivalent.

## Request

```bash tab="cURL"
curl "https://gateway.apinoa.com/v1/meta-ads/advertisers?query=nike" \
  -H "x-api-key: $APINOA_API_KEY"
```

```js tab="JavaScript"
const params = new URLSearchParams({ query: "nike" });
const res = await fetch(`https://gateway.apinoa.com/v1/meta-ads/advertisers?${params}`, {
  headers: { "x-api-key": process.env.APINOA_API_KEY },
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.get(
    "https://gateway.apinoa.com/v1/meta-ads/advertisers",
    params={"query": "nike"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
)
body = res.json()
```

## What to Pass

| Pass | Reads | Notes |
|---|---|---|
| `query` | Advertisers by name | The advertiser or brand name, as you would type it into the Ad Library's search box |

`country` and `adType` narrow the search the way they narrow `ads`.

## Parameters

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `query` | string | yes | An advertiser's name (or part of it): the advertisers the Ad Library's search box suggests, each with the `id` that `ads?advertiser=` takes. |
| `adType` | enum |  | all (default), or one special category: political (social issues, elections or politics), housing, employment, credit. `all` `political` `housing` `employment` `credit` |
| `country` | string |  | Where the ads ran: an ISO 3166-1 alpha-2 code, or ALL (default). |

The same parameters, and every response type, are in the OpenAPI document: https://apinoa.com/openapi.json

## Response

Returns an [`AdvertiserPage`](/docs/api-reference/ads/response-schema#advertiserpage) in `data`. A real response, shortened: arrays keep their first entries and long text is cut.

```json
{
  "success": true,
  "data": {
    "library": "meta-ads",
    "items": [
      {
        "library": "meta-ads",
        "id": "15087023444",
        "url": "https://www.facebook.com/nike",
        "name": "Nike",
        "avatarUrl": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-1/284964043_10159903868…",
        "verified": true,
        "ext": {
          "handle": "nike",
          "category": "Sportswear Store",
          "likes": 39488470,
          "verification": "BLUE_VERIFIED",
          "entityType": "PERSON_PROFILE",
          "igUsername": "nike",
          "igFollowers": 290733139,
          "igVerified": true,
          "deleted": false
        }
      },
      {
        "library": "meta-ads",
        "id": "51212153078",
        "url": "https://www.facebook.com/nikefootball",
        "name": "Nike Football",
        "avatarUrl": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-1/387181570_86332575516…",
        "verified": true,
        "ext": {
          "handle": "nikefootball",
          "category": "Product/service",
          "likes": 39922622,
          "verification": "BLUE_VERIFIED",
          "entityType": "PERSON_PROFILE",
          "igUsername": "nikefootball",
          "igFollowers": 44677977,
          "igVerified": true,
          "deleted": false
        }
      }
    ],
    "ext": {
      "keywords": [
        "nike jordan",
        "nike for kids"
      ],
      "exactPhrase": "\"nike\""
    }
  }
}
```

## Errors

| Status | Code | Meaning |
|---|---|---|
| 400 | `INVALID_PARAMS` | A parameter is missing, unknown or out of range. The message names it. |
| 401 | `UNAUTHORIZED` | The `x-api-key` header is missing, or the key is revoked or unknown. |
| 402 | `INSUFFICIENT_CREDITS` | Your credits do not cover this call. Choose a plan or top up in the dashboard. |
| 429 | `MARKETPLACE_SATURATED` | Too many concurrent calls. Retry after the `Retry-After` seconds. |
| 502 | `UPSTREAM_ERROR` | The library answered with something unusable. Retry with backoff. |

Every code is listed in [Errors](/docs/errors). Failed calls are not billed.

## Pricing

**Price** 1 credit per call. [Plans and credits](https://apinoa.com/en/pricing).

## Notes

- Up to 15 advertisers per call, in the order the Ad Library suggests them. A name nothing matches returns an empty `items`.
- An advertiser is a Facebook Page. `id` is what [`ads`](/docs/api-reference/meta-ads/ads) takes as `advertiser`; `country` is where the Page is registered, when the Ad Library states it.
- Each advertiser's `ext` carries what only Meta states: `handle` (the Page's vanity name), `category`, `likes`, `verification`, `entityType`, the linked Instagram account (`igUsername`, `igFollowers`, `igVerified`) and `deleted`. The answer's own `ext` has the search box's keyword suggestions and the exact-phrase form of the query.
