# Naver Blog Search Scraper (`searchapi/naver-blog-search-scraper`) Actor

Scrapes Naver Blog search results for any keyword. Extracts blog post title, URL, snippet, blogger name, date, thumbnail, and blog name from search.naver.com blog tab.

- **URL**: https://apify.com/searchapi/naver-blog-search-scraper.md
- **Developed by:** [Search API](https://apify.com/searchapi) (community)
- **Categories:** News, SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 search results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Naver Blog Search Scraper

### What does Naver Blog Search Scraper do?

This Actor searches the public [Naver Blog results tab](https://search.naver.com/) and collects post cards that Naver renders for a keyword. It returns card text, public blog/profile links, displayed date text, available thumbnails, and search provenance; it does not open posts or access private account data.

### Why use Naver Blog Search Scraper?

Use it to discover public posts for monitoring topics, content research, and market research. The Actor follows the current Blog tab, deduplicates posts by canonical Naver post URL, and scrolls the rendered results page with a bounded number of attempts until it reaches `maxItems` or Naver stops adding cards. It records the exact search URL and a collection timestamp with each result. Apify runs, schedules, API access, integrations, and run history are available through the platform.

### What data can it extract?

| Field group | Fields | Notes |
| --- | --- | --- |
| Post identity | `title`, `link`, `canonicalLink`, `postId`, `blogId` | IDs are included when they can be parsed from the post URL. |
| Cloud contract aliases | `id`, `postKey`, `queryPosition`, `page`, `url`, `blogUrl`, `authorName`, `authorUrl`, `dateRaw`, `publishedAt`, `thumbnailUrl` | These retain the Cloud field names using the same parsed card values; `publishedAt` is included only for an absolute date. |
| Public author links | `blogName`, `blogHomeUrl`, `bloggerName`, `bloggerProfileUrl`, `bloggerId` | Each field is omitted when the card does not expose it. |
| Card content | `snippet`, `description`, `date`, `publishedDate`, `datePrecision` | Relative date labels are preserved as text and are not converted into guessed timestamps. `description` is a compatibility alias for `snippet`. |
| Card media | `thumbnail`, `thumbnailUrls`, `thumbnailCount` | Includes unique image URLs linked to the post card. |
| Search provenance | `position`, `query`, `searchUrl`, `pageNumber`, `source`, `sourceDomain`, `recordType`, `extractionMethod`, `scrapedAt` | Identifies where and when a result was collected. |
| Promotion marker | `isSponsored`, `sponsorLabel` | Reports a sponsored marker only when a distinct `광고` or `Sponsored` label is present. |

The dataset schema declares **40 possible fields**. Optional source fields are omitted when the card does not provide them; the Actor does not insert empty text or substitute values.

### How to scrape Naver Blog

1. Open the Actor in Apify Console and enter a keyword in **Search Query**.
2. Choose a **Maximum Items** value from 1 to 200.
3. Start the run and inspect the dataset. The Actor scrolls the single Blog results page; `pageNumber` remains `1` for these in-page results.
4. Download the dataset or use the run's API tab, schedule, or integration options.

### How much will it cost to scrape Naver Blog?

The Actor's compute use depends on the browser run, the number of cards loaded, and the scrolling needed to reach the requested item limit. It waits briefly after each scroll and stops after two consecutive scrolls add no new post cards; scrolling is capped at 24 attempts. Selecting an Apify proxy can add proxy usage according to your Apify plan. No fixed price is promised here; check the run usage and your account's current pricing.

### Input

The input accepts one `query`, an optional batch in `queries`, a result cap, paging and retry controls, and optional `proxyConfiguration`. Duplicate and blank batch queries are removed. When both query inputs are empty, the Actor uses the schema's Korean prefill query.

| Input | Type | Default | Range or behavior |
| --- | --- | --- | --- |
| `query` | string | `인공지능` | Optional query. Combined with `queries` and deduplicated. |
| `queries` | array of strings | Omitted | Optional batch of query strings. |
| `maxItems` | integer | `50` | 1–200 unique posts. The scroll loop is bounded and may return fewer results if Naver stops loading cards. |
| `maxPages` | integer | `3` | 1–20 result loading pages per query; each extra page is bounded scrolling on the rendered results page. |
| `maxConcurrency` | integer | `2` | 1–5 browser result pages processed concurrently. |
| `maxRequestRetries` | integer | `2` | 0–5 retries for transient navigation, rate-limit, or proxy failures. |
| `proxyConfiguration` | object | Omitted | Optional Apify proxy routing. Standard proxy routing does not bypass Naver access restrictions or challenges. |

The complete input schema, defaults, and constraints are in [`.actor/input_schema.json`](.actor/input_schema.json).

#### Example inputs

Default search:

```json
{
  "query": "인공지능"
}
```

Limit the number of returned cards:

```json
{
  "query": "서울 카페",
  "maxItems": 30
}
```

Run without proxy routing:

```json
{
  "query": "도시 텃밭",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### Output

Each dataset row is one Naver Blog search card. Fields unavailable in a particular card are omitted. `publishedDate` is included only for an absolute calendar date; relative dates remain in `date` and set `datePrecision` to `relative`.

The full dataset field contract is in [`.actor/dataset_schema.json`](.actor/dataset_schema.json).

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Tips and advanced options

- `maxItems` is a result cap; the Actor stops early when the page has no new cards after two scroll attempts.
- Positions are assigned in the order unique post cards are collected. Deduplication uses the canonical Naver post URL.
- A card may expose a blog name, a profile name, both, or neither. These names and URLs are emitted only when shown on the card.
- The Actor reads search cards only. It does not extract full post bodies, comments, follower counts, or details from post pages.
- Proxy routing is optional and does not override access controls. If Naver presents a challenge or access restriction, the Actor fails rather than trying to bypass it.

### FAQ, support, and responsible use

**Why did a run return fewer posts than `maxItems`?** Naver may stop loading cards, return fewer matching posts, or restrict the browser session. The Actor returns only cards it can read from the public results page.

**Why is `publishedDate` missing?** Naver often shows relative text such as `2주 전`. That exact text remains available in `date`; the Actor does not infer a calendar date from it.

**Where can I report an issue?** Use the Actor's Issues tab and include the run ID, query category (avoid sensitive personal queries), and a short description. The API tab provides dataset access and run links.

This Actor is not affiliated with Naver. It collects public search-card information; results may contain personal data that authors chose to make public. Use it for a legitimate purpose, follow Naver's terms, robots guidance, rate limits, and applicable privacy laws, and seek qualified legal advice when needed. Do not use the Actor to collect private data or evade access restrictions.

# Actor input Schema

## `query` (type: `string`):

A keyword or phrase to search in Naver Blog results

## `queries` (type: `array`):

Optional batch of search queries. Duplicate and blank values are removed.

## `maxItems` (type: `integer`):

Maximum number of unique public blog post cards to return. The Actor scrolls the results page within a bounded number of attempts.

## `maxPages` (type: `integer`):

Hard pagination limit for each query.

## `maxConcurrency` (type: `integer`):

Maximum number of Naver result pages processed at once.

## `maxRequestRetries` (type: `integer`):

Retries transient navigation, rate-limit, or proxy failures.

## `proxyConfiguration` (type: `object`):

Optional Apify proxy settings. Proxy use does not bypass Naver access restrictions or challenges.

## Actor input object example

```json
{
  "query": "맛집",
  "maxItems": 50,
  "maxPages": 3,
  "maxConcurrency": 2,
  "maxRequestRetries": 2
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "인공지능"
};

// Run the Actor and wait for it to finish
const run = await client.actor("searchapi/naver-blog-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "query": "인공지능" }

# Run the Actor and wait for it to finish
run = client.actor("searchapi/naver-blog-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "인공지능"
}' |
apify call searchapi/naver-blog-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,searchapi/naver-blog-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Bei9rya6EeCz1LPrb/builds/Wh3y2q8wNWsIEwdK8/openapi.json
