{
  "openapi": "3.0.1",
  "info": {
    "title": "Coupang Scraper | Korea Product and Seller Data",
    "description": "Collect Coupang product offers, KRW prices, ratings, delivery badges, seller profiles and seller reviews from Korea. Pay per delivered row plus a small start fee.",
    "version": "0.3",
    "x-build-id": "iF3dO1xutW6ZO3VuM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~coupang-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-coupang-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/lentic_clockss~coupang-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-coupang-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/lentic_clockss~coupang-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-coupang-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "auto",
              "keywordSearch",
              "categoryBrowse",
              "productDetail",
              "brandShop",
              "campaignBrowse",
              "coupangGlobal",
              "sellerDeal",
              "best100",
              "todayopen",
              "goldbox",
              "catalogBrowse",
              "sellerInfo",
              "sellerReviews",
              "sellerDirectory",
              "storeBtc"
            ],
            "type": "string",
            "description": "Leave on Auto to select a mode from the target you fill. Choose an explicit mode for current lists, seller information, seller reviews or buy-together offers.",
            "default": "auto"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "One search phrase in Korean or English, passed without translation. With Auto selected, filling this field chooses keyword search."
          },
          "productUrl": {
            "title": "Product URL",
            "pattern": "^\\s*(/|(https?://)?([A-Za-z0-9-]+\\.)*coupang\\.com(/|\\?|$)).*",
            "type": "string",
            "description": "Coupang product link containing /products/{id} or a productId parameter. Keep itemId and vendorItemId to select an exact offer; travel links are not supported."
          },
          "categoryUrl": {
            "title": "Category URL",
            "pattern": "^\\s*(/|(https?://)?([A-Za-z0-9-]+\\.)*coupang\\.com(/|\\?|$)).*",
            "type": "string",
            "description": "Coupang category link, such as https://www.coupang.com/np/categories/393760. Links on other Coupang subdomains must contain the category ID."
          },
          "brandShopUrl": {
            "title": "Brand shop URL",
            "pattern": "^\\s*(/|(https?://)?([A-Za-z0-9-]+\\.)*coupang\\.com(/|\\?|$)).*",
            "type": "string",
            "description": "Shop link such as https://shop.coupang.com/{slug}/{id}. Also selects the seller for sellerInfo, sellerReviews and storeBtc."
          },
          "campaignUrl": {
            "title": "Campaign URL",
            "pattern": "^\\s*(/|(https?://)?([A-Za-z0-9-]+\\.)*coupang\\.com(/|\\?|$)).*",
            "type": "string",
            "description": "Campaign link such as https://www.coupang.com/np/campaigns/82. With Auto selected, filling this field chooses campaign browse."
          },
          "maxResults": {
            "title": "Maximum rows per input",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum rows for the selected input, from 1 to 500; default 70, with larger requests collected in parts of up to 70 where available. All row kinds count toward the limit; the run also respects your maximum charge and the Free plan limit of 200 rows per run and 10 runs.",
            "default": 70
          },
          "productId": {
            "title": "Product ID",
            "pattern": "^\\s*\\d*\\s*$",
            "type": "string",
            "description": "Product ID for productDetail; add itemId and vendorItemId for an exact offer. For sellerReviews, this or vendorItemId supplies request context, not a product-only review filter."
          },
          "itemId": {
            "title": "Item ID",
            "type": "string",
            "description": "Optional item identifier for a product-detail request. Copy it from the product link to retain the selected item."
          },
          "vendorItemId": {
            "title": "Vendor item ID",
            "type": "string",
            "description": "Optional seller-offer identifier for productDetail. Also accepted instead of productId as context for sellerReviews."
          },
          "categoryId": {
            "title": "Category ID",
            "pattern": "^\\s*\\d*\\s*$",
            "type": "string",
            "description": "Numeric category ID for categoryBrowse or the optional category in best100. Ignored by todayopen and goldbox."
          },
          "brandSlug": {
            "title": "Brand slug",
            "type": "string",
            "description": "Shop slug, used with brandId for brandShop. A slug alone also identifies the seller for sellerInfo, sellerReviews and storeBtc."
          },
          "brandId": {
            "title": "Brand ID",
            "type": "string",
            "description": "Shop ID used together with brandSlug in brandShop. You can supply brandShopUrl instead."
          },
          "campaignId": {
            "title": "Campaign ID",
            "pattern": "^\\s*\\d*\\s*$",
            "type": "string",
            "description": "Numeric campaign ID. Use 82 for Rocket delivery or 83 for WOW member discounts shown publicly."
          },
          "campaignPreset": {
            "title": "Campaign preset",
            "enum": [
              "rocket",
              "wow"
            ],
            "type": "string",
            "description": "Choose rocket or wow when no campaign link or ID is supplied. Campaign browse uses rocket if this is empty."
          },
          "query": {
            "title": "Query (alias)",
            "type": "string",
            "description": "Alternative to keyword for one search phrase. If both are filled, query takes priority."
          },
          "browseCountry": {
            "title": "Browse country",
            "enum": [
              "KR"
            ],
            "type": "string",
            "description": "This Actor supports the Korean catalog only. Coupang Global products are imported offers within that catalog.",
            "default": "KR"
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Keep KRW for Korean won prices. This setting does not promise currency conversion; best100, todayopen and goldbox always use KRW.",
            "default": "KRW"
          },
          "page": {
            "title": "Start page",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Starting page for sellerReviews, from 1 to 50. Ordinary product listings ignore it; best100, todayopen and goldbox always use page 1, while catalog and supported shop listings continue automatically.",
            "default": 1
          },
          "maxPages": {
            "title": "Max pages",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Compatibility setting; increasing it does not request extra pages. Use maxResults to limit delivered rows; supported sources continue automatically.",
            "default": 1
          },
          "enrichDetails": {
            "title": "Add product details",
            "type": "boolean",
            "description": "Add available product-detail fields to existing listing rows. Off by default and ignored by best100, todayopen and goldbox; seller profiles, reviews and directory rows are not enriched.",
            "default": false
          },
          "enrichLimit": {
            "title": "Rows to enrich",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum product rows to enrich when enrichDetails is enabled, from 1 to 20. Default 3; enrichment may be incomplete when details are unavailable.",
            "default": 3
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "scoreDesc",
              "salePriceAsc",
              "salePriceDesc",
              "saleCountDesc",
              "latestAsc"
            ],
            "type": "string",
            "description": "Listing order for search and browse modes. best100, todayopen and goldbox ignore this setting and keep source order.",
            "default": "scoreDesc"
          },
          "serviceKeys": {
            "title": "Service filters",
            "type": "array",
            "description": "Optional listing filters: rocket for Rocket delivery, coupang_global for imported products, and rocket_luxury for luxury offers. Unsupported values are ignored.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "minPrice": {
            "title": "Min price (KRW)",
            "type": "number",
            "description": "Minimum listing price in KRW for supported search and browse modes."
          },
          "maxPrice": {
            "title": "Max price (KRW)",
            "type": "number",
            "description": "Maximum listing price in KRW for supported search and browse modes."
          },
          "rating": {
            "title": "Min rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Minimum average product rating, greater than 0 and up to 5. A value of 0 leaves this filter unused."
          },
          "brand": {
            "title": "Brand filter",
            "type": "string",
            "description": "Brand filter for supported search, category and campaign listings. Use the value recognized by Coupang."
          },
          "offerCondition": {
            "title": "Offer condition",
            "type": "string",
            "description": "Condition filter for supported listings, for example NEW. Availability depends on the selected source."
          },
          "filterType": {
            "title": "Filter type",
            "type": "string",
            "description": "Optional listing filter type recognized by Coupang. Leave empty unless you know the source value."
          },
          "filters": {
            "title": "Filters object",
            "type": "object",
            "description": "Advanced listing filters as an object, such as brand, offerCondition or filterType. Values here take priority over the matching individual filter fields."
          },
          "workerBaseUrl": {
            "title": "Developer testing override",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}