# American Eagle Scraper - Price & Sale Tracker (ae.com) (`superslowsloth/americaneagle-products`) Actor

American Eagle scraper: ae.com category links to one row per product with USD price, list price, markdown dollars and percent, colors, badges, marketing line, sold-out and clearance flags, link and photos. For apparel price, sale and new-arrival watching.

- **URL**: https://apify.com/superslowsloth/americaneagle-products.md
- **Developed by:** [Superslow Sloth](https://apify.com/superslowsloth) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 product scrapeds

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?

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

## American Eagle scraper: price, sale and new-arrival tracker (ae.com)

This American Eagle scraper reads [ae.com](https://www.ae.com) (American Eagle
Outfitters, the US apparel retailer) category pages and returns one flat row per
**product tile**: the current price in **USD**, the list price, the markdown in
dollars and percent, the colors the tile offers, its merchandising badges and
marketing line, the clearance and sold-out flags, the product link and the photos.
Run it on a schedule and diff the dataset to get an **apparel price and sale
watch**: which jeans sit at $35.97 against a $59.95 list price, what just landed in a
category, which products went to clearance.

No account, no API key, no login, no browser. One request returns 30 products.

### Input

| Field | Notes |
|---|---|
| `startUrls` | ae.com category pages, one per line, for example `https://www.ae.com/us/en/c/women/bottoms/jeans/cat6430042`. **The category id at the end (`cat6430042`) decides what is read; the words in front of it are ignored.** A parent category such as `https://www.ae.com/us/en/c/women/womens` lists everything under it. Only the US store is read: a product link (`/p/...`), another site and the `/ca/`, `/mx/` and `/intl/` stores are refused. |
| `maxItems` | Rows to return per category (default 100, up to 10,000). 30 per page. |
| `onlyOnSale` | Return only products whose price is below their list price (`on_sale`). Others are read, not returned and not charged, and do not count toward `maxItems`. |
| `proxyConfiguration` | Apify proxy (datacenter) by default. |

At least one category link is required. A product that two categories both list is
returned once, under the first, and charged once.

Example input:

```json
{
  "startUrls": [
    { "url": "https://www.ae.com/us/en/c/women/bottoms/jeans/cat6430042" },
    { "url": "https://www.ae.com/us/en/c/men/bottoms/jeans/cat6430041" }
  ],
  "maxItems": 200,
  "onlyOnSale": true
}
```

**Mind the id.** `cat6430041` is **men's** jeans and `cat6430042` is women's jeans.
ae.com serves the category the id at the end of the link names and ignores the words in
front of it, so `https://www.ae.com/us/en/c/women/jeans/cat6430041` is still men's jeans
(126 products on 2026-11-16), and so is what this actor returns for it. Check
`category_path` in the output.

### Output

Prices are numbers in US dollars; `currency` is `USD` (the `/us/en` store).

| Field | Notes |
|---|---|
| `category_id`, `category_name`, `category_path` | The category the row was read from: the id as given (`cat6430042`), the site's title for it (`Jeans`) and its breadcrumb from the department down (`["Women", "Bottoms", "Jeans"]`; empty list if the site sends none). |
| `position` | The product's place in ae.com's own (Featured) order for the category, 1 is first, counted over every product of the pages read. Counted before duplicates and the `onlyOnSale` filter. |
| `product_id` | `0437_6560_482`. **American Eagle lists one product per color**, with its own id, link and sometimes price, so **`product_id` is the unique key**. A string. |
| `name`, `url`, `brand` | As the site shows them; `url` is the absolute product link; `brand` is `AE`. |
| `image_url`, `image_urls` | The first photo and all the photos the tile carries (2 to 10), as absolute https links. |
| `price` | The price shown now. Equals `list_price` on a product that is not marked down. |
| `list_price` | The full price. Null only if the site sends none. |
| `on_sale` | True when `price` is below `list_price`. |
| `discount_amount`, `percent_off` | Dollars off and whole percent off, worked out from the two prices (a 40% tile reads 40). **Null when not on sale, never 0.** |
| `color`, `color_count`, `colors` | This product's own color name (`Dark Ink`), how many colors the tile offers (this one included) and all their names in swatch order, as sent (two swatches can share a name). Each color is also a product of its own, with its own id. |
| `badges` | The merchandising labels of the tile, from the site's merchant flag: `New`, `Online Exclusive`, `Rigid`, `Dreamy Drape`, `Airflex+ Stretch`... Empty list if none. |
| `marketing_message` | The line under the price: `Lowest rise ever + FREE returns`, `Back in Stock`, `Also Available In Curvy`. Null if none. |
| `is_clearance`, `is_sold_out`, `is_coming_soon` | The site's own flags for the product. |
| `scraped_at` | When the page carrying the row was read, UTC. |
| `source_url` | The request the row was read from, so a row can be traced to the response that carried it. |
| `currency` | `USD`. |

Example row (real values, 2026-11-16):

```json
{
  "category_id": "cat6430041",
  "category_name": "Jeans",
  "category_path": ["Men", "Bottoms", "Jeans"],
  "position": 2,
  "product_id": "1115_7630_540",
  "name": "AE Athletic Straight Jean",
  "url": "https://www.ae.com/us/en/p/men/jeans/athletic-fit-jeans/ae-athletic-straight-jean/1115_7630_540",
  "image_url": "https://s7d2.scene7.com/is/image/aeo/1115_7630_540_of",
  "image_urls": [
    "https://s7d2.scene7.com/is/image/aeo/1115_7630_540_of",
    "https://s7d2.scene7.com/is/image/aeo/1115_7630_540_ob",
    "https://s7d2.scene7.com/is/image/aeo/1115_7630_540_f",
    "https://s7d2.scene7.com/is/image/aeo/1115_7630_540_b",
    "https://s7d2.scene7.com/is/image/aeo/1115_7630_540_os",
    "https://s7d2.scene7.com/is/image/aeo/1115_7630_540_d2",
    "https://s7d2.scene7.com/is/image/aeo/1115_7630_540_d3"
  ],
  "brand": "AE",
  "currency": "USD",
  "price": 35.97,
  "list_price": 59.95,
  "on_sale": true,
  "discount_amount": 23.98,
  "percent_off": 40,
  "color": "Medium Indigo Wash",
  "color_count": 5,
  "colors": ["Authentic Dark Indigo", "Skylight", "Black Charcoal", "Medium Indigo Wash", "Dark Blue"],
  "badges": ["Airflex+ Stretch"],
  "marketing_message": null,
  "is_clearance": false,
  "is_sold_out": false,
  "is_coming_soon": false,
  "scraped_at": "2026-11-16T05:13:00Z",
  "source_url": "https://www.ae.com/us/en/c/cat6430041"
}
```

#### Honest nulls

A field the site did not send is `null`, never `0` or `""`. `category_path`,
`image_urls`, `colors` and `badges` are empty lists when there are none.

- **No ratings or review counts.** The category list carries none.
- **Some categories have no name.** The site sends an empty title and breadcrumb for women's jeans (`cat6430042`), so `category_name` is null and `category_path` is `[]` there; men's jeans (`cat6430041`) comes with `Jeans` and `["Men", "Bottoms", "Jeans"]`.
- **No sizes and no stock counts.** `is_sold_out` is the site's own flag for the product;
  per-size availability is on the product page, which this actor does not read.
- **No product descriptions or materials.** This is the category list, one row per tile.
- **The site marks most of its catalogue down.** In the 126 men's jeans read on 2026-11-16,
  120 had a price below the list price (96 of them 40% off, 24 of them 50% off). `on_sale` is true for
  those, and `onlyOnSale` keeps them; it is not a clearance filter (use `is_clearance`).

### Pricing

Pay per event:

- **$0.002** per run (`actor-start`), charged only after your input is
  validated, so a run that fails on bad input costs nothing.
- **$0.0014** per product row written (`product-scraped`), i.e. $1.40 per
  1,000 products. A row that is not written is not charged: rows filtered by
  `onlyOnSale`, and repeats of a product another page or category already returned,
  are free.

### How it fetches

The first 30 products of a category come from the category page itself: ae.com embeds
the product list in the page it sends, and the actor reads that list. The page is
0.8 to 1 MB. A page number or offset in the link does nothing (`?page=2`, `?offset=30`
and `?rows=60` all return the first 30 again), so the rest comes from the endpoint the
site's own "Load More" button calls, `/ugp-api/browse/v1/category/<id>?offset=<n>`, 30
products per call, with a guest token the actor requests first (one request per run, no
login). The page and the endpoint carry the same product records.

Things worth knowing, all measured on 2026-11-16 from a plain VM in Japan:

- **No localisation step.** `/us/en/` is the US store with USD prices whatever the address
  the request leaves from.
- **Speed.** A full read of two categories (126 + 178 products, 12 requests) took 9.4 s with no
  retry. Each page of 30 is one request.
- **The category id decides.** Words in front of the id are ignored (see "Mind the id").
  A category id the site does not know redirects to the home page; the actor reports it as
  "no results" and charges nothing for it.
- **A walk ends** at the site's match count (`totalProducts`) or at the endpoint's 404
  "no products" answer. The count drifts by one between requests (178, then 179), so a long
  walk can read a product twice (returned once) or miss one that moved.
- **Colors are products.** The same jean in two colors is two rows, linked by the names in
  `colors`; `position` and `percent_off` can differ between them.
- **Proxies.** The category page was measured from Apify addresses by the platform probe
  (`data-product-id` tiles present on 10 of 10 datacenter, 9 of 10 residential and 10 of 10
  platform-address requests). The token and list-endpoint calls were measured from a plain
  VM only, not from Apify addresses: a refused call (HTTP 403, 429, 5xx) is retried from a
  fresh address, and if a later page still fails the rows already read are kept and the
  failure is logged, so the run reports what it got.

If ae.com changes its page, the run fails with a message instead of returning empty rows.

# Actor input Schema

## `startUrls` (type: `array`):

American Eagle category pages to read, one per line, for example https://www.ae.com/us/en/c/men/bottoms/jeans/cat6430041 (the prefill, men's jeans) or https://www.ae.com/us/en/c/women/bottoms/jeans/cat6430042 (women's jeans). The category id at the end of the link (cat6430041) decides what is read; the words in front of it are ignored. A parent category such as https://www.ae.com/us/en/c/women/womens lists everything under it. Only the US store (/us/en) is read: product links, other sites and the /ca/, /mx/ and /intl/ stores are refused. Each category is read separately, 30 products per page; a product that two categories both list is returned once, under the first. An id the site does not know is reported and skipped at no charge.

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

Read at most this many products for each category. American Eagle lists 30 per page, so 100 reads four pages. The prefill of 30 is one page, which keeps the test run short. Up to 10,000 are accepted.

## `onlyOnSale` (type: `boolean`):

Return only products whose current price is below their list price (the on_sale field). Products at full price are read but not returned and not charged, and do not count toward Max rows. American Eagle marks most of its catalogue down, so this filter usually keeps most rows.

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

Apify proxy (automatic datacenter exits) is the default and is what this actor was measured on: ae.com's category page returned the product list to Apify datacenter addresses on 10 of 10 requests, to residential on 9 of 10 and to the platform's own address on 10 of 10 (2026-11-16). A refused request is retried from a fresh address.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.ae.com/us/en/c/men/bottoms/jeans/cat6430041"
    }
  ],
  "maxItems": 30,
  "onlyOnSale": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `items` (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 = {
    "startUrls": [
        {
            "url": "https://www.ae.com/us/en/c/men/bottoms/jeans/cat6430041"
        }
    ],
    "maxItems": 30,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("superslowsloth/americaneagle-products").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 = {
    "startUrls": [{ "url": "https://www.ae.com/us/en/c/men/bottoms/jeans/cat6430041" }],
    "maxItems": 30,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("superslowsloth/americaneagle-products").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 '{
  "startUrls": [
    {
      "url": "https://www.ae.com/us/en/c/men/bottoms/jeans/cat6430041"
    }
  ],
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call superslowsloth/americaneagle-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,superslowsloth/americaneagle-products"
        }
    }
}
```

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/KbleCcb2YNeULXJza/builds/5y35dIWx9TH7aN2qG/openapi.json
