# Apple Store Product Search Scraper (`alpha-scraper/apple-store-product-search-scraper`) Actor

\[ 1k / 1$ ] Apple Store product scraper: search apple.com in any country storefront by keyword and extract accessories and refurbished products with price, part number, colours and images, plus apple.com pages and support articles. Optional pages add specs and variants.

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

## Pricing

Pay per event + usage

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Store Product Search Scraper

Apple Store Product Search Scraper is an Apify Actor that collects e-commerce data from Apple Store and returns it as clean, structured records.
Apple Store product scraper: search apple.com in any country storefront by keyword and extract accessories and refurbished products with price, part number, colours and images, plus apple.com pages and support articles.
Instead of copying Apple Store pages by hand, you enter your keywords, choose a few options, and receive one JSON record for every product listing that Apple Store returns.

**Who is it for?** price-monitoring and repricing teams; e-commerce analysts and category managers; dropshipping and marketplace sellers.
**What problem does it solve?** Collecting Apple Store information by hand is slow and hard to repeat. Apple Store Product Search Scraper returns the same documented source fields every time, ready for spreadsheets, databases and dashboards.
**What data do you get?** 54 documented Apple Store fields per record, exported as JSON, CSV, Excel, XML, HTML or RSS.
**What is the easiest way to start?** Open the Actor on Apify, keep the pre-filled input, lower `maxItems`, and press Start.

> **📌 Apple Store Product Search Scraper at a glance**
>
> - **Platform:** Apple Store
> - **Category:** e-commerce
> - **Input fields:** 7 · **Output fields:** 54
> - **Listed price:** $1.00 per 1,000 results

### ✨ Apple Store Product Search Scraper Key Features

Apple Store Product Search Scraper turns Apple Store product listings into structured data with a short list of inputs and a documented output.
Here is what Apple Store Product Search Scraper offers:

- **Keyword input:** the Actor accepts one or many entries in `queries` and processes each entry on its own.
- **Result limit:** `maxItems` caps the Apple Store records per run, so test runs of Apple Store Product Search Scraper stay small and costs predictable.
- **Structured output:** 54 documented Apple Store fields in a consistent JSON structure.
- **Export anywhere:** download the Apple Store data as JSON, CSV, Excel, XML, HTML or RSS, or read the dataset through the Apify API.
- **Run summary:** a `RUN_SUMMARY` record and the status message report counts and the first problem of every run of Apple Store Product Search Scraper.
- **Country Storefront** (`country`): The apple.com storefront to search, as its URL path (apple.com/<code>/...).
- **Result Tab** (`tab`): Which tab of Apple's search results to read.
- **Sort Apple Store Results By** (`sortBy`): Sort order for the Products tab, taken from Apple's own sort menu.

> **💡 Why use the Actor?**
>
> - You work with documented Apple Store fields instead of raw pages.
> - You can repeat the same search job on a schedule and compare results over time.
> - You can start small with Apple Store Product Search Scraper, check the output, and scale up when you are happy.

### 🔍 What Data Can Apple Store Product Search Scraper Extract?

Each record describes one product listing found on Apple Store.
The schema documents 54 fields: 35 core fields that appear in almost every record, 9 common fields and 10 conditional fields that appear only when Apple Store provides the value or the matching option is on.

- `title`: Title
- `url`: URL
- `type`: Result type
- `partNumber`: Part number
- `basePartNumber`: Base part number
- `brand`: Brand
- `tab`: Search tab
- `section`: Result section

The Output section below lists more Apple Store fields with their types and shows a real sample record collected by Apple Store Product Search Scraper.

### ⚙️ How Apple Store Product Search Scraper Works

The workflow of the Actor is intentionally simple, and Apple Store Product Search Scraper needs no code:

1. You provide a JSON input or fill the Console form; missing options use their documented defaults.
2. For every entry in `queries`, Apple Store Product Search Scraper requests results from Apple Store, page after page, until it has `maxItems` records or Apple Store has no more matches.
3. With `fetchDetails` on, the Actor also opens each record's detail page and adds the extra fields.
4. Each record is cleaned and mapped to the documented fields; values that Apple Store does not provide are left out instead of guessed.
5. Records are saved to the default dataset in small batches, and a `RUN_SUMMARY` record closes the run of Apple Store Product Search Scraper.

### 🚀 How to Use Apple Store Product Search Scraper

You can run Apple Store Product Search Scraper in a few minutes. Follow these steps in the Apify Console:

1. Open the page of the Actor on Apify and select the **Input** tab.
2. Enter your Apple Store keywords in **Search Keywords** (`queries`).
3. Set **Max Items Per Keyword** (`maxItems`) to a small number such as 20 for the first run.
4. Press **Start**, then open the **Output** tab to browse the collected dataset and use **Export** to download it.
5. Save the input as a **Task** and add a **Schedule** to repeat Apple Store Product Search Scraper runs.

A quick start input for Apple Store Product Search Scraper:

```json
{
  "queries": ["iphone"],
  "maxItems": 20
}
```

With this input, the Actor searches Apple Store for the keywords shown and returns at most `maxItems` records.

### 🛒 How to Scrape Apple Store product listings with Apple Store Product Search Scraper

To scrape Apple Store product listings, add your keywords to `queries`, set `maxItems`, and start Apple Store Product Search Scraper. Each keyword is processed separately, so ten keywords produce ten Apple Store searches that share one dataset.

#### 📁 Can You Export Apple Store Data to CSV, Excel or JSON?

Yes. Every run of Apple Store Product Search Scraper stores its Apple Store records in a dataset that you can download as JSON, CSV, Excel, XML, HTML or RSS from the Console or through the API.

#### ⏰ Can You Schedule Apple Store Product Search Scraper to Monitor Apple Store?

Yes. Save your input as a Task, attach a Schedule, and compare the Apple Store dataset of every run.

### 📥 Apple Store Product Search Scraper Input

This table lists every input field of the Actor, taken from the Actor's input schema. The form is pre-filled with a working example.

#### 🧾 Apple Store Product Search Scraper Input Fields

|Field|Type|Default|Purpose|
|---|---|---|---|
|`queries`|array|\["iphone"]|One or more search terms for apple.com (for example 'iphone', 'airpods', 'magsafe charger').|
|`maxItems`|integer|15|Maximum number of results to extract per search term (Apple returns 30 per result page).|
|`country`|string|"us"|The apple.com storefront to search, as its URL path (apple.com/<code>/...).|
|`tab`|string|"accessories"|Which tab of Apple's search results to read.|
|`sortBy`|string|-|Sort order for the Products tab, taken from Apple's own sort menu.|
|`fetchDetails`|boolean|true|Apple publishes no customer reviews or seller data on these pages.|
|`detailLimit`|integer|0|Open product pages for at most this many results per search term; the rest keep the search fields…|

#### 📝 Apple Store Product Search Scraper Input Examples

These are valid inputs for Apple Store Product Search Scraper. Copy one into the JSON editor of the input form, or send it through the API.

#### 🧪 Example 1: Minimal input

The smallest useful input: your Apple Store keywords and a result limit. Every other option keeps its default.

```json
{
  "queries": ["iphone"],
  "maxItems": 20
}
```

#### 🧪 Example 2: Typical input with the documented defaults

Every option that has a documented default, shown with that default value so you can see the full shape of the input.

```json
{
  "queries": ["iphone"],
  "maxItems": 20,
  "country": "us",
  "tab": "accessories",
  "fetchDetails": true,
  "detailLimit": 0
}
```

#### 🧪 Example 3: Country Storefront set to "gb"

Changes `country` and keeps the other defaults.

```json
{
  "queries": ["iphone"],
  "maxItems": 20,
  "country": "gb",
  "tab": "accessories",
  "fetchDetails": true,
  "detailLimit": 0
}
```

### 📤 Apple Store Product Search Scraper Output

The Actor stores one record per product listing in the default dataset of the run. The table shows the most common of the 54 documented source fields.

#### 📋 Apple Store Product Search Scraper Output Fields

|Field|Type|Description|
|---|---|---|
|`title`|string|Product name, apple.com page title or support article title as shown in the…|
|`url`|string|Link to the product page, apple.com page or support article.|
|`type`|string|Kind of result: `product` for an Apple Store product, `supportArticle` for a…|
|`partNumber`|string|Apple part number of the listed product, including the regional suffix.|
|`basePartNumber`|string|Part number shared by all regional versions of the product, without the…|
|`brand`|string|Brand name from the product page's structured data.|
|`tab`|string|Search tab the result came from: `accessories` (Apple Store products)…|
|`section`|string|Name of the result group Apple lists the item under on the search page, for…|
|`priceText`|string|Displayed storefront price as text, including the currency symbol, with a…|
|`price`|object|Missing for results without a price.|
|`priceAmount`|number|Current price as a number in the storefront currency, read from the product…|
|`currency`|string|Three-letter ISO currency code of the storefront price.|

#### 🧬 Apple Store Product Search Scraper Sample Output

This record comes from a real run of Apple Store Product Search Scraper. Long texts and lists are shortened, only common fields are shown, and contact details, personal names, usernames and profile links are hidden.

```json
{
  "type": "product",
  "tab": "accessories",
  "section": "accessories",
  "title": "iPhone Air Case with MagSafe – Frost",
  "url": "https://www.apple.com/shop/product/mgh34ll/a/iphone-air-case-with-magsafe-frost",
  "partNumber": "MGH34LL/A",
  "basePartNumber": "MGH34",
  "price": {"amount": 49.0, "currency": "USD", "text": "$49.00"},
  "priceText": "$49.00",
  "currency": "USD",
  "brand": "Apple",
  "fullDescription": "Complete the look with the lightly frosted, remarkably slim iPhone Air Case with MagSafe.…",
  "priceAmount": 49.0,
  "overview": "This ultrathin translucent case is designed to complement the remarkably thin iPhone Air.…"
}
```

**Sample record 2**

```json
{
  "type": "product",
  "tab": "accessories",
  "section": "accessories",
  "title": "iPhone 16e Silicone Case – Neon Yellow",
  "url": "https://www.apple.com/shop/product/mgyw4zm/a/iphone-16e-silicone-case-neon-yellow",
  "partNumber": "MGYW4ZM/A",
  "basePartNumber": "MGYW4",
  "price": {"amount": 39.0, "currency": "USD", "text": "$39.00"},
  "priceText": "$39.00",
  "currency": "USD",
  "brand": "Apple",
  "fullDescription": "Give your iPhone 16e stylish protection with the yellow Silicone Case. Buy now at apple.c…",
  "priceAmount": 39.0,
  "overview": "Designed by Apple to complement iPhone 16e, the Silicone Case is a delightful way to prot…"
}
```

### 🎯 Apple Store Product Search Scraper Use Cases

People use Apple Store Product Search Scraper when they need repeatable, structured e-commerce data from Apple Store. Typical applications:

- Monitor prices, discounts and stock signals for a keyword over time
- Compare assortments, brands and categories between competitors
- Build product feeds for comparison sites and internal dashboards
- Track new arrivals and best-selling items for merchandising decisions
- Feed BI tools and spreadsheets with structured catalogue data

Every one of these tasks starts from the same Apple Store records that the Actor stores in the dataset.

### 💰 Apple Store Product Search Scraper Pricing

The Actor description lists the price of Apple Store Product Search Scraper as **$1.00 per 1,000 results**.
The table shows what that rate means for typical run sizes.

|Results|Cost at the listed rate|
|---|---|
|100|$0.10|
|1,000|$1.00|
|10,000|$10.00|
|100,000|$100.00|

- Check the **Pricing** tab on the Actor page for the current terms; your Apify plan and platform usage may also apply.
- Test with a small `maxItems` value before a large run.

### 💻 Run Apple Store Product Search Scraper with the Apify API

You can start Apple Store Product Search Scraper from code and read the Apple Store records from the dataset.

#### 🌐 Run the Actor with cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/ACTOR_ID/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["iphone"], "maxItems": 20}'
```

### 🔗 Integrations and Automation

Apple Store Product Search Scraper works with schedules, webhooks, the Apify API and many integrations.

#### 🔌 Connect Apple Store Product Search Scraper to n8n

- Use the Apify node to run the Actor and read its Apple Store dataset in an n8n workflow.
- Add a Split In Batches or Loop step to process the Apple Store records one by one.
- Use an HTTP Request node with the Apple Store dataset API if you prefer to control query parameters yourself.
- Once a run succeeds, the Apple Store data is ready to use in n8n.

### 🧭 Example Workflows with Apple Store Product Search Scraper

These workflows show how teams combine the Actor with schedules, storage and analysis tools.

#### 🧭 Competitor tracking

1. List the search keywords that describe your competitors' offers.
2. Run Apple Store Product Search Scraper on a schedule and store every Apple Store dataset.
3. Load the datasets into one table with a run-date column.
4. Chart changes in the Apple Store fields that matter to you.
5. Review the chart in a weekly meeting.

### 🛠️ Tips and Best Practices

Follow these tips to get clean data from Apple Store Product Search Scraper faster:

- Start every new search with a small `maxItems` value so you can check the output and the cost before a big run.
- Change one input option at a time and compare the datasets; this makes it clear which option produced which effect.
- Save good inputs as Apify Tasks and give them descriptive names such as the keyword and the market.
- Use a schedule for monitoring jobs, and keep each run small so that Apple Store results arrive quickly.
- Treat every field except the identifiers as optional in your downstream code.
- Keep the raw JSON of important runs; it is the most complete representation of each record.
- Review `country` (Country Storefront) before large runs: The apple.com storefront to search, as its URL path (apple.com/<code>/...).
- Review `tab` (Result Tab) before large runs: Which tab of Apple's search results to read.

### 🗂️ Apify Platform Topics for Apple Store Product Search Scraper

These notes cover Apify features that you meet while running the Actor.

#### 📌 Monitoring over time

- Run the same Task on a schedule and keep every Apple Store dataset.
- Merge datasets with a `run_date` column and chart the Apple Store fields that matter to you.
- Alert yourself when the number of Apple Store records suddenly changes.

### ⚖️ Legal and Responsible Use

Apple Store Product Search Scraper is meant for publicly available information, and you are responsible for how you use the Apple Store data. This is general information, not legal advice.

- Read and follow the terms of service and the published crawler rules of the source site before you run large jobs.
- Collect only the product listings and fields you need from Apple Store, and use them for a legitimate purpose.
- Treat names, handles and contact details as personal data where privacy laws such as GDPR or CCPA apply.
- Respect copyright and database rights when you republish Apple Store content, and honour removal requests.

### ❓ Frequently Asked Questions about Apple Store Product Search Scraper

Answers to common questions about Apple Store Product Search Scraper and about collecting Apple Store data.

#### ❓ How do I run the Actor?

Open the Actor page on Apify, fill in the input form, and press Start.
The same run can be started from the Apify API, the Apify CLI, a schedule, or an integration, using the identical JSON input shown in the Input section.
Apple Store Product Search Scraper saves every record to the run's default dataset, where you can preview and download it.

#### ❓ Do I need an Apify account to use Apple Store Product Search Scraper?

Yes. The Actor runs on the Apify platform, so you need an Apify account to start it from the Console or the API.
A free account is enough to try the Actor on a small input; check your plan for the monthly credits it includes.

#### ❓ Can I run Apple Store Product Search Scraper through the API?

Yes. Every Apify Actor can be started with the Apify API or one of the official clients for JavaScript and Python.
The API section of this page shows a copy-paste example that sends the same JSON input as the Console form.

#### ❓ How do I schedule Apple Store Product Search Scraper to run every day or every week?

Save your input as an Apify Task, then add a Schedule with a cron expression to that Task.
Each scheduled run creates a new dataset, so you can compare today's Apple Store results with yesterday's.

#### ❓ Which formats can I export the results in?

Apify datasets can be downloaded as JSON, JSONL, CSV, Excel, XML, HTML table and RSS.
Nested lists and objects are kept intact in JSON; for CSV or Excel choose the Apple Store fields you need or flatten nested fields in the export options.

#### ❓ Can I use the Actor to monitor my own listings or pages on Apple Store?

Yes, as long as your Apple Store keywords or filters find them. Compare each run with the previous one to see changes.

#### ❓ What must my firewall allow to call the API?

Outgoing HTTPS requests to `api.apify.com`.

### ⚡ Quick Answers about Apple Store Product Search Scraper

Short answers and terms for Apple Store Product Search Scraper users.

- **Does Apple Store Product Search Scraper ask for my source site username or password?** No, it works with what Apple Store shows publicly.
- **What does the Actor return?** Structured JSON records with the Apple Store fields documented in the Output section.
- **Can I skip records?** Yes, use `offset` in the Apple Store dataset API.
- **Is there a free way to test it?** Yes, run a small input with a low `maxItems` value on your Apify plan credits.
- **Can I run it on a schedule?** Yes, create a Task and attach an Apify Schedule.

### 🤝 Support

Need help with Apple Store Product Search Scraper or want a new field? Use the **Issues** tab on the Actor page and include the run link and your input.

- contact me by email : alphascraper69@gmail.com

# Actor input Schema

## `queries` (type: `array`):

One or more search terms for apple.com (for example 'iphone', 'airpods', 'magsafe charger'). Every term is searched on its own and gets its own 'Max Items Per Keyword'. For some terms Apple redirects its search box to a curated category page; then there is no result list and the run logs it, so use a broader term.

## `maxItems` (type: `integer`):

Maximum number of results to extract per search term (Apple returns 30 per result page). The Actor keeps loading pages until this number is reached or the last page is read. With the 'All three tabs' option the tabs are read one after another, so the first tab can use up the limit.

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

The apple.com storefront to search, as its URL path (apple.com/<code>/...). It sets language, prices and currency. Pick one from the list or type another Apple storefront path (lower case).

## `tab` (type: `string`):

Which tab of Apple's search results to read. 'Products' lists Apple Store accessories and refurbished items with price, part number, colours and images. 'Explore' lists apple.com pages, including the 'Shop ...' buy pages of iPhone, Mac and iPad. 'Support' lists support.apple.com articles. 'All' reads the three tabs one after another.

## `sortBy` (type: `string`):

Sort order for the Products tab, taken from Apple's own sort menu. It is used only when Apple offers that option for the search; otherwise Apple's default order is kept. Leave empty for Apple's default (relevance).

## `fetchDetails` (type: `boolean`):

Open every product page (/shop/product/...) and add the full description, availability, condition, SKU, shipping and return policy, the image gallery, colour and size options, Overview, What's in the Box, Features, Tech Specs, manufacturer information (UPC), compatibility, the variant list with part numbers and prices, financing and promoted accessories. This is one extra request per product and applies to products only (page and support-article rows have no detail page). Apple publishes no customer reviews or seller data on these pages.

## `detailLimit` (type: `integer`):

Open product pages for at most this many results per search term; the rest keep the search fields only. 0 means every returned product. Used only while 'Fetch Product Detail Pages' is on.

## Actor input object example

```json
{
  "queries": [
    "iphone"
  ],
  "maxItems": 15,
  "country": "us",
  "tab": "accessories",
  "fetchDetails": true,
  "detailLimit": 0
}
```

# Actor output Schema

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

Structured records extracted by Apple Store Product Search Scraper and stored in the run's 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 = {
    "queries": [
        "iphone"
    ],
    "maxItems": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("alpha-scraper/apple-store-product-search-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 = {
    "queries": ["iphone"],
    "maxItems": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("alpha-scraper/apple-store-product-search-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 '{
  "queries": [
    "iphone"
  ],
  "maxItems": 15
}' |
apify call alpha-scraper/apple-store-product-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alpha-scraper/apple-store-product-search-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/rs2w0T10PAqFQJfe5/builds/i6bgiIwhaM7BNEaEb/openapi.json
