{
  "openapi": "3.0.1",
  "info": {
    "title": "Yogiyo Restaurant & Menu Scraper - South Korea",
    "description": "Scrape Yogiyo (요기요), South Korea's food delivery app: restaurants for any delivery point or city, or full menus with one row per item and size, KRW prices, sold-out flags and priced option groups. Ratings, fee tiers, minimum order, hours.",
    "version": "0.1",
    "x-build-id": "UdclgmswkpzWK6IH7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/teodor_banea~yogiyo-restaurant-menu-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-teodor_banea-yogiyo-restaurant-menu-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/teodor_banea~yogiyo-restaurant-menu-scraper/runs": {
      "post": {
        "operationId": "runs-sync-teodor_banea-yogiyo-restaurant-menu-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/teodor_banea~yogiyo-restaurant-menu-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-teodor_banea-yogiyo-restaurant-menu-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": "What to extract",
            "enum": [
              "menus",
              "restaurants"
            ],
            "type": "string",
            "description": "\"Full menus with prices\" opens each restaurant and returns one row per menu item (one per size where the item has sizes), with option groups and option prices — a typical restaurant has 30–150 rows. \"Restaurant list\" returns one row per restaurant that delivers to your point (rating, delivery time, fee tiers, minimum order, coupons, opening hours, address).",
            "default": "menus"
          },
          "locations": {
            "title": "Delivery points (latitude,longitude)",
            "type": "array",
            "description": "Enter delivery points in South Korea as \"latitude,longitude\", e.g. \"37.4979,127.0276\" (Gangnam Station, Seoul) or \"35.1577,129.0590\" (Seomyeon, Busan). To get a point, right-click a place in Google Maps (or long-press in Naver/Kakao Map) and copy its coordinates. With several points, your maximum restaurants is shared evenly between them.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities (built-in points)",
            "type": "array",
            "description": "Pick central points of the main cities instead of typing coordinates. Each one is used like a delivery point.",
            "items": {
              "type": "string",
              "enum": [
                "seoul-gangnam",
                "seoul-jongno",
                "seoul-hongdae",
                "seoul-yeouido",
                "seoul-jamsil",
                "seoul-konkuk",
                "busan-seomyeon",
                "busan-haeundae",
                "incheon-bupyeong",
                "daegu-dongseongno",
                "daejeon-dunsan",
                "gwangju-sangmu",
                "ulsan-samsan",
                "suwon",
                "seongnam-bundang",
                "goyang-ilsan",
                "yongin-suji",
                "changwon",
                "cheongju",
                "jeonju",
                "jeju"
              ],
              "enumTitles": [
                "Seoul — Gangnam Station",
                "Seoul — Jongno / City Hall",
                "Seoul — Hongdae (Mapo)",
                "Seoul — Yeouido",
                "Seoul — Jamsil (Songpa)",
                "Seoul — Konkuk Univ. (Gwangjin)",
                "Busan — Seomyeon",
                "Busan — Haeundae",
                "Incheon — Bupyeong",
                "Daegu — Dongseongno",
                "Daejeon — Dunsan",
                "Gwangju — Sangmu",
                "Ulsan — Samsan",
                "Suwon — City Hall (Ingye-dong)",
                "Seongnam — Bundang (Seohyeon)",
                "Goyang — Ilsan (Jeongbalsan)",
                "Yongin — Suji",
                "Changwon — Sangnam-dong",
                "Cheongju — Downtown (Seongan-gil)",
                "Jeonju — Gaeksa",
                "Jeju City — Nohyeong-dong"
              ]
            }
          },
          "restaurantUrls": {
            "title": "Restaurant links or numbers",
            "type": "array",
            "description": "Enter Yogiyo restaurant pages (https://www.yogiyo.co.kr/mobile/#/1234567/) or just their numbers (1234567). These are scraped directly, in addition to any delivery points.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "enum": [
              "franchise",
              "oneDish",
              "chicken",
              "pizza",
              "chinese",
              "korean",
              "japanese",
              "jokbal",
              "lateNight",
              "snacks",
              "cafe"
            ],
            "type": "string",
            "description": "Keep only restaurants of one Yogiyo category. Leave empty for all restaurants."
          },
          "searchQuery": {
            "title": "Search text",
            "type": "string",
            "description": "Keep only restaurants whose name, brand or category contains this text, e.g. \"BHC\" or \"족발\". Case-insensitive."
          },
          "onlyOpen": {
            "title": "Only restaurants open now",
            "type": "boolean",
            "description": "Keep only restaurants that take delivery orders at the time of the run.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "pattern": "^\\s*$|^[0-5]([.,][0-9]+)?$",
            "type": "string",
            "description": "Keep only restaurants rated at least this (1–5), e.g. \"4.8\". Unrated restaurants are dropped when this is set."
          },
          "sortBy": {
            "title": "Order",
            "enum": [
              "platform",
              "rating",
              "reviews",
              "deliveryFee",
              "distance",
              "deliveryTime"
            ],
            "type": "string",
            "description": "Order of the restaurants (Yogiyo's own sort options) before your limit applies.",
            "default": "platform"
          },
          "maxRestaurants": {
            "title": "Maximum restaurants",
            "minimum": 0,
            "maximum": 3000,
            "type": "integer",
            "description": "Limit the restaurants scraped in the whole run (restaurant rows, or menus opened). Set 0 for all restaurants of your points (up to 3,000). In menus mode, restaurants with an empty menu are skipped and do not count.",
            "default": 20
          },
          "maxItemsPerRestaurant": {
            "title": "Maximum menu rows per restaurant",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "In menus mode, keep only the first N rows of each menu, in menu order. Set 0 for complete menus.",
            "default": 0
          },
          "maxItemsTotal": {
            "title": "Maximum results",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Set a hard ceiling on billed rows for the whole run; the run stops as soon as it is reached. Set 0 for no ceiling (a safety guard of 50,000 rows still applies).",
            "default": 0
          },
          "includeModifiers": {
            "title": "Include option groups",
            "type": "boolean",
            "description": "In menus mode, attach each item's option groups (sauces, drinks, sides, extras) with option prices and choice rules. Switch off for smaller, CSV-friendly rows.",
            "default": true
          },
          "includeDetails": {
            "title": "Include restaurant details",
            "type": "boolean",
            "description": "In restaurants mode, open each restaurant once for its address, phone, opening hours, break times, surcharges, introduction and origin labelling. Switch off for faster list-only rows. Menus mode always reads them.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}