# Apple App Store Ads Scraper - Apple Search Ads Library (`hgservices/apple-app-store-ads-scraper`) Actor

Scrape App Store ads from the Apple Ad Repository by app or developer. Which apps advertise on the App Store, where and since when? Get each ad's placement, format, first and last shown dates, country, targeting flags, subtitle, promo text, images and videos. EU. No login.

- **URL**: https://apify.com/hgservices/apple-app-store-ads-scraper.md
- **Developed by:** [Harish Garg](https://apify.com/hgservices) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 scraped 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

**Apple App Store Ads Scraper** extracts **App Store ads from the Apple Ad Repository**, Apple's public library of the **Apple Search Ads** that it showed on the App Store in the European Union. Search by **app** or by **developer** (name, App Store link or ID) and get **one row for each ad**: the app and developer, the **country**, the **placement** (search results, search tab or Today tab), the **ad format**, the **first and last shown dates**, the **targeting flags**, the **subtitle and promotional text**, and the **icon, screenshots and videos**.

**No Apple account, login or API token is needed.** Enter apps or developers and click **Start**. Then download the ads as JSON, CSV or Excel, get them through the Apify API, run the scraper on a schedule, or ask an AI assistant such as Claude or ChatGPT to get App Store ad data for you.

### Questions this scraper answers

| Question | Input | Look at |
|---|---|---|
| Does this app advertise on the App Store, and since when? | `{"apps": ["https://apps.apple.com/de/app/temu/id1641486558"]}` | `first_shown_date`, `last_shown_date` |
| Which App Store ads does a competitor run, for all its apps? | `{"developers": ["Temu"]}` or `{"developers": ["1641486560"]}` | `app_name`, `subtitle`, `image_urls` |
| In which EU countries does an app advertise? | `{"apps": ["1641486558"], "maxAdsPerInput": 5000}` | `country_code` |
| Which placements and ad formats does an app use? | `{"apps": ["1641486558"], "countries": ["DE"]}` | `placement`, `format` |
| Which screenshots and texts does an app show in its ads? | `{"apps": ["1641486558"], "countries": ["FR"]}` | `image_urls`, `video_urls`, `subtitle`, `promotional_text` |
| Does a campaign target by age, gender, location or customer type? | `{"developers": ["Temu"], "countries": ["DE"]}` | `targets_age`, `targets_gender`, `targets_location`, `targets_customer_type` |
| What is the App Store ID of an app or developer? | `{"developers": ["tem"]}` | A notice item lists the closest names and their IDs |
| App Store ads outside the EU, ad spend, impressions or keywords | Not available | Apple publishes only EU ads, without spend, impressions or keywords |

### What is Apple App Store Ads Scraper?

Apple App Store Ads Scraper is an unofficial **Apple Ad Repository API** and **Apple Ads Library scraper**. The Apple Ad Repository is Apple's ad transparency library under the EU Digital Services Act (DSA). It lists the ads that apps run on the App Store in 25 EU countries, for up to one year back. This scraper turns the repository into a clean table with one row for each ad:

- 📱 **App:** the app name, App Store ID and link, category, and in-app purchases flag
- 🏢 **Developer:** the developer name and ID, and the legal name of the seller
- 🌍 **Country:** the EU country where the ad showed
- 📍 **Placement and format:** search results, search tab or Today tab; Icon Ad or Icon + Asset Ad
- 📅 **Dates:** the first and last day that the ad showed
- 🎯 **Targeting flags:** if the campaign used age, gender, location or customer-type targeting
- 📝 **Ad text:** the subtitle, the promotional text and the description
- 🖼️ **Creative:** the app icon, the screenshots and the videos, with size and orientation

The scraper runs on the Apify platform, so you also get **API access, scheduling, integrations, monitoring and data export** in many formats.

### Use cases

- **Competitor research:** see which App Store ads your competitors run, in which countries and since when.
- **App Store Optimization (ASO):** compare the screenshots, subtitles and promotional texts that apps show in their ads.
- **User acquisition research:** find which apps buy Apple Search Ads in each EU market, and which placements they use.
- **Creative research:** collect the ad images and videos of an app category for design ideas.
- **Market monitoring:** run the same apps or developers every week and follow new ads, new countries and stopped campaigns.
- **Ad transparency and compliance research:** study the targeting types that advertisers use in the EU.

### How to scrape App Store ads

1. Enter App Store links, IDs or names in **Apps** or **Developers**.
2. Optional: choose the **Countries**, the **Period** and the **Max ads per input**.
3. Click **Start**.
4. Open the **Output** tab, or click **Export** to download the ads.

### Input

| Field | Type | Description |
|---|---|---|
| `apps` | list of text | Apps whose ads you want. Use an App Store link (`https://apps.apple.com/de/app/temu/id1641486558`), an app ID (`1641486558`) or the exact app name. |
| `developers` | list of text | Developers (advertisers) whose ads you want, for all their apps. Use an App Store developer link (`https://apps.apple.com/de/developer/temu/id1641486560`), a developer ID (`1641486560`) or the exact developer name (`Temu`). |
| `countries` | list of text | Only ads shown in these EU countries. Use ISO codes (`DE`) or English names (`Germany`). Leave it empty for all 25 countries. |
| `period` | text | `last_90_days`, `last_180_days` or `last_year` (default). |
| `maxAdsPerInput` | number | The most ads to save for each app or developer, over all countries. Default: 100. |

Give at least one app or developer. The 25 countries are: Germany (DE), France (FR), Italy (IT), Spain (ES), Netherlands (NL), Poland (PL), Sweden (SE), Belgium (BE), Austria (AT), Denmark (DK), Finland (FI), Ireland (IE), Portugal (PT), Czech Republic (CZ), Romania (RO), Greece (GR), Hungary (HU), Slovakia (SK), Bulgaria (BG), Croatia (HR), Slovenia (SI), Latvia (LV), Estonia (EE), Luxembourg (LU) and Cyprus (CY).

#### Input example

```json
{
    "developers": ["Temu"],
    "apps": ["https://apps.apple.com/de/app/temu/id1641486558"],
    "countries": ["DE", "FR"],
    "period": "last_90_days",
    "maxAdsPerInput": 500
}
```

### Output

Each ad is one dataset item with `type: "ad"`. This is an example (the description and the lists are shortened):

```json
{
    "type": "ad",
    "ad_id": "34bade9db7b2814065081ad2884d690d",
    "app_id": "1641486558",
    "app_name": "Temu: Shop Like a Billionaire",
    "app_store_url": "https://apps.apple.com/app/id1641486558",
    "developer_id": "1641486560",
    "developer_name": "Temu",
    "legal_name": "Whaleco Inc.",
    "country_code": "CZ",
    "placement": "search_tab",
    "format": "Icon Ad",
    "sub_format": null,
    "first_shown_date": "2026-10-28",
    "last_shown_date": "2026-11-02",
    "targets_age": false,
    "targets_gender": false,
    "targets_location": false,
    "targets_customer_type": false,
    "subtitle": "Shop incredible deals on Temu!",
    "category": "Shopping",
    "promotional_text": null,
    "short_description": "Shop on Temu for exclusive offers. ...",
    "in_app_purchases": false,
    "editorial_badge": false,
    "icon_url": "https://is5-ssl.mzstatic.com/image/thumb/Purple211/v4/89/3b/30/893b300e-bb45-c2b0-27f7-9a97d7ca202c/AppIcon-0-0-1x_U007epad-0-1-0-85-220.png/1024x1024.png",
    "image_urls": [
        "https://is5-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/53/50/e2/5350e28a-54fb-93ac-7941-75583ecc31fb/1.png/2796x1290.png"
    ],
    "video_urls": [],
    "assets": [
        {
            "type": "image",
            "url": "https://is5-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/53/50/e2/5350e28a-54fb-93ac-7941-75583ecc31fb/1.png/2796x1290.png",
            "preview_image_url": null,
            "width": 1290,
            "height": 2796,
            "orientation": "PORTRAIT",
            "order": 1
        }
    ],
    "language": "en-GB",
    "preview_device": "iphone_6_7",
    "data_start_date": "2026-08-04",
    "data_end_date": "2026-11-02",
    "position": 2,
    "source": "1641486558",
    "source_type": "app_id",
    "scraped_at": "2026-11-07T11:48:26+00:00"
}
```

#### Output fields

| Field | Description |
|---|---|
| `ad_id` | Apple's ID of the ad. An ad ID belongs to one country. |
| `app_id`, `app_name`, `app_store_url` | The advertised app. The name is in the language of the ad. |
| `developer_id`, `developer_name`, `legal_name` | The developer (the advertiser) and the legal name of the seller. |
| `country_code` | The EU country where the ad showed (ISO code). |
| `placement` | `search_results`, `search_tab` or `today_tab`. |
| `format`, `sub_format` | `Icon Ad` or `Icon + Asset Ad`, and the variation when Apple gives one. |
| `first_shown_date`, `last_shown_date` | The first and last day that the ad showed (YYYY-MM-DD). |
| `targets_age`, `targets_gender`, `targets_location`, `targets_customer_type` | `true` when the campaign used this targeting type. Customer type means new users, returning users or users of the developer's other apps. |
| `subtitle`, `promotional_text`, `short_description` | The texts of the ad. |
| `category`, `in_app_purchases`, `editorial_badge` | App details that the ad shows. |
| `icon_url`, `image_urls`, `video_urls`, `assets` | Links to the app icon, the screenshots and the videos. `assets` also gives the size, the orientation and the order. |
| `language`, `preview_device` | The language and the device preview of the ad. |
| `data_start_date`, `data_end_date` | The period that the Apple Ad Repository covered for this search. |
| `position`, `source`, `source_type` | The position of the ad in the results of its input, the input value, and the input type (`app_url`, `app_id`, `app_name`, `developer_url`, `developer_id` or `developer_name`). |
| `scraped_at` | When the scraper saved the ad. |

#### Empty results and notices

When an input gives no ads, the dataset gets a `type: "notice"` item with a `reason`, a `message`, a `suggestion` and the `input`:

| `reason` | Meaning |
|---|---|
| `no_results` | Apple has no ads for this app or developer in these countries and this period. |
| `not_found` | No app or developer has exactly this name. The suggestion lists the closest names and their IDs. |
| `input_rejected` | The value is not an app, a developer, an App Store link or an ID. |
| `rate_limited`, `network`, `http_error` | The Apple Ad Repository did not answer. Run the scraper again later. |
| `crashed` | An unexpected error stopped this input. The other inputs continue. |
| `charge_limit` | The run stopped at the maximum cost per run that you set. |

The run's status message always tells how many ads the scraper saved and why an input gave fewer. A run that saves no ads because the Apple Ad Repository did not answer ends as **Failed**.

### How to use the App Store ads scraper

#### Apify Console (no code)

1. Open the scraper and fill in the **Input** tab, for example with the developer `Temu` and the country `DE`.
2. Click **Start**. Follow the progress in the **Log** tab.
3. Open the **Output** tab to see the table, or click **Export** to download JSON, CSV, Excel or HTML.
4. To use the same input again, click **Save as a new task**. Add a **Schedule** to the task to run it every day or every week.

#### Apify API (HTTP)

Get your API token in Apify Console under **Settings → API & Integrations**, and replace `<YOUR_API_TOKEN>` below. This call runs the scraper and gives the ads in one response:

```bash
curl -X POST "https://api.apify.com/v2/acts/hgservices~apple-app-store-ads-scraper/run-sync-get-dataset-items?format=json" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"developers": ["Temu"], "countries": ["DE"], "maxAdsPerInput": 50}'
```

The response is a JSON array with one object for each ad. Change `format=json` to `format=csv` or `format=xlsx` to get a spreadsheet. The call waits for up to 5 minutes. For longer runs, start the run with `POST https://api.apify.com/v2/acts/hgservices~apple-app-store-ads-scraper/runs`, and read the run's dataset when the run is finished.

#### JavaScript / Node.js (Apify client)

Install the client with `npm install apify-client`, then run this code:

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

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });

const run = await client.actor('hgservices/apple-app-store-ads-scraper').call({
    apps: ['https://apps.apple.com/de/app/temu/id1641486558'],
    countries: ['DE'],
    maxAdsPerInput: 100,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const ad of items.filter((item) => item.type === 'ad')) {
    console.log(ad.country_code, ad.placement, ad.format, ad.subtitle);
}
```

#### Python (Apify client)

Install the client with `pip install apify-client` (version 3.0 or later), then run this code:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")

run = client.actor("hgservices/apple-app-store-ads-scraper").call(run_input={
    "developers": ["Temu"],
    "countries": ["DE", "FR"],
    "period": "last_90_days",
    "maxAdsPerInput": 200,
})
if run is None:
    raise RuntimeError("The run was not found.")

for ad in client.dataset(run.default_dataset_id).iterate_items():
    if ad["type"] == "ad":
        print(ad["country_code"], ad["placement"], ad["app_name"], ad["first_shown_date"])
```

#### Claude, ChatGPT and other AI assistants (MCP)

The scraper works as a tool for AI assistants through the [Apify MCP server](https://mcp.apify.com/). Your assistant can run the scraper, read the ads and use them in its answer. To give the assistant only this scraper, use this server URL:

```
https://mcp.apify.com?tools=hgservices/apple-app-store-ads-scraper
```

**Claude (claude.ai or Claude Desktop):** go to **Settings → Connectors**, add a custom connector, and enter the server URL. Sign in to Apify when Claude asks.

**Claude Code:** run this command, then run `/mcp` and sign in to Apify:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=hgservices/apple-app-store-ads-scraper"
```

**ChatGPT:** turn on **Developer mode** in **Settings → Apps & Connectors → Advanced settings**. Then create a connector with the server URL, and sign in to Apify.

**Cursor, VS Code and other MCP clients:** add the server URL as a remote (HTTP) MCP server.

Then ask in plain language, for example:

> Use the Apple App Store Ads Scraper to get Temu's App Store ads in Germany from the last 90 days, and group them by placement.

> Which EU countries does the app with App Store ID 1641486558 advertise in? Make a table of countries with the first and last shown dates.

> Get the App Store ads of the developer Temu in France and list the subtitles and screenshots that they use.

#### Integrations

Send the ads to **Google Sheets, Slack, email, Zapier, Make, n8n, Airbyte** or a **webhook** from the **Integrations** tab of the scraper.

### Tips

- **Use App Store links or IDs.** Names must match exactly. Copy the app link from the App Store. If a name does not match, the notice item lists the closest names and their IDs.
- **Choose fewer countries for faster runs.** The scraper checks each country separately, and each country adds some seconds to the run.
- **The largest markets come first.** The scraper checks Germany, France, Italy, Spain and the Netherlands first, so a small `maxAdsPerInput` gives ads from these countries.
- **Follow an app over time.** Run the same input every week. Use `ad_id`, `last_shown_date` and `scraped_at` to find new and stopped ads.

### Limits

- **EU only.** The Apple Ad Repository shows only the ads that Apple showed on the App Store in 25 EU countries, for up to one year back.
- **7 days behind.** Apple's data ends about 7 days before the run (see `data_end_date`).
- **Run time.** One app or developer over all 25 countries takes at least 1.5 minutes, unless it reaches `maxAdsPerInput` first.
- **No numbers.** Apple does not show impressions, spend, clicks or keywords. The targeting fields tell only if the campaign used a targeting type, not the values.
- **Links, not files.** The scraper saves the links to the images and videos, not the files.

### FAQ, disclaimers and support

#### Do I need an Apple account or an API token?

No. The Apple Ad Repository is public. It needs no login and no token.

#### Do I need a proxy?

No. You do not need to set a proxy.

#### Can I get Apple Search Ads data for the United States or other countries?

No. Apple publishes its ad repository only for the EU, as the Digital Services Act requires.

#### Is it legal to scrape the Apple Ad Repository?

The Apple Ad Repository is a public transparency library that the EU Digital Services Act requires. The scraper collects only the data that the repository shows to everyone. You are responsible for how you use the data. If you are not sure, ask a lawyer.

#### I found a problem or I need a feature

Open an issue on the **Issues** tab of the scraper.

# Actor input Schema

## `apps` (type: `array`):

Apps whose ads you want, one per line. Accepted formats: (1) an App Store link such as https://apps.apple.com/de/app/temu/id1641486558; (2) an app ID such as 1641486558; (3) the exact app name as the repository lists it, for example Temu: Shop Like a Billionaire (if the name does not match exactly, a notice item lists the closest names and their IDs).

## `developers` (type: `array`):

Developers (advertisers) whose ads you want, for all their apps, one per line. Accepted formats: (1) an App Store developer link such as https://apps.apple.com/de/developer/temu/id1641486560; (2) a developer ID such as 1641486560; (3) the exact developer name, for example Temu.

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

Only ads shown in these countries. ISO codes or English names. Apple shows App Store ads in these EU countries only: DE, FR, IT, ES, NL, PL, SE, BE, AT, DK, FI, IE, PT, CZ, RO, GR, HU, SK, BG, HR, SI, LV, EE, LU, CY. Leave empty for all of them. Fewer countries make the run faster.

## `period` (type: `string`):

Ads shown in this period. Apple's data is 7 days behind, so the period ends 7 days before today.

## `maxAdsPerInput` (type: `integer`):

The most ads to save for each app or developer, over all countries. Each page of up to 100 ads takes about 3 seconds.

## Actor input object example

```json
{
  "apps": [
    "https://apps.apple.com/de/app/temu/id1641486558"
  ],
  "period": "last_year",
  "maxAdsPerInput": 100
}
```

# Actor output Schema

## `ads` (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 = {
    "apps": [
        "https://apps.apple.com/de/app/temu/id1641486558"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hgservices/apple-app-store-ads-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 = { "apps": ["https://apps.apple.com/de/app/temu/id1641486558"] }

# Run the Actor and wait for it to finish
run = client.actor("hgservices/apple-app-store-ads-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 '{
  "apps": [
    "https://apps.apple.com/de/app/temu/id1641486558"
  ]
}' |
apify call hgservices/apple-app-store-ads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hgservices/apple-app-store-ads-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/eu0ywkeAuEx7Rc0Mo/builds/J3QHnEUwQYIAMU6UM/openapi.json
