Using Google Scholar API you can scrape Google Scholar result without worrying about proxy rotation and data parsing. Our API is fast and reliable. Each successful request will cost you 5 API credits.
You have to send a GET request to http://api.scrapingdog.com/google_scholar with the below-given parameters.
Google Scholar API pricing is available .
Parameters
Scrapingdog Parameters
Parameter
Description
api_key
required
Your personal API key. Available on your dashboard
Type: String
html
To render the response as raw HTML.
Default: false
Type: Boolean
Search Query
Parameter
Description
query
required
The parameter specifies the search query you want to execute. You can enhance your query by using helpers like author: or source:.
If you use the cites parameter, the q parameter becomes optional.
Combining cites with q will refine the search to citing articles.
The cluster parameter cannot be used simultaneously with q and cites. If using cluster, it must be the only search parameter.
Type: String
Advanced Google Scholar Parameters
Parameter
Description
cites
The cites parameter specifies a unique article ID to initiate a Cited By search. Using this parameter retrieves a list of documents that cite the given article in Google Scholar.
Example: cites=1275980731835430123
When used alone, it returns citing documents.
When combined with the q parameter, it searches within the citing articles.
Type: String
as_ylo
The as_ylo parameter specifies the starting year for search results. For example, setting as_ylo=2018 will exclude results from before 2018. This parameter can be used in combination with the as_yhi parameter.
Type: String
as_yhi
The as_yhi parameter specifies the ending year for search results. For example, setting as_yhi=2018 will exclude results from after 2018. This parameter can be used in combination with the as_ylo parameter.
Type: String
scisbd
This parameter determines whether to include only abstract results (set to 1) or all results (set to 0).
Type: String
cluster
This parameter specifies a unique ID for an article to initiate searches for all available versions.
Type: String
Localization
Parameter
Description
language
Default Value - en
Type - String
lr
Type - String
Pagination
Parameter
page
This is the page number of Google searches. Its value can be 0 for the first page, 1 for the second page, and so on.
Default Value - 0
Type - String
results
Number of results per page.
Type: Number(Integer)
Search Type
Parameter
Description
as_sdt
This parameter can function as either a search type or a filter.
As a Filter(Applicable only when searching for articles)
0 – Excludes patents (default).
7 – Includes patents.
As a search type:
4 – Selects case law (US courts only), covering all State and Federal courts.
Example: as_sdt=4 selects case law from all courts.
To filter specific courts, use additional values from the list of supported Google Scholar courts.
Example: as_sdt=4,33,192
4 is required and must be the first value.
33 selects all New York courts.
192 selects Tax Court.
Values should be separated by commas (,).
Type - String
Advanced Filters
Parameter
Description
safe
To filter the adult content set safe to active or to disable it set off.
Default: off
Type: String[active/off]
filter
This parameter determines whether the filters for 'Similar Results' and 'Omitted Results' are enabled or disabled. It can be set to 1 (default) to activate these filters or 0 to turn them off.
Type - String
as_vis
This parameter specifies whether citations should be included in the results. Set it to 1 to exclude citations or 0 (default) to include them.
Type - String
as_rr
This parameter determines whether only review articles should be displayed. Review articles include topic overviews or discussions of the works and authors searched for. Set it to 1 to enable this filter or 0 (default) to display all results.
Type - String
<?php
// Set the API key and request parameters
$api_key = '5eaa61a6e562fc52fe763tr516e4653';
$query = 'physics';
$results = 10;
$country = 'us';
// Set the API endpoint
$url = 'https://api.scrapingdog.com/google_scholar/?api_key=' . $api_key . '&query=' . $query . '&results=' . $results . '&country=' . $country;
// Initialize cURL session
$ch = curl_init($url);
// Set cURL options
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// Execute the cURL request
$response = curl_exec($ch);
// Check if the request was successful
if ($response === false) {
echo 'cURL error: ' . curl_error($ch);
} else {
// Process the response data as needed
echo $response;
}
// Close the cURL session
curl_close($ch);
require 'net/http'
require 'uri'
# Set the API key and request parameters
api_key = '5eaa61a6e562fc52fe763tr516e4653'
query = 'physics'
results = 10
country = 'us'
# Construct the API endpoint URL
url = URI.parse("https://api.scrapingdog.com/google_scholar/?api_key=#{api_key}&query=#{query}&results=#{results}&country=#{country}")
# Create an HTTP GET request
request = Net::HTTP::Get.new(url)
# Create an HTTP client
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true # Enable SSL (https)
# Send the request and get the response
response = http.request(request)
# Check if the request was successful
if response.is_a?(Net::HTTPSuccess)
puts response.body # Process the response data as needed
else
puts "HTTP request failed with code: #{response.code}, message: #{response.message}"
end
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
try {
// Set the API key and request parameters
String apiKey = "5eaa61a6e562fc52fe763tr516e4653";
String query = "physics";
int results = 10;
String country = "us";
// Construct the API endpoint URL
String apiUrl = "https://api.scrapingdog.com/google_scholar/?api_key=" + apiKey
+ "&query=" + query
+ "&results=" + results
+ "&country=" + country
// Create a URL object from the API URL string
URL url = new URL(apiUrl);
// Open a connection to the URL
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
// Set the request method to GET
connection.setRequestMethod("GET");
// Get the response code
int responseCode = connection.getResponseCode();
if (responseCode == 200) {
// Read the response from the connection
BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String inputLine;
StringBuilder response = new StringBuilder();
while ((inputLine = reader.readLine()) != null) {
response.append(inputLine);
}
reader.close();
// Process the response data as needed
System.out.println(response.toString());
} else {
System.out.println("HTTP request failed with response code: " + responseCode);
}
// Close the connection
connection.disconnect();
} catch (IOException e) {
e.printStackTrace();
}
}
}
Response
{
"related_searches": [
{
"title": "applied physics",
"link": "https://www.google.com/scholar?hl=en&as_sdt=0,33&qsp=1&q=applied+physics&qst=ib"
},
{
"title": "chemistry physics",
"link": "https://www.google.com/scholar?hl=en&as_sdt=0,33&qsp=2&q=chemistry+physics&qst=ib"
},
{
"title": "high energy physics",
"link": "https://www.google.com/scholar?hl=en&as_sdt=0,33&qsp=3&q=high+energy+physics&qst=ib"
},
{
"title": "solid state physics",
"link": "https://www.google.com/scholar?hl=en&as_sdt=0,33&qsp=4&q=solid+state+physics&qst=ib"
},
{
"title": "condensed matter physics",
"link": "https://www.google.com/scholar?hl=en&as_sdt=0,33&qsp=5&q=condensed+matter+physics&qst=ib"
},
{
"title": "physics crc",
"link": "https://www.google.com/scholar?hl=en&as_sdt=0,33&qsp=6&q=physics+crc&qst=ib"
},
{
"title": "001 exact sciences physics",
"link": "https://www.google.com/scholar?hl=en&as_sdt=0,33&qsp=7&q=001+exact+sciences+physics&qst=ib"
},
{
"title": "physics sciences and technology",
"link": "https://www.google.com/scholar?hl=en&as_sdt=0,33&qsp=8&q=physics+sciences+and+technology&qst=ib"
}
],
"scholar_results": [
{
"title": "Supercollider physics",
"title_link": "https://journals.aps.org/rmp/abstract/10.1103/RevModPhys.56.579",
"id": "7QAkDEkBjpYJ",
"displayed_link": "E Eichten, I Hinchliffe, K Lane, C Quigg - Reviews of Modern Physics, 1984 - APS",
"snippet": "… physics capabilities of such a device and the demands placed upon accelerator parameters by the physics … However, according to ourpresent knowledge of elementary particle physics, …",
"inline_links": {
"versions": {
"total": "All 12 versions",
"link": "https://scholar.google.com/scholar?cluster=10848609965630030061&hl=en&as_sdt=0,33",
"cluster_id": "10848609965630030061"
},
"cited_by": {
"total": "Cited by 3031",
"link": "https://scholar.google.com/scholar?cites=10848609965630030061&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "10848609965630030061"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:7QAkDEkBjpYJ:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
},
"resources": [
{
"title": "lbl.gov",
"type": "PDF",
"link": "http://physics.lbl.gov/shapiro/Physics226/RevModPhys.56.579.pdf"
}
]
},
{
"title": "Physics of electrophotography",
"title_link": "https://journals.aps.org/rmp/abstract/10.1103/RevModPhys.65.163",
"id": "xJRwbxTN-QMJ",
"displayed_link": "DM Pai, BE Springett - Reviews of Modern Physics, 1993 - APS",
"snippet": "… This article reviews the physics of the latent-image formation … on some of the specific physics of the imageforming process. … ; and, lastly, that much of the physics takes place on a scale of …",
"inline_links": {
"versions": {
"total": "All 5 versions",
"link": "https://scholar.google.com/scholar?cluster=286485538967426244&hl=en&as_sdt=0,33",
"cluster_id": "286485538967426244"
},
"cited_by": {
"total": "Cited by 421",
"link": "https://scholar.google.com/scholar?cites=286485538967426244&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "286485538967426244"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:xJRwbxTN-QMJ:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
}
},
{
"title": "Erratum: supercollider physics",
"title_link": "https://journals.aps.org/rmp/abstract/10.1103/RevModPhys.58.1065",
"id": "kTyxdpkp9EIJ",
"displayed_link": "E Eichten, I Hinchliffe, K Lane, C Quigg - Reviews of Modern Physics, 1986 - APS",
"snippet": "A programming error led to too slow a growth in the population of heavy flavors. At the largest values of Q, our structure functions underestimate the heavy quark content of the proton by …",
"inline_links": {
"versions": {
"total": "All 2 versions",
"link": "https://scholar.google.com/scholar?cluster=4824526839918705809&hl=en&as_sdt=0,33",
"cluster_id": "4824526839918705809"
},
"cited_by": {
"total": "Cited by 447",
"link": "https://scholar.google.com/scholar?cites=4824526839918705809&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "4824526839918705809"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:kTyxdpkp9EIJ:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
}
},
{
"title": "Introduction to mesoscopic physics",
"title_link": "https://books.google.com/books?hl=en&lr=&id=ZyjW37iGhaQC&oi=fnd&pg=PA1&dq=physics&ots=WzbKIthYbH&sig=v0kI8h86vX_XmWdi9ZjM9S9trVE",
"id": "fcMdaKxCoDQJ",
"type": "[BOOK]",
"displayed_link": "Y Imry - 2002 - books.google.com",
"snippet": "… physics and engineering, since engineering such tiny electronic components requires a firm grasp of quantum physics… text in a course on mesoscopic physics or as a supplementary text …",
"inline_links": {
"versions": {
"total": "All 2 versions",
"link": "https://scholar.google.com/scholar?cluster=3792104194494546813&hl=en&as_sdt=0,33",
"cluster_id": "3792104194494546813"
},
"cited_by": {
"total": "Cited by 2297",
"link": "https://scholar.google.com/scholar?cites=3792104194494546813&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "3792104194494546813"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:fcMdaKxCoDQJ:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
}
},
{
"title": "Physics of chemoreception",
"title_link": "https://www.sciencedirect.com/science/article/pii/S0006349577855446",
"id": "tZ8Lc5aycNsJ",
"displayed_link": "HC Berg, EM Purcell - Biophysical journal, 1977 - Elsevier",
"snippet": "Statistical fluctuations limit the precision with which a microorganism can, in a given time T, determine the concentration of a chemoattractant in the surrounding medium. The best a cell …",
"inline_links": {
"versions": {
"total": "All 15 versions",
"link": "https://scholar.google.com/scholar?cluster=15812334650942791605&hl=en&as_sdt=0,33",
"cluster_id": "15812334650942791605"
},
"cited_by": {
"total": "Cited by 2195",
"link": "https://scholar.google.com/scholar?cites=15812334650942791605&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "15812334650942791605"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:tZ8Lc5aycNsJ:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
},
"resources": [
{
"title": "sciencedirect.com",
"type": "PDF",
"link": "https://www.sciencedirect.com/science/article/pii/S0006349577855446/pdf?md5=32f156baf68e53de7bb27533d6dc057b&pid=1-s2.0-S0006349577855446-main.pdf"
}
]
},
{
"title": "Physics of nonhermitian degeneracies",
"title_link": "https://link.springer.com/article/10.1023/B:CJOP.0000044002.05657.04",
"id": "LE2gQOMngdsJ",
"displayed_link": "MV Berry - Czechoslovak journal of physics, 2004 - Springer",
"snippet": "… Nonhermitian hamiltonians usually enter physics as a … as a perturbation, with the physics essentially unchanged from the … nonhermitian physics differs radically from hermitian physics …",
"inline_links": {
"versions": {
"total": "All 10 versions",
"link": "https://scholar.google.com/scholar?cluster=15816967223297199404&hl=en&as_sdt=0,33",
"cluster_id": "15816967223297199404"
},
"cited_by": {
"total": "Cited by 708",
"link": "https://scholar.google.com/scholar?cites=15816967223297199404&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "15816967223297199404"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:LE2gQOMngdsJ:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
},
"resources": [
{
"title": "psu.edu",
"type": "PDF",
"link": "https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=14e795731aa62819e72b3b1ea76ccbe7f90c0921"
}
]
},
{
"title": "Physics and beyond",
"title_link": "https://search.proquest.com/openview/04884c843db26542e296a112b677e675/1?pq-origsite=gscholar&cbl=1819449",
"id": "dsIu-e56lX4J",
"type": "[BOOK]",
"displayed_link": "W Heisenberg - 1971 - search.proquest.com",
"snippet": "What was it like to be an atomic scientist in the years from 1920 to 1965? In this fascinating intellectual autobiography, Werner Heisenberg recalls the development of atomic physics, as …",
"inline_links": {
"versions": {
"total": "All 7 versions",
"link": "https://scholar.google.com/scholar?cluster=9121331787110204022&hl=en&as_sdt=0,33",
"cluster_id": "9121331787110204022"
},
"cited_by": {
"total": "Cited by 1683",
"link": "https://scholar.google.com/scholar?cites=9121331787110204022&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "9121331787110204022"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:dsIu-e56lX4J:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
}
},
{
"title": "Physics at BES-III",
"title_link": "https://arxiv.org/abs/0809.1869",
"id": "VmuDxig7br8J",
"displayed_link": "DM Asner, T Barnes, JM Bian, II Bigi… - arXiv preprint arXiv …, 2008 - arxiv.org",
"snippet": "… Studies of τ-charm physics could reveal or indicate the possible presence of new physics in the low energy region. This physics book provides detailed discussions on important topics …",
"inline_links": {
"versions": {
"total": "All 10 versions",
"link": "https://scholar.google.com/scholar?cluster=13794027754997640022&hl=en&as_sdt=0,33",
"cluster_id": "13794027754997640022"
},
"cited_by": {
"total": "Cited by 439",
"link": "https://scholar.google.com/scholar?cites=13794027754997640022&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "13794027754997640022"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:VmuDxig7br8J:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
},
"resources": [
{
"title": "arxiv.org",
"type": "PDF",
"link": "https://arxiv.org/pdf/0809.1869"
}
]
},
{
"title": "Electrophotography and development physics",
"title_link": "https://books.google.com/books?hl=en&lr=&id=l33qCAAAQBAJ&oi=fnd&pg=PA1&dq=physics&ots=eGbLGNwjnh&sig=Z03tJW7qsgrhjl33L-lpVs4Qw4c",
"id": "KgzBYhMfpbUJ",
"type": "[BOOK]",
"displayed_link": "LB Schein - 2013 - books.google.com",
"snippet": "… While our knowledge of the physics of solid area and … The primary purpose of this book is to discuss critically the physics of … 1), followed by a discussion of the physics within each of the …",
"inline_links": {
"versions": {
"total": "All 4 versions",
"link": "https://scholar.google.com/scholar?cluster=13088902060143873066&hl=en&as_sdt=0,33",
"cluster_id": "13088902060143873066"
},
"cited_by": {
"total": "Cited by 722",
"link": "https://scholar.google.com/scholar?cites=13088902060143873066&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "13088902060143873066"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:KgzBYhMfpbUJ:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
}
},
{
"title": "Fundamentals of physics",
"title_link": "https://books.google.com/books?hl=en&lr=&id=HybkAwAAQBAJ&oi=fnd&pg=PA1&dq=physics&ots=TtkaAhLK6E&sig=K_RmAz0g7Iqq61EjZAQ-vzo63D0",
"id": "H6wI0v5DPrgJ",
"type": "[BOOK]",
"displayed_link": "D Halliday, R Resnick, J Walker - 2013 - books.google.com",
"snippet": "The 10th edition of Halliday, Resnick and Walkers Fundamentals of Physics provides the perfect solution for teaching a 2 or 3 semester calculus-based physics course, providing …",
"inline_links": {
"versions": {
"total": "All 16 versions",
"link": "https://scholar.google.com/scholar?cluster=13276123513259338783&hl=en&as_sdt=0,33",
"cluster_id": "13276123513259338783"
},
"cited_by": {
"total": "Cited by 4993",
"link": "https://scholar.google.com/scholar?cites=13276123513259338783&as_sdt=5,33&sciodt=0,33&hl=en",
"cites_id": "13276123513259338783"
},
"related_pages_link": "https://scholar.google.com/scholar?q=related:H6wI0v5DPrgJ:scholar.google.com/&scioq=physics&hl=en&as_sdt=0,33"
},
"resources": [
{
"title": "philadelphia.edu.jo",
"type": "PDF",
"link": "https://www.philadelphia.edu.jo/science/math/syllabi/211109.pdf"
}
]
}
],
"pagination": {
"current": 1,
"page_no": {
"1": "https://www.scholar.google.com/scholar?start=10&q=physics&hl=en&as_sdt=0,33",
"2": "https://www.scholar.google.com/scholar?start=20&q=physics&hl=en&as_sdt=0,33",
"3": "https://www.scholar.google.com/scholar?start=30&q=physics&hl=en&as_sdt=0,33",
"4": "https://www.scholar.google.com/scholar?start=40&q=physics&hl=en&as_sdt=0,33",
"5": "https://www.scholar.google.com/scholar?start=50&q=physics&hl=en&as_sdt=0,33",
"6": "https://www.scholar.google.com/scholar?start=60&q=physics&hl=en&as_sdt=0,33",
"7": "https://www.scholar.google.com/scholar?start=70&q=physics&hl=en&as_sdt=0,33",
"8": "https://www.scholar.google.com/scholar?start=80&q=physics&hl=en&as_sdt=0,33",
"9": "https://www.scholar.google.com/scholar?start=90&q=physics&hl=en&as_sdt=0,33"
}
},
"serpdog_pagination": {
"current": 1,
"page_no": {
"1": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=0",
"2": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=10",
"3": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=20",
"4": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=30",
"5": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=40",
"6": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=50",
"7": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=60",
"8": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=70",
"9": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=80",
"10": "https://api.serpdog.io/scholar?api_key=APIKEY&q=physics&page=90"
}
}
}
Language of the results. Possible Values - en, es, fr, de, etc. Visit for a complete list of supported countries.
Limit the search to one or multiple languages. It is used as lang_{language code}. Visit for a complete list of supported countries.