API Hop Docs
Google Scholar endpoint reference
Search Google Scholar articles, author profiles, citations and case law.
Concurrency limit
AI and Data each share an account-wide pool of concurrent slots: 5 AI / 2 Data by default, adjusted by your subscription. Endpoint overrides still cannot exceed the category pool. Reaching either limit returns HTTP 429. Asynchronous tasks occupy a slot until execution ends.
GET /v1/google-scholar/search GET /v1/google-scholar/author GET /v1/google-scholar/case-law GET /v1/google-scholar/cite Search Google Scholar articles, author profiles, citations and case law.
Authentication and billing
The default price is $0.0003 (300 credits) per successful request. Use your API Hop API key. Availability depends on active gateways and key permissions. Check the current catalog and your account for the price per successful request; account-specific pricing takes precedence. Successful empty results are billable. Failed requests release the credit reservation. Requests time out after 60 seconds, with no automatic retry or pagination. Settlement failures never repeat the upstream request.
Authorization: Bearer YOUR_API_KEYSend query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected, except the documented empty geo and gprop values. JSON only; no automatic pagination or retry. AND = both, OR = either, XOR = exactly one, NOT = excluded, => = requires. Copy identifiers and news tokens from fresh responses; illustrative examples are not live acceptance results. Each successful lookup is billed separately.
Google Scholar: Search articles
GET https://api.apihop.ai/v1/google-scholar/search
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
query | string | Text to search for on the selected service. At most 8,192 UTF-8 bytes.; query: optional | machine learning |
language | string | Provider-supported language code, such as en.; language: optional | - |
page | integer | One-based page number.; page: optional; min: 1; max: 101 | 1 |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
cites | string | Comma-separated native article IDs; query optionally searches within citing articles.; cites: optional; ^[1-9][0-9]{0,19}(?:,[1-9][0-9]{0,19}){0,19}$ | - |
cluster | string | Native article cluster ID. Cannot be combined with query or cites.; cluster: optional; ^[1-9][0-9]{0,19}$ | - |
as_ylo | integer | Inclusive publication year bound.; as_ylo: optional; min: 1; max: 9999 | 1 |
as_yhi | integer | Inclusive publication year bound.; as_yhi: optional; min: 1; max: 9999 | 1 |
scisbd | integer | Date sorting: 0 relevance, 1 recent abstracts, 2 recent articles.; scisbd: optional; min: 0; max: 2 | 0 |
filter | integer | Enable similar and omitted results filtering.; filter: optional; min: 0; max: 1 | 0 |
as_vis | integer | Exclude citation-only records when 1.; as_vis: optional; min: 0; max: 1 | 0 |
as_rr | integer | Only review articles when 1.; as_rr: optional; min: 0; max: 1 | 0 |
start | integer | Native result offset. Cannot be combined with page.; start: optional; min: 0; max: 1000 | 0 |
num | integer | Native page size, default 10.; num: optional; min: 1; max: 20 | 1 |
lr | string | Language restrictions, such as lang_fr|lang_de.; lr: optional; UTF-8 bytes: 1024 | - |
as_sdt | string | Article/patent filter or comma-separated native court selection, such as 4,33,192.; as_sdt: optional; UTF-8 bytes: 1024; ^[0-9]{1,8}(?:,[0-9]{1,6})*$ | - |
safe | string | Provider safe-search filtering.; safe: optional; active, off | active |
Validation rules
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
Examples
curl --get "https://api.apihop.ai/v1/google-scholar/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=machine learning"Google Scholar: Get author profile
GET https://api.apihop.ai/v1/google-scholar/author
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
id | string | The provider's identifier, as returned by its search results.; id: REQUIRED | qc6CJjYAAAAJ |
language | string | Provider-supported language code, such as en.; language: optional | - |
page | integer | One-based page number.; page: optional; min: 1; max: 1000 | 1 |
sort_by | string | The provider's supported sort order.; sort_by: optional; year, citations, pubdate, title | year |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
view_op | string | Select a publication or the complete co-author list.; view_op: optional; view_citation, list_colleagues | view_citation |
citation_id | string | Full author:publication ID from an author article.; citation_id: optional; ^[A-Za-z0-9_-]{12}:[A-Za-z0-9_-]{1,100}$ | - |
start | integer | Native article offset. Cannot be combined with page.; start: optional; min: 0; max: 10000 | 0 |
num | integer | Article page size, default 20; 1 through 100.; num: optional; min: 1; max: 100 | 1 |
Validation rules
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
Examples
curl --get "https://api.apihop.ai/v1/google-scholar/author" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=qc6CJjYAAAAJ"Google Scholar: Search case law
GET https://api.apihop.ai/v1/google-scholar/case-law
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
query | string | Text to search for on the selected service. At most 8,192 UTF-8 bytes.; query: optional | Brown v Board of Education |
language | string | Provider-supported language code, such as en.; language: optional | - |
page | integer | One-based page number.; page: optional; min: 1; max: 101 | 1 |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
cites | string | Comma-separated native article IDs; query optionally searches within citing articles.; cites: optional; ^[1-9][0-9]{0,19}(?:,[1-9][0-9]{0,19}){0,19}$ | - |
cluster | string | Native article cluster ID. Cannot be combined with query or cites.; cluster: optional; ^[1-9][0-9]{0,19}$ | - |
as_ylo | integer | Inclusive publication year bound.; as_ylo: optional; min: 1; max: 9999 | 1 |
as_yhi | integer | Inclusive publication year bound.; as_yhi: optional; min: 1; max: 9999 | 1 |
scisbd | integer | Date sorting: 0 relevance, 1 recent abstracts, 2 recent articles.; scisbd: optional; min: 0; max: 2 | 0 |
filter | integer | Enable similar and omitted results filtering.; filter: optional; min: 0; max: 1 | 0 |
as_vis | integer | Exclude citation-only records when 1.; as_vis: optional; min: 0; max: 1 | 0 |
as_rr | integer | Only review articles when 1.; as_rr: optional; min: 0; max: 1 | 0 |
start | integer | Native result offset. Cannot be combined with page.; start: optional; min: 0; max: 1000 | 0 |
num | integer | Native page size, default 10.; num: optional; min: 1; max: 20 | 1 |
lr | string | Language restrictions, such as lang_fr|lang_de.; lr: optional; UTF-8 bytes: 1024 | - |
as_sdt | string | Select all courts with 4, or specific courts with a comma-separated selection beginning with 4, such as 4,33,192. Defaults to all courts.; as_sdt: optional; UTF-8 bytes: 1024; ^[0-9]{1,8}(?:,[0-9]{1,6})*$ | - |
safe | string | Provider safe-search filtering.; safe: optional; active, off | active |
case_id | string | Native case ID from a Scholar case search; retrieves the full opinion.; case_id: optional; ^[1-9][0-9]{0,19}$ | - |
Validation rules
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...]
Examples
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 citations
GET https://api.apihop.ai/v1/google-scholar/cite
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
id | string | Native Scholar search result ID.; id: REQUIRED; ^[A-Za-z0-9_-]{12}$ | p7YVSi5UNiMJ |
language | string | Provider-supported language code, such as en.; language: optional | - |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
Validation rules
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
Examples
curl --get "https://api.apihop.ai/v1/google-scholar/cite" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=p7YVSi5UNiMJ"Responses and errors
The native JSON response and numeric precision are preserved. The example below illustrates an empty successful result, not a live call. HTTP 400 means invalid input; 401 authentication required; 402 insufficient credit; 403 unavailable or unauthorized; 405 unsupported method; 429 rate limit; 5xx service or upstream failure. Keep X-Request-Id for diagnosis.
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}