# Target Scraper 🛒 $0.9/1k (`123webdata/target-scraper`) Actor

$0.9/1k 💰 | Fast ⚡️ | Quick Support 🚀 | Scrape Target search and product pages; get titles, prices, offers, availability, ratings, and images. Export JSON or CSV for retail monitoring.

- **URL**: https://apify.com/123webdata/target-scraper.md
- **Developed by:** [Milán Vásárhelyi](https://apify.com/123webdata) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.80 / 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.
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

## Target Scraper

Collect structured retail product data from Target product, category, search, brand, and filtered URLs.

### Issues and feature requests

If you encounter an issue or need a field added, open an issue on the Actor page or write to hello@123webdata.com.

### Output Example (simplified)

The overview shows the most useful fields in a table. Product images are displayed as thumbnails when the website provides them.

| Image | Product URL | Product ID | Product name | Current price | Maximum price | Regular price | Currency | In stock | Brand | Seller | Scraped at |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| <img src="https://target.scene7.com/is/image/Target/GUEST_26a97166-cbda-4bc7-90cf-2360865533ae?wid=1000&amp;hei=1000&amp;fmt=pjpeg" style="max-width: 100px; max-height: 100px; object-fit: contain;"> | https://www.target.com/p/hp-essential-14-hd-copilot-ai-laptop-intel-n150-16gb-ram-128gb-emmc-windows-11-home-lightweight-portable-student-everyday-use-notebook/-/A-1012079709 | 1012079709 | HP Essential 14" HD Laptop, Intel N150, 16GB DDR4, 128GB eMMC, Wi-Fi 6, Win11 Home, 1-Year Microsoft 365 Included, Blue | 389.98 |  | 649.98 | USD | true | HP Inc. | PCOnline | 2026-08-25T19:41:22.401Z |

### How to scrape supported list pages

This Actor accepts individual product links in `productUrls`. It accepts category pages, search result pages, brand pages, and filtered result pages in `categoryUrls`.

1. Open a supported list page in your browser.
2. Choose a category, run a search, open a brand page, and apply the filters you need.
3. Copy the final URL from the address bar and paste it into `categoryUrls`.

The Actor follows the products shown on that page.

### Features

- Scrapes detailed retail product information from Target product pages
- Accepts individual product URLs and category pages, search result pages, brand pages, and filtered result pages
- Lets you limit the number of saved products and choose whether to continue through additional result pages
- Returns structured prices, availability, specifications, ratings, and product variants for viewing, export, and analysis

### Pricing

This Actor uses pay-per-event pricing. Its running costs are included.

- **Actor start:** $0.02 once per run — One fixed charge for starting a run.
- **Result:** $0.00089 each ($0.89 per 1,000) — A product record collected directly from a supported list page.
- **Product detail:** $0.00199 each ($1.99 per 1,000) — A full product record collected from its product page.

The start charge applies once per run. Each saved product is charged either as a Result or a Product detail, never both.

| Results in one run | Result | Product detail |
| ---: | ---: | ---: |
| 100 | $0.11 | $0.22 |
| 1,000 | $0.91 | $2.01 |

[Apify's Free plan](https://apify.com/pricing) currently includes $5 in monthly usage credits. If the full $5 is available for this Actor, one run covers about 5,595 Results or 2,502 Product details. Other Apify usage reduces the available credit.

### Input

The Actor accepts the following input parameters:

| Field | Type | Description |
| --- | --- | --- |
| `productUrls` | array | Product URLs to scrape |
| `categoryUrls` | array | Supported list pages: category pages, search result pages, brand pages, and filtered result pages |
| `maxResultsPerScrape` | integer | Maximum number of product records to save |
| `usePagination` | boolean | Whether to continue through additional result pages |
| `scrapeProductDetails` | boolean | Enabled returns Product detail records with the product-page fields listed below. Disabled returns Result records with the list-level fields. |

### What data you get in each mode

Every saved product is stored as one record. `scrapeProductDetails` decides which mode you receive; the lists below name every field each mode can return. A field is empty when the website does not show that information.

#### Result

A list-level product record with 23 declared fields:

`url`, `product_id`, `name`, `price`, `max_price`, `regular_price`, `currency`, `sku`, `brand`, `main_image`, `images`, `rating_value`, `review_count`, `canonical_url`, `scraped_at`, `regular_price_max`, `recent_purchase_text`, `badges`, `promotion_text`, `available_colors`, `additional_color_count`, `additional_deal_count`, `fulfillment_text`

#### Product detail

A full product record with 37 declared fields:

`url`, `product_id`, `name`, `price`, `max_price`, `regular_price`, `currency`, `in_stock`, `sku`, `gtin`, `brand`, `category`, `breadcrumbs`, `breadcrumb_urls`, `main_image`, `images`, `description`, `description_html`, `color`, `weight`, `features`, `attributes`, `rating_value`, `review_count`, `seller_name`, `seller_url`, `variants`, `canonical_url`, `scraped_at`, `regular_price_max`, `recent_purchase_text`, `badges`, `promotion_text`, `available_colors`, `additional_color_count`, `additional_deal_count`, `fulfillment_text`

### Output Example (full)

The Actor stores one structured record per product. Card-only records contain only fields available on the list; detail-only fields are omitted.

```json
{
  "url": "https://www.target.com/p/hp-essential-14-hd-copilot-ai-laptop-intel-n150-16gb-ram-128gb-emmc-windows-11-home-lightweight-portable-student-everyday-use-notebook/-/A-1012079709",
  "product_id": "1012079709",
  "name": "HP Essential 14\" HD Laptop, Intel N150, 16GB DDR4, 128GB eMMC, Wi-Fi 6, Win11 Home, 1-Year Microsoft 365 Included, Blue",
  "price": 389.98,
  "regular_price": 649.98,
  "currency": "USD",
  "in_stock": true,
  "sku": "1012079709",
  "gtin": null,
  "brand": "HP Inc.",
  "category": "Traditional Laptops",
  "breadcrumbs": [
    "Target",
    "Electronics & Tech",
    "Computers & Tablets",
    "Laptops",
    "Traditional Laptops"
  ],
  "breadcrumb_urls": [
    "https://www.target.com/",
    "https://www.target.com/c/electronics/-/N-5xtg6",
    "https://www.target.com/c/computers-tablets-electronics-tech/-/N-gfwmx",
    "https://www.target.com/c/laptops-home-office-electronics/-/N-5xtf4",
    "https://www.target.com/c/traditional-laptops-computers-tablets-electronics-tech/-/N-6k98r"
  ],
  "main_image": "https://target.scene7.com/is/image/Target/GUEST_26a97166-cbda-4bc7-90cf-2360865533ae?wid=1000&hei=1000&fmt=pjpeg",
  "images": [
    "https://target.scene7.com/is/image/Target/GUEST_26a97166-cbda-4bc7-90cf-2360865533ae?wid=1000&hei=1000&fmt=pjpeg",
    "https://target.scene7.com/is/image/Target/GUEST_9f8e2c96-ed27-461a-8ed0-1c23c22bd47a?wid=1000&hei=1000&fmt=pjpeg",
    "https://target.scene7.com/is/image/Target/GUEST_a67a5da2-32d9-46d5-bce8-4188991e35bd?wid=1000&hei=1000&fmt=pjpeg",
    "https://target.scene7.com/is/image/Target/GUEST_68245486-4f95-4c34-af0e-db7164b28d90?wid=1000&hei=1000&fmt=pjpeg"
  ],
  "description": "Description\nDesigned for students, families, remote learners, and everyday users, this 14-inch laptop delivers dependable performance, essential productivity features, and modern wireless connectivity in a lightweight and stylish design. Whether you're attending online classes, browsing the web, managing documents, streaming entertainment, or staying connected with family and friends, this laptop provides the tools needed for daily computing at home, school, or on the go. Powered by the Intel N-Series N150 processor, the system is optimized for efficient everyday performance and smooth operation across common computing tasks. From web browsing and email management to word processing, video playback, and cloud-based applications, the processor provides reliable responsiveness while maintaining power efficiency. Integrated Intel Graphics enhance visual performance for streaming media, presentations, online learning platforms, and routine productivity applications, making this laptop a practical choice for users who need a dependable computing companion. Equipped with 16GB DDR4 memory, the laptop supports smooth multitasking and improved system responsiveness. Users can comfortably work across multiple browser tabs, productivity applications, educational software, and communication platforms without frequent slowdowns. The generous memory capacity helps create a more efficient workflow for students completing assignments, professionals handling daily tasks, and families sharing a versatile home computer. The 128GB eMMC storage provides reliable space for essential files, documents, photos, educational materials, and applications while supporting fast access to frequently used content. Combined with Windows 11 Home, the storage solution helps deliver a user-friendly experience with quick startup performance and convenient access to everyday computing tools. The operating system offers an intuitive interface, improved multitasking features, built-in security protections, and compatibility with a wide range of applications designed for learning, productivity, and entertainment. Featuring a 14-inch HD display with 1366 x 768 resolution, this laptop offers a comfortable viewing experience for web browsing, online classes, video streaming, and daily computing activities. The anti-distraction non-touch design allows users to focus on work and content while maintaining efficient power usage. The compact screen size also contributes to improved portability, making it easy to carry between classrooms, offices, libraries, and home workspaces. Modern connectivity options help users stay productive and connected wherever they are. Built-in Wi-Fi 6 technology provides fast and reliable wireless networking for video conferencing, online learning, cloud applications, and streaming content. Bluetooth connectivity enables seamless pairing with compatible wireless accessories such as headphones, speakers, mice, and keyboards, helping create a more flexible and clutter-free workspace. A built-in camera supports virtual meetings, online classes, video calls, and remote collaboration, making communication simple and convenient. Whether attending lessons, participating in meetings, connecting with loved ones, or joining online communities, users can enjoy reliable video communication whenever needed. Finished in an attractive blue color, this laptop combines everyday functionality with modern style. Its balance of practical performance, dependable memory, wireless connectivity, integrated camera, and portable design makes it an excellent choice for students, home users, remote learners, and anyone seeking an affordable and capable laptop for everyday computing needs.\n\nHighlights\n[Efficient Everyday Performance] Powered by the Intel N-Series N150 processor and Intel Graphics, this laptop delivers reliable performance for web browsing, schoolwork, office tasks, streaming, and daily computing activities.\n[Smooth Multitasking Memory] Equipped with 16GB DDR4 memory to support multiple browser tabs, productivity applications, online learning tools, and everyday workflows with responsive performance.\n[Compact HD Display] Features a 14-inch HD 1366x768 non-touch display with a 60Hz refresh rate, providing clear visuals for studying, web browsing, video streaming, and document editing.\n[Modern Wireless Connectivity] Built-in Wi-Fi 6 and Bluetooth technology provide fast wireless networking and easy pairing with compatible accessories, helping users stay connected and productive anywhere.\n[Ready for Learning & Communication] Includes a built-in camera, 128GB eMMC storage, and Windows 11 Home, making it ideal for online classes, video calls, remote work, and everyday personal computing.\nBrand new computer professionally configured by a manufacturer-authorized facility. Upgraded components include a 1-Year warranty.\n\nSpecifications\nDimensions (Overall): 12 inches (H) x 2.7 inches (W) x 17.5 inches (D)\nHard Drive Speed: Variable RPM\nElectronics Condition: New\nNumber of USB ports: 3\nConnection Type: USB-C\nAspect Ratio: 16:9 Aspect Ratio\nBacklit Keyboard: No Backlit Keyboard\nData storage type: EMMC\nDisplay Type: Not Specified\nDrive Type: No Optical Disc Drive\nIndustry or Government Certifications: Not Listed or Certified\nMemory RAM Type: DDR4\nMicrophone: Built-In Microphone\nOperating System: Windows 11 Home\nPrimary use: Home\nProcessor Type: Intel Processor\nScreen Resolution: 1366 x 768\nTouchscreen: No Touchscreen Display\nWireless Technology: Wi-Fi 6 (IEEE 802.11ax)\nData Storage Capacity: 128GB\nGraphics card model: Intel N/A Graphics\nMaximum Battery Charge Life: 20 hours\nNumber of cores: 4\nProcessor model: Intel N-Series N150\nProcessor Speed: 3.6 ghz\nScreen Size: 14 inches\nSystem RAM: 16 gb\nBattery: 1 Lithium, Required, Installed\nWarranty: 1 Year Limited Warranty. To obtain a copy of the manufacturer's or supplier's warranty for this item prior to purchasing the item, please call Target Guest Services at 1-800-591-3869\nOrigin: made in the USA",
  "description_html": "<h2>Description</h2><p>Designed for students, families, remote learners, and everyday users, this 14-inch laptop delivers dependable performance, essential productivity features, and modern wireless connectivity in a lightweight and stylish design. Whether you&#39;re attending online classes, browsing the web, managing documents, streaming entertainment, or staying connected with family and friends, this laptop provides the tools needed for daily computing at home, school, or on the go. Powered by the Intel N-Series N150 processor, the system is optimized for efficient everyday performance and smooth operation across common computing tasks. From web browsing and email management to word processing, video playback, and cloud-based applications, the processor provides reliable responsiveness while maintaining power efficiency. Integrated Intel Graphics enhance visual performance for streaming media, presentations, online learning platforms, and routine productivity applications, making this laptop a practical choice for users who need a dependable computing companion. Equipped with 16GB DDR4 memory, the laptop supports smooth multitasking and improved system responsiveness. Users can comfortably work across multiple browser tabs, productivity applications, educational software, and communication platforms without frequent slowdowns. The generous memory capacity helps create a more efficient workflow for students completing assignments, professionals handling daily tasks, and families sharing a versatile home computer. The 128GB eMMC storage provides reliable space for essential files, documents, photos, educational materials, and applications while supporting fast access to frequently used content. Combined with Windows 11 Home, the storage solution helps deliver a user-friendly experience with quick startup performance and convenient access to everyday computing tools. The operating system offers an intuitive interface, improved multitasking features, built-in security protections, and compatibility with a wide range of applications designed for learning, productivity, and entertainment. Featuring a 14-inch HD display with 1366 x 768 resolution, this laptop offers a comfortable viewing experience for web browsing, online classes, video streaming, and daily computing activities. The anti-distraction non-touch design allows users to focus on work and content while maintaining efficient power usage. The compact screen size also contributes to improved portability, making it easy to carry between classrooms, offices, libraries, and home workspaces. Modern connectivity options help users stay productive and connected wherever they are. Built-in Wi-Fi 6 technology provides fast and reliable wireless networking for video conferencing, online learning, cloud applications, and streaming content. Bluetooth connectivity enables seamless pairing with compatible wireless accessories such as headphones, speakers, mice, and keyboards, helping create a more flexible and clutter-free workspace. A built-in camera supports virtual meetings, online classes, video calls, and remote collaboration, making communication simple and convenient. Whether attending lessons, participating in meetings, connecting with loved ones, or joining online communities, users can enjoy reliable video communication whenever needed. Finished in an attractive blue color, this laptop combines everyday functionality with modern style. Its balance of practical performance, dependable memory, wireless connectivity, integrated camera, and portable design makes it an excellent choice for students, home users, remote learners, and anyone seeking an affordable and capable laptop for everyday computing needs.</p><h2>Highlights</h2><ul><li>[Efficient Everyday Performance] Powered by the Intel N-Series N150 processor and Intel Graphics, this laptop delivers reliable performance for web browsing, schoolwork, office tasks, streaming, and daily computing activities.</li><li>[Smooth Multitasking Memory] Equipped with 16GB DDR4 memory to support multiple browser tabs, productivity applications, online learning tools, and everyday workflows with responsive performance.</li><li>[Compact HD Display] Features a 14-inch HD 1366x768 non-touch display with a 60Hz refresh rate, providing clear visuals for studying, web browsing, video streaming, and document editing.</li><li>[Modern Wireless Connectivity] Built-in Wi-Fi 6 and Bluetooth technology provide fast wireless networking and easy pairing with compatible accessories, helping users stay connected and productive anywhere.</li><li>[Ready for Learning &amp; Communication] Includes a built-in camera, 128GB eMMC storage, and Windows 11 Home, making it ideal for online classes, video calls, remote work, and everyday personal computing.</li><li>Brand new computer professionally configured by a manufacturer-authorized facility. Upgraded components include a 1-Year warranty.</li></ul><h2>Specifications</h2><dl><dt>Dimensions (Overall)</dt><dd>12 inches (H) x 2.7 inches (W) x 17.5 inches (D)</dd><dt>Hard Drive Speed</dt><dd>Variable RPM</dd><dt>Electronics Condition</dt><dd>New</dd><dt>Number of USB ports</dt><dd>3</dd><dt>Connection Type</dt><dd>USB-C</dd><dt>Aspect Ratio</dt><dd>16:9 Aspect Ratio</dd><dt>Backlit Keyboard</dt><dd>No Backlit Keyboard</dd><dt>Data storage type</dt><dd>EMMC</dd><dt>Display Type</dt><dd>Not Specified</dd><dt>Drive Type</dt><dd>No Optical Disc Drive</dd><dt>Industry or Government Certifications</dt><dd>Not Listed or Certified</dd><dt>Memory RAM Type</dt><dd>DDR4</dd><dt>Microphone</dt><dd>Built-In Microphone</dd><dt>Operating System</dt><dd>Windows 11 Home</dd><dt>Primary use</dt><dd>Home</dd><dt>Processor Type</dt><dd>Intel Processor</dd><dt>Screen Resolution</dt><dd>1366 x 768</dd><dt>Touchscreen</dt><dd>No Touchscreen Display</dd><dt>Wireless Technology</dt><dd>Wi-Fi 6 (IEEE 802.11ax)</dd><dt>Data Storage Capacity</dt><dd>128GB</dd><dt>Graphics card model</dt><dd>Intel N/A Graphics</dd><dt>Maximum Battery Charge Life</dt><dd>20 hours</dd><dt>Number of cores</dt><dd>4</dd><dt>Processor model</dt><dd>Intel N-Series N150</dd><dt>Processor Speed</dt><dd>3.6 ghz</dd><dt>Screen Size</dt><dd>14 inches</dd><dt>System RAM</dt><dd>16 gb</dd><dt>Battery</dt><dd>1 Lithium, Required, Installed</dd><dt>Warranty</dt><dd>1 Year Limited Warranty. To obtain a copy of the manufacturer&#39;s or supplier&#39;s warranty for this item prior to purchasing the item, please call Target Guest Services at 1-800-591-3869</dd><dt>Origin</dt><dd>made in the USA</dd></dl>",
  "color": "Blue | 16GB RAM",
  "weight": "4.8 pounds",
  "features": [
    "[Efficient Everyday Performance] Powered by the Intel N-Series N150 processor and Intel Graphics, this laptop delivers reliable performance for web browsing, schoolwork, office tasks, streaming, and daily computing activities.",
    "[Smooth Multitasking Memory] Equipped with 16GB DDR4 memory to support multiple browser tabs, productivity applications, online learning tools, and everyday workflows with responsive performance.",
    "[Compact HD Display] Features a 14-inch HD 1366x768 non-touch display with a 60Hz refresh rate, providing clear visuals for studying, web browsing, video streaming, and document editing.",
    "[Modern Wireless Connectivity] Built-in Wi-Fi 6 and Bluetooth technology provide fast wireless networking and easy pairing with compatible accessories, helping users stay connected and productive anywhere.",
    "[Ready for Learning & Communication] Includes a built-in camera, 128GB eMMC storage, and Windows 11 Home, making it ideal for online classes, video calls, remote work, and everyday personal computing.",
    "Brand new computer professionally configured by a manufacturer-authorized facility. Upgraded components include a 1-Year warranty."
  ],
  "attributes": {
    "Dimensions (Overall)": "12 inches (H) x 2.7 inches (W) x 17.5 inches (D)",
    "Hard Drive Speed": "Variable RPM",
    "Electronics Condition": "New",
    "Number of USB ports": "3",
    "Connection Type": "USB-C",
    "Aspect Ratio": "16:9 Aspect Ratio",
    "Backlit Keyboard": "No Backlit Keyboard",
    "Data storage type": "EMMC",
    "Display Type": "Not Specified",
    "Drive Type": "No Optical Disc Drive",
    "Industry or Government Certifications": "Not Listed or Certified",
    "Memory RAM Type": "DDR4",
    "Microphone": "Built-In Microphone",
    "Operating System": "Windows 11 Home",
    "Primary use": "Home",
    "Processor Type": "Intel Processor",
    "Screen Resolution": "1366 x 768",
    "Touchscreen": "No Touchscreen Display",
    "Wireless Technology": "Wi-Fi 6 (IEEE 802.11ax)",
    "Data Storage Capacity": "128GB",
    "Graphics card model": "Intel N/A Graphics",
    "Maximum Battery Charge Life": "20 hours",
    "Number of cores": "4",
    "Processor model": "Intel N-Series N150",
    "Processor Speed": "3.6 ghz",
    "Screen Size": "14 inches",
    "System RAM": "16 gb",
    "Battery": "1 Lithium, Required, Installed",
    "Warranty": "1 Year Limited Warranty. To obtain a copy of the manufacturer's or supplier's warranty for this item prior to purchasing the item, please call Target Guest Services at 1-800-591-3869",
    "Origin": "made in the USA"
  },
  "rating_value": 4.5,
  "review_count": 2,
  "seller_name": "PCOnline",
  "seller_url": "https://www.target.com/sp/pconline/-/N-10019361",
  "variants": [
    {
      "attributes": {
        "Color": "Blue | 16GB RAM"
      },
      "sku": "1012096079"
    },
    {
      "attributes": {
        "Color": "Blue | 4GB RAM"
      },
      "sku": "1012332273"
    },
    {
      "attributes": {
        "Color": "Blue | 8GB RAM"
      },
      "sku": "1012096069"
    },
    {
      "attributes": {
        "Color": "Rose | 16GB RAM"
      },
      "sku": "1008947812"
    },
    {
      "attributes": {
        "Color": "Silver | 16GB RAM"
      },
      "sku": "1011523178"
    }
  ],
  "canonical_url": "https://www.target.com/p/hp-essential-14-hd-copilot-ai-laptop-intel-n150-16gb-ram-128gb-emmc-windows-11-home-lightweight-portable-student-everyday-use-notebook/-/A-1012079709",
  "scraped_at": "2026-08-25T19:41:22.401Z"
}
```

### Use Cases

- Monitor retail prices and availability
- Compare product specifications and variants
- Build category and marketplace research datasets

### Integrate with AI and automation

#### Use with AI through MCP

Connect your AI assistant to the [Apify MCP server](https://docs.apify.com/integrations/mcp). It can discover and run Actors, then access the results in the same conversation. For example, ask your assistant to scrape a list of products from Target, compare prices, or summarize the collected data.

#### Run on a schedule

After one successful run, use [Apify Schedules](https://docs.apify.com/actors/running/schedules) to repeat the same task hourly, daily, weekly, or with a custom cron schedule. Saved tasks are useful when you want to keep the same URLs and settings for every run.

#### Connect with n8n

[Create an n8n account](https://n8n.partnerlinks.io/ezvl1qy3f990) and add the verified Apify node to a workflow. Choose **Run an Actor and Get Dataset** when the workflow should start this Actor, wait for completion, and receive the product rows for the next node. See the [Apify integration for n8n](https://n8n.io/integrations/apify/).

#### Connect with Make

[Create a Make account](https://www.make.com/en/register?pc=vasarmilan) and add the Apify **Run an Actor** module. Follow it with **Get Dataset Items** to pass the product rows to Google Sheets, a database, email, or another Make module. For longer runs, use **Watch Actor Runs** followed by **Get Dataset Items**.

[Read the Make integration guide](https://docs.apify.com/integrations/make).

# Actor input Schema

## `productUrls` (type: `array`):

Product URLs on Target.

## `categoryUrls` (type: `array`):

Category URLs on Target.

## `maxResultsPerScrape` (type: `integer`):

Maximum number of product records to save.

## `usePagination` (type: `boolean`):

Enqueue the bounded pagination lookahead exposed by this actor.

## `scrapeProductDetails` (type: `boolean`):

Enabled returns Product detail records with the product-page fields listed in the README. Disabled returns Result records with the list-level fields.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.target.com/p/fujifilm-instax-mini-hello-kitty-instant-film-10ct/-/A-95028209"
  ],
  "categoryUrls": [
    "https://www.target.com/c/headphones-electronics-tech/-/N-5xteg"
  ],
  "maxResultsPerScrape": 20,
  "usePagination": true,
  "scrapeProductDetails": true
}
```

# Actor output Schema

## `dataset` (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 = {
    "productUrls": [
        "https://www.target.com/p/fujifilm-instax-mini-hello-kitty-instant-film-10ct/-/A-95028209"
    ],
    "categoryUrls": [
        "https://www.target.com/c/headphones-electronics-tech/-/N-5xteg"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("123webdata/target-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 = {
    "productUrls": ["https://www.target.com/p/fujifilm-instax-mini-hello-kitty-instant-film-10ct/-/A-95028209"],
    "categoryUrls": ["https://www.target.com/c/headphones-electronics-tech/-/N-5xteg"],
}

# Run the Actor and wait for it to finish
run = client.actor("123webdata/target-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 '{
  "productUrls": [
    "https://www.target.com/p/fujifilm-instax-mini-hello-kitty-instant-film-10ct/-/A-95028209"
  ],
  "categoryUrls": [
    "https://www.target.com/c/headphones-electronics-tech/-/N-5xteg"
  ]
}' |
apify call 123webdata/target-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,123webdata/target-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/D8KMo50puqsG4fgBY/builds/poCRkYYesoc4Hdd3Z/openapi.json
