{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Place & Naver Map Scraper - Menus, Hours & Reviews",
    "description": "Scrape Naver Place and Naver Map in South Korea: restaurants, cafes, hotels, clinics and shops by search or by whole district, with rating, review counts, address, GPS, business phone, opening hours, menu prices and visitor reviews. English, Korean, Japanese or Chinese.",
    "version": "0.1",
    "x-build-id": "PO8LVtornPhDS57cq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapewise~naver-place-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapewise-naver-place-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/scrapewise~naver-place-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapewise-naver-place-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/scrapewise~naver-place-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapewise-naver-place-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 terms",
            "type": "array",
            "description": "What you would type in Naver Map, one per line: a place type plus a neighborhood or landmark, in English or Korean (for example Gangnam Station restaurant, Itaewon brunch, 홍대 술집). Naver shows up to 300 places per search; for every place in a district use Areas. Also accepts 'queries' and 'keywords'.",
            "items": {
              "type": "string"
            }
          },
          "areas": {
            "title": "Areas (whole district)",
            "type": "array",
            "description": "Collect every place of the chosen categories in an area, past the 300-per-search limit. Seoul and Busan districts (Gangnam-gu, Mapo-gu, Jongno-gu, Haeundae-gu, Suyeong-gu...), cities and provinces (Seoul, Busan, Jeju, Jeju-si, Seogwipo, Incheon, Daegu, Gyeonggi, Suwon, Gyeongju, Jeonju, Gangneung, Sokcho...), or a map box as minLng,minLat,maxLng,maxLat. Also accepts 'regions'.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories for areas",
            "type": "array",
            "description": "Place types collected in each area: restaurant, coffee, bar, bakery, dessert, hotel, hospital, dentist, pharmacy, hair salon, nail salon, gym, attraction, shopping, convenience store, academy, real estate, car repair, veterinary, or any Korean word Naver understands (for example 치킨, 고깃집). Default: restaurant.",
            "items": {
              "type": "string"
            },
            "default": [
              "restaurant"
            ]
          },
          "startUrls": {
            "title": "Place links or ids",
            "type": "array",
            "description": "Naver Map or Naver Place links (map.naver.com/p/entry/place/..., m.place.naver.com/restaurant/...) or numeric place ids. Each one returns the place with details, plus reviews if Max reviews per place is above 0.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max places",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum places delivered in the run (reviews are counted separately). Gangnam-gu alone has tens of thousands of places. Also accepts 'maxResults'.",
            "default": 50
          },
          "includeDetails": {
            "title": "Add place details",
            "type": "boolean",
            "description": "Adds opening hours by day (with break time and last order), menu with prices, websites and social links, description, directions, parking, facilities, keywords and nearby subway to each place. Charged per place with details.",
            "default": false
          },
          "maxReviewsPerPlace": {
            "title": "Max reviews per place",
            "minimum": 0,
            "type": "integer",
            "description": "Visitor reviews per place, newest first, as separate rows with type review: rating, text, visit date, liked-for keywords, visit tags and owner reply. Reviewer names and profiles are not included. 0 = no reviews.",
            "default": 0
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only places with a visitor rating at or above this value. Many places on Naver hide their rating; those are skipped when this is set."
          },
          "minReviews": {
            "title": "Minimum visitor reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only places with at least this many visitor reviews."
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "ko",
              "ja",
              "zh"
            ],
            "type": "string",
            "description": "Language of names, addresses, categories, menus and opening hours as Naver translates them. Review text stays as written.",
            "default": "en"
          },
          "onlyNew": {
            "title": "Only places and reviews not delivered before",
            "type": "boolean",
            "description": "Remembers what was delivered for this exact input and returns only new places (and, with reviews on, only new reviews) in later runs, with isNew set to true. Already seen items are skipped and not charged. Use it with a schedule to track openings or new reviews.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Leave empty and the Actor picks the connection it needs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}