{
  "openapi": "3.0.1",
  "info": {
    "title": "Naver Blog, Cafe & News Search Scraper (네이버 블로그·카페)",
    "description": "Enter keywords and get Naver Blog, Naver Cafe and Naver News search results as flat rows: title, URL, snippet, blog/cafe/publisher name and publish time. Date filters and an only-new-since-last-run monitoring mode. No API key, no shared daily quota. 네이버 블로그·카페 크롤링.",
    "version": "0.1",
    "x-build-id": "hneuorhF5lhtyhcj6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/magenta_courser~naver-blog-cafe-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-magenta_courser-naver-blog-cafe-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-blog-cafe-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-magenta_courser-naver-blog-cafe-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-blog-cafe-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-magenta_courser-naver-blog-cafe-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",
        "required": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Required. Search keywords, one per line, exactly as you would type them into Naver. Korean keywords return the most results, e.g. 올리브영 선크림 (Olive Young sunscreen), 제주 카페 (Jeju cafe), or a brand or product name. Each keyword is searched separately in every selected source.",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Which Naver search tabs to read. Any of: blog (Naver Blog, also includes some external blogs such as Tistory), cafe (Naver Cafe community posts), news (Naver News articles). Default: [\"blog\", \"cafe\"].",
            "items": {
              "type": "string",
              "enum": [
                "blog",
                "cafe",
                "news"
              ],
              "enumTitles": [
                "Naver Blog",
                "Naver Cafe",
                "Naver News"
              ]
            },
            "default": [
              "blog",
              "cafe"
            ]
          },
          "maxResultsPerKeyword": {
            "title": "Max results per keyword and source",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum rows for each keyword in each source (1-1000). Default 100. Example: 2 keywords x 2 sources x 100 = up to 400 rows. Naver lists about 1,000 results per search, so to go further back split the period with dateFrom/dateTo and run once per period.",
            "default": 100
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "recent",
              "relevance"
            ],
            "type": "string",
            "description": "Order of results: recent (newest first, default; required for monitoring to stop at the previous run) or relevance (Naver's relevance ranking).",
            "default": "recent"
          },
          "dateFrom": {
            "title": "Published from",
            "type": "string",
            "description": "Optional. Only posts published on or after this date, Korea time, format YYYY-MM-DD, e.g. 2026-09-01. If only dateTo is set, dateFrom defaults to 2000-01-01."
          },
          "dateTo": {
            "title": "Published to",
            "type": "string",
            "description": "Optional. Only posts published on or before this date, Korea time, format YYYY-MM-DD, e.g. 2026-09-15. If only dateFrom is set, dateTo defaults to today."
          },
          "onlyNewSinceLastRun": {
            "title": "Only new posts since the last run",
            "type": "boolean",
            "description": "Monitoring mode. true = return only posts this Actor has not returned before for the same search (same keyword, source, sort and date range; remembered in the history store below). The first run returns the latest posts as usual. Use with sort recent and a schedule (e.g. daily). Best effort, not a guarantee of complete coverage: posts that Naver indexes later than lookbackHours after their publish time, or more new posts than maxResultsPerKeyword between runs, can be missed. Default false.",
            "default": false
          },
          "lookbackHours": {
            "title": "Overlap with the previous run (hours)",
            "minimum": 0,
            "maximum": 720,
            "type": "integer",
            "description": "Only used when onlyNewSinceLastRun is true. Each run re-checks posts dated up to this many hours before the previous complete run started, so posts that appear in Naver search late are still returned once. Larger = fewer missed late posts, a few more pages read (pages are not charged, only returned rows). 0-720, default 48.",
            "default": 48
          },
          "historyStoreName": {
            "title": "History store name",
            "type": "string",
            "description": "Only used when onlyNewSinceLastRun is true. Name of the key-value store in your Apify account that remembers already returned posts. Inside it, every keyword + source + sort + date range has its own record, so different searches never share history. Use a separate name for each separate monitor, e.g. brand-monitor-daily, and do not run the same monitor twice at the same time (it can return some posts twice). Letters, digits and hyphens only, max 63 characters.",
            "default": "naver-search-monitor-history"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. The default Apify datacenter proxy works for Naver search. Switch to RESIDENTIAL with country KR only if the log shows repeated request errors.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}