{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Map Places Scraper",
    "description": "Naver Map Places Scraper SD - Naver Map Places Scraper is a Korean local business data tool that extracts Naver Map / Naver Place listings by keyword or place URL: category, address, coordinates, rating, review counts, hours, menus, prices, photos and stations.",
    "version": "1.0",
    "x-build-id": "YuqWDyqaqQYI6KNFF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~naver-map-places-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-naver-map-places-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/neuro-scraper~naver-map-places-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-naver-map-places-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/neuro-scraper~naver-map-places-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-naver-map-places-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 keywords",
            "type": "array",
            "description": "Naver Map searches, one per line, exactly as you would type them on Naver Map, e.g. \"강남 맛집\", \"홍대 카페\", \"부산 해운대 호텔\". Each keyword gets its own limit (Max places per keyword).",
            "items": {
              "type": "string"
            }
          },
          "placeUrls": {
            "title": "Place URLs or ids",
            "type": "array",
            "description": "Naver place links or numeric place ids, e.g. https://map.naver.com/p/entry/place/2097258400, https://pcmap.place.naver.com/restaurant/2097258400/home or 2097258400. Each one gives one row with full details.",
            "items": {
              "type": "string"
            }
          },
          "businessType": {
            "title": "Business type of the search",
            "enum": [
              "restaurant",
              "hairshop",
              "hospital",
              "accommodation",
              "place"
            ],
            "type": "string",
            "description": "Which Naver Place list the keyword is searched in. Naver itself switches a keyword to the list that fits it (a cafe keyword in 'Other places' is answered as a restaurant list).",
            "default": "restaurant"
          },
          "maxPlacesPerQuery": {
            "title": "Max places per keyword",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "How many places to return for each keyword. Naver gives 50 per page; the Actor follows Naver's own next-page offset until this number or the end of the list.",
            "default": 20
          },
          "maxItems": {
            "title": "Max places in total (0 = no total limit)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional cap on all rows of the run together (keywords + URLs). 0 = only the per-keyword limit applies.",
            "default": 0
          },
          "includeDetails": {
            "title": "Include full place details",
            "type": "boolean",
            "description": "Open every place's own page for opening hours, menus and prices, homepage, description, subway and bus stations, booking info, review statistics and photos. Off = only the search-list data (faster).",
            "default": true
          },
          "sortBy": {
            "title": "Sort search results",
            "enum": [
              "relevance",
              "reviewCount"
            ],
            "type": "string",
            "description": "Order of the search list. 'Most reviews' is Naver's own review-count order.",
            "default": "relevance"
          },
          "searchCoordinates": {
            "title": "Search centre (latitude,longitude)",
            "type": "string",
            "description": "Optional point the search is centred on, e.g. \"35.1796,129.0756\" (Busan city hall). Empty = Naver's default centre for the keyword."
          },
          "minPrice": {
            "title": "Minimum room price, KRW (hotels & stays)",
            "minimum": 0,
            "type": "integer",
            "description": "Only for the 'Hotels & stays' type: Naver's own minimum room price filter in won, e.g. 50000. 0 = off.",
            "default": 0
          },
          "maxPrice": {
            "title": "Maximum room price, KRW (hotels & stays)",
            "minimum": 0,
            "type": "integer",
            "description": "Only for the 'Hotels & stays' type: Naver's own maximum room price filter in won, e.g. 200000. 0 = off.",
            "default": 0
          },
          "openNow": {
            "title": "Only places open now",
            "type": "boolean",
            "description": "Keep only places whose status is 'open' (영업 중) at run time.",
            "default": false
          },
          "booking": {
            "title": "Only places with Naver booking",
            "type": "boolean",
            "description": "Keep only places that take Naver reservations.",
            "default": false
          },
          "npay": {
            "title": "Only places with Naver Pay",
            "type": "boolean",
            "description": "Keep only places that accept Naver Pay.",
            "default": false
          },
          "coupon": {
            "title": "Only places with a coupon",
            "type": "boolean",
            "description": "Keep only places that offer a coupon.",
            "default": false
          },
          "newlyOpened": {
            "title": "Only newly opened places",
            "type": "boolean",
            "description": "Keep only places marked as newly opened (새로오픈).",
            "default": false
          },
          "wheelchair": {
            "title": "Only wheelchair-accessible places",
            "type": "boolean",
            "description": "Keep only places with a wheelchair entrance.",
            "default": false
          },
          "delivery": {
            "title": "Only places with Naver delivery orders",
            "type": "boolean",
            "description": "Keep only places that take delivery orders through Naver.",
            "default": false
          },
          "takeout": {
            "title": "Only places with Naver pickup orders",
            "type": "boolean",
            "description": "Keep only places that take pickup (takeout) orders through Naver.",
            "default": false
          },
          "maxReviewsPerPlace": {
            "title": "Visitor reviews per place",
            "minimum": 0,
            "type": "integer",
            "description": "Also collect up to this many visitor reviews for every place into the `visitorReviews` column (0 = none). For large review jobs use the Naver Map Reviews Scraper.",
            "default": 0
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "",
              "recent"
            ],
            "type": "string",
            "description": "Order of the visitor reviews collected with 'Visitor reviews per place'.",
            "default": ""
          },
          "maxBlogReviewsPerPlace": {
            "title": "Blog / cafe reviews per place",
            "minimum": 0,
            "type": "integer",
            "description": "Also collect up to this many blog and cafe reviews per place into the `blogReviews` column (0 = none).",
            "default": 0
          },
          "maxPhotosPerPlace": {
            "title": "Max photos per place",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "How many photos (with type) go into the `photos` column when details are on.",
            "default": 20
          },
          "monitoringMode": {
            "title": "Monitoring mode (only new places)",
            "type": "boolean",
            "description": "Remember every place id seen and, on the next runs, output only places that were not seen before. The memory is kept in a named key-value store (see Monitoring state name).",
            "default": false
          },
          "monitoringStateKey": {
            "title": "Monitoring state name",
            "type": "string",
            "description": "Name of the key-value store that keeps the seen place ids for Monitoring mode. Use one name per watch list.",
            "default": "naver-map-places-monitor"
          },
          "menuKeyword": {
            "title": "Menu keyword",
            "type": "string",
            "description": "Keep only places whose menu (or popular / reviewed dishes) mentions this word, e.g. 칼국수, pasta.",
            "default": ""
          },
          "open24h": {
            "title": "Open 24 hours only",
            "type": "boolean",
            "description": "Keep only places whose opening hours say 24 hours.",
            "default": false
          },
          "reviewCutoffDate": {
            "title": "Reviews since (date)",
            "type": "string",
            "description": "Only visitor reviews on or after this date go into the visitorReviews column (YYYY-MM-DD).",
            "default": ""
          },
          "maxConcurrency": {
            "title": "Parallel places",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many places are read at the same time.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy. Korean residential IPs are used by default.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "KR"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}