{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Shopping Products Scraper — Search Snapshots",
    "description": "Export shallow Naver product search snapshots with observed prices, sellers, images and sponsored attribution. Search Korean or English keywords. No pagination or stock confirmation.",
    "version": "0.1",
    "x-build-id": "n1JVtuVBVx26LnflI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fetch_cat~naver-shopping-products-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fetch_cat-naver-shopping-products-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/fetch_cat~naver-shopping-products-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fetch_cat-naver-shopping-products-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/fetch_cat~naver-shopping-products-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fetch_cat-naver-shopping-products-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": {
          "keywords": {
            "title": "Product keywords",
            "minItems": 0,
            "maxItems": 20,
            "uniqueItems": true,
            "type": "array",
            "description": "0–20 Korean or English product terms (up to 200 characters each), or Naver search-page URLs containing query=. Search URLs are normalized to their keyword. Use productUrls for direct product inputs. May be empty when product URLs are provided.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048,
              "pattern": "^(?=\\s*\\S)(?:[\\s\\S]{1,200}|https?://(?:m\\.)?search\\.naver\\.com/search\\.naver\\?\\S{1,1900})$"
            }
          },
          "searchSource": {
            "title": "Product discovery source",
            "enum": [
              "snapshot",
              "delivery"
            ],
            "type": "string",
            "description": "Snapshot preserves integrated-search coverage. Delivery reads successive anonymous N배송 product-search pages with stock and merchant data. It covers N배송-qualified products rather than every Naver Shopping product. No login, API key or proxy is required for delivery discovery.",
            "default": "snapshot"
          },
          "searchSort": {
            "title": "N배송 search order",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "newest",
              "review_count"
            ],
            "type": "string",
            "description": "Delivery source only. Ask Naver to select each page in this order, reaching different products from relevance search. Limited to N배송-qualified matches. sortBy remains a separate local ordering of collected rows. Other modes require relevance.",
            "default": "relevance"
          },
          "maxProductsPerKeyword": {
            "title": "Maximum products per keyword",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum distinct observations after local filters. Snapshot accepts 1–100. Delivery accepts 1–1,000 within its page, data and runtime budgets. Default 20. Source coverage and filters may yield fewer products.",
            "default": 20
          },
          "maxPagesPerKeyword": {
            "title": "Maximum pages per keyword",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Delivery source only. Each page has up to 20 products. Stops earlier at product/output/charge limits or source exhaustion. At most 50 delivery requests and 8 MB of retained candidate data across a run, with the existing 180-second runtime. Ignored by snapshot mode.",
            "default": 5
          },
          "maxItems": {
            "title": "Maximum total products",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Total output cap across all keywords. A product appearing under different keywords can produce separate attributed observations.",
            "default": 100
          },
          "includeSponsored": {
            "title": "Include sponsored products",
            "type": "boolean",
            "description": "Keep explicitly marked ads. Turn off to exclude known sponsored placements. Unclassified placements remain included with isSponsored=null.",
            "default": true
          },
          "minPrice": {
            "title": "Minimum displayed price",
            "minimum": 0,
            "maximum": 9007199254740991,
            "type": "integer",
            "description": "Keep products at or above this displayed price in Korean won. Filtering applies to the collected snapshot and does not expand the search. Products without a price are excluded when a price filter is set."
          },
          "maxPrice": {
            "title": "Maximum displayed price",
            "minimum": 0,
            "maximum": 9007199254740991,
            "type": "integer",
            "description": "Keep products at or below this displayed price in Korean won. Must be at least the minimum price. Coupons, shipping and checkout totals are separate."
          },
          "expandSearch": {
            "title": "Expand the search snapshot",
            "type": "boolean",
            "description": "Make one additional public Shopping lookup per keyword to find more source product IDs. Duplicates are removed. Coverage varies; this is not pagination. If expansion is unavailable, base results remain available and RUN_SUMMARY reports the warning. Requires snapshot mode.",
            "default": false
          },
          "freeDeliveryOnly": {
            "title": "Only displayed free-delivery offers",
            "type": "boolean",
            "description": "Keep collected offers whose displayed delivery fee is explicitly free. Unknown or mixed catalogue delivery conditions are excluded. This filters the fetched snapshot, not the entire marketplace.",
            "default": false
          },
          "brandStoreOnly": {
            "title": "Only brand-store products",
            "type": "boolean",
            "description": "Keep collected products explicitly marked as brand-store products. Unknown flags are excluded.",
            "default": false
          },
          "categoryIds": {
            "title": "Category IDs to keep",
            "maxItems": 20,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep products with any matching ID in their category chain. Use IDs from an initial export. An empty list keeps all categories; category names are not inferred.",
            "items": {
              "type": "string",
              "pattern": "^[1-9][0-9]{0,19}$"
            },
            "default": []
          },
          "sortBy": {
            "title": "Order the collected snapshot",
            "enum": [
              "source",
              "price_asc",
              "price_desc",
              "review_count",
              "rating"
            ],
            "type": "string",
            "description": "Sort the collected products locally before the per-keyword limit. Missing values go last. Source rank is preserved. This is not marketplace-wide sorting or a guarantee of the cheapest Naver offer.",
            "default": "source"
          },
          "previousRunId": {
            "title": "Previous full-output run ID",
            "pattern": "^[A-Za-z0-9]{17}$",
            "minLength": 17,
            "maxLength": 17,
            "type": "string",
            "description": "Optional successful earlier run of this same Actor in your account. Use matching coverage, filters, sorting and output limits, with every current keyword covered. Baselines with incomplete coverage or changed-only output are rejected. Your Apify account must still have access to the input, summary and up to 1,000 product rows."
          },
          "onlyChanged": {
            "title": "Return only new or changed observations",
            "type": "boolean",
            "description": "Save only new or rank/price-changed observations. With monitorStock=true, known stock quantity or availability changes also qualify. Requires a compatible previous full-output run. Filtered or unchanged observations are not charged as products.",
            "default": false
          },
          "productUrls": {
            "title": "Direct product URLs",
            "maxItems": 20,
            "type": "array",
            "description": "Public desktop/mobile Smart Store, Brand Store or shopping.naver.com/window-products product URLs. At least one keyword or product URL is required. Direct URLs fetch the product record including stock. Each returned product is charged once according to its available details and selected reviews. See the Pricing tab for the applicable rates.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "includeDetails": {
            "title": "Enrich search products",
            "type": "boolean",
            "description": "Add stock, option quantities, model, category names, delivery company and review score breakdown for supported Smart Store, Brand Store and window products. Tries direct access first, then a bounded Korean residential fallback when direct access is unavailable. Other marketplace/catalog cards retain search fields with unsupported_product status. At most 60 enrichment requests and the shared 180-second runtime per run. Products with available details use the detailed-product rate unless selected reviews are also returned. See the Pricing tab.",
            "default": false
          },
          "maxReviews": {
            "title": "Maximum reviews per product",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Up to 100 selected public reviews per supported product, nested in the product row. 0 disables reviews. Uses reviewSort, reviewRating and reviewFilter, with shared detail/review request and runtime bounds. Products that return selected reviews use the selected-review product rate; nested reviews are not billed individually. Direct access supports up to 100. The Korean connection shares three requests per product across details and reviews, allowing at most two review pages (40 reviews); actual coverage may be lower.",
            "default": 0
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "newest",
              "ranking",
              "highest",
              "lowest"
            ],
            "type": "string",
            "description": "Select the order at Naver before reading review pages. Non-default selections require maxReviews greater than zero.",
            "default": "newest"
          },
          "reviewFilter": {
            "title": "Review selection",
            "enum": [
              "all",
              "media",
              "repurchase",
              "after_use"
            ],
            "type": "string",
            "description": "Filter at Naver before pagination. Combine with reviewRating and reviewSort. Requires maxReviews greater than zero.",
            "default": "all"
          },
          "reviewRating": {
            "title": "Review star rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "0 accepts every rating. 1–5 requests exactly that star rating from Naver. A nonzero selection requires maxReviews greater than zero.",
            "default": 0
          },
          "minRating": {
            "title": "Minimum product rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep collected products with a known rating at least this value. This filters the collected source window."
          },
          "minReviews": {
            "title": "Minimum product review count",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Keep collected products with a known review count at least this value. This filters the collected source window."
          },
          "inStockOnly": {
            "title": "In-stock products only",
            "type": "boolean",
            "description": "Require known available stock. Snapshot products with unknown stock can be checked when includeDetails=true. Unknown stock does not qualify. Filtering can hide sold-out changes, so leave this off to monitor availability.",
            "default": false
          },
          "excludeKeywords": {
            "title": "Exclude title terms",
            "maxItems": 20,
            "type": "array",
            "description": "Drop collected products whose title contains any of these terms, ignoring letter case. Up to 20 terms.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?=\\s*\\S)[\\s\\S]+$"
            },
            "default": []
          },
          "monitorStock": {
            "title": "Compare stock as well as price and rank",
            "type": "boolean",
            "description": "For keyword comparisons, include known quantity and availability changes in onlyChanged output. Enable this for the full-output baseline and subsequent runs. Requires delivery source or includeDetails=true. Unknown stock is not treated as sold out. Direct-product comparisons remain unsupported.",
            "default": false
          },
          "deliveryConnection": {
            "title": "N배송 search connection",
            "enum": [
              "auto",
              "direct",
              "korea_proxy"
            ],
            "type": "string",
            "description": "Automatic tries direct access then the existing Korean connection when restricted. Direct forbids fallback. Changed-only delivery searches use direct access only, even with Automatic; explicit Korean is incompatible with onlyChanged.",
            "default": "auto"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}