# Coupang product scraper (`data_dino/coupang-product-scraper`) Actor

Collect structured Coupang (쿠팡) product details — prices & coupons, the option/variant matrix with per-option stock, seller, delivery, breadcrumbs, specs and certifications — by product URL/ID or by keyword search.

- **URL**: https://apify.com/data_dino/coupang-product-scraper.md
- **Developed by:** [Data Dino](https://apify.com/data_dino) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Coupang product scraper

Collect structured product details from Coupang (쿠팡) — South Korea's largest online
retailer. Give it product URLs or IDs (or a search keyword) and receive clean records with
prices & coupons, the full option/variant matrix with per-option stock, seller, delivery,
breadcrumbs, specs and certifications.

### Why use this actor?

- **Two ways in** — pass explicit product URLs/IDs for full detail, or run a keyword
  search to discover matching products first.
- **Full product model** — every row carries the pricing tiers (sale, coupon, member,
  final), the option/variant matrix with per-variant stock, the seller and its rating,
  delivery/shipping-fee breakdown, breadcrumb category path, and the 고시정보 spec table
  with certifications (KC, energy-efficiency, quality).
- **Clean, structured rows** — one dataset item per product, ready to export to JSON,
  CSV, or Excel.
- **Resilient collection** — automatic retries and managed proxy rotation keep runs
  stable on Coupang's bot-protected product pages.

### Input

All fields are optional. A zero-input run returns up to 10 notebook keyword results.

| Field | Type | Default | Description |
|---|---|---:|---|
| `productUrls` | string array | `[]` | Coupang product URLs or bare product IDs, e.g. `"https://www.coupang.com/vp/products/9643918040"` or `"6359373947"`. When provided, full detail is fetched for each. Leave empty to use keyword search. |
| `keyword` | string | `노트북` | Search term used to discover products (used only when `productUrls` is empty). |
| `maxItems` | integer | `10` | Stop after this many result rows. |
| `maxPages` | integer | `1` | Number of keyword-search result pages to walk. |
| `detail` | boolean | `false` | With keyword search: enrich every hit with its full product detail page (prices, options, stock, seller, delivery, specs). |
| `includeStock` | boolean | `true` | Include availability/inventory and per-variant buyable-quantity fields. |
| `includeBuyboxSellers` | boolean | `true` | Include the option/other-seller variant matrix. |
| `delay` | number | `0.4` | Pause between pages (seconds). Raise if you hit protection. |

#### Example input

```json
{
  "productUrls": [
    "https://www.coupang.com/vp/products/9643918040?itemId=28917494391&vendorItemId=95849222427",
    "6359373947"
  ],
  "includeStock": true,
  "includeBuyboxSellers": true
}
```

### Output

The actor pushes one dataset item per product. In detail mode each row includes:

- `productId`, `itemId`, `vendorItemId`, `name`, `brand`, and the canonical product `url`
- `price` (the price a shopper actually pays), plus `salePrice`, `couponPrice`,
  `listPrice`, `discountRate`, `currency`, and per-quantity `tiers`
- `options` (the option axes) and `variants` (each option combination with its own
  `vendorItemId`, price, and stock)
- `seller` (name, id, rating count/score; Coupang retail is flagged when the item is a
  Rocket item)
- `delivery` (type, arrival estimate, shipping-fee type/amount, free-shipping condition)
- `availability` (sold-out, almost-sold-out, buyable quantity, inventory, pre-order)
- `ratings` (average and count), `categoryPath` and full `breadcrumbs`
- `specs` and `certifications`, `coupons`, and `countryOfOrigin`

Keyword-search rows are flatter: `productId`, `itemId`, `vendorItemId`, `name`, `price`,
`listPrice`, `discountRate`, `ratingAverage`, `ratingCount`, sold-out/rocket flags,
`deliveryText`, `sponsored`, `image`, `url`, plus the `keyword` and result `page`.

Deleted or suspended products are returned as rows with `status: "unavailable"`.

### Practical limitations

- Results reflect the public Coupang page at run time and may change as products are added
  or removed.
- Coupang's product pages are bot-protected; automatic retries and managed proxy rotation
  help, but no result is guaranteed and runs may be slower during peak load.
- Use collected information in accordance with Coupang's terms and applicable privacy and
  data-use requirements.

# Actor input Schema

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

One or more Coupang product URLs (or bare product IDs), e.g. "https://www.coupang.com/vp/products/9643918040" or "6359373947". When provided, full detail is fetched for each. Leave empty to use keyword search instead.

## `keyword` (type: `string`):

Search term used to discover products via Coupang search (e.g. "노트북" = laptop). Used only when productUrls is empty.

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

Stop after this many result rows.

## `maxPages` (type: `integer`):

Number of keyword-search result pages to walk (page 1 is open; later pages need the managed proxy).

## `detail` (type: `boolean`):

With keyword discovery: enrich every hit with its full product detail page (prices, options, stock, seller, delivery, specs). Each detail page costs a managed-proxy tunnel.

## `includeStock` (type: `boolean`):

Include availability/inventory and per-variant buyable-quantity fields.

## `includeBuyboxSellers` (type: `boolean`):

Include the option/other-seller variant matrix (itemId/vendorItemId per option).

## `delay` (type: `number`):

Pause between pages on a managed-proxy tunnel.

## Actor input object example

```json
{
  "productUrls": [],
  "keyword": "노트북",
  "maxItems": 10,
  "maxPages": 1,
  "detail": false,
  "includeStock": true,
  "includeBuyboxSellers": true,
  "delay": 0.4
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped products, one item per row. Detail-mode rows carry the full model — price tiers, options, variants, seller, delivery, specs, certifications; keyword-hit rows are flat search cards. Field shape is documented in apify-output-schema.json.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("data_dino/coupang-product-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("data_dino/coupang-product-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 '{}' |
apify call data_dino/coupang-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data_dino/coupang-product-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/CrVyMW5KuYcqJtA8N/builds/OUvz0UrtR7rBkhdtJ/openapi.json
