# LinkedIn Ads Library Scraper (Competitor Spy, Zero-Auth) (`signalqub/linkedin-ads-library-scraper-competitor-spy-zero-auth`) Actor

Instantly scrape the LinkedIn Ads Library without logging in. Extract competitor ad copy, creatives, destination URLs, and impression metrics into clean, structured data for B2B intelligence.

- **URL**: https://apify.com/signalqub/linkedin-ads-library-scraper-competitor-spy-zero-auth.md
- **Developed by:** [OluwaNifemi Jacob](https://apify.com/signalqub) (community)
- **Stats:** 2 total users, 1 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🎯 Ultimate LinkedIn Ads Library Scraper (Zero-Auth)

[![Powered by SignalQub](https://img.shields.io/badge/Powered%20By-SignalQub%20API-blue?style=flat-square)](https://signalqub.com)
[![Status](https://img.shields.io/badge/Status-Active%20%26%20Maintained-green?style=flat-square)](https://signalqub.com)

Spying on competitor LinkedIn Ads is essential for B2B marketing, but scraping the LinkedIn Ads Library is notoriously frustrating. Heavy dynamic rendering, strict bot protections, and complex pagination block almost every traditional scraper. **This Actor bypasses all of that.**

Powered by the **[SignalQub Data Engine](https://signalqub.com/endpoints/linkedin-ads/library-search-scraper)**, the Ultimate LinkedIn Ads Scraper is a lightning-fast, zero-authentication data extractor. Simply input a company name, keyword, or company ID, and instantly download their active ad creatives, copywriting, and destination URLs. No proxies to configure, no session cookies to inject, and absolutely zero risk to your personal LinkedIn account.

***

### 🌟 Key Features

- **Zero Authentication Required:** Never log in. Keep your personal and corporate LinkedIn accounts 100% safe from bans and restrictions.
- **Bypass Anti-Bot Restrictions:** We handle the complex headless browsing, proxy rotation, and dynamic payload extraction under the hood via **[SignalQub](https://signalqub.com)**.
- **Deep Pagination:** Seamlessly page through thousands of ads using our built-in pagination tokens.
- **Unified 5-Column Output:** Normalized schemas make your competitive intelligence datasets immediately ready for Google Sheets, Airtable, or your CRM.

***

### 🎯 Use Cases

- **Competitor Intelligence:** See exactly what offers, lead magnets, and messaging your competitors are running.
- **Ad Copy Inspiration:** Scrape high-performing ads by keyword to study B2B copywriting trends in your industry.
- **Landing Page Discovery:** Extract the raw `destination_url` of ads to discover hidden landing pages and marketing funnels.
- **Creative Audits:** Automatically pull image and video links (`media`) to build a swipe file of top-tier B2B ad creatives.

***

### 🛠️ Input Configuration

| Parameter | Type | Description |
| :--- | :--- | :--- |
| **Company Name** | `String` | Search ads by company name (e.g., 'Microsoft'). *Must provide at least one search parameter.* |
| **Search Keyword** | `String` | Search the entire ads library by keyword (e.g., 'B2B SaaS'). |
| **Company ID** | `String` | Search by exact LinkedIn Company ID for ultimate precision. |
| **Countries** | `String` | *(Optional)* Filter by ISO country codes (e.g., `US`, `GB,CA`). |
| **Start / End Date** | `String` | *(Optional)* Filter ads by run dates (Format: `YYYY-MM-DD`). |
| **Pagination Token** | `String` | *(Optional)* Cursor token for deep pagination (the scraper provides this at the bottom of the results if more ads exist). |

***

### 📊 Sample Output (5-Column Normalized Schema)

The output is elegantly mapped into 5 flat columns, perfectly designed for spreadsheets and reporting.

**Example Output:**

````json
[
  {
    "author": "Acme Corp SaaS",
    "content": "Stop wasting time on manual data entry. Automate your workflow today with our new AI integration...\n\nClick here to get a free 14-day trial.",
    "metrics": "Format: SINGLE_IMAGE | Impressions: Hidden",
    "url": "[https://www.acmecorp.com/free-trial-offer](https://www.acmecorp.com/free-trial-offer)",
    "media": "[https://media.licdn.com/dms/image/v2/](https://media.licdn.com/dms/image/v2/)..."
  }
]

# Actor input Schema

## `company` (type: `string`):

Search ads by company name (e.g., 'Microsoft'). Provide at least one search parameter.
## `keyword` (type: `string`):

Search ads by keyword (e.g., 'B2B SaaS').
## `companyId` (type: `string`):

Exact LinkedIn Company ID.
## `countries` (type: `string`):

Filter by ISO country codes (e.g., 'US', 'GB,CA').
## `startDate` (type: `string`):

Format: YYYY-MM-DD
## `endDate` (type: `string`):

Format: YYYY-MM-DD
## `paginationToken` (type: `string`):

Cursor token for deep pagination.

## Actor input object example

```json
{
  "keyword": "B2B SaaS"
}
````

# Actor output Schema

## `results` (type: `string`):

The mapped LinkedIn Ads data stored in the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keyword": "B2B SaaS"
};

// Run the Actor and wait for it to finish
const run = await client.actor("signalqub/linkedin-ads-library-scraper-competitor-spy-zero-auth").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keyword": "B2B SaaS" }

# Run the Actor and wait for it to finish
run = client.actor("signalqub/linkedin-ads-library-scraper-competitor-spy-zero-auth").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keyword": "B2B SaaS"
}' |
apify call signalqub/linkedin-ads-library-scraper-competitor-spy-zero-auth --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,signalqub/linkedin-ads-library-scraper-competitor-spy-zero-auth"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/AX6nIBG2rd8UZpQ2w/builds/rEx4OPOSROcFwUUjb/openapi.json
