---
title: "ad-library-search (balanced)"
method: POST
path: "/api/v1/ad-library-search"
tags: ["LLM / Multimodal"]
---

# ad-library-search (balanced)

`POST /api/v1/ad-library-search`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/api/v1/ad-library-search`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

Search a platform's public ad-transparency library by keyword or advertiser name on Meta, Google, TikTok, or LinkedIn. Input: platform, query, country. Output: matching ads with creative content and metadata. Use for: competitor ad-intelligence, creative research, and ad-library mining.

## Query parameters

- `webhook` string
- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## Request body

- AdLibrarySearchRequest: Search a platform's public ad-transparency library by keyword or advertiser name.
  - `platform` 'meta' | 'google' | 'tiktok' | 'linkedin', required
  - `query` string, required: Keyword or advertiser/brand name to search for.
  - `country` string, nullable: 2-letter country code to filter/scope results.
  - `webhook_url` string, uri, nullable
  - `idempotency_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/muapi/apis/muapi-api.md) · [All operations](https://skmtc.dev/muapi/apis/muapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/muapi/apis/muapi-api/revisions/e4b7374381e5?raw)
