> ## Documentation Index
> Fetch the complete documentation index at: https://docs.querying.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# NAVER AIタブ API: 対話型の回答、出典、場所、商品

> NAVERのAIタブに質問し、Markdownの回答を、出典、場所、商品、画像、動画とともに受け取ります。

`NAVER_AI_TAB` は、NAVER検索で常に利用できる対話型の回答であるAIタブに質問します。

| | |
| - | - |
| taskType | `NAVER_AI_TAB` |
| エイリアス | `NAVER_AI_MODE` |
| 読むフィールド | `query`(なければ `prompt`) |
| クレジット | 1.25 |
| 国 | 任意、既定は **`KR`**。 |

## リクエスト

`country` を省略すると `KR` になります。下の例では明示的に送っています。

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "NAVER_AI_TAB", "payload": { "query": "best running shoes for flat feet", "country": "KR" } }'
```

## レスポンス

| フィールド | 型 | 説明 |
| - | - | - |
| `text` | string | 回答。 |
| `markdown` | string | NAVERのカードを本文の位置に書き込んだ回答。フラグなしで返ります。 |
| `sources` | array | `position`、`url`、`label`、`description`。 |
| `map` | array | 場所に関する質問での場所: `name`、`position`、`placeId`、`location`、`url`、`mapsUrl`、`reviews`、`category`、`image`。 |
| `products` | array | ショッピングの質問での商品。 |
| `images` | array | 回答とともに表示された画像: `title`、`url`、`image`、`thumbnail`、`source`、`sourceName`。 |
| `videos` | array | 回答とともに表示された動画。 |
| `rawContent` | string | 元のイベントストリーム。`include.rawResponse` のときのみ。 |

`markdown` では、引用は `sources[].position` に対応する `[n]`、画像は `![title](url)`、場所や商品のカードはリンク付きの行として表されます。

例:

```json theme={"theme":"css-variables"}
{
  "text": "For flat feet, look for stability shoes with firm arch support ...",
  "markdown": "For flat feet, look for **stability shoes** with firm arch support [1].",
  "sources": [{ "position": 1, "url": "https://blog.naver.com/...", "label": "Running shoes for flat feet", "description": "..." }]
}
```

NAVER がポリシー上の理由でクエリへの回答を断った場合、タスクはその拒否文と、`type` が `policy_declined` の `notice` とともに完了します。

## includeフラグ

| フラグ | 効果 |
| - | - |
| `rawResponse` | `rawContent` を追加します。 |
| `analysis` | `analysis` を追加します。1クレジット。[回答の分析](/ja/engines/answer-analysis.md)を参照してください。 |
| `citationAnalysis` | 回答に対して[Citation Analysis](/ja/research/citation-analysis.md)を実行します。 |

`markdown` にフラグは不要です。`searchQueries`、`ads`、`shopping` は効果がありません。`html` は `422 EVIDENCE_UNSUPPORTED` で拒否されます。[Markdownと生のレスポンス](/ja/engines/response-options.md)を参照してください。

## 関連ページ

* [NAVER AIタブ製品ページ](https://querying.ai/ja/engines/naver-ai-tab)
* [NAVER AIブリーフィング](/ja/engines/naver-ai-brief.md)
* [エンジンの概要](/ja/engines/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.