# Facebook Ad Library Company Ads Search

> Facebook Ad Library Company Ads Search is a paid API for AI agents from x402.orthogonal.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-13).

Searches and retrieves paginated ads from Facebook's Ad Library for a specific company, with smart billing that charges only for the first page of each logical search.

## Facts

- Endpoint: GET https://x402.orthogonal.com/scrapecreators/v1/facebook/adLibrary/company/ads?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/facebook-ad-library-company-ads-search-8e3840d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U_OXACzjTESi7ZUoK8TyE

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 facebook-ad-library-company-ads-search-8e3840d2
```

Example prompt: Pull all active Facebook ads for Nike from the US Ad Library between January 1, 2024 and June 30, 2024 — show me image and video ads only.

## When to prefer this

Use this endpoint when you need to scrape Facebook Ad Library data for a specific company with pagination support and cost-efficient continuation billing. Prefer it over direct Facebook Ad Library API access when you want simplified querying by company name (not just page ID) and automatic smart billing for multi-page result sets. Best for competitive research, brand monitoring, or ad compliance workflows.

## Known failure modes

- Company name or page ID not found in Facebook Ad Library — returns empty results
- Invalid date format (must be YYYY-MM-DD) causes a 400 error
- Invalid country or language code returns no results
- Cursor from a different search session or expired cursor causes pagination failure
- Changing filter parameters while passing parentRequestId starts a new billable request

## How this service works

Company Ads Pagination billing: call the first page normally and save billing.requestId from the Orthogonal /v1/run response. For later page, offset, or cursor calls on the same logical search, pass parentRequestId with unchanged non-pagination parameters. Valid continuation calls still get their own request IDs and quoted price, but are charged 0. Changing filters starts a new billable request.

## Output

Returns a paginated list of Facebook Ad Library entries for the specified company, including ad creatives, status, media type, targeting metadata, and a cursor for fetching subsequent pages. The first-page response also includes a billing requestId that can be passed as parentRequestId for subsequent pages at no additional charge.

## 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",
     "properties": {
      "trim": {
       "type": "string",
       "description": "Set to true for a trimmed response"
      },
      "cursor": {
       "type": "string",
       "description": "Cursor for pagination For later cursor pages of the same logical search, keep non-pagination parameters unchanged and pass top-level parentRequestId from the first Orthogonal /v1/run response."
      },
      "pageId": {
       "type": "string",
       "description": "Facebook page ID"
      },
      "status": {
       "type": "string",
       "description": "Status filter"
      },
      "country": {
       "type": "string",
       "description": "Country filter"
      },
      "end_date": {
       "type": "string",
       "description": "End date (YYYY-MM-DD)"
      },
      "language": {
       "type": "string",
       "description": "Language filter"
      },
      "media_type": {
       "type": "string",
       "description": "Media type filter"
      },
      "start_date": {
       "type": "string",
       "description": "Start date (YYYY-MM-DD)"
      },
      "companyName": {
       "type": "string",
       "description": "Company name"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/facebook-ad-library-company-ads-search-8e3840d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.orthogonal.com](https://www.zero.xyz/host/x402.orthogonal.com/llms.txt)
