{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Map Scraper (네이버 지도 · Naver Place Search)",
    "description": "Search Naver Map (Naver Place) by keyword and get Korean business listings: restaurants, cafes, clinics, salons and shops in Seoul and all of South Korea. Returns name, category, address, phone, coordinates, rating and review counts as flat JSON. 네이버 지도·플레이스 크롤링.",
    "version": "0.1",
    "x-build-id": "DJKRbHhQR8DppmQm8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/magenta_courser~naver-place-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-magenta_courser-naver-place-search-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/magenta_courser~naver-place-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-magenta_courser-naver-place-search-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/magenta_courser~naver-place-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-magenta_courser-naver-place-search-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, one per line. Korean works best, e.g. 강남 맛집 (Gangnam restaurants), 성수 카페 (Seongsu cafes), 홍대 미용실 (Hongdae hair salons). Use this, Place links, or both.",
            "items": {
              "type": "string"
            }
          },
          "placeUrls": {
            "title": "Place links or IDs",
            "type": "array",
            "description": "Specific places to scrape with full details, one per line. Accepts Naver Map links (https://map.naver.com/p/entry/place/1234567890), mobile and pcmap links, naver.me short links and bare place IDs. A search-results link (https://map.naver.com/p/search/강남맛집) runs like a keyword.",
            "items": {
              "type": "string"
            }
          },
          "maxPlacesPerQuery": {
            "title": "Max places per query",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "Maximum number of places to return for each query. Naver returns up to about 300 places per query; to get every place in an area beyond that, set Search radius or Bounding box. Not applied to area searches - use Max places in total there.",
            "default": 50
          },
          "includeDetails": {
            "title": "Include place details",
            "type": "boolean",
            "description": "Off (default): search-list data only - fastest and cheapest. On: each place page is also read to add opening hours by day, menus with prices, description, keywords, homepage and social links, booking link, facilities, payment methods, parking, nearby subway and bus stops, review keywords and owner photos. One extra request per place. Places given in Place links always include details.",
            "default": false
          },
          "sortBy": {
            "title": "Sort results by",
            "enum": [
              "relevance",
              "distance",
              "reviews",
              "saved"
            ],
            "type": "string",
            "description": "Order of the search results. Distance needs Search center.",
            "default": "relevance"
          },
          "searchCoordinates": {
            "title": "Search center (latitude,longitude)",
            "type": "string",
            "description": "Optional map center as latitude,longitude, e.g. 37.4979,127.0276 for Gangnam Station. Naver searches around this point, distance sorting starts from it, and distanceMeters is filled. With Search radius it is the center of the area search."
          },
          "searchRadiusKm": {
            "title": "Area search: radius (km)",
            "minimum": 0.05,
            "maximum": 50,
            "type": "number",
            "description": "Optional. With Search center set, returns every place for the keyword within this many kilometers of the center - beyond Naver's 300 places per query. Dense areas are split into smaller map cells automatically and each place is returned once. Use a plain keyword without a place name (카페, not 성수 카페). Requests grow with the number of places (about 1 per 35 places), so set Max places in total or a maximum cost per run for large areas."
          },
          "boundingBox": {
            "title": "Area search: bounding box",
            "type": "string",
            "description": "Optional alternative to Search radius: a rectangle as south,west,north,east in degrees, e.g. 37.541,127.052,37.548,127.060. Returns every place for the keyword inside it, beyond Naver's 300 places per query. Use a plain keyword without a place name."
          },
          "filters": {
            "title": "Only places that...",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Keep only places that match all selected filters, as marked by Naver in the search results. Places that do not match are not saved and not charged. Without an area search, Naver's first 300 results per query are checked.",
            "items": {
              "type": "string",
              "enum": [
                "openNow",
                "takeout",
                "delivery",
                "booking",
                "coupon",
                "naverPay",
                "newlyOpened",
                "wheelchair"
              ],
              "enumTitles": [
                "Are open now (Korea time)",
                "Offer takeout",
                "Offer delivery",
                "Take Naver bookings",
                "Have a Naver coupon",
                "Accept Naver Pay",
                "Are newly opened",
                "Have a wheelchair-accessible entrance"
              ]
            }
          },
          "includeEnglish": {
            "title": "Add English name, category and address",
            "type": "boolean",
            "description": "Adds nameEn, categoryEn and addressEn - Naver's own English versions, not a translation by this Actor - next to the Korean fields. One extra request per page of 50 results. Places given in Place links do not get English fields.",
            "default": false
          },
          "maxPlaces": {
            "title": "Max places in total",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap on places for the whole run, across all queries and place links. Leave empty for no overall cap."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Naver rate-limits repeated requests from one IP, so a proxy is recommended.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}