---
title: "Advertisers"
description: "Find advertisers in TikTok's Ad Library by name: each with the name and id that `ads` takes."
---

> 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/tiktok-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/tiktok-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/tiktok-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/tiktok-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 whose name matches | The suggestions the library's own search box gives |

## Parameters

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `query` | string |  | An advertiser's name, or part of it: the advertisers the library's search box suggests, each with the `name` and `id` that `ads?advertiserName=&advertiser=` take. |

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

## Response

Returns [`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": "tiktok-ads",
    "items": [
      {
        "library": "tiktok-ads",
        "id": "7587573238117498896",
        "name": "NIKE COM SRL"
      },
      {
        "library": "tiktok-ads",
        "id": "6876453864464188162",
        "name": "NIKE Retail B.V."
      }
    ],
    "ext": {
      "ad_keywords": []
    }
  }
}
```

## 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 platform answered with something unusable. Retry with backoff. |
| 503 | `SERVICE_UNAVAILABLE` | A temporary failure. 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

- Pass an advertiser's `name` and `id` to [`ads`](/docs/api-reference/tiktok-ads/ads) as `advertiserName` and `advertiser` for every ad it ran.
- One name can hold several ids, comma-separated, as the library lists them.
- `ext.ad_keywords` is the search terms the library suggested alongside.
