# Kmart Product Spider (`getdataforme/kmart-product-spider`) Actor

This Apify actor automates scraping of detailed product data from Kmart, extracting names, prices, descriptions, images, and specs. It features batch processing, residential proxies for anonymity, dynamic content handling, and scalable JSON output....

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

## Pricing

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

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

## Kmart Product Spider

### Introduction

The Kmart Product Spider is a robust web scraping actor built on Python Scrapy, designed to extract detailed product information from Kmart's online store. It automates the collection of key data points like product names, prices, descriptions, and images, enabling efficient e-commerce data gathering. This tool is ideal for businesses and researchers needing reliable, structured data from Kmart without manual effort.

### Features

- **Comprehensive Data Extraction**: Scrapes product titles, prices, descriptions, specifications, and image URLs.
- **Batch Processing**: Supports multiple URLs for simultaneous scraping to handle large datasets.
- **Proxy Integration**: Utilizes residential proxies to bypass restrictions and maintain anonymity.
- **Dynamic Content Handling**: Manages JavaScript-rendered pages for accurate data capture.
- **Structured Output**: Delivers clean JSON data for easy integration into workflows or databases.
- **High Performance**: Configurable concurrency for fast, scalable scraping.
- **Error Resilience**: Includes retry mechanisms and logging for robust operation.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| Urls | array | No | An array of Kmart product page URLs to scrape. Each URL should point to a specific product page. | \["https://www.kmart.com.au/product/core-hoodie-s168393/?selectedSwatch=Gry%20Marle"] |
| proxyConfiguration | object | No | Configuration for proxy servers to mask the scraper's IP address and avoid blocking. Defaults to Apify's residential proxies. | {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"]} |

### Example Usage

#### Input

```json
{
  "Urls": [
    "https://www.kmart.com.au/product/core-hoodie-s168393/?selectedSwatch=Gry%20Marle"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

#### Output

```json
// No output available
```

### Use Cases

- **Market Research**: Analyze product trends, pricing strategies, and inventory across Kmart's catalog.
- **Competitive Intelligence**: Compare Kmart products with competitors for pricing and feature insights.
- **Price Monitoring**: Track price changes and availability for e-commerce automation.
- **Content Aggregation**: Build product databases for comparison sites or affiliate marketing.
- **Academic Research**: Gather data on consumer goods for studies in economics or retail.
- **Business Automation**: Integrate scraped data into dashboards for inventory management or sales forecasting.

### Installation and Usage

1. Search for "Kmart Product Spider" 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 actor outputs data in JSON format as an array of objects. Each object represents a scraped product and typically includes fields such as:

- `url`: The original product URL.
- `title`: The product name.
- `price`: Current price (including currency).
- `description`: Detailed product description.
- `images`: Array of image URLs.
- `specifications`: Key product specs (e.g., size, color).
  Additional fields may vary based on the product page. The output is clean and ready for parsing or export.

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

## `Urls` (type: `array`):

The urls for the spider.

## `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.kmart.com.au/product/core-hoodie-s168393/?selectedSwatch=Gry%20Marle"
  ],
  "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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/kmart-product-spider"
        }
    }
}
```

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/FwTSd1UJfDr3oeAqt/builds/HAFkpN6cguCmlwd0W/openapi.json
