{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Blog & Cafe Scraper (한국어)",
    "description": "키워드 또는 직접 URL로 네이버 블로그와 네이버 카페 게시글을 수집합니다: 전문, 이미지, 태그, 카테고리, 공감수, 댓글, 장소 정보까지. JSON, CSV, Excel로 내보내기.",
    "version": "1.0",
    "x-build-id": "xrAeilkTRjnaUKcqv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parsebird~naver-blog-cafe-scraper-korean/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parsebird-naver-blog-cafe-scraper-korean",
        "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/parsebird~naver-blog-cafe-scraper-korean/runs": {
      "post": {
        "operationId": "runs-sync-parsebird-naver-blog-cafe-scraper-korean",
        "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/parsebird~naver-blog-cafe-scraper-korean/run-sync": {
      "post": {
        "operationId": "run-sync-parsebird-naver-blog-cafe-scraper-korean",
        "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": {
          "searchKeywords": {
            "title": "검색 키워드",
            "type": "array",
            "description": "강남 맛집 또는 Seoul cafe 같은 네이버 검색 키워드를 추가하세요. 일치하는 블로그 및/또는 카페 게시글을 찾습니다.",
            "items": {
              "type": "string"
            }
          },
          "directUrls": {
            "title": "직접 게시글 URL",
            "type": "array",
            "description": "검색을 건너뛰고 바로 수집할 특정 네이버 블로그 또는 네이버 카페 게시글 URL을 추가하세요.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "searchType": {
            "title": "검색 대상",
            "enum": [
              "blog",
              "cafe",
              "both"
            ],
            "type": "string",
            "description": "검색 키워드 사용 시 어떤 네이버 콘텐츠를 검색할지 선택합니다.",
            "default": "both"
          },
          "maxResults": {
            "title": "키워드당 최대 결과 수",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "검색 대상별, 키워드당 최대 검색 결과 수(최대 1,000개).",
            "default": 30
          },
          "sortBy": {
            "title": "정렬 순서",
            "enum": [
              "sim",
              "date"
            ],
            "type": "string",
            "description": "검색 결과를 관련도순 또는 최신순으로 정렬합니다.",
            "default": "sim"
          },
          "scrapeContent": {
            "title": "전체 콘텐츠 수집",
            "type": "boolean",
            "description": "각 게시글의 전문, 이미지, 태그, 카테고리, 공감수, 장소 정보를 가져옵니다. 끄면 검색 결과 메타데이터만 수집합니다(더 빠르고 저렴함).",
            "default": true
          },
          "scrapeComments": {
            "title": "댓글 수집",
            "type": "boolean",
            "description": "가능한 경우 각 게시글의 댓글 데이터(작성자, 내용, 날짜)를 수집합니다.",
            "default": true
          },
          "maxConcurrency": {
            "title": "최대 동시 요청 수",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "병렬로 수집할 게시글 수. 값이 높을수록 빠르지만 프록시 없이는 속도 제한 위험이 커집니다.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "프록시 설정",
            "type": "object",
            "description": "프록시 설정. 대량 실행 시 속도 제한을 피하기 위해 권장됩니다.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}