# LinkedIn Ads Library Scraper (x402)

> LinkedIn Ads Library Scraper (x402) is a paid API for AI agents from x402.186-241-26-229.sslip.io, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes structured ad data from LinkedIn's public Ad Library, returning ad body, advertiser info, media, targeting, and impression data for given search or company URLs.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/linkedin-ads?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/linkedin-ads-library-scraper-x402-a6b37fb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_siquK3WcUoCOhxoD542Ol

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 linkedin-ads-library-scraper-x402-a6b37fb6 -d '<json body>'
```

Example prompt: Pull up to 200 LinkedIn ads from the Ad Library for Microsoft — use their company page URL as the start URL and include full details like dates, impressions, and targeting.

## When to prefer this

Use this endpoint when you need structured, pay-per-call extraction of LinkedIn Ad Library data without managing your own scraper infrastructure. It is well-suited for competitive ad intelligence, brand auditing, compliance checks, and market research workflows where you need clean JSON output. Prefer it over generic web scrapers because it is purpose-built for LinkedIn's Ad Library schema and handles pagination and detail enrichment automatically.

## Known failure modes

- LinkedIn's Ad Library continuation endpoint blocks pagination, returning fewer results than requested
- Empty result set when no ads match the filters — call is not charged
- Invalid or private URLs passed as startUrls cause zero results
- Rate limiting or blocking by LinkedIn's public endpoints mid-scrape
- Null fields for targeting, impressions, or payer when skipDetails is true or data is not publicly available

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of ads found and an array of ad items, each containing fields such as adId, body text, adUrl, clickUrl, availability dates, advertiserUrl, advertiserLogo, advertiserName, payer, impressions, targeting, and media links. Fields may be null if not available or if skipDetails is enabled.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "maxItems": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Maximum ads across all input URLs. Set to 0 for no total cap."
  },
  "startUrls": {
   "type": "array",
   "description": "Public Ad Library search URLs with advertiser, payer, keyword, date, or country filters. Public company URLs are also accepted and converted to advertiser searches."
  },
  "skipDetails": {
   "type": "boolean",
   "default": false,
   "description": "Collect search cards only. Runs faster, but dates, payer, impressions, targeting, full body, and media links may be absent."
  },
  "resultsLimit": {
   "type": "integer",
   "default": 100,
   "minimum": 1,
   "description": "Maximum ads to collect from each input URL. The public source may return fewer results when its continuation endpoint blocks requests."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "adId": null,
    "body": null,
    "adUrl": null,
    "clickUrl": null,
    "availability": null,
    "advertiserUrl": null,
    "advertiserLogo": null,
    "advertiserName": null
   }
  ],
  "product": "linkedin-ads"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/linkedin-ads-library-scraper-x402-a6b37fb6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.186-241-26-229.sslip.io](https://www.zero.xyz/host/x402.186-241-26-229.sslip.io/llms.txt)
