Google Scholar API
The Google Scholar API enables searching academic papers and scholarly content through Google Scholar with support for citation lookups, author searches, year filters, and pagination. Costs 5 API credits per request.
Endpoint:
https://api.scrapingdog.com/google_scholarAPI Parameters
π
Authentication
api_keyRequiredYour personal API key. Available on your dashboard.
Type: StringhtmlOptionalTo render the response as raw HTML. Default:false
Type: Boolean
π
Search Query
queryRequiredThe parameter specifies the search query you want to execute. You can enhance your query by using helpers likeauthor:orsource:. If you use thecitesparameter, thequeryparameter becomes optional. Combiningciteswithquerywill refine the search to citing articles. Theclusterparameter cannot be used simultaneously withqueryandcites.
Type: String
π
Localization
languageOptionalLanguage of the results. Possible Values -en,es,fr,de, etc. For a complete list of supported languages, see the Google Language Page. Default:en
Type: StringlrOptionalLimit the search to one or multiple languages. It is used aslang_{language_code}. For a complete list, see the Google LR Language Page.
Type: String
β
οΈ Advanced Parameters
citesOptionalThecitesparameter 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. When used alone, it returns citing documents. When combined with thequeryparameter, it searches within the citing articles.
Type: Stringas_yloOptionalTheas_yloparameter specifies the starting year for search results. For example, settingas_ylo=2018will exclude results from before 2018. This parameter can be used in combination with theas_yhiparameter.
Type: Stringas_yhiOptionalTheas_yhiparameter specifies the ending year for search results. For example, settingas_yhi=2018will exclude results from after 2018. This parameter can be used in combination with theas_yloparameter.
Type: StringscisbdOptionalThis parameter determines whether to include only abstract results (set to1) or all results (set to0).
Type: StringclusterOptionalThis parameter specifies a unique ID for an article to initiate searches for all available versions.
Type: Stringas_sdtOptionalThis 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.
4β Selects case law (US courts only), covering all State and Federal courts. Example:as_sdt=4selects 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β4is required and must be the first value,33selects all New York courts,192selects Tax Court.
Type: StringsafeOptionalTo filter the adult content setsafetoactiveor to disable it setoff. Default:off
Type: String [active/off]filterOptionalThis parameter determines whether the filters for "Similar Results" and "Omitted Results" are enabled or disabled. It can be set to1(default) to activate these filters or0to turn them off.
Type: Stringas_visOptionalThis parameter specifies whether citations should be included in the results. Set it to1to exclude citations or0(default) to include them.
Type: Stringas_rrOptionalThis 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 to1to enable this filter or0(default) to display all results.
Type: String
π
Pagination
pageOptionalThis is the page number of Google searches. Its value can be0for the first page,1for the second page, and so on. Default:0
Type: StringresultsOptionalNumber of results per page.
Type: Number (Integer)
API Examples
API 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"
}
],
"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 β¦",
"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"
}
]
}
],
"pagination": {
"current": 1,
"page_no": {
"1": "https://www.scholar.google.com/scholar?start=10&q=physics&hl=en&as_sdt=0,33"
}
}
}