# Facebook Competitor Ads Spy & Winning Creatives | $3.80/1K (`kaitoeasyapi/facebook-ads-competitor-spy-scraper`) Actor

Spy on any competitor's active Facebook & Instagram ads by Page URL, handle, or Page ID: extract HD video/carousel creatives, CTA funnels, landing URLs & active run days. Only $3.80/1K ads.

- **URL**: https://apify.com/kaitoeasyapi/facebook-ads-competitor-spy-scraper.md
- **Developed by:** [Kaito T](https://apify.com/kaitoeasyapi) (community)
- **Categories:** Marketing, Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.80 / 1,000 competitor ad creative results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Facebook Competitor Ads Spy & Winning Creatives Scraper

> **Related Instagram, Threads & Meta Ads Scrapers on Apify Store**
>
> | Actor on Apify Store | Primary Use Case |
> | :--- | :--- |
> | [**Instagram Profiles & Posts**](https://apify.com/kaitoeasyapi/instagram-profile-posts-scraper) | Creator bios, engagement metrics, Reels & carousels |
> | [**Instagram Reels & Comments**](https://apify.com/kaitoeasyapi/instagram-reels-comments-scraper) | Short-video plays, captions & nested comment threads |
> | [**Instagram Hashtag & Location**](https://apify.com/kaitoeasyapi/instagram-hashtag-location-scraper) | Discover posts & Reels by hashtag or place ID |
> | [**Instagram Followers & Following**](https://apify.com/kaitoeasyapi/instagram-followers-following-scraper) | Account follower & following graph export |
> | [**Meta (FB & IG) Ad Library**](https://apify.com/kaitoeasyapi/meta-ads-library-scraper) | Active advertiser creatives, copy, CTA & landing URLs |

Spy on any competitor's live **Facebook & Instagram ad campaigns** by **Facebook Page URL, handle, or Page ID** — extracting **HD video & carousel creatives**, **A/B variant collation counts**, **active run duration (`active_days_running` winning-ad longevity filter)**, **CTA buttons**, and **destination landing domains** with zero cookies.

### Key Capabilities

- **Automatic Page ID Resolution**: Pass `"Shopify"`, `"https://www.facebook.com/HubSpot"`, or a numeric `page_id` (`"20409006880"`) — automatically resolves the exact Facebook Page ID and queries global (`country: "ALL"`) or country-specific campaigns.
- **Evergreen Winning Ads Filter**: Filter by `minActiveDays` (e.g. `14` or `30+` days) and `creativeFormat` (`video`, `carousel`, `image`) to isolate proven money-making creatives.
- **Full Funnel Intelligence**: Captures `ad_archive_id`, `collation_count`, `active_days_running`, `is_evergreen_winner`, `cta_text`, `link_url`, `landing_domain`, `publisher_platform`, `videos`, `images`, and `cards`.
- **Pay-Per-Result Pricing ($0.35–$0.50 / 1K)**: Billed strictly per delivered ad creative — zero proxy or compute surcharges.

# Actor input Schema

## `competitors` (type: `array`):

Enter Facebook Page URLs, handles, or numeric Page IDs (e.g. \["Shopify", "https://www.facebook.com/HubSpot", "20409006880"]).

## `country` (type: `string`):

Use ALL for global competitor ad tracking, or ISO-2 country code (e.g. US, GB, DE, CA, AU).

## `activeStatus` (type: `string`):

Filter by active ads, inactive ads, or all.

## `creativeFormat` (type: `string`):

Filter ads by media format (all, video, carousel, or image).

## `minActiveDays` (type: `integer`):

Set e.g. 14 or 30 to return only proven long-running competitor ads (0 = return all).

## `maxAdsPerCompetitor` (type: `integer`):

Maximum number of ads to extract per competitor Page.

## `includeCreativeAnalytics` (type: `boolean`):

Optional Paid Add-on: enrich each competitor ad with hook copy extraction, longevity winner tier, media asset count, and parsed UTM parameters.

## `feedback` (type: `string`):

Feedback or feature requests to the maintainers (optional — share custom field needs, target scale, or bug reports).

## Actor input object example

```json
{
  "competitors": [
    "Shopify",
    "HubSpot"
  ],
  "country": "ALL",
  "activeStatus": "active",
  "creativeFormat": "all",
  "minActiveDays": 0,
  "maxAdsPerCompetitor": 15,
  "includeCreativeAnalytics": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# 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 = {
    "competitors": [
        "Shopify",
        "HubSpot"
    ],
    "country": "ALL"
};

// Run the Actor and wait for it to finish
const run = await client.actor("kaitoeasyapi/facebook-ads-competitor-spy-scraper").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 = {
    "competitors": [
        "Shopify",
        "HubSpot",
    ],
    "country": "ALL",
}

# Run the Actor and wait for it to finish
run = client.actor("kaitoeasyapi/facebook-ads-competitor-spy-scraper").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 '{
  "competitors": [
    "Shopify",
    "HubSpot"
  ],
  "country": "ALL"
}' |
apify call kaitoeasyapi/facebook-ads-competitor-spy-scraper --silent --output-dataset

```

## MCP server setup

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

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/AqpHOwcwU7wj1YPeO/builds/0yBINLUWe5FITel6W/openapi.json
