API Hop ドキュメント
Naver API リファレンス
Naver: ウェブ検索 · AI の概要 · AI Mode の回答.
同時実行上限
AI と Data はそれぞれアカウント全体の同時実行枠を共有します。既定値は AI 5 / Data 2 で、サブスクリプションにより変わります。エンドポイント別の設定もカテゴリ全体の上限を超えられません。いずれかの上限に達すると HTTP 429 を返します。非同期タスクは実行終了まで枠を使用します。
GET /v1/naver/search GET /v1/naver/ai-overview GET /v1/naver/ai-mode Naver: ウェブ検索 · AI の概要 · AI Mode の回答.
認証と料金
既定料金は成功したリクエストごとに $0.0003(300 credits)です。 API Hop API キーを使用します。利用可否は有効なゲートウェイと権限によります。成功したリクエストの料金はカタログとアカウントを確認してください。個別料金が優先され、成功した空の結果も課金されます。失敗時は予約額を解放します。タイムアウトは 60 秒で、自動再試行と自動ページングはありません。精算失敗による再呼び出しも行いません。
Authorization: Bearer YOUR_API_KEYクエリのみ受け付け、本文は使用しません。不明、重複、空、無効な値は拒否します。JSON のみ対応し、自動ページ取得や再試行は行いません。識別子と継続トークンは最新の応答からコピーしてください。例は説明用です。確認済みの空結果や利用不可の結果を含め、完了した照会ごとに課金されます。XOR = いずれか一つ、NOT = 不可、=> = 必須。
Naver: ウェブ検索
GET https://api.apihop.ai/v1/naver/search
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
query | string | 検索語; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192 | 커피 |
page | integer | ページ番号(1 から); page: optional; min: 1; max: 100 | 1 |
device | string | 端末; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
where | string | 検索モードまたはネイティブ選択値 (where); where: optional; nexearch, web, news, image, video | nexearch |
start | integer | 結果のオフセット; start: optional; min: 1; max: 10000 | 1 |
num | integer | ページごとの結果数 (num); where=image; 既定値: 50; num: optional; min: 1; max: 100 | 1 |
sort_by | string | 並び順; sort_by: optional; 0, 1, 2, r, dd | 0 |
period | string | 期間 (period); all, 1h, 1d, 1w, 1m, 3m, 6m, 1y, fromYYYYMMDDtoYYYYMMDD; news: 2h..6h; period: optional; ^(?:all|[1-6]h|1d|1w|[136]m|1y|from[0-9]{8}to[0-9]{8})$ | - |
入力検証
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedboolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejectednum => where=image; where=news => sort_by in 0,1,2, otherwise r,dd; period 2h..6h => where=news; custom period fromYYYYMMDDtoYYYYMMDD: valid ordered dates
例
curl --get "https://api.apihop.ai/v1/naver/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=커피"Naver: AI の概要
GET https://api.apihop.ai/v1/naver/ai-overview
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
query | string | 検索語; query: optional; minLength: 1; UTF-8 bytes: 8192 | 커피란 무엇인가 |
device | string | 端末; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
page_token | string | 最新の応答から取得したトークン (page_token); page_token: optional; maxLength: 8192 | - |
入力検証
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedboolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejectedquery XOR page_token; page_token: copy from a fresh search response; preserve original query and locale
例
curl --get "https://api.apihop.ai/v1/naver/ai-overview" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=커피란 무엇인가"Naver: AI Mode の回答
GET https://api.apihop.ai/v1/naver/ai-mode
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
query | string | 検索語; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192 | 커피란 무엇인가 |
continuable | boolean | 追加質問用トークンを有効化 (continuable); continuable: optional | true |
subsequent_request_token | string | 最新の応答から取得したトークン (subsequent_request_token); subsequent_request_token: optional; maxLength: 24576 | - |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
入力検証
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedboolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
例
curl --get "https://api.apihop.ai/v1/naver/ai-mode" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=커피란 무엇인가"レスポンスとエラー
元の JSON と数値精度を保持します。例は空の成功結果です。HTTP 400: 入力、401: 認証、402: 残高、403: アクセス、405: メソッド、429: 制限、5xx: 障害。X-Request-Id を保存してください。
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}