Google Scholar API Python Client
Extract Google Scholar data with our Google Scholar API Python client. Get programmatic access to authors, publication years, document types, publication titles, citations, and more using simple Python code. Start free, no credit card required.

Trusted by industry leaders all over the world
Integrate our Google Scholar API
The Apify API client for Python is the official library that allows you to use Google Scholar API in Python, providing convenience functions and automatic retries on errors. Get started with simple pip installation and robust error handling built-in.
Python
JavaScript
HTTP
MCP
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = {9 "keyword": "JavaScript",10 "proxyOptions": { "useApifyProxy": True },11}12
13# Run the Actor and wait for it to finish14run = client.actor("marco.gullo/google-scholar-scraper").call(run_input=run_input)15
16# Fetch and print Actor results from the run's dataset (if there are any)17print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])18for item in client.dataset(run["defaultDatasetId"]).iterate_items():19 print(item)20
21# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Get data with Google Scholar API Python client
Use our Python API client to extract Google Scholar data by providing search queries and optional parameters like time range and document type. The API returns structured data, including article titles, authors, citations, publication years, document links, and attribution details in JSON format.
Input
{ "filter": "all", "sortBy": "date", "keyword": "COVID-19", "maxItems": 100, "newerThan": 2020, "articleType": "any", "proxyOptions": { "useApifyProxy": true }, "enableDebugDumps": false}
Output
[ { "link": "https://www.jpmi.org.pk/index.php/jpmi/article/view/3251", "type": "ARTICLE", "year": 2024, "title": "OF THREE-TIME POINT ESTIMATION OF INFLAMMATORY MARKERS WITH THE SEVERITY AND OUTCOME IN PATIENTS OF COVID-19 IN A TERTIARY CARE", "source": "jpmi.org.pk", "aidCode": "rvTRXmkWdSIJ", "authors": "M Hussain, S Orakzai, MM Dawood, A Ijaz", "cidCode": "rvTRXmkWdSIJ", "didCode": "rvTRXmkWdSIJ", "lidCode": "", "versions": 2, "citations": 0, "publication": "Journal of Postgraduate", "resultIndex": 3, "searchMatch": "2 days ago - COVID-19 Quality & Clinical Research Collaborative. C-reactive protein as a prognostic indicator in hospitalized patients with COVID-19. fatalities caused by COVID-19: a", "documentLink": "N/A", "documentType": "N/A", "versionsLink": "https://scholar.google.com/scholar?cluster=2482915411382891694&hl=en&scisbd=1&as_sdt=0,33", "citationsLink": "N/A", "fullAttribution": "M Hussain, S Orakzai, MM Dawood, A Ijaz - Journal of Postgraduate, 2024 - jpmi.org.pk", "relatedArticlesLink": "https://scholar.google.com/scholar?q=related:rvTRXmkWdSIJ:scholar.google.com/&scioq=COVID-19&hl=en&scisbd=1&as_sdt=0,33" }, { "link": "https://hspublishing.org/GRES/article/view/363", "type": "ARTICLE", "year": 2024, "title": "Environmental Impact of Covid-19 Pandemic in Owerri Metropolis, Imo State of Nigeria", "source": "hspublishing.org", "aidCode": "UZ71Uw_IxggJ", "authors": "CV Amadi, RF Njoku-Tony", "cidCode": "UZ71Uw_IxggJ", "didCode": "UZ71Uw_IxggJ", "lidCode": "", "versions": 0, "citations": 0, "publication": "Global Research in Environment and", "resultIndex": 4, "searchMatch": "2 days ago - environmental impact of COVID-19 in Owerri metropolis environmental impacts of COVID-19 pandemic in Owerri environmental impact of COVID-19 pandemic in Owerri", "documentLink": "N/A", "documentType": "N/A", "versionsLink": "N/A", "citationsLink": "N/A", "fullAttribution": "CV Amadi, RF Njoku-Tony - Global Research in Environment and, 2024 - hspublishing.org", "relatedArticlesLink": "https://scholar.google.com/scholar?q=related:UZ71Uw_IxggJ:scholar.google.com/&scioq=COVID-19&hl=en&scisbd=1&as_sdt=0,33" }, { "link": "https://www.nature.com/articles/s41598-024-53233-7", "type": "HTML", "year": 2024, "title": "Identification of factors affecting student academic burnout in online education during the COVID-19 pandemic using grey Delphi and grey-DEMATEL", "source": "nature.com", "aidCode": "M3C8n-b4NGsJ", "authors": "A Aria, P Jafari, M Behifar", "cidCode": "M3C8n-b4NGsJ", "didCode": "M3C8n-b4NGsJ", "lidCode": "", "versions": 0, "citations": 0, "publication": "Scientific Reports", "resultIndex": 5, "searchMatch": "2 days ago - Although after the end of Covid-19, most educational institutions have returned to the online education in the post-Covid-19 era by gaining valuable experience during the", "documentLink": "https://www.nature.com/articles/s41598-024-53233-7", "documentType": "HTML", "versionsLink": "N/A", "citationsLink": "N/A", "fullAttribution": "A Aria, P Jafari, M Behifar - Scientific Reports, 2024 - nature.com", "relatedArticlesLink": "https://scholar.google.com/scholar?q=related:M3C8n-b4NGsJ:scholar.google.com/&scioq=COVID-19&hl=en&scisbd=1&as_sdt=0,33" }, { "link": "https://journals.ku.edu/jis/article/view/19739", "type": "ARTICLE", "year": 2024, "title": "Reframing the Service Environment in Collegiate Sport: A Transformative Sport Service Research Approach", "source": "journals.ku.edu", "aidCode": "X68f7LOXWUoJ", "authors": "Y Yang, E Gray, K Kinoshita", "cidCode": "X68f7LOXWUoJ", "didCode": "X68f7LOXWUoJ", "lidCode": "", "versions": 0, "citations": 0, "publication": "Journal of Intercollegiate", "resultIndex": 6, "searchMatch": "2 days ago - This study applies a transformative sport service research approach to examine student-athletes' wellness within a collegiate sport setting. Sixteen semi-structured", "documentLink": "N/A", "documentType": "N/A", "versionsLink": "N/A", "citationsLink": "N/A", "fullAttribution": "Y Yang, E Gray, K Kinoshita - Journal of Intercollegiate, 2024 - journals.ku.edu", "relatedArticlesLink": "https://scholar.google.com/scholar?q=related:X68f7LOXWUoJ:scholar.google.com/&scioq=COVID-19&hl=en&scisbd=1&as_sdt=0,33" }, { "link": "https://jurnal-assalam.org/index.php/JAS/article/view/703", "type": "ARTICLE", "year": 2024, "title": "THE LEADERSHIP OF THE MADRASA PRINCIPAL IN ENHANCING LEARNING QUALITY AMIDST COVID-19 PANDEMIC IN CENTRAL ACEH REGENCY", "source": "jurnal-assalam.org", "aidCode": "1fxjSu8kPT4J", "authors": "B Mizal, T Tathahira, RI Basith", "cidCode": "1fxjSu8kPT4J", "didCode": "1fxjSu8kPT4J", "lidCode": "", "versions": 2, "citations": 0, "publication": "Jurnal As-Salam", "resultIndex": 7, "searchMatch": "2 days ago - The COVID-19 pandemic is a scourge for education actors, especially school and the quality of learning during the COVID-19 pandemic. This research is classified as", "documentLink": "N/A", "documentType": "N/A", "versionsLink": "https://scholar.google.com/scholar?cluster=4484781414094732501&hl=en&scisbd=1&as_sdt=0,33", "citationsLink": "N/A", "fullAttribution": "B Mizal, T Tathahira, RI Basith - Jurnal As-Salam, 2024 - jurnal-assalam.org", "relatedArticlesLink": "https://scholar.google.com/scholar?q=related:1fxjSu8kPT4J:scholar.google.com/&scioq=COVID-19&hl=en&scisbd=1&as_sdt=0,33" }]
Sign up for Apify account01
Creating an account is quick and free — no credit card required. Your account gives you access to more than 5,000 scrapers and APIs.
Install Apify Python client02
Install the Apify Python client using pip: pip install apify-client. This package provides a simple interface to interact with Google Scholar API from your Python applications.
Get your Apify API token03
Go to settings in the Apify console and navigate to the “API & Integrations” tab. There, create a new token and save it for later.
Integrate Google Scholar API04
Navigate to the Google Scholar API page and click on the API dropdown menu in the top right corner. In the dropdown menu, you can see API clients, API endpoints, and more. Use the provided Python code examples to integrate Google Scholar API into your Python application.
Get your Google Scholar data via API05
The Google Scholar API returns structured JSON data that works perfectly with pandas, NumPy, and other Python data analysis libraries.

Why use Apify?
Never get blocked
Every plan (free included) comes with Apify Proxy, which is great for avoiding blocking and giving you access to geo-specific content.
Customers love us
We truly care about the satisfaction of our users and thanks to that we're one of the best-rated data extraction platforms on both G2 and Capterra.
Monitor your runs
With our latest monitoring features, you always have immediate access to valuable insights on the status of your web scraping tasks.
Export to various formats
Your datasets can be exported to any format that suits your data workflow, including Excel, CSV, JSON, XML, HTML table, JSONL, and RSS.
Integrate Apify to your workflow
You can integrate your Apify runs with platforms such as Zapier, Make, Keboola, Google Drive, or GitHub. Connect with practically any cloud service or web app.
Large developer community
Apify is built by developers, so you'll be in good hands if you have any technical questions. Our Discord server is always here to help!
Python-ready Google Scholar data extraction
Connect to hundreds of apps right away using ready-made integrations, or set up your own with webhooks and our API.
No, Google Scholar does not provide an official Python API, which makes it challenging for researchers to directly access publication data through Python applications. Since there isn't an official Python API to get data from Google Scholar, developers use alternative methods like Python web scraping libraries. This Google Scholar Python scraper serves as a Python API alternative by visiting the Google Scholar website, conducting searches, and extracting article and author information from the results pages using Python.
Yes, you can try the Google Scholar Python API client for free. Apify provides $5 in free usage credits every month on the Apify Free plan, which should be enough to test the Python API client with a small sample of data. You can create a free Apify account, run test scrapes using the Python client to estimate costs, and then scale up based on your needs.
You can extract comprehensive publication metadata using Python API client including article titles, authors, citations count, publication years, document links, document types (PDF/HTML), full attribution, publication sources, search matches, links to citations, links to related articles, and version information. The data is returned in structured JSON format and can be exported as Excel, CSV, JSON, or HTML using Python libraries.
Yes, it is legal to scrape Google Scholar data using a Python API client for research and academic purposes. However, you should always comply with Google Scholar's terms of service and use the data responsibly. The Python API client is designed to extract publicly available academic publication information, similar to how researchers would manually browse and collect this data.
Getting started with our Google Scholar Python API is easy — simply create a free Apify account, get your API token, and start using the Google Scholar API in Python, JavaScript, CLI, cURL, OpenAPI, or MCP.