{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Map & Place Scraper: Places, Menus & Reviews",
    "description": "⚡ Fastest Naver Map (네이버 지도) & Naver Place (네이버 플레이스) scraper ($2.80/1K). Extract South Korean local business leads, phone numbers, GPS coordinates, opening hours, full menus with KRW prices, visitor reviews, blog reviews & HD photos. MCP & AI ready.",
    "version": "1.0",
    "x-build-id": "LSTxdqcNRymbjgVGQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unitbytes~naver-place-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unitbytes-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/unitbytes~naver-place-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unitbytes-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/unitbytes~naver-place-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unitbytes-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": {
          "queries": {
            "title": "Search Queries (검색어)",
            "type": "array",
            "description": "Keywords to search on Naver Map / Naver Place (e.g., `강남 맛집`, `성수동 카페`, `강남 피부과`, `명동 호텔`, `홍대 미용실`). You can also paste direct Naver Map / Place URLs or numeric Place IDs here.",
            "items": {
              "type": "string"
            }
          },
          "placeUrls": {
            "title": "Direct Place URLs or Place IDs (플레이스 링크 / ID)",
            "type": "array",
            "description": "Optional list of direct Naver Map URLs (`https://map.naver.com/p/entry/place/2025884279`), Mobile Place URLs (`https://m.place.naver.com/restaurant/2025884279/home`), `naver.me` shortlinks, search URLs (`https://map.naver.com/p/search/강남%20맛집`), or raw numeric Place IDs (`2025884279`). Takes precedence over prefilled search queries.",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "Scraping Mode",
            "enum": [
              "places",
              "reviews"
            ],
            "type": "string",
            "description": "Select whether to output enriched Place records (`places` — includes menus, hours, contacts, sentiment stats, and embedded reviews) or dedicated individual review rows (`reviews` — outputs one row per visitor/blog review for deep sentiment analysis).",
            "default": "places"
          },
          "scrapeDetails": {
            "title": "Scrape Full Place Details, Menus & Reviews",
            "type": "boolean",
            "description": "When enabled (default), visits each place page to extract 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 visitor/blog reviews. Disable for ultra-fast summary search cards.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum Results (최대 수집 수)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of items (places in `places` mode, or reviews in `reviews` mode) to collect across the run.",
            "default": 20
          },
          "maxReviewsPerPlace": {
            "title": "Max Visitor Reviews per Place",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of visitor reviews (방문자 리뷰) to fetch per place when `scrapeDetails` is enabled or in `reviews` mode.",
            "default": 10
          },
          "includeBlogReviews": {
            "title": "Include Linked Naver Blog & Cafe Reviews (블로그 리뷰)",
            "type": "boolean",
            "description": "Include Naver Blog and Cafe review posts linked to each place (author name, post title, URL, snippet, date, and thumbnail).",
            "default": true
          },
          "maxBlogReviewsPerPlace": {
            "title": "Max Blog Reviews per Place",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of linked Naver Blog / Cafe reviews to fetch per place.",
            "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 or receipt images.",
            "default": false
          },
          "sortBy": {
            "title": "Search Sort Order (정렬 기준)",
            "enum": [
              "popular",
              "precision",
              "distance"
            ],
            "type": "string",
            "description": "Server-side sorting order for Naver Place search results (`popular` / relevance default, or `distance` from search coordinates).",
            "default": "popular"
          },
          "searchCoordinates": {
            "title": "Search Center Coordinates (위도,경도)",
            "type": "string",
            "description": "Optional GPS center point as `latitude,longitude` (e.g., `37.497942,127.027610` for Gangnam Station, Seoul) used for localized ranking and `distance` sorting."
          },
          "language": {
            "title": "Output Language (언어)",
            "enum": [
              "ko",
              "en"
            ],
            "type": "string",
            "description": "Language preference for Naver Place 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 places 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 Place 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}