{
  "openapi": "3.0.1",
  "info": {
    "title": "Coupang Search & Product Detail Pro API — No Login ($1.40/1K)",
    "description": "No-login Coupang Korea search, Rocket Delivery & product detail API ($1.40/1K Gold, 256MB RAM vs 2GB browsers). Extracts organicRank, prices, discounts, unit prices, ratings, reviews, options, specs & vendor IDs via Unblocker—$0 on failed queries.",
    "version": "0.1",
    "x-build-id": "eVUQT7BsA0SSmZI71"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/studio001~coupang-search-detail-pro-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-studio001-coupang-search-detail-pro-api",
        "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/studio001~coupang-search-detail-pro-api/runs": {
      "post": {
        "operationId": "runs-sync-studio001-coupang-search-detail-pro-api",
        "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/studio001~coupang-search-detail-pro-api/run-sync": {
      "post": {
        "operationId": "run-sync-studio001-coupang-search-detail-pro-api",
        "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": {
          "queries": {
            "title": "Search Queries (검색어)",
            "type": "array",
            "description": "Korean or English Coupang search keywords (used when mode is 'search'). Defaults to [\"선크림\"] if omitted in search mode.",
            "default": [
              "선크림"
            ],
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "Extraction Mode (수집 모드)",
            "enum": [
              "search",
              "detail"
            ],
            "type": "string",
            "description": "search: Coupang KR keyword search with organic/ad detection, Rocket badges, ratings & prices; detail: extract full structured product details from Coupang product URLs or numeric product IDs.",
            "default": "search"
          },
          "productUrls": {
            "title": "Product URLs or IDs (상품 URL 또는 ID)",
            "type": "array",
            "description": "Coupang desktop/mobile product URLs (e.g., https://www.coupang.com/vp/products/1473062788?itemId=19169252950&vendorItemId=80265071820) or bare numeric product IDs (used when mode is 'detail').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sort": {
            "title": "Search Sort Order (정렬 순서)",
            "enum": [
              "scoreDesc",
              "salePriceAsc",
              "salePriceDesc",
              "saleCountDesc",
              "latestAsc"
            ],
            "type": "string",
            "description": "Coupang SERP sort order (scoreDesc = Coupang Ranking, salePriceAsc = Lowest Price, salePriceDesc = Highest Price, saleCountDesc = Best Selling, latestAsc = Latest).",
            "default": "scoreDesc"
          },
          "maxProductsPerQuery": {
            "title": "Max Products Per Query (최대 수집 상품 수)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of products to extract per keyword in search mode (supports multi-page pagination up to 100).",
            "default": 20
          },
          "excludeAds": {
            "title": "Exclude Sponsored Ad Listings (광고 상품 제외)",
            "type": "boolean",
            "description": "Skip sponsored ad placements (srp_product_ads) in search mode to return clean sequential organic rankings (organicRank).",
            "default": true
          },
          "rocketOnly": {
            "title": "Rocket Delivery Only (로켓배송 상품만)",
            "type": "boolean",
            "description": "Keep only Rocket Delivery / Rocket Merchant / Rocket Fresh / Rocket Global eligible products in search mode.",
            "default": false
          },
          "minPrice": {
            "title": "Minimum Price (KRW)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional lower salePrice bound in Korean Won (KRW) applied in search mode."
          },
          "maxPrice": {
            "title": "Maximum Price (KRW)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional upper salePrice bound in Korean Won (KRW) applied in search mode."
          },
          "minRating": {
            "title": "Minimum Rating (0–5)",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Optional minimum star rating filter in search mode (e.g., 4.5)."
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy configuration. Apify UNBLOCKER is pre-configured for reliable zero-browser Coupang access without Akamai blocks (conflicting country flags are auto-normalized at runtime).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "UNBLOCKER"
              ]
            }
          },
          "maxTotalChargeUsd": {
            "title": "Max Total Charge (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional hard Pay-Per-Event spending cap (USD) for this run. Stops pushing/charging before crossing this cap."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}