Google Scholar Search API ​
API health status
Healthy Available Limited Mostly unavailable No data
Loading health status...
Get Google scholar Search data, including papers, patents, and legal docs, citation and year filters, and versions and cited-by links, for literature review and academic result monitoring.
Tags: Google Scholar
Parameters ​
| Name | Required | Type | Default | Description |
|---|---|---|---|---|
| query | Yes | string | The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. | |
| html | No | boolean | false | Set to true to return the raw HTML of the Google Scholar search page. |
| cites | No | string | Return articles that cite the article with the specified ID. | |
| as_ylo | No | string | Minimum publication year filter (e.g., '2020'). | |
| as_yhi | No | string | Maximum publication year filter (e.g., '2024'). | |
| scisbd | No | string | Controls whether to return only abstract results (1) or all results (0). | |
| cluster | No | string | The unique ID of an article cluster to retrieve all versions of a specific work. | |
| language | No | string | en | Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See Google Language. |
| lr | No | string | Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See Google LR Language. | |
| page | No | integer | 0 | The results page number. Use 0 for the first page, 1 for the second, and so on. |
| results | No | integer | 10 | The number of search results to return per page. |
| as_sdt | No | string | Advanced filter for specific document types or legal jurisdictions. E.g., '7' to include patents. | |
| safe | No | string | off | SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. |
| filter | No | string | Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. | |
| as_vis | No | string | Controls whether citations are included in the results: 1 = exclude, 0 (default) = include. | |
| as_rr | No | string | Controls whether to show only review articles (topic overviews or discussions of the searched works/authors). Set to 1 to enable the filter, or 0 (default) to return all results. |
Copy Request ​
bash
curl -X GET "https://api.justserpapi.com/api/v1/google/scholar/search?query=coffee" \
-H "X-API-Key: YOUR_API_KEY"js
const res = await fetch("https://api.justserpapi.com/api/v1/google/scholar/search?query=coffee", {
headers: { "X-API-Key": "YOUR_API_KEY" }
});
const data = await res.json();
console.log(data);python
import requests
url = "https://api.justserpapi.com/api/v1/google/scholar/search"
headers = { "X-API-Key": "YOUR_API_KEY" }
params = {
"query": "coffee"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())php
<?php
$url = "https://api.justserpapi.com/api/v1/google/scholar/search?query=coffee";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"X-API-Key: YOUR_API_KEY"
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
client := &http.Client{}
req, _ := http.NewRequest("GET", "https://api.justserpapi.com/api/v1/google/scholar/search?query=coffee", nil)
req.Header.Set("X-API-Key", "YOUR_API_KEY")
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}Response ​
Loading the latest response example...
