{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Map Scraper: Korean Leads & Menus | $1/1K 네이버 지도",
    "description": "⚡ 네이버 지도 검색·B2B DB 수집 ($1.00/1K): 지역·업종별 상호명, 전화번호(0507), 도로명·지번주소, 위경도(GPS), 홈페이지·인스타그램, 영업시간, 메뉴 가격표 추출. Fast Naver Map Scraper for Korean B2B business leads, phones, coordinates, menus, hours & ratings by keyword or GPS.",
    "version": "1.0",
    "x-build-id": "ichW3aHOs7USSl4Oy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unitbytes~naver-map-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unitbytes-naver-map-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/unitbytes~naver-map-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unitbytes-naver-map-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/unitbytes~naver-map-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unitbytes-naver-map-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": {
          "queries": {
            "title": "Naver Map Search Queries (네이버 지도 검색어)",
            "type": "array",
            "description": "Keywords to search on Naver Map (`map.naver.com`, e.g., `강남 맛집`, `성수동 카페`, `강남 피부과`, `명동 호텔`, `홍대 미용실`). You can also paste direct Naver Map URLs or Place IDs here.",
            "items": {
              "type": "string"
            }
          },
          "placeUrls": {
            "title": "Direct Naver Map URLs or Place IDs (지도 링크 / 플레이스 ID)",
            "type": "array",
            "description": "Optional list of direct Naver Map URLs (`https://map.naver.com/p/entry/place/2025884279`), Map Search URLs (`https://map.naver.com/p/search/강남%20맛집`), Mobile Place URLs, `naver.me` shortlinks, or numeric Place IDs (`2025884279`). Overrides prefilled search queries.",
            "items": {
              "type": "string"
            }
          },
          "scrapeDetails": {
            "title": "Scrape Full Business Details, Menus & Reviews ($1.00/1K)",
            "type": "boolean",
            "description": "When enabled (default), extracts 7-day opening hours, full menu list with KRW prices & photos, walking directions, nearest subway stations, parking fees, website/Instagram links, sentiment keyword breakdown, and recent reviews. Disable for rapid 50-per-page map search cards.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum Businesses to Scrape (최대 수집 업체 수)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of business listings (or reviews in `reviews` mode) to collect across the run.",
            "default": 20
          },
          "sortBy": {
            "title": "Map Search Sort Order (검색 정렬 기준)",
            "enum": [
              "popular",
              "precision",
              "distance"
            ],
            "type": "string",
            "description": "Server-side sorting order for Naver Map search results (`popular` / relevance default, `precision`, or `distance` from `searchCoordinates`).",
            "default": "popular"
          },
          "searchCoordinates": {
            "title": "Map Center GPS Coordinates (중심 위도,경도)",
            "type": "string",
            "description": "Optional GPS center point as `latitude,longitude` (e.g., `37.497942,127.027610` for Gangnam Station, Seoul) used for localized map search ranking and `distance` sorting."
          },
          "maxReviewsPerPlace": {
            "title": "Max Visitor Reviews per Business",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of visitor reviews (방문자 리뷰) to embed per business when `scrapeDetails` is enabled.",
            "default": 10
          },
          "includeBlogReviews": {
            "title": "Include Linked Naver Blog & Cafe Reviews (블로그 리뷰)",
            "type": "boolean",
            "description": "Include Naver Blog and Cafe review posts linked to each business.",
            "default": true
          },
          "maxBlogReviewsPerPlace": {
            "title": "Max Blog Reviews per Business",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of linked Naver Blog / Cafe reviews to fetch per business.",
            "default": 10
          },
          "onlyPhotoReviews": {
            "title": "Only Visitor Reviews with Photos",
            "type": "boolean",
            "description": "Filter visitor reviews server-side to only return reviews that include customer-uploaded photos.",
            "default": false
          },
          "mode": {
            "title": "Output Mode",
            "enum": [
              "places",
              "reviews"
            ],
            "type": "string",
            "description": "Outputs one record per business (`places`, default) or one row per review (`reviews`).",
            "default": "places"
          },
          "language": {
            "title": "Output Language (언어)",
            "enum": [
              "ko",
              "en"
            ],
            "type": "string",
            "description": "Language preference for Naver Map category and address fields (`ko` for original Korean, `en` for English localized strings where available).",
            "default": "ko"
          },
          "startPage": {
            "title": "Start Page",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "1-indexed search page to start from (50 businesses per page).",
            "default": 1
          },
          "resumptionToken": {
            "title": "Resumption Token (Pagination State)",
            "type": "string",
            "description": "Optional compact continuation token emitted at the end of a previous batch run (`RESUMPTION_TOKEN` in Key-Value Store) to resume pagination with 0 duplicate overlap."
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings for accessing Naver Map endpoints reliably.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}