# Snapchat Ads Scraper - EU Ads Library, Impressions, Targeting (`admirala/snapchat-ads-library`) Actor

Snapchat ads scraper using the official Snap Ads Library (EU, DSA): headline, status, run dates, impressions per country, targeting and creative URLs for any advertiser. $0.001 per ad.

- **URL**: https://apify.com/admirala/snapchat-ads-library.md
- **Developed by:** [Ja doei](https://apify.com/admirala) (community)
- **Categories:** Marketing, Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.55 / 1,000 per ads

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

## Snapchat Ads Scraper - EU Ads Library, Impressions, Targeting

**Snapchat ads scraper**: get **every Snapchat ad of any advertiser** shown in the EU from the **official Snap Ads Library** (Digital Services Act transparency): ad name, headline, status, ad type, run dates, total impressions and **impressions per country**, **targeting** (age, languages, devices), paying advertiser and the creative media URLs listed in the library. **$0.001 per ad**.

Perfect for **competitor ad research, creative inspiration, media-spend estimation and compliance monitoring**.

### Why this Actor

- **Official data source** (Snap Ads Library API) – stable, no browser scraping.
- **Impressions per EU country** and **targeting** included at no extra cost.
- **$0.001 per ad**, filter by country, status and date range.

### Input

`advertisers` (names), `countries` (EU codes), `status` (ALL / ACTIVE / PAUSED), `startDate`, `endDate`, `maxAdsPerAdvertiser`, `includeRaw`.

### Output

```json
{"advertiser": "Nike, Inc.", "headline": "Schenke Sport", "status": "PAUSED", "adType": "STORY", "startDate": "2025-12-04T14:00:00.000Z",
 "impressionsTotal": 81651, "impressionsByCountry": {"de": 81651}, "targeting": {"demographics": [{"min_age": "18"}]}, "mediaUrls": ["https://..."]}
```

### Pricing

$0.001 per ad.

### Use with AI agents (MCP)

This Actor can be used as a tool by AI agents (Claude, Cursor, VS Code, other MCP clients) through the official [Apify MCP server](https://docs.apify.com/platform/integrations/mcp):

- Add only this Actor as a tool: `https://mcp.apify.com?tools=admirala/snapchat-ads-library` (sign in with OAuth or an Apify API token).
- Or connect `https://mcp.apify.com` and let the agent find it with `search-actors` (e.g. "snapchat ads"), read the input schema with `fetch-actor-details` and run it with `call-actor`.

Example input an agent can pass:

```json
{
  "advertisers": [
    "Nike"
  ],
  "status": "ALL",
  "maxAdsPerAdvertiser": 50
}
```

Cost per call: $0.001 per ad returned. Results come back as dataset items (`get-dataset-items`).

### FAQ

**How do I see a competitor's Snapchat ads?**
Put the advertiser name as shown in the Snap Ads Library in `advertisers`.

**Which countries are covered?**
Ads shown in the EU, as published under the Digital Services Act. Filter with `countries`.

**Are impressions included?**
Yes, `impressionsTotal` and `impressionsByCountry` at no extra cost.

### Related actors

- [Bing Ads Library Scraper - Microsoft Ad Library (EU)](https://apify.com/admirala/microsoft-bing-ad-library)

# Actor input Schema

## `advertisers` (type: `array`):

Paying advertiser names as shown in the Snap Ads Library, e.g. \["Nike"]. $0.001 per ad returned.

## `countries` (type: `array`):

Optional EU country codes where the ad ran, e.g. \["de", "fr", "nl"]. Empty = all EU countries.

## `status` (type: `string`):

Ad status filter: ALL, ACTIVE or PAUSED.

## `startDate` (type: `string`):

Optional start date yyyy-MM-dd, e.g. '2026-01-01'.

## `endDate` (type: `string`):

Optional end date yyyy-MM-dd.

## `maxAdsPerAdvertiser` (type: `integer`):

Maximum ads per advertiser, e.g. 200. Caps cost at $0.001 x this number per advertiser.

## `includeRaw` (type: `boolean`):

true = add the full original library record per ad.

## Actor input object example

```json
{
  "advertisers": [
    "Nike"
  ],
  "status": "ALL",
  "maxAdsPerAdvertiser": 200,
  "includeRaw": false
}
```

# Actor output Schema

## `results` (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 = {
    "advertisers": [
        "Nike"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("admirala/snapchat-ads-library").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 = { "advertisers": ["Nike"] }

# Run the Actor and wait for it to finish
run = client.actor("admirala/snapchat-ads-library").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 '{
  "advertisers": [
    "Nike"
  ]
}' |
apify call admirala/snapchat-ads-library --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,admirala/snapchat-ads-library"
        }
    }
}
```

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/MGu5My7rtJjS55mfS/builds/qqFa1ksxPl4EKfFfS/openapi.json
