> ## Content Index
> Fetch the complete content index at: https://serpapi.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Scrape Google Scholar Results
- URL: https://serpapi.com/blog/how-to-scrape-google-scholar-results/
- Published: 2023-10-23T09:47:59.000Z
- Updated: 2023-11-02T15:39:31.000Z
- Author: Andy L

For every academic researcher, student, [Google Scholar](https://scholar.google.com/) is a goldmine of scholarly articles, research papers, academic publications, journal articles, theses, and conference proceedings.

![](https://lh6.googleusercontent.com/Toq73_N53-D4J_Pr3yfOTmvJw7YkqVEdcwrMH_KiwwaJEp-B5_WN6ZXIYZfvXCwCEGJpxP9Dd5g-DoeRDGCq1E1KhSLAJ-OrpMGq4eMfK7DFOFJbdYcg1lKHeomMreTiRl3KfGANo98UpcP9ZiJKpSU)

Scraping Google Scholar can provide you with data for your research projects, citation analysis - identify influential works and understand the impact of the research, literature reviews, bibliographic management, keyword and topic analysis, and more.

With SerpApi, you'll have every tool to harness the power of Google Scholar for your academic needs. Let's embark on this scholarly journey!

![](https://lh4.googleusercontent.com/9F9kYKxKs7P6H5Lr7K4Ggop096Ab7lFaUw1SHsWow02Qk66n6TwbqL6gLnNJQg2JdYxENf44feRMmhfBNWkbXNtDLumpfrvAagWvHJTkxOSM5atp_G-ZRjLzsag6A-H5rLaIx8t2ckUnuSe6sNgq6zM)

### Setting up a SerpApi account

[SerpApi](https://serpapi.com/) offers a free plan for newly created accounts. Head to the [sign-up](https://serpapi.com/users/sign%5Fup?plan=free) page to register an account and complete your first search with our [interactive playground](https://serpapi.com/playground?engine=google%5Fscholar). When you want to do more searches with us, please visit the [pricing page](https://serpapi.com/pricing).

Once you are familiar with all results, you can utilize SERP APIs using your [API Key](https://serpapi.com/manage-api-key).

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2023/10/Screenshot-2023-10-23-at-16.32.49.png)

### Scrape your first Google Scholar results with SerpApi

Head to the Google Scholar Results from the [documentation](https://serpapi.com/google-scholar-api) on [SerpApi](https://serpapi.com/) for details.

In this tutorial, we will scrape organic results when searching with "bacteria" keyword. The data contains: "position", "title", "link", "description", "author", and more. You can also scrape more information with [SerpApi](https://serpapi.com/).

First, you need to install the [SerpApi client library](https://github.com/serpapi/google-search-results-python?ref=serpapi.com).

```python
pip install google-search-results
```

Set up the[ SerpApi](https://serpapi.com/?ref=serpapi.com)[ credentials](https://serpapi.com/manage-api-key?ref=serpapi.com) and search.

```python
from serpapi import GoogleSearch
import os, json

params = {
    'api_key': 'YOUR_API_KEY',         # your serpapi api
    'engine': 'google_scholar',           # SerpApi search engine	
    'q': 'bacteria'
}

```

To retrieve Google Scholar Results for a given search query, you can use the following code:

```python
results = GoogleSearch(params).get_dict()['organic_results']
```

You can store Scholar Results JSON data in databases or export them to a CSV file.

```python
import csv

header = ['position', 'title', 'link', 'description', 'author']

with open('google_scholar.csv', 'w', encoding='UTF8', newline='') as f:
    writer = csv.writer(f)

    writer.writerow(header)

    for item in results:
        print(item)
        writer.writerow([item.get('position'), item.get('title'), item.get('link'), item.get('description'), item.get('publication_info', {}).get('summary')])

```

This example is using Python, but you can also use your all your favorite programming languages likes Ruby, NodeJS, Java, PHP....

If you have any questions, please feel free to [contact me](mailto:andy@serpapi.com).