> **For coding agents and LLMs:** This is one page from the Social Fetch docs (markdown export). For curated orientation and workflow guidance, start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for agent onboarding and crawl rules, use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for the full endpoint list with links to pages like this one, use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt); for one platform's parameters and curls, use [`/llms-{platform}.txt`](https://www.socialfetch.dev/llms-tiktok.txt); use [`/llms.json`](https://www.socialfetch.dev/llms.json) when you need structured JSON for tool registration.

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/docs/api/v1/naver/search/blogs/get>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/docs/api/v1/naver/search/blogs/get.mdx>

## API base URL and authentication

- **API origin (from OpenAPI `servers`):** `https://api.socialfetch.dev`
- **Authentication:** send `x-api-key: sfk_...` on `/v1/**` and `/v2/**` routes unless the operation is explicitly anonymous (check OpenAPI `security`, the [API reference hub](https://www.socialfetch.dev/docs/api.mdx), [`/llms.txt`](https://www.socialfetch.dev/llms.txt), or [`/llms.json`](https://www.socialfetch.dev/llms.json) for each route).
- **OpenAPI JSON:** <https://www.socialfetch.dev/openapi.json>

## Recommended docs entrypoints (this site)

- [Documentation overview](https://www.socialfetch.dev/docs.mdx) — top-level orientation (markdown).
- [Quickstart](https://www.socialfetch.dev/docs/quickstart.mdx) — authenticate with `x-api-key`, validate auth with `whoami`, and understand the JSON envelope.
- [SDK](https://www.socialfetch.dev/docs/sdk.mdx) — official TypeScript SDK guide, including `SocialFetchClient`, `Result`, and `unwrap()`.
- [Capability matrix](https://www.socialfetch.dev/docs/capability-matrix.mdx) — every operation with identifiers, pagination, outcomes, media download, credits, and its SDK method. Generated from OpenAPI, so use it for route selection instead of scanning individual pages.
- [Recipes](https://www.socialfetch.dev/docs/recipes.mdx) — copyable workflows (brand monitoring, transcripts, Ad Library, creator scoring, Reddit research) with credit callouts and SDK examples.
- [Integrations](https://www.socialfetch.dev/docs/integrations.mdx) — MCP for AI clients, n8n verified node, Apify Store Actors, Make custom app, SDK, and REST API connection paths.
- [MCP product page](https://www.socialfetch.dev/mcp) — hosted MCP overview, OAuth, Skills install.
- [MCP integration](https://www.socialfetch.dev/docs/integrations/mcp.mdx) — hosted `/mcp` server, OAuth, Cursor/VS Code/Claude install snippets, 1112 endpoint tools, plus docs_search/docs_read for implementation help.
- [n8n integration](https://www.socialfetch.dev/docs/integrations/n8n.mdx) — install `n8n-nodes-socialfetch`, credentials, and workflow examples.
- [Apify integration](https://www.socialfetch.dev/docs/integrations/apify.mdx) — Store Actors under @social-fetch, PPE billing, dataset export, and quick start.
- [Make integration](https://www.socialfetch.dev/docs/integrations/make.mdx) — custom app modules for Make scenarios, API key credentials, and module catalog.
- [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt) — every documented operation with a direct link to that route's agent-readable markdown page (prefer this over parsing OpenAPI).
- [`/llms-{platform}.txt`](https://www.socialfetch.dev/llms-tiktok.txt) — per-platform endpoint files generated from OpenAPI (parameters, credits, curls).
- [`/agents.txt`](https://www.socialfetch.dev/agents.txt) — agent crawl/onboarding file with capabilities, auth rules, and allowlist.
- [`/llms.json`](https://www.socialfetch.dev/llms.json) — structured machine-readable operation inventory with parameter names, pagination, outcomes, credits, and SDK mapping.
- [API reference hub](https://www.socialfetch.dev/docs/api.mdx) — human-friendly index of operations with links into generated pages.
- [Errors](https://www.socialfetch.dev/docs/errors.mdx) — shared error envelope and HTTP status guidance.
- [Credits](https://www.socialfetch.dev/docs/credits.mdx) — metering, `402`, and planning batch jobs.
- Outcome semantics such as `found`, `not_found`, and `private` are documented in [Errors](https://www.socialfetch.dev/docs/errors.mdx) and on operation pages when present in the OpenAPI contract.

## Markdown docs convention

- Every docs page has a markdown twin: append **`.mdx`** to the docs pathname (for example `/docs/quickstart` → `/docs/quickstart.mdx`).
- Agents that send `Accept: text/markdown` on `/docs/**` HTML URLs may receive markdown directly (same URL, `Vary: Accept`).
- Published blog posts use the same convention: `/blog/{slug}` → `/blog/{slug}.mdx`, or `Accept: text/markdown` on the HTML URL (`Vary: Accept`).

---
# Search Naver blogs (https://www.socialfetch.dev/docs/api/v1/naver/search/blogs/get)

## Summary

Search Naver blog posts by keyword, by relevance or newest first, 30 a page, with any ads listed apart.

**Tags:** `Naver`

## HTTP

- **Method:** GET
- **Path:** `/v1/naver/search/blogs`
- **Base URL:** `https://api.socialfetch.dev`

## Capability summary

- **SDK mapping:** `client.naver.searchBlogs({ query: "손흥민" })`
- **Accepted identifiers:** `query` (query)
- **Pagination:** page via `page`, next page: `data.page.nextPage`, has more: `data.page.hasMore`

## Credits

- **Base:** 1 credit per successful lookup.
- **Maximum on success (200):** 1 credit.
- **Failed requests (`lookup_failed`, `503`):** not charged.
- **Authoritative field:** `meta.creditsCharged`.

## Authentication

- **`x-api-key`**: API key (`sfk_...`)

## Parameters

### `query` (query)

- **Required:** yes
- **Constraints:** type `string`; minLength: 1; maxLength: 200
- **Description:** Search words, in Korean or any other language, e.g. `손흥민`. Control characters are removed.

### `page` (query)

- **Required:** no
- **Constraints:** type `integer`; default: `1`; minimum: 1; maximum: 30
- **Description:** Page number, from 1. Naver serves at most 30 pages of a search.

### `sort` (query)

- **Required:** no
- **Constraints:** type `string`; enum: relevance, date; default: `relevance`
- **Description:** `relevance` (Naver's default order) or `date` (newest first).

## Responses (status codes)

- **200**: Naver blog search results.
- **400**: Invalid request
- **401**: Missing or invalid API key
- **402**: Insufficient credits
- **500**: Unexpected or billing error
- **502**: Lookup could not be completed.
- **503**: Service temporarily unavailable; safe to retry with backoff.

## Response body (200)

Naver blog search results.

### Field outline

- **data** (required) — type `object`. Endpoint-specific response payload.
  - **query** (required) — type `string`. The search words, as sent.
  - **sort** (required) — type `string`; enum: relevance, date. The order used.
  - **posts** (required) — type `array`. Blog posts, in Naver's order, without ads.
    - _items:_
      - **rank** (required) — type `integer`; minimum: 0. Position among the posts (organic results), from 1. Ads never take a rank here.
      - **title** (required) — type `string`. Post title, highlight markup removed.
      - **url** (required) — type `string`. Post URL.
      - **blogId** (required) — type `string`; nullable. Blog id of a Naver blog post; null for other blog hosts.
      - **postId** (required) — type `string`; nullable. Post number (`logNo`) of a Naver blog post.
      - **snippet** (required) — type `string`; nullable. Text excerpt Naver shows.
      - **blogName** (required) — type `string`; nullable. Name of the blog.
      - **blogUrl** (required) — type `string`; nullable. Blog home URL.
      - **blogImageUrl** (required) — type `string`; nullable. Blog profile image.
      - **publishedAt** (required) — type `string`; nullable. When it was published, ISO 8601. Worked out from the date Naver prints, so it is exact to the unit printed (`5분 전` to the minute, `2026.11.14.` to the day); null when Naver printed no date.
      - **publishedText** (required) — type `string`; nullable. The date as Naver printed it, e.g. `3시간 전` or `2026.11.14.`.
      - **imageUrls** (required) — type `array`. Images Naver previews from the post, at full size.
        - _items:_
          - type `string`
      - **imageCount** (required) — type `integer`; nullable. How many images the post has, as Naver counts them.
      - **isAd** (required) — type `boolean`. Whether the result is a paid ad: always `false` in `posts`, `true` in `ads`.
  - **ads** (required) — type `array`. Paid ads Naver showed among this page's posts, in page order. Usually empty for non-commercial words.
    - _items:_
      - **rank** (required) — type `integer`; minimum: 0. Position among this page's ad slots, from 1. Naver can show the same ad in more than one slot.
      - **title** (required) — type `string`. Post title, highlight markup removed.
      - **url** (required) — type `string`. Naver's ad click link, which leads to the advertiser's post.
      - **blogId** (required) — type `string`; nullable. Blog id of a Naver blog post; null for other blog hosts.
      - **postId** (required) — type `string`; nullable. Post number (`logNo`) of a Naver blog post.
      - **snippet** (required) — type `string`; nullable. Text excerpt Naver shows.
      - **blogName** (required) — type `string`; nullable. Name of the blog.
      - **blogUrl** (required) — type `string`; nullable. Blog home URL.
      - **blogImageUrl** (required) — type `string`; nullable. Blog profile image.
      - **publishedAt** (required) — type `string`; nullable. When it was published, ISO 8601. Worked out from the date Naver prints, so it is exact to the unit printed (`5분 전` to the minute, `2026.11.14.` to the day); null when Naver printed no date.
      - **publishedText** (required) — type `string`; nullable. The date as Naver printed it, e.g. `3시간 전` or `2026.11.14.`.
      - **imageUrls** (required) — type `array`. Images Naver previews from the post, at full size.
        - _items:_
          - type `string`
      - **imageCount** (required) — type `integer`; nullable. How many images the post has, as Naver counts them.
      - **isAd** (required) — type `boolean`. Whether the result is a paid ad: always `false` in `posts`, `true` in `ads`.
      - **afterPostRank** (required) — type `integer`; minimum: 0. Rank of the last post above the ad on the page; 0 when the ad comes before the first post of page 1.
  - **page** (required) — type `object`. Pagination state for the current page.
    - **page** (required) — type `integer`; minimum: 0. Current page number (1-based).
    - **hasMore** (required) — type `boolean`. Whether another page is available.
    - **nextPage** (required) — type `integer`; minimum: 0; nullable. Next page number when more pages exist; null on the last page.
- **meta** (required) — type `object`. Metadata describing the request and billing outcome.
  - **requestId** (required) — type `string`; minLength: 1. Unique request identifier for tracing this API call.
  - **creditsCharged** (required) — type `integer`; minimum: 0. Credits charged for this request.
  - **version** (required) — type `string`; enum: v1. Public API version that served the response.
  - **stale** (optional) — type `boolean`; enum: true. Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
  - **fetchedAt** (optional) — type `string`. When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.

### Example JSON (found)

```json
{
  "data": {
    "query": "손흥민",
    "sort": "relevance",
    "posts": [
      {
        "rank": 1,
        "title": "손흥민 학교 나이 아버지, 유럽에서 LAFC로 이어진 이력 정리",
        "url": "https://blog.naver.com/suuin304/224471120735",
        "blogId": "suuin304",
        "postId": "224471120735",
        "snippet": "손흥민 학교 나이 아버지, 유럽에서 LAFC로 이어진 이력 정리 손흥민 학교 나이 아버지를 찾아보면 한국에서 시작해 유럽과 미국으로 이어진 경력이 함께 나옵니다. 2026년 11월... |손흥민 학교 이력의 갈림길 손흥민은 동북중을 졸업했고 동북고 재학 중 독일로 건너갔습니다. 따라서 동북고는 졸업이 아니라 중퇴로 구분하며, 이후 함부르크 유스...",
        "blogName": "스포츠 인사이트",
        "blogUrl": "https://blog.naver.com/suuin304",
        "blogImageUrl": "https://blogpfthumb-phinf.pstatic.net/MjAyNjA0MjZfNzMg/MDAxNzc3MTk0NzIxMDk1.AeMtGIpesnwUw6VpABtSTgKkOrHoslRrXwMXL4naEIQg.8sczN_FmiIAi33UJPy_A74o6yLZyLUCZLIiqIPP_SXYg.PNG/e7a10d84-0cb1-48ab-9c78-14cc826d5588.png/e7a10d84-0cb1-48ab-9c78-14cc826d5588.png",
        "publishedAt": "2026-11-10T12:04:42.106Z",
        "publishedText": "6일 전",
        "imageUrls": [
          "http://blogfiles.naver.net/MjAyNjExMTBfMTYg/MDAxNzk0MjU5ODk1MDI4.dwbbfKe3XazKuSvtY0ZRJYrRwlL3wqptZCPpK57vUBog.d-ZZbdknWKxMC4zXu9AKkkE-ceKWb-Ic9JEsG_IjRiQg.JPEG/2026110901000604100057951.jpg#658x424"
        ],
        "imageCount": 5,
        "isAd": false
      },
      {
        "rank": 2,
        "title": "\"경기력만 보자던 손흥민, 이제 선발에서 빼야할 것 같은데요?\"...유효슈팅 0개",
        "url": "https://blog.naver.com/jjinenius/224476719177",
        "blogId": "jjinenius",
        "postId": "224476719177",
        "snippet": "주장의 90분 손흥민은 사우디전 하루 전인 12일 기자회견에서 \"앞으로 대표팀의 경기력에 관해서만 이야기해 주셨으면... 스포츠조선은 패배 뒤 손흥민 퇴진론이 수면 위로 떠올랐다고 전했습니다. 커뮤니티에는 아버지 손웅정 감독의... 유효슈팅 0개의 90분 자료=스타뉴스·스포탈코리아·톱스타뉴스 손흥민은 오현규와 투톱으로 선발 출전해 끝까지 뛰었습니다....",
        "blogName": "영감의또또",
        "blogUrl": "https://blog.naver.com/jjinenius",
        "blogImageUrl": "https://blogpfthumb-phinf.pstatic.net/MjAyNjA0MThfMTcx/MDAxNzc2NTA0MTM3NjYw.az2ZItnbeZm61eSPWzuOyd40rZS-RvggJZiwgVi2694g.2Loin0mUjhYrV2O77edaZzXWLeYwlCYvFLxhY_orgNAg.PNG/KakaoTalk_20260418_181026037.png/KakaoTalk_20260418_181026037.png",
        "publishedAt": "2026-11-14T12:04:42.106Z",
        "publishedText": "2일 전",
        "imageUrls": [
          "http://blogfiles.naver.net/MjAyNjExMTRfMzIg/MDAxNzk0NjI0ODk2OTg2.wRWC06G7bLM8LIrAIe8X6Ua5kAe8H17EdSIGo9URyyAg.Pm7Sj440NlnSF4KjwhNCWEM-Q_UvksNcurMiqrPR6Dkg.JPEG/0886409ff0a433a8.jpg#584x392"
        ],
        "imageCount": 11,
        "isAd": false
      },
      {
        "rank": 3,
        "title": "“15년 만에 첫 우승했는데…” 손흥민, 토트넘 떠나 미국 LAFC로 향한 이유는?",
        "url": "https://blog.naver.com/music-lover/224473402017",
        "blogId": "music-lover",
        "postId": "224473402017",
        "snippet": "“15년 만에 첫 우승했는데…” 손흥민, 토트넘 떠나 미국 LAFC로 향한 이유는? / 사진 = LAFC 인스타그램 안녕하세요. 오늘은 손흥민이 프로 데뷔 약 15년 만에 첫 메이저 클럽... 2025년 5월 22일, 손흥민은 토트넘의 주장으로 유럽축구연맹(UEFA) 유로파리그 우승 트로피를 들어 올렸습니다. 토트넘에서 10년 동안 뛰며 기다렸던 첫 우승이었는데요. 그런데 불과 두...",
        "blogName": "Dream come true",
        "blogUrl": "https://blog.naver.com/music-lover",
        "blogImageUrl": "https://blogpfthumb-phinf.pstatic.net/MjAyNjA5MjFfMjc4/MDAxNzg5OTc0MDI4OTM1.gLkveYdTdTnM47SDIcp092hpq-N3a6LKr5A_jHPeG5Ig.Hs0aITtDwbRzSJgFvLielA_M7yWtdr4et7Fp71_-6ywg.PNG/0001.png/0001.png",
        "publishedAt": "2026-11-11T12:04:42.106Z",
        "publishedText": "5일 전",
        "imageUrls": [
          "http://blogfiles.naver.net/MjAyNjExMTFfODgg/MDAxNzk0Mzk3Mzc1MTk2.ddt2wJ-Q5XVmKw8VSbIIZGGq0memy3iTcPqyftR1NnMg.gtMg9ib8odUxgIrJKzbgsDIIBuPHp64mSvDkUJVjUwkg.JPEG/imgi_22_883299725_18640724959009780_2303411246175215147_n.jpg#1439x1920"
        ],
        "imageCount": 3,
        "isAd": false
      }
    ],
    "ads": [],
    "page": {
      "page": 1,
      "hasMore": true,
      "nextPage": 2
    }
  },
  "meta": {
    "requestId": "req_naver_search_blogs",
    "creditsCharged": 1,
    "version": "v1"
  }
}
```

### Machine-readable error codes

When an error JSON body is returned, it may include one of these `error.code` values (derived from the OpenAPI schemas for this operation; additional codes may exist at runtime):

- `bad_request`

## Error handling & retries

Interpret HTTP status codes using the descriptions below. Do not assume a JSON body unless the OpenAPI schema defines one for that status.

- **400**: Invalid request **Retry:** Fix the request; retrying the same invalid payload will not help.
- **401**: Missing or invalid API key **Retry:** Fix the API key first; retrying without changes will not help.
- **402**: Insufficient credits **Retry:** Do not retry without resolving billing/credits (retrying the same request will not help).
- **500**: Unexpected or billing error
- **502**: Lookup could not be completed. **Retry:** May be transient; a few retries with backoff are reasonable.
- **503**: Service temporarily unavailable; safe to retry with backoff. **Retry:** Usually safe to retry with exponential backoff and jitter.

### Suggested client defaults

- Send the API key using the `x-api-key` header on every request.
- On `503` (and sometimes `502`), retry with backoff; cap retries and surface a clear error to the user.
- On `402`, surface an actionable billing message rather than blind retries.

## Examples

### TypeScript SDK

```typescript
import { SocialFetchClient } from "@socialfetch/sdk";

const client = new SocialFetchClient({
  apiKey: process.env.SOCIALFETCH_API_KEY!,
});

const result = await client.naver.searchBlogs({
  query: "손흥민",
});

if (!result.ok) {
  console.error(result.error);
} else {
  console.log(result.value.data);
}
```

### Node.js

```javascript
const response = await fetch(
  "https://api.socialfetch.dev/v1/naver/search/blogs?query=손흥민",
  {
    headers: {
      "x-api-key": "YOUR_API_KEY"
    }
  }
);

const data = await response.json();
console.log(data);
```

### cURL

```bash
curl "https://api.socialfetch.dev/v1/naver/search/blogs?query=손흥민" \
  -H "x-api-key: YOUR_API_KEY"
```

### Python

```python
import requests

response = requests.get(
    "https://api.socialfetch.dev/v1/naver/search/blogs?query=손흥민",
    headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()
print(data)
```