{
  "openapi": "3.0.1",
  "info": {
    "title": "Olive Young Scraper - K-Beauty Products, Prices, Ingredients",
    "description": "Collect K-beauty products from Olive Young Global: name, brand, price, sale price, discount, rating, review count, stock and images, plus options with prices and stock, barcodes, ingredients and how to use. Search words, category, brand, best-seller or product links. 60+ ship-to countries.",
    "version": "0.0",
    "x-build-id": "ff1rFTJ54tvetv1Pe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~olive-young-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-olive-young-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/memo23~olive-young-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-olive-young-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/memo23~olive-young-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-olive-young-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": {
          "searchQueries": {
            "title": "Search words",
            "type": "array",
            "description": "Words to search for on Olive Young Global, one per line, for example a product type (sunscreen, toner pad), a brand (Anua) or an ingredient (centella). Each search returns up to the per-search limit below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Olive Young links or product numbers",
            "type": "array",
            "description": "Links copied from global.oliveyoung.com: search results, a category, a brand page, the best-seller page or a product page. Filters and sort order in a link are kept. Product numbers such as GA260843327 work too. Links from the Korean store (oliveyoung.co.kr) are not supported.",
            "items": {
              "type": "string"
            }
          },
          "bestSellers": {
            "title": "Best sellers",
            "type": "boolean",
            "description": "Add the current Olive Young Global best-seller list (top 100) with each product's rank. Best-seller prices are in US dollars whatever the destination.",
            "default": false
          },
          "includeDetails": {
            "title": "Product details",
            "type": "boolean",
            "description": "Add each product's options with their own prices, stock and barcodes, the full image gallery, ingredients, how to use, volume, expiry, manufacturer, country of origin, selling points, category path and the star rating breakdown. Turn off for faster runs with listing fields only. The price per product is the same either way.",
            "default": true
          },
          "shipToCountry": {
            "title": "Ship-to country",
            "enum": [
              "DEFAULT",
              "AS",
              "AU",
              "AT",
              "BH",
              "BE",
              "BO",
              "BG",
              "KH",
              "CA",
              "CL",
              "CN",
              "CO",
              "CY",
              "CZ",
              "DK",
              "FI",
              "FR",
              "DE",
              "GR",
              "GU",
              "GG",
              "HK",
              "HU",
              "IS",
              "ID",
              "IE",
              "IL",
              "IT",
              "JP",
              "KZ",
              "LU",
              "MO",
              "MY",
              "MX",
              "MN",
              "NL",
              "NZ",
              "MP",
              "NO",
              "OM",
              "PH",
              "PL",
              "PT",
              "PR",
              "QA",
              "RO",
              "SA",
              "SG",
              "SI",
              "KR",
              "LK",
              "SE",
              "CH",
              "TW",
              "TH",
              "VI",
              "AE",
              "GB",
              "UY",
              "VE",
              "VN"
            ],
            "type": "string",
            "description": "Olive Young Global sets prices, currency and the products on offer by destination. Choose the country you want prices for.",
            "default": "DEFAULT"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "MOST_POPULAR",
              "MOST_RELEVANT",
              "LATEST_REGISTRATION",
              "LOWEST_PRICE",
              "HIGHEST_PRICE",
              "MOST_REVIEWS"
            ],
            "type": "string",
            "description": "Order of the results, as on the site.",
            "default": "MOST_POPULAR"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest selling price, in the currency of the ship-to country."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest selling price, in the currency of the ship-to country."
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "",
              "3",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Only products rated at least this many stars.",
            "default": ""
          },
          "minDiscountPercent": {
            "title": "Minimum discount (%)",
            "minimum": 0,
            "maximum": 99,
            "type": "integer",
            "description": "Only products discounted by at least this percentage."
          },
          "maxItems": {
            "title": "Maximum products",
            "minimum": 1,
            "type": "integer",
            "description": "Total products to save in this run, across all searches and links. Leave empty for no limit."
          },
          "maxItemsPerSearch": {
            "title": "Maximum products per search or link",
            "minimum": 1,
            "type": "integer",
            "description": "Cap for each search word, category, brand or best-seller list. Leave empty for no cap."
          },
          "deduplicate": {
            "title": "Skip repeats",
            "type": "boolean",
            "description": "Save each product once per run, even when several searches or links return it. Turn off to keep a row per search, for example to track a product's rank for several keywords.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Parallel products",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many products are read at the same time.",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}