{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Map Scraper (네이버 지도): Korea Business Leads, Phones",
    "description": "Scrape Naver Map (네이버 지도) businesses in South Korea by search term, area or place URL: address, coordinates, phone, own website, social links, opening hours, menu prices, rating, review counts, booking link. Reads whole districts past Naver's 300-result cap. No browser, no login.",
    "version": "0.1",
    "x-build-id": "UfB6egjKSWNAYSidW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/amitaviv~naver-map-places-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-amitaviv-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/amitaviv~naver-map-places-scraper/runs": {
      "post": {
        "operationId": "runs-sync-amitaviv-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/amitaviv~naver-map-places-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-amitaviv-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 terms",
            "type": "array",
            "description": "What you would type into Naver Map, one per line, e.g. 강남역 카페, 부산 해운대 치과, 성수동 미용실. Korean works best; English terms match names written in English (e.g. Starbucks). Without \"location\", Naver decides the area from the term itself and serves at most 300 places per term. Naver Map search URLs (map.naver.com/p/search/...) are accepted too, and a number of 7 or more digits is taken as a place id. A term is cut at 100 characters.",
            "items": {
              "type": "string"
            }
          },
          "placeUrls": {
            "title": "Place URLs",
            "type": "array",
            "description": "Optional: individual places, one per line: map.naver.com/p/entry/place/<id>, pcmap.place.naver.com or m.place.naver.com place pages, naver.me short links, or a bare place id. One record per place. Other text here is ignored (put search terms into \"Search terms\").",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Area centre (optional)",
            "type": "string",
            "description": "Search inside a square around this point instead of where Naver puts the term: a neighbourhood, district, station, landmark or address (e.g. 성수동, 강남구, 홍대입구역, 해운대해수욕장), or \"latitude, longitude\" (e.g. 37.4979, 127.0276). A neighbourhood is placed by its community centre(s), a district by its office. Many names exist in several cities (신사동, 중앙동, 중구): then the run stops at once and lists them, and you write the city and district first, e.g. \"서울 강남구 신사동\" or \"부산 중구\". The status message always says which place was taken as the centre. The area is split into smaller squares wherever Naver would cut a search at 300, so a whole district can be read. Use plain search terms with it (카페, not 강남역 카페)."
          },
          "radiusKm": {
            "title": "Area radius (km)",
            "minimum": 0.1,
            "maximum": 50,
            "type": "number",
            "description": "Only with \"Area centre\": distance from the centre to each side of the square. 1-2 km covers a neighbourhood, 4-6 km a Seoul district. Default 2.",
            "default": 2
          },
          "maxItemsPerQuery": {
            "title": "Max places per search term",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop each search term (or area) after this many places. You are charged only for delivered places. A place found by two terms is delivered and charged once.",
            "default": 100
          },
          "includeDetails": {
            "title": "Details: opening hours, links, menu",
            "type": "boolean",
            "description": "Read each place's detail data: weekly opening hours, website and social links, menu with prices, amenities, payment methods and booking link. Same price per place either way; off is faster.",
            "default": true
          },
          "includeDescription": {
            "title": "Business description text",
            "type": "boolean",
            "description": "Also return the description the business wrote about itself (needs the option above). Off by default because this free text sometimes names the owner or staff: turn it on only if you have a lawful basis to process such names (for example under GDPR or Korea's PIPA) and will handle them accordingly.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new places (monitoring)",
            "type": "boolean",
            "description": "Return and charge only places that earlier runs of this actor in your account have not delivered for the same search term and area. The first run delivers everything it finds; schedule the actor to be told about newly listed places. The memory is a key-value store named naver-map-places-scraper-monitor in your account; delete it to start over.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "Only with \"Only new places\". Runs with the same search and the same monitor name share one memory. Give two schedules different names to keep their memories apart."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Off by default. Without a proxy the actor connects directly and, if Naver starts refusing requests, switches by itself to Apify Proxy (datacenter, then Korean residential). Set a proxy here only to choose one yourself.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}