# Dillards Scraper (`getdataforme/dillards-scraper`) Actor

Dillard's Scraper extracts product details from dillards.com. Provide product URLs as input to receive structured data, including names, prices, images, and categories.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

## Dillards Scraper Documentation

**Dillards Scraper** is an Apify actor designed to scrape product details effortlessly from [dillards.com](https://www.dillards.com/). The scraper is efficient, user-friendly, and extracts all relevant product information based on the input URLs provided. This documentation outlines its setup, functionality, and output format to ensure smooth operation.

***

### **Input Format**

The actor accepts a JSON input with the following structure:

```json
{
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    },
    "urls": [
        "https://www.dillards.com/p/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/519105363",
        "https://www.dillards.com/p/tommy-bahama-new-flip-coast-half-zip-pullover/518804235"
    ]
}
```

- **urls**: An array of product page URLs from dillards.com that you want to scrape. You can add multiple URLs to scrape multiple products simultaneously.

***

### **How Dillards Scraper Works**

1. **Provide Input**: Add the product URLs in the "urls" field of the input JSON.
2. **Run the Scraper**: Start the actor to fetch and parse data from the provided URLs.
3. **Get Results**: Once the scraper finishes its run, the extracted data is returned in a structured JSON format.

***

### **Output Format**

When the scraper runs successfully, the output will have the following structure:

```json
{
        "productName": "Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
        "brandNameForTitle": "VAN WINKLE & CO.",
        "brandUrll": "https://www.dillards.com/brand/VAN+WINKLE+and+CO.",
        "reviewCount": "",
        "reviewStars": "",
        "productNameForUR": "van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan",
        "originalProductName": "VAN WINKLE & CO. Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
        "superCat": "Women&#039;s Clothing",
        "imagelists": [
            {
                "alttext": "Color:Black - Image 1 - Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_dc88de8d-2b3a-470a-a083-c15cedfc0d06.jpg"
            },
            {
                "alttext": "Color:Black - Image 2 - Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_dc88de8d-2b3a-470a-a083-c15cedfc0d06__01_ai.jpg"
            },
            {
                "alttext": "Color:Black - Image 3 - Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_dc88de8d-2b3a-470a-a083-c15cedfc0d06__02_ai.jpg"
            },
            {
                "alttext": "Color:Black - Image 4 - Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_dc88de8d-2b3a-470a-a083-c15cedfc0d06__03_ai.jpg"
            },
            {
                "alttext": "Color:Heather Camel - Image 1 - Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_c47e590d-4f35-4004-9318-9e734945e694.jpg"
            },
            {
                "alttext": "Color:Heather Camel - Image 2 - Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_c47e590d-4f35-4004-9318-9e734945e694__01_ai.jpg"
            },
            {
                "alttext": "Color:Heather Camel - Image 3 - Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_c47e590d-4f35-4004-9318-9e734945e694__02_ai.jpg"
            },
            {
                "alttext": "Color:Heather Camel - Image 4 - Long Sleeve Open Front Coordinating Lounge Duster Cashmere Cardigan",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_c47e590d-4f35-4004-9318-9e734945e694__03_ai.jpg"
            }
        ],
        "categoryId": "",
        "skulists": [
            {
                "prtnumaber": "1120588",
                "upc": "000198054026142",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_dc88de8d-2b3a-470a-a083-c15cedfc0d06.jpg",
                "style": "F42RV401",
                "listPrice": 198,
                "offer": 138.6,
                "isReturnable": true
            },
            {
                "prtnumaber": "1120583",
                "upc": "000198054026135",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_dc88de8d-2b3a-470a-a083-c15cedfc0d06.jpg",
                "style": "F42RV401",
                "listPrice": 198,
                "offer": 138.6,
                "isReturnable": true
            },
            {
                "prtnumaber": "1120590",
                "upc": "000198054026166",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_dc88de8d-2b3a-470a-a083-c15cedfc0d06.jpg",
                "style": "F42RV401",
                "listPrice": 198,
                "offer": 138.6,
                "isReturnable": true
            },
            {
                "prtnumaber": "1120589",
                "upc": "000198054026159",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_dc88de8d-2b3a-470a-a083-c15cedfc0d06.jpg",
                "style": "F42RV401",
                "listPrice": 198,
                "offer": 138.6,
                "isReturnable": true
            },
            {
                "prtnumaber": "1120631",
                "upc": "000198054026227",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_c47e590d-4f35-4004-9318-9e734945e694.jpg",
                "style": "F42RV401",
                "listPrice": 198,
                "offer": 138.6,
                "isReturnable": true
            },
            {
                "prtnumaber": "1120594",
                "upc": "000198054026210",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_c47e590d-4f35-4004-9318-9e734945e694.jpg",
                "style": "F42RV401",
                "listPrice": 198,
                "offer": 138.6,
                "isReturnable": true
            },
            {
                "prtnumaber": "1120592",
                "upc": "000198054026203",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_c47e590d-4f35-4004-9318-9e734945e694.jpg",
                "style": "F42RV401",
                "listPrice": 198,
                "offer": 138.6,
                "isReturnable": true
            },
            {
                "prtnumaber": "1120591",
                "upc": "000198054026197",
                "full_image_url": "https://dimg.dillards.com/is/image/DillardsZoom/main/van-winkle--co.-long-sleeve-open-front-coordinating-lounge-duster-cashmere-cardigan/00000000_zi_c47e590d-4f35-4004-9318-9e734945e694.jpg",
                "style": "F42RV401",
                "listPrice": 198,
                "offer": 138.6,
                "isReturnable": true
            }
        ]
    }
```

#### **Explanation of Fields**

- **name**: The product name as displayed on the website.
- **ProductID**: A unique identifier for the product.
- **Categories**: An array of categories the product belongs to.
- **ImageUR**: The URL of the product image.
- **URL**: The source URL of the product page.
- **Brand**: The brand of the product.
- **Price**: The current price of the product.
- **Skulists**: The numerical value of the price.

***

### **Features**

- **Customizable Input**: Add as many product URLs as needed.
- **Detailed Output**: Extracts comprehensive product information, including pricing, categories, and images.
- **Reliable Scraping**: Optimized to handle dillards.com’s structure and ensure accurate data extraction.

***

### **Important Notes**

1. **Use Proxies**: For consistent results and to avoid potential IP bans, enable proxies when running the scraper.
2. **Data Freshness**: Ensure the URLs provided are valid and accessible.

***

### **Support**

For custom requirements, troubleshooting, or bug reports, contact us at:

- **Email**: <support@getdataforme.com>
- **Contact Form**: <https://getdataforme.com/contact/>

When reaching out, please include the email subject "Dillards Scraper Support" to ensure prompt assistance.

***

Thank you for using the Dillards Scraper!

# Actor input Schema

## `urls` (type: `array`):

A list of URLs of the web pages you want to scrape data from.

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

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

## Actor input object example

```json
{
  "urls": [
    "https://www.dillards.com/p/roundtree--yorke-travelsmart-corecomfort-flat-front-classic-relaxed-fit-chino-pants/509640715"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "urls": [
        "https://www.dillards.com/p/roundtree--yorke-travelsmart-corecomfort-flat-front-classic-relaxed-fit-chino-pants/509640715"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/dillards-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 = {
    "urls": ["https://www.dillards.com/p/roundtree--yorke-travelsmart-corecomfort-flat-front-classic-relaxed-fit-chino-pants/509640715"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/dillards-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 '{
  "urls": [
    "https://www.dillards.com/p/roundtree--yorke-travelsmart-corecomfort-flat-front-classic-relaxed-fit-chino-pants/509640715"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/dillards-scraper --silent --output-dataset

```

## MCP server setup

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