# Athleta Discovery Scraper (`getdataforme/athleta-discovery-scraper`) Actor

The Athleta Discovery Scraper extracts detailed product data from the Athleta website, ideal for market research and competitive analysis. It offers comprehensive data extraction, high data quality, proxy support, and customizable queries, ensuring efficient and scalable data collection.

- **URL**: https://apify.com/getdataforme/athleta-discovery-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** AI, Automation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.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

## Athleta Discovery Scraper

The Athleta Discovery Scraper is a powerful tool designed to extract detailed product information from the Athleta website. This actor is ideal for businesses and individuals looking to gather comprehensive data on Athleta's product offerings, including pricing, availability, and customer ratings.

### Features

- **Comprehensive Data Extraction**: Scrapes detailed product information including pricing, availability, and customer ratings.
- **High Data Quality**: Ensures accurate and up-to-date data collection.
- **Efficient Performance**: Capable of handling large volumes of data with speed and reliability.
- **Proxy Support**: Utilizes Apify's residential proxies to avoid IP bans and ensure continuous scraping.
- **Customizable Queries**: Allows users to specify search queries and limit the number of items to scrape.
- **User-Friendly Interface**: Easy setup and configuration through the Apify platform.
- **Scalable**: Suitable for both small-scale and large-scale data collection needs.

### Input Parameters

| Parameter           | Type     | Required | Description                                                                 | Example         |
|---------------------|----------|----------|-----------------------------------------------------------------------------|-----------------|
| `searchQuery`       | String   | Yes      | Enter the search keywords to filter products.                               | "mens"          |
| `maxItems`          | Integer  | No       | Maximum number of items to scrape.                                          | 100             |
| `proxyConfiguration`| Object   | No       | Specifies proxy servers to be used by the scraper to hide its origin.       | See below       |

#### Example Usage

##### Example Input JSON

```json
{
  "searchQuery": "mens",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

##### Example Output JSON

```json
[
  {
    "id": "440775",
    "name": "Classic T-Shirt",
    "brand": "GAP",
    "webProductType": "mens tees",
    "url": "https://bananarepublic.gap.com/browse/product.do?pid=440775",
    "pricing": {
      "mrp": 19.95,
      "saleMin": 17,
      "onSale": true,
      "currency": "USD"
    },
    "rating": {
      "score": 4.71,
      "count": 2192
    },
    "defaultThumbImage": "https://bananarepublic.gap.com/webcontent/webcontent/0057/821/451/cn57821451.jpg",
    "totalSwatchCount": 6,
    "colors": [
      {
        "colorId": "440775002",
        "colorName": "Optic white",
        "effectivePrice": 17,
        "onSale": true,
        "inStock": false,
        "badges": ["Best seller"],
        "sizes": ["regular|tops|size|s", "regular|tops|size|xxxl", "tall|tops|size|xxxl"]
      }
    ]
  }
]
```

### Use Cases

- **Market Research and Analysis**: Gather data for market trends and consumer preferences.
- **Competitive Intelligence**: Monitor competitor pricing and product offerings.
- **Price Monitoring**: Track price changes and promotions over time.
- **Content Aggregation**: Compile product information for content creation.
- **Academic Research**: Analyze consumer behavior and market dynamics.
- **Business Automation**: Automate data collection for business intelligence.

### Installation and Usage

1. Search for "Athleta Discovery Scraper" in the Apify Store.
2. Click "Try for free" or "Run".
3. Configure input parameters.
4. Click "Start" to begin extraction.
5. Monitor progress in the log.
6. Export results in your preferred format (JSON, CSV, Excel).

### Output Format

The output is a JSON array where each object contains:

- `id`: Unique product identifier.
- `name`: Product name.
- `brand`: Brand name.
- `webProductType`: Product category.
- `url`: Product URL.
- `pricing`: Pricing details including MRP, sale price, and currency.
- `rating`: Customer rating score and count.
- `defaultThumbImage`: Thumbnail image URL.
- `colors`: Array of color variants with details like `colorId`, `colorName`, `effectivePrice`, and `sizes`.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: <https://getdataforme.com/contact/>

We're here to help you get the most out of this Actor!

# Actor input Schema

## `searchQuery` (type: `string`):

Enter the Search Keywords

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

Maximum number of items to scrape.

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "searchQuery": "mens",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchQuery": "mens",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/athleta-discovery-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 = {
    "searchQuery": "mens",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/athleta-discovery-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 '{
  "searchQuery": "mens",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/athleta-discovery-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/athleta-discovery-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/ZXs8aBxX0p2kGu7Ul/builds/PyrLfLU5neiG5seOe/openapi.json
