# SocialFetch Facebook Ad Library Company Search

> SocialFetch Facebook Ad Library Company Search is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-14).

Search the Facebook Ad Library for companies or advertisers by name keyword.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/facebook/ad-library/companies/search
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-facebook-ad-library-company-search-e55092f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RhuQcTGZ-m27ZkhyXkOr-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability socialfetch-facebook-ad-library-company-search-e55092f9
```

Example prompt: Search the Facebook Ad Library for companies matching 'Nike' so I can see which advertisers are running Facebook ads under that name.

## When to prefer this

Use this endpoint when you need to discover or verify which companies or advertisers are present in the Facebook Ad Library by name, especially for competitive ad intelligence, brand monitoring, or transparency research on Meta platforms. Prefer this over Google Ad Transparency search when the focus is specifically on Facebook/Meta advertising.

## Known failure modes

- Empty query string returns a validation error (minLength:1)
- Query exceeding 512 characters is rejected
- No results found for obscure or misspelled company names
- Rate limiting or upstream Meta Ad Library unavailability causing errors
- HTTP 402 if payment is not provided via x402 protocol

## How this service works

Search Facebook Ad Library companies / advertisers by name.

## Output

A list of companies or advertiser profiles from the Facebook Ad Library that match the search query, including advertiser names and related metadata available from Meta's ad transparency database.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "maxLength": 512,
       "minLength": 1,
       "description": "Search query text for Facebook ad library companies."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-facebook-ad-library-company-search-e55092f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
