Scrapingdog

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_scholar

API Parameters

πŸ”‘

Authentication

  • api_key Required
    Your personal API key. Available on your dashboard.

    Type: String
  • html Optional
    To render the response as raw HTML. Default: false

    Type: Boolean
πŸ”

Search Query

  • 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 query parameter becomes optional. Combining cites with query will refine the search to citing articles. The cluster parameter cannot be used simultaneously with query and cites.

    Type: String
🌍

Localization

  • language Optional
    Language 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: String
  • lr Optional
    Limit the search to one or multiple languages. It is used as lang_{language_code}. For a complete list, see the Google LR Language Page.

    Type: String
βš™

️ Advanced Parameters

  • cites Optional
    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. When used alone, it returns citing documents. When combined with the query parameter, it searches within the citing articles.

    Type: String
  • as_ylo Optional
    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 Optional
    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 Optional
    This parameter determines whether to include only abstract results (set to 1) or all results (set to 0).

    Type: String
  • cluster Optional
    This parameter specifies a unique ID for an article to initiate searches for all available versions.

    Type: String
  • as_sdt Optional
    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
  • safe Optional
    To filter the adult content set safe to active or to disable it set off. Default: off

    Type: String [active/off]
  • filter Optional
    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 Optional
    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 Optional
    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
πŸ“„

Pagination

  • page Optional
    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: 0

    Type: String
  • results Optional
    Number 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"
    }
  }
}