{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Place Scraper - Korea Businesses, Reviews 네이버 플레이스",
    "description": "Scrape Naver Place and Naver Map without login: Korean restaurants, cafes, clinics, salons and any business by keyword or area, with phone, hours, menu, facilities, ratings and visitor reviews. Export to Excel, CSV or API.",
    "version": "0.1",
    "x-build-id": "KfWKtqLO7c6I37LSO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pshivam~naver-place-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pshivam-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/pshivam~naver-place-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pshivam-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/pshivam~naver-place-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pshivam-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 texts",
            "type": "array",
            "description": "What to search for on Naver Place, one per line. Korean works best: 강남 맛집 (Gangnam restaurants), 홍대 카페 (Hongdae cafes), 서울 치과 (Seoul dentists). One search text gives up to 100 places; use areas to get more.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Kinds of places to search, for people who do not write Korean. Each category is searched with its Korean word. Combine with areas to read a whole city.",
            "items": {
              "type": "string",
              "enum": [
                "restaurants",
                "cafes",
                "bars",
                "bakeries",
                "hospitals",
                "dentists",
                "dermatology",
                "plastic-surgery",
                "pharmacies",
                "hair-salons",
                "nail-salons",
                "skin-care",
                "gyms",
                "yoga-pilates",
                "academies",
                "hotels",
                "pensions",
                "real-estate",
                "car-repair",
                "pet",
                "flowers",
                "laundry",
                "supermarkets",
                "convenience-stores"
              ],
              "enumTitles": [
                "Restaurants (맛집)",
                "Cafes (카페)",
                "Bars (술집)",
                "Bakeries (빵집)",
                "Hospitals (병원)",
                "Dentists (치과)",
                "Dermatology (피부과)",
                "Plastic surgery (성형외과)",
                "Pharmacies (약국)",
                "Hair salons (미용실)",
                "Nail salons (네일)",
                "Skin care (피부관리)",
                "Gyms (헬스장)",
                "Yoga and pilates (필라테스)",
                "Academies (학원)",
                "Hotels (호텔)",
                "Pensions (펜션)",
                "Real estate (부동산)",
                "Car repair (자동차정비)",
                "Animal hospitals (동물병원)",
                "Flower shops (꽃집)",
                "Laundry (세탁소)",
                "Supermarkets (마트)",
                "Convenience stores (편의점)"
              ]
            }
          },
          "areas": {
            "title": "Areas",
            "type": "array",
            "description": "Read a whole area, one per line: a city (seoul, busan, incheon, daegu, daejeon, gwangju, ulsan, suwon, seongnam, jeju), a point '37.4979,127.0276', or a point with a radius in km '37.4979,127.0276,5'. The Actor asks every search text at a grid of points over the area and returns each place once. Needs a search text or category.",
            "items": {
              "type": "string"
            }
          },
          "gridStepKm": {
            "title": "Grid step (km)",
            "minimum": 0.3,
            "maximum": 20,
            "type": "number",
            "description": "Distance between the search points of an area. Each point returns the 100 places around it. A smaller step finds more places and makes more requests.",
            "default": 2
          },
          "placeType": {
            "title": "Kind of place",
            "enum": [
              "place",
              "restaurant",
              "hospital",
              "hairshop",
              "accommodation"
            ],
            "type": "string",
            "description": "Which Naver list is searched. All kinds works for every search text.",
            "default": "place"
          },
          "places": {
            "title": "Place links or numbers",
            "type": "array",
            "description": "Naver Place links (map.naver.com/p/entry/place/2083987873, m.place.naver.com/place/2083987873) or place numbers, one per line. You get each place with its details and reviews.",
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Place details",
            "type": "boolean",
            "description": "Read each place's own page too: opening hours, menu with prices, facilities, parking, keywords, links, nearby stations, review themes. Turn it off for a faster, cheaper list of places.",
            "default": true
          },
          "maxReviewsPerPlace": {
            "title": "Reviews per place",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Also return this many of the newest visitor reviews of every place, each as its own record. Naver shows 10 reviews on a place's page. 0 means none.",
            "default": 0
          },
          "maxItemsPerSearch": {
            "title": "Places per search text",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Stop each search text after this many places. Without areas one search gives up to 100.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only new records",
            "type": "boolean",
            "description": "Skip records that earlier runs of this same input already returned, so you get and pay for new ones only. The first run works as usual and remembers what it returned, in your key-value store 'naver-place-scraper-only-new'.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Stop after this many records in total (places and reviews both count). You are charged per record.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Requests at the same time",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many pages are read in parallel. Raise it for large area searches.",
            "default": 4
          },
          "secondsBetweenRequests": {
            "title": "Seconds between requests",
            "minimum": 0,
            "maximum": 60,
            "type": "number",
            "description": "Pause between requests. Naver refuses requests that come too fast: after a refusal the Actor lengthens the pause by half, switches to Apify Proxy when it can, and shortens the pause again as pages come through.",
            "default": 0.3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}