# Google Scholar Scraper — Papers, Authors, Cites (`scrape.badger/google-scholar-scraper`) Actor

Scrape Google Scholar at scale: paper search with year range + language filters, author profile lookup (h-index, i10-index, interests, co-authors, full article list), citation formats (MLA, APA, Chicago, Harvard, Vancouver) with BibTeX / RIS / EndNote / RefWorks exports.

- **URL**: https://apify.com/scrape.badger/google-scholar-scraper.md
- **Developed by:** [ScrapeBadger](https://apify.com/scrape.badger) (community)
- **Categories:** Automation, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 139 total users, 35 monthly users, 99.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 scholar pages

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Google Scholar Scraper do?

Scrape [Google Scholar](https://scholar.google.com) at scale — papers, author profiles, author citation charts, and citation format exports (MLA / APA / Chicago / BibTeX / RIS).

### Why use Google Scholar Scraper?

- **Five modes.** Search Papers, Search Author Profiles, Get Author Profile (with articles), Get Author Citation Chart, Get Paper Citation Formats.
- **Year range filter.** `as_ylo` / `as_yhi` for date-bound literature reviews.
- **Citation export.** Direct MLA / APA / Chicago / Harvard / Vancouver + BibTeX / RIS.
- **Author citation chart.** Per-year citation counts for academic impact tracking.
- **Cheapest scholar actor on Apify.** $0.70 / 1k papers.

### What data can Google Scholar Scraper extract?

| Field | Type | Description |
|---|---|---|
| record_type | string | `paper` / `author` / `article` / `citation_chart_point` / `citation_format` |
| title | string | Paper / author name |
| authors | string | Author list |
| publication | string | Journal / venue |
| cited_by | number | Citation count |
| year | number | Publication year |
| link | string | Paper URL |
| snippet | string | Abstract preview |
| cluster_id | string | Google Scholar's paper ID |
| author_id | string | Google Scholar's author ID |

### How to scrape Google Scholar

1. Click **Try for free**.
2. Pick `mode`.
3. For Search Papers: enter `q`, optional `as_ylo` / `as_yhi` year range.
4. For Author Profile: enter `author_id`.
5. For Citation Formats: enter `q` (cluster_id).
6. Click **Start** — papers / authors stream into the dataset.

### How much will it cost?

**$0.007 per page (list modes) · $0.003 per single-shot call.** ≈ $0.70 per 1,000 papers. Author chart / cite format = single-shot $0.003 each.

#### Competitor benchmark

| Actor | Author | Price | Notes |
|---|---|---|---|
| easyapi/google-scholar-scraper | easyapi | ~$10 / 1k papers | Search-only |
| scrapestorm/google-scholar-scraper | ScrapeStorm | ~$8.99 / 1k | Search-only |
| marco_gullo/google-scholar | Marco Gullo | Variable | Per-run |
| **scrape-badger/google-scholar-scraper** | **ScrapeBadger** | **$0.70 / 1k papers** | **5 modes in one actor** |

### Input

Configure the run in the **Input** tab above, or pass a JSON object matching the fields below when calling the Actor via the Apify API.

| Field | Required | Description |
|---|---|---|
| mode | ✅ | One of 5 modes. |
| q | Search modes | Query (keyword / cluster_id / author name). |
| author_id | Author modes | Google Scholar author ID. |
| as_ylo / as_yhi | — | Year range filter. |
| as_sdt | — | Article type filter. |
| num / page | — | Pagination. |
| mauthors | Search Author Profiles | Author name query. |
| cstart / pagesize | Get Author Profile articles | Pagination. |

### Output

Every successful run streams records into the run's dataset. Download as JSON, CSV, XML, Excel, or HTML from the **Dataset** tab; consume programmatically via the Apify API or webhooks.

Example record:

```json
{
  "record_type": "paper",
  "title": "Attention Is All You Need",
  "authors": "Vaswani, Ashish et al.",
  "publication": "NeurIPS 2017",
  "cited_by": 98234,
  "year": 2017,
  "link": "https://arxiv.org/abs/1706.03762",
  "snippet": "The dominant sequence transduction models\u2026",
  "cluster_id": "1234567890"
}
```

### Tips / Advanced options

- **Use `as_ylo` for literature reviews.** Bound by date — e.g. `as_ylo: 2020` for post-2020 ML papers.
- **Citation chart for academic impact.** Per-year citation counts — perfect for tenure-track impact reports.
- **BibTeX export for reference managers.** Get Paper Citation Formats → BibTeX → drop into Zotero / Mendeley.
- **Dedupe by `cluster_id`.** Same paper on arXiv + journal + preprint server — Google merges by cluster_id.

### FAQ, Disclaimers, Support

#### What's `cluster_id`?

Google Scholar's internal paper identifier. All versions (arXiv, journal, preprint) of the same paper share a cluster_id.

#### How do I find `author_id`?

Run Search Author Profiles first — each returned author has an `author_id`. Or grab it from the author's profile URL (`&user=…`).

#### Does this include PDF text?

No — only Scholar's metadata (title, authors, snippet, link). Download the PDF from `link` separately.

#### What's the citation count source?

Google Scholar's own `cited_by` count. Differs from Web of Science / Scopus / OpenCitations.

#### Disclaimer

This Actor scrapes public Google data only. You're responsible for compliance with Google's Terms of Service and any applicable data-protection laws (GDPR, CCPA, etc.) in your jurisdiction. ScrapeBadger does not store the scraped results — they are delivered directly to your Apify dataset.

#### Support

Something not working? Open a ticket in the **Issues** tab above — we triage within one business day. Full API reference: [docs.scrapebadger.com](https://docs.scrapebadger.com).

#### Powered by

[ScrapeBadger](https://scrapebadger.com) — Google-optimised residential proxy pool + browser-farm fallback, 99.7% uptime, unmetered bandwidth. No CAPTCHAs reach you.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrape.badger/google-scholar-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Pick the Scholar call to run. Each mode uses different required inputs.

## `q` (type: `string`):

Search text (e.g. <b>transformer neural networks</b>). Required for <b>Search Papers</b>. Also used as the <b>cluster_id</b> in <b>Get Paper Citation Formats</b> — paste the paper's cluster_id from a Search Papers result.

## `mauthors` (type: `string`):

Author name to search (e.g. <b>Geoffrey Hinton</b>). Required for <b>Search Author Profiles</b>.

## `author_id` (type: `string`):

Google Scholar user ID (the <b>user</b> query parameter on a scholar.google.com profile URL, e.g. <b>JicYPdAAAAAJ</b>).

## `as_ylo` (type: `integer`):

Lower bound for publication year (e.g. <b>2020</b>). Optional.

## `as_yhi` (type: `integer`):

Upper bound for publication year (e.g. <b>2024</b>). Optional.

## `as_sdt` (type: `string`):

<b>0</b> excludes patents (default). <b>7</b> includes patents and case law.

## `num` (type: `integer`):

Scholar paper results per page. 1–20.

## `hl` (type: `string`):

Google language code (e.g. <b>en</b>, <b>es</b>, <b>de</b>, <b>fr</b>).

## `cstart` (type: `integer`):

Offset for the author's article list (0-based).

## `pagesize` (type: `integer`):

How many articles to fetch per author-profile page.

## `max_pages` (type: `integer`):

How many pages of results to fetch. Each page = 1 API call (credits). Applies to <b>Search Papers</b>, <b>Search Author Profiles</b>, and <b>Get Author Profile</b>.

## Actor input object example

```json
{
  "mode": "Search Papers",
  "q": "transformer neural networks",
  "as_sdt": "0",
  "num": 10,
  "hl": "en",
  "cstart": 0,
  "pagesize": 20,
  "max_pages": 3
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "q": "transformer neural networks"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrape.badger/google-scholar-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "q": "transformer neural networks" }

# Run the Actor and wait for it to finish
run = client.actor("scrape.badger/google-scholar-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "q": "transformer neural networks"
}' |
apify call scrape.badger/google-scholar-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrape.badger/google-scholar-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/q2pFlKAZuvZpzHBLV/builds/EJI7MK7ZoxSlrHZFI/openapi.json
