{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Maps Scraper",
    "description": "Scrape points-of-interest (POI) from Naver Maps (map.naver.com). Extracts business names, addresses, phones, ratings, reviews, hours, coordinates, and categories. Supports pagination. Ideal for local business discovery in the Korean market.",
    "version": "3.0",
    "x-build-id": "FPLNQ53YyebaVE1UR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/searchapi~naver-maps-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-searchapi-naver-maps-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/searchapi~naver-maps-scraper/runs": {
      "post": {
        "operationId": "runs-sync-searchapi-naver-maps-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/searchapi~naver-maps-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-searchapi-naver-maps-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "details"
            ],
            "type": "string",
            "description": "Search mode returns ranked place results. Details mode returns rich data for supplied place IDs.",
            "default": "search"
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "A single query to enter in Naver Maps, such as 강남 맛집."
          },
          "queries": {
            "title": "Multiple search queries",
            "type": "array",
            "description": "Optional additional queries. Results are selected fairly across queries.",
            "items": {
              "type": "string"
            }
          },
          "placeId": {
            "title": "Naver place ID",
            "type": "string",
            "description": "A single numeric place ID for details mode."
          },
          "placeIds": {
            "title": "Multiple Naver place IDs",
            "type": "array",
            "description": "Optional additional numeric place IDs for details mode.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Naver Maps URLs",
            "type": "array",
            "description": "Optional Naver Maps search or place URLs. Query and place-ID inputs are preferred.",
            "items": {
              "type": "object"
            }
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum records across all inputs.",
            "default": 50
          },
          "maxItemsPerQuery": {
            "title": "Maximum records per query",
            "minimum": 1,
            "maximum": 70,
            "type": "integer",
            "description": "Naver currently preloads up to 70 structured search records per query.",
            "default": 50
          },
          "maxPages": {
            "title": "Maximum result pages per query",
            "minimum": 1,
            "maximum": 7,
            "type": "integer",
            "description": "Limits the preloaded Naver result set in ten-record pages.",
            "default": 5
          },
          "sortBy": {
            "title": "Sort results",
            "enum": [
              "relevance",
              "rating",
              "reviewCount",
              "distance"
            ],
            "type": "string",
            "description": "Keep Naver relevance order or sort matched records by a source-backed metric.",
            "default": "relevance"
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only places at or above this visitor rating; zero disables the filter.",
            "default": 0
          },
          "minReviewCount": {
            "title": "Minimum combined reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only places with at least this many visitor plus blog/cafe reviews.",
            "default": 0
          },
          "categories": {
            "title": "Category filters",
            "type": "array",
            "description": "Keep records whose category or facilities contain at least one supplied value.",
            "items": {
              "type": "string"
            }
          },
          "includeImages": {
            "title": "Include image URLs",
            "type": "boolean",
            "description": "Include source-backed place, visitor, menu, and detail photo URLs when available.",
            "default": true
          },
          "includeReviewSnippets": {
            "title": "Include public review snippets",
            "type": "boolean",
            "description": "Include a bounded set of public review excerpts without reviewer identity fields.",
            "default": true
          },
          "maxReviewSnippets": {
            "title": "Review snippets per place",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum public review excerpts included for each record.",
            "default": 3
          },
          "market": {
            "title": "Locale",
            "type": "string",
            "description": "Language-country locale used for output context and Naver browser compatibility.",
            "default": "ko-KR"
          },
          "maxConcurrency": {
            "title": "Maximum concurrency",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Maximum Naver search or detail pages processed simultaneously.",
            "default": 2
          },
          "maxRequestRetries": {
            "title": "Request retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Bounded retries for temporary navigation, browser, or network failures.",
            "default": 2
          },
          "navigationTimeoutSecs": {
            "title": "Navigation timeout (seconds)",
            "minimum": 10,
            "maximum": 120,
            "type": "integer",
            "description": "Maximum time allowed for the initial page navigation.",
            "default": 45
          },
          "requestHandlerTimeoutSecs": {
            "title": "Task timeout (seconds)",
            "minimum": 30,
            "maximum": 180,
            "type": "integer",
            "description": "Maximum processing time for one search or place-detail task.",
            "default": 90
          },
          "blockResources": {
            "title": "Block images, media, and fonts",
            "type": "boolean",
            "description": "Speeds up scraping without blocking Naver scripts or structured data.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Use Apify Proxy, a country, proxy groups, or custom proxy URLs. GOOGLE_SERP is not compatible with Naver.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}