Meta Ad Library Advertiser Page & Handle Search
Resolve brand and company names into official Meta Ad Library Page IDs with Facebook likes, categories, page aliases, and linked Instagram handles and follower counts.
curl -sG "https://api.agentapigate.ai/v1/ads/meta/advertisers_search" \ --data-urlencode "query=Stripe" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Meta Ad Library Advertiser Page & Handle Search (`ads.meta.advertisers_search`) **query**: Stripe · **count**: 10 ## advertisers - [1] page_id: 175383762511776, page_name: Stripe, page_like_count: 70152, page_categories: Business service, page_alias: StripeHQ - [2] page_id: 430512174010441, page_name: Stripe & Stare, page_like_count: 24615, page_categories: Lingerie and underwear shop, page_alias: stripeandstare - [3] page_id: 156380797559146, page_name: Striped Circle Artwork, page_like_count: 31243, page_categories: Retail company, page_image_uri: https://scontent-ams4-1.xx.fbcdn.net/v/t39.30808-1/451338372_122154964508099766_3022895039302294313_n.jpg?stp=dst-jpg_s200x200_tt6&_nc_cat=105&_nc_map=urlgen_bucketle - [4] page_id: 383897895041, page_name: The White Stripes, page_like_count: 3088191, page_categories: Musician/band, page_alias: thewhitestripes - [5] page_id: 110481962143466, page_name: Stripe Innovation, page_image_uri: https://www.facebook.com/www.facebook.com, entity_type: PERSON_PROFILE - [6] page_id: 102404912538315, page_name: Stripe Flow, page_like_count: 253, page_categories: Business service, page_image_uri: https://scontent-ams2-1.xx.fbcdn.net/v/t39.30808-1/515500603_718426054268509_918055514207031057_n.jpg?stp=dst-jpg_s200x200_tt6&_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_ - [7] page_id: 175846809129205, page_name: Velvet Two Stripes, page_like_count: 4697, page_categories: Musician/band, page_alias: velvettwostripes - [8] page_id: 110852818772311, page_name: Stripe One, page_like_count: 114, page_categories: Business service, page_image_uri: https://scontent-ams4-1.xx.fbcdn.net/v/t39.30808-1/728745157_122321789960010772_8496070169016837570_n.jpg?stp=dst-jpg_p200x200_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&ccb=1-7&_ - [9] page_id: 863418953521368, page_name: Stripesfc2, page_like_count: 1653, page_categories: Clothing (brand), page_image_uri: https://scontent-ams4-1.xx.fbcdn.net/v/t39.30808-1/579005665_2913471562183891_6288119272544160338_n.jpg?stp=dst-jpg_s200x200_tt6&_nc_cat=106&_nc_map=urlgen_bucketless&ccb=1-7&_n - [10] page_id: 323433334943318, page_name: Spots & Stripes, page_like_count: 9351, page_categories: E-commerce website, page_alias: SpotsandStripesProducts
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:ads.meta.advertisers_search · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| query | string | required | Stripe | Brand, company, or advertiser name to look up in Meta Ad Library (e.g. Stripe, Notion, Nike) |
| limit | number | optional | 10 | Max advertiser pages returned (1-50) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0020 / call | $0/mo · Balance never expires |
| Remote MCP Tool | ads_meta_advertisers_search | OAuth 2.1 Hub & /mcp/commerce |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 797 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 3890t → 592t (-85%) | Partner credit: paid_usd / x402 |
More ads.meta Sibling Endpoints
Search active and historical Facebook & Instagram ads in Meta Ad Library by keyword and country with ad copy, CTA, landing URL, and run dates.
Fetch all active Facebook & Instagram ad creatives run by a specific brand or Meta Ad Library Page ID.
Frequently Asked Questions
How do I call Meta Ad Library Advertiser Page & Handle Search (ads.meta.advertisers_search) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/ads/meta/advertisers_search with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool ads_meta_advertisers_search on https://mcp.agentapigate.ai/mcp.
What does ads.meta.advertisers_search cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.002 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on ads.meta.advertisers_search?
Passing ?format=md transforms the response into normalized Markdown (~592 tokens vs ~3890 raw tokens, saving 85% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only commerce endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["commerce"], optional allowed_endpoints: ["ads.meta.advertisers_search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.