API Hop ドキュメント
Google Scholar API リファレンス
Google Scholar の学術論文、著者プロフィール、引用、判例を検索します。
同時実行上限
AI と Data はそれぞれアカウント全体の同時実行枠を共有します。既定値は AI 5 / Data 2 で、サブスクリプションにより変わります。エンドポイント別の設定もカテゴリ全体の上限を超えられません。いずれかの上限に達すると HTTP 429 を返します。非同期タスクは実行終了まで枠を使用します。
GET /v1/google-scholar/search GET /v1/google-scholar/author GET /v1/google-scholar/case-law GET /v1/google-scholar/cite Google Scholar の学術論文、著者プロフィール、引用、判例を検索します。
認証と料金
既定料金は成功したリクエストごとに $0.0003(300 credits)です。 API Hop API キーを使用します。利用可否は有効なゲートウェイと権限によります。成功したリクエストの料金はカタログとアカウントを確認してください。個別料金が優先され、成功した空の結果も課金されます。失敗時は予約額を解放します。タイムアウトは 60 秒で、自動再試行と自動ページングはありません。精算失敗による再呼び出しも行いません。
Authorization: Bearer YOUR_API_KEYクエリのみ受け付け、本文は使用しません。不明、重複、空、無効な値は拒否されますが、記載された geo と gprop の空値は使用できます。JSON のみ対応し、自動ページ取得や再試行は行いません。AND = 両方、OR = または、XOR = いずれか一つ、NOT = 不可、=> = 必須。識別子とニューストークンは最新の応答からコピーしてください。例は実際のテスト結果ではありません。成功した照会ごとに課金されます。
Google Scholar: 学術論文を検索
GET https://api.apihop.ai/v1/google-scholar/search
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
query | string | 検索語; query: optional | machine learning |
language | string | 言語; language: optional | - |
page | integer | ページ番号(1 から); page: optional; min: 1; max: 101 | 1 |
device | string | 端末; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
cites | string | 引用対象の記事 ID 一覧 (cites); cites: optional; ^[1-9][0-9]{0,19}(?:,[1-9][0-9]{0,19}){0,19}$ | - |
cluster | string | 記事バージョンのグループ ID (cluster); cluster: optional; ^[1-9][0-9]{0,19}$ | - |
as_ylo | integer | 出版年の境界 (as_ylo); as_ylo: optional; min: 1; max: 9999 | 1 |
as_yhi | integer | 出版年の境界 (as_yhi); as_yhi: optional; min: 1; max: 9999 | 1 |
scisbd | integer | 学術記事フィルター (scisbd); scisbd: optional; min: 0; max: 2 | 0 |
filter | integer | 学術記事フィルター (filter); filter: optional; min: 0; max: 1 | 0 |
as_vis | integer | 学術記事フィルター (as_vis); as_vis: optional; min: 0; max: 1 | 0 |
as_rr | integer | 学術記事フィルター (as_rr); as_rr: optional; min: 0; max: 1 | 0 |
start | integer | 元の結果オフセット (start); start: optional; min: 0; max: 1000 | 0 |
num | integer | ページあたりの件数 (num); 既定値: 10; num: optional; min: 1; max: 20 | 1 |
lr | string | 文献言語フィルター (lr); lr: optional; UTF-8 bytes: 1024 | - |
as_sdt | string | 記事種別または裁判所の条件 (as_sdt); 例: 4,33,192; as_sdt: optional; UTF-8 bytes: 1024; ^[0-9]{1,8}(?:,[0-9]{1,6})*$ | - |
safe | string | 学術記事フィルター (safe); safe: optional; active, off | active |
入力検証
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/NOT (page AND start)as_ylo <= as_yhi; cluster => NOT (query OR cites); identifiers remain strings to preserve numeric precisionscisbd: 0 = relevance, 1 = recent abstracts, 2 = recent articles; filter: 1 = filter similar results; as_vis: 1 = exclude citation-only records; as_rr: 1 = review articles onlyquery OR cites OR cluster: required
例
curl --get "https://api.apihop.ai/v1/google-scholar/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=machine learning"Google Scholar: 著者プロフィールを取得
GET https://api.apihop.ai/v1/google-scholar/author
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
id | string | 検索結果の識別子 (id); id: REQUIRED | qc6CJjYAAAAJ |
language | string | 言語; language: optional | - |
page | integer | ページ番号(1 から); page: optional; min: 1; max: 1000 | 1 |
sort_by | string | 並び順; sort_by: optional; year, citations, pubdate, title | year |
device | string | 端末; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
view_op | string | 著者の表示モード (view_op); view_op: optional; view_citation, list_colleagues | view_citation |
citation_id | string | 著者記事の完全な ID (citation_id); citation_id: optional; ^[A-Za-z0-9_-]{12}:[A-Za-z0-9_-]{1,100}$ | - |
start | integer | 元の結果オフセット (start); start: optional; min: 0; max: 10000 | 0 |
num | integer | ページあたりの件数 (num); num: optional; min: 1; max: 100 | 1 |
入力検証
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/NOT (page AND start)view_op = view_citation <=> citation_id; citation_id prefix before colon must equal idid, citation_id: copy from fresh author search/profile results; list_colleagues selects co-authors
例
curl --get "https://api.apihop.ai/v1/google-scholar/author" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=qc6CJjYAAAAJ"Google Scholar: 判例を検索
GET https://api.apihop.ai/v1/google-scholar/case-law
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
query | string | 検索語; query: optional | Brown v Board of Education |
language | string | 言語; language: optional | - |
page | integer | ページ番号(1 から); page: optional; min: 1; max: 101 | 1 |
device | string | 端末; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
cites | string | 引用対象の記事 ID 一覧 (cites); cites: optional; ^[1-9][0-9]{0,19}(?:,[1-9][0-9]{0,19}){0,19}$ | - |
cluster | string | 記事バージョンのグループ ID (cluster); cluster: optional; ^[1-9][0-9]{0,19}$ | - |
as_ylo | integer | 出版年の境界 (as_ylo); as_ylo: optional; min: 1; max: 9999 | 1 |
as_yhi | integer | 出版年の境界 (as_yhi); as_yhi: optional; min: 1; max: 9999 | 1 |
scisbd | integer | 学術記事フィルター (scisbd); scisbd: optional; min: 0; max: 2 | 0 |
filter | integer | 学術記事フィルター (filter); filter: optional; min: 0; max: 1 | 0 |
as_vis | integer | 学術記事フィルター (as_vis); as_vis: optional; min: 0; max: 1 | 0 |
as_rr | integer | 学術記事フィルター (as_rr); as_rr: optional; min: 0; max: 1 | 0 |
start | integer | 元の結果オフセット (start); start: optional; min: 0; max: 1000 | 0 |
num | integer | ページあたりの件数 (num); 既定値: 10; num: optional; min: 1; max: 20 | 1 |
lr | string | 文献言語フィルター (lr); lr: optional; UTF-8 bytes: 1024 | - |
as_sdt | string | 記事種別または裁判所の条件 (as_sdt); 例: 4,33,192; as_sdt: optional; UTF-8 bytes: 1024; ^[0-9]{1,8}(?:,[0-9]{1,6})*$ | - |
safe | string | 学術記事フィルター (safe); safe: optional; active, off | active |
case_id | string | 判決の ID (case_id); case_id: optional; ^[1-9][0-9]{0,19}$ | - |
入力検証
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/NOT (page AND start)as_ylo <= as_yhi; cluster => NOT (query OR cites); identifiers remain strings to preserve numeric precisionscisbd: 0 = relevance, 1 = recent abstracts, 2 = recent articles; filter: 1 = filter similar results; as_vis: 1 = exclude citation-only records; as_rr: 1 = review articles onlycase_id OR query OR cites OR cluster: requiredcase_id => only case_id, language, device, zero_trace; NOT search filters or paginationas_sdt: 4 OR 4,court_id[,court_id...]
例
curl --get "https://api.apihop.ai/v1/google-scholar/case-law" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=Brown v Board of Education"Google Scholar: 引用を取得
GET https://api.apihop.ai/v1/google-scholar/cite
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
id | string | 検索結果の識別子 (id); id: REQUIRED; ^[A-Za-z0-9_-]{12}$ | p7YVSi5UNiMJ |
language | string | 言語; language: optional | - |
device | string | 端末; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
入力検証
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/id: copy from a fresh Scholar search result; illustrative sample IDs do not prove availability
例
curl --get "https://api.apihop.ai/v1/google-scholar/cite" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=p7YVSi5UNiMJ"レスポンスとエラー
元の JSON と数値精度を保持します。例は空の成功結果です。HTTP 400: 入力、401: 認証、402: 残高、403: アクセス、405: メソッド、429: 制限、5xx: 障害。X-Request-Id を保存してください。
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}