{
  "openapi": "3.0.1",
  "info": {
    "title": "Yeogi Hotel Scraper – Prices, Deals & Availability",
    "description": "Scrape Yeogi (여기어때) hotel, motel, pension and overseas listings by destination and dates. Get price per night, total price, discounts, coupons, day-use prices, ratings, reviews, photos and GPS. Filter by price, type, grade and facilities. Export JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "cdJVBqxk3QYXpb8qS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/knagymate~yeogi-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-knagymate-yeogi-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/knagymate~yeogi-scraper/runs": {
      "post": {
        "operationId": "runs-sync-knagymate-yeogi-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/knagymate~yeogi-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-knagymate-yeogi-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",
        "required": [
          "search"
        ],
        "properties": {
          "search": {
            "title": "Destination",
            "type": "string",
            "description": "City, district, station, landmark or overseas city, as you would type it into Yeogi's search box, in Korean or English, e.g. 서울, 강남역, 제주, Busan, 도쿄, Osaka or Bangkok. Yeogi's autocomplete decides whether a domestic (Korea) or an overseas search is run.",
            "default": "서울"
          },
          "searchScope": {
            "title": "Search scope",
            "enum": [
              "auto",
              "domestic",
              "overseas"
            ],
            "type": "string",
            "description": "'Auto' follows Yeogi's best autocomplete match. Force 'Domestic' for Korean stays (motels, hotels, pensions, ...) or 'Overseas' for hotels abroad when a name exists in both.",
            "default": "auto"
          },
          "maxItems": {
            "title": "Max properties",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of properties to scrape. Domestic pages hold 20 and overseas pages 30 properties.",
            "default": 100
          },
          "checkIn": {
            "title": "Check-in date",
            "type": "string",
            "description": "Check-in date, YYYY-MM-DD. Leave both dates empty to search a 1-night stay 7 days from today."
          },
          "checkOut": {
            "title": "Check-out date",
            "type": "string",
            "description": "Check-out date, YYYY-MM-DD, later than the check-in date."
          },
          "rooms": {
            "title": "Number of rooms",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Number of rooms to book. Overseas searches only; domestic Yeogi searches price one room for the total number of guests.",
            "default": 1
          },
          "adults": {
            "title": "Number of adults",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of adults, at least one per room.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "Age of each child (0–17), e.g. [5, 9] for two children. Leave empty for no children. Domestic searches count children as guests.",
            "default": []
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "recommended",
              "rating_high_to_low",
              "review_count_high_to_low",
              "price_low_to_high",
              "price_high_to_low"
            ],
            "type": "string",
            "description": "Order of the results, as on Yeogi's search page. 'Most reviews' is only available for domestic searches; overseas searches use 'Recommended' instead.",
            "default": "recommended"
          },
          "minPrice": {
            "title": "Minimum price per night (KRW)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest nightly price in Korean won (KRW). Works for domestic and overseas searches."
          },
          "maxPrice": {
            "title": "Maximum price per night (KRW)",
            "minimum": 1,
            "type": "integer",
            "description": "Highest nightly price in Korean won (KRW). Works for domestic and overseas searches."
          },
          "domesticPropertyTypes": {
            "title": "Property types (domestic)",
            "type": "array",
            "description": "Only Korean properties of any of these types.",
            "items": {
              "type": "string",
              "enum": [
                "motel",
                "hotel_resort",
                "pension",
                "home_villa",
                "camping",
                "guesthouse_hanok"
              ],
              "enumTitles": [
                "Motel",
                "Hotel / resort",
                "Pension",
                "Home & villa",
                "Camping",
                "Guesthouse / hanok"
              ]
            },
            "default": []
          },
          "domesticGrades": {
            "title": "Grades (domestic)",
            "type": "array",
            "description": "Only Korean properties with any of these grades.",
            "items": {
              "type": "string",
              "enum": [
                "five_star",
                "four_star",
                "black",
                "resort",
                "family_hotel",
                "pool_villa"
              ],
              "enumTitles": [
                "5-star",
                "4-star",
                "Yeogi Black",
                "Resort",
                "Family hotel",
                "Pool villa"
              ]
            },
            "default": []
          },
          "bedTypes": {
            "title": "Bed types (domestic)",
            "type": "array",
            "description": "Only Korean properties with any of these bed types.",
            "items": {
              "type": "string",
              "enum": [
                "single",
                "double",
                "twin",
                "ondol"
              ],
              "enumTitles": [
                "Single bed",
                "Double bed",
                "Twin beds",
                "Ondol (floor heating)"
              ]
            },
            "default": []
          },
          "discounts": {
            "title": "Discounts & benefits (domestic)",
            "type": "array",
            "description": "Only Korean properties with any of these benefits.",
            "items": {
              "type": "string",
              "enum": [
                "coupon",
                "special_deal",
                "reward_points"
              ],
              "enumTitles": [
                "Coupon discount",
                "Special deal",
                "Reward points"
              ]
            },
            "default": []
          },
          "campingTypes": {
            "title": "Camping types (domestic)",
            "type": "array",
            "description": "Only Korean campsites of any of these types.",
            "items": {
              "type": "string",
              "enum": [
                "glamping",
                "caravan",
                "auto_camping"
              ],
              "enumTitles": [
                "Glamping",
                "Caravan",
                "Auto camping"
              ]
            },
            "default": []
          },
          "facilities": {
            "title": "Facilities (domestic)",
            "type": "array",
            "description": "Only Korean properties that have all of these facilities.",
            "items": {
              "type": "string",
              "enum": [
                "sauna",
                "swimming_pool",
                "bbq",
                "restaurant",
                "fitness",
                "water_play",
                "shared_shower",
                "shared_toilet",
                "convenience_store",
                "shared_kitchen",
                "dryer",
                "spin_dryer",
                "spa_whirlpool",
                "in_room_spa",
                "minibar",
                "wifi",
                "air_conditioning",
                "toiletries",
                "shower",
                "power_outlets",
                "breakfast",
                "free_parking",
                "pets_allowed",
                "jjimjilbang",
                "in_room_cooking",
                "pickup",
                "campfire",
                "lockers",
                "smoking_rooms",
                "luggage_storage",
                "sprinklers"
              ],
              "enumTitles": [
                "Sauna",
                "Swimming pool",
                "BBQ",
                "Restaurant",
                "Fitness",
                "Water play area",
                "Shared shower",
                "Shared toilet",
                "Convenience store",
                "Shared kitchen",
                "Dryer",
                "Spin dryer",
                "Spa / whirlpool",
                "In-room spa",
                "Minibar",
                "Wi-Fi",
                "Air conditioning",
                "Toiletries",
                "Shower",
                "Power outlets",
                "Breakfast",
                "Free parking",
                "Pets allowed",
                "Sauna / jjimjilbang",
                "In-room cooking",
                "Pickup service",
                "Campfire",
                "Lockers",
                "Smoking rooms",
                "Luggage storage",
                "Sprinklers"
              ]
            },
            "default": []
          },
          "overseasPropertyTypes": {
            "title": "Property types (overseas)",
            "type": "array",
            "description": "Only overseas properties of any of these types.",
            "items": {
              "type": "string",
              "enum": [
                "HOTEL",
                "RESORT",
                "RESORT_VILLA",
                "VILLA",
                "GUEST_HOUSE_BED_AND_BREAKFAST",
                "HOSTEL",
                "PRIVATE_VACATION_HOME",
                "HOMESTAY",
                "CAPSULE_HOTEL",
                "INN",
                "LOVE_HOTEL",
                "RYOKAN",
                "SERVICED_APARTMENT",
                "CONDO",
                "CHALET",
                "BUNGALOW",
                "MINSUK",
                "COUNTRY_HOUSE",
                "MOTEL",
                "PENSION"
              ],
              "enumTitles": [
                "Hotel",
                "Resort",
                "Resort villa",
                "Villa",
                "Guesthouse / B&B",
                "Hostel",
                "Private vacation home",
                "Homestay",
                "Capsule hotel",
                "Inn",
                "Love hotel",
                "Ryokan",
                "Serviced apartment",
                "Condo",
                "Chalet",
                "Bungalow",
                "Minshuku",
                "Country house",
                "Motel",
                "Pension"
              ]
            },
            "default": []
          },
          "qualityLevels": {
            "title": "Quality levels (overseas)",
            "type": "array",
            "description": "Only overseas properties with any of these Yeogi quality levels (based on facilities, reviews, photos and service).",
            "items": {
              "type": "string",
              "enum": [
                "5",
                "4.5",
                "4",
                "3.5",
                "3"
              ],
              "enumTitles": [
                "Level 5",
                "Level 4.5",
                "Level 4",
                "Level 3.5",
                "Level 3 or less"
              ]
            },
            "default": []
          },
          "freeCancellationOnly": {
            "title": "Free cancellation only (overseas)",
            "type": "boolean",
            "description": "Only overseas properties with a free cancellation offer.",
            "default": false
          },
          "blackOnly": {
            "title": "Yeogi Black only (overseas)",
            "type": "boolean",
            "description": "Only overseas properties of Yeogi's curated 'Black' selection.",
            "default": false
          },
          "lowPriceGuaranteedOnly": {
            "title": "Lowest price guaranteed only (overseas)",
            "type": "boolean",
            "description": "Only overseas properties with Yeogi's lowest price guarantee.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}