Google Scholar API

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 here.

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

Language of the results. Possible Values - en, es, fr, de, etc. Visit Google's languages page for a complete list of supported countries.

Default Value - en

Type - String

lr

Limit the search to one or multiple languages. It is used as lang_{language code}. Visit Google's lr languages page for a complete list of supported countries.

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

API Example

Response

Last updated