---
title: "Google Scholar Scraper or API: What You Get | Perceptlayer"
description: "A Google Scholar scraper vs search endpoints at 1 credit a call: a recorded machine learning search with cited_by.total, and the cost per paper tracked."
url: https://perceptlayer.com/blog/google-scholar-scraper-vs-api
---

[Blog](https://perceptlayer.com/blog) / [API guides](https://perceptlayer.com/blog/category/api-guides)

# Google Scholar Scraper or API: What You Get

31 Oct 2026 Perceptlayer 8 min read

A Google Scholar scraper is a program that loads Scholar result pages and pulls each paper's title, link, publication line and "cited by" count out of the HTML. You write and maintain the fetching, the parsing and the checks that tell you when either breaks. The alternative is a set of Google Scholar endpoints that return the same result data as named JSON fields at 1 credit a call. This post compares the two on a recorded "machine learning" search limited to 2020 onwards, works out the cost per paper tracked, and gives a verdict per use case.

## Key takeaways

-   A Scholar scraper has three parts to maintain: a fetcher for result pages, a parser for each result block, and a monitor that notices empty or missing fields.
-   `GET /v1/google-scholar/search` takes `q`, `hl`, `start`, `num`, `as_ylo`, `as_yhi`, `scisbd`, `cites` and `cluster`, and returns `organic_results` with `title`, `result_id`, `link`, `snippet`, `publication_info.summary` and, where present, `inline_links.cited_by.total`.
-   The recorded search for `q=machine learning&num=10&as_ylo=2020` reported `total_results: 38300` and returned `pagination.next_start: 10` with `has_next: true`, for 1 credit.
-   At 10 results a call, a result costs 0.1 credits to fetch; checking 200 papers' citation counts once a week is 200 × 4 = 800 credits a month.
-   Failed calls cost nothing and return `X-Credits-Used: 0`.

## What does building a Google Scholar scraper involve?

A Google Scholar scraper is a fetcher, a parser and a monitor, and each needs upkeep. The fetcher builds a result-page URL from a query, a year range and a page offset, and requests it. The parser splits the page into result blocks and reads the title, the link, the snippet, the line with authors, venue and year, any PDF links, and the "cited by" count with its link. The monitor compares each run with the last one, because a broken parser usually returns fewer fields rather than an error.

Each part has its own failure modes, and they're the same ones any HTML scraper has. Page markup changes when a site ships changes, and a selector that found the citation count last month can return nothing today. A scraper that sends many requests in a short time from one address should expect slow replies or refused requests from most sites, so it needs pacing and backoff. When requests are refused, stop: getting around a site's protections with rotating proxies or CAPTCHA solvers isn't a fix we'd recommend.

Then there's what you're allowed to do with the pages. Read Google Scholar's terms before you build a collector, and the terms of any publisher whose PDFs you download. For the general case of when a scraper is worth writing, [Scrape Google Search Results with Python](https://perceptlayer.com/blog/scrape-google-search-results-python) walks through a similar fetch-and-parse job on regular search pages.

## What do the Google Scholar endpoints return?

The Google Scholar API on Perceptlayer has five `GET` endpoints, all 1 credit per successful call. Search does the work a scraper would: one call returns a page of results with each field already named. The other four take an author's `user` value or a `q` for the author, author-citation, co-author and cite lookups; only search has a recorded response in this post.

| Endpoint | What it's for | Parameters |
| --- | --- | --- |
| [`GET /v1/google-scholar/search`](https://perceptlayer.com/apis/google-scholar/search) | Papers matching a query | `q`, `hl`, `start`, `num`, `as_ylo`, `as_yhi`, `scisbd`, `cites`, `cluster`, all optional |
| [`GET /v1/google-scholar/author`](https://perceptlayer.com/apis/google-scholar/author) | An author profile | `user` required; `hl`, `num`, `start`, `sort` ( `title` or `pubdate`) |
| [`GET /v1/google-scholar/author-citation`](https://perceptlayer.com/apis/google-scholar/author-citation) | An author's citation, by `citation_id` | `user` and `citation_id` required; `hl` |
| [`GET /v1/google-scholar/author-co-authors`](https://perceptlayer.com/apis/google-scholar/author-co-authors) | An author's co-authors | `user` required; `hl` |
| [`GET /v1/google-scholar/cite`](https://perceptlayer.com/apis/google-scholar/cite) | Cite lookup for a query | `q` required; `hl` |

`as_ylo`, `as_yhi`, `start` and `num` are integers (the recorded call sets `as_ylo=2020`, and the two results shown are from 2022 and 2023), and `scisbd` accepts `0`, `1` or `2`. Nothing else about these parameters, such as defaults or maximum page size, is documented, so set every value you depend on. The [Google Scholar API page](https://perceptlayer.com/apis/google-scholar) has each endpoint's playground.

### A real search: machine learning since 2020

This request asks for 10 results for "machine learning" in English, from 2020 onwards:

```bash
curl "https://api.perceptlayer.com/v1/google-scholar/search?q=machine+learning&hl=en&num=10&as_ylo=2020" \
  -H "X-API-Key: $API_KEY"
```

This is the recorded response, trimmed to the fields a tracker keeps, with authors' names cut from the publication lines:

```json
{
  "success": true,
  "data": {
    "search_parameters": {
      …
      "q": "machine learning",
      "hl": "en",
      "start": 0,
      "num": 10,
      "as_ylo": "2020",
      "scisbd": 0
    },
    "search_information": {
      "query_displayed": "machine learning",
      "total_results": 38300,
      …
    },
    "organic_results": [
      {
        "position": 1,
        "title": "Machine learning",
        "result_id": "WHD7vRZpYhIJ",
        "link": "https://api.taylorfrancis.com/content/chapters/edit/download?identifierName=doi&identifierValue=10.1201/9780429171529-36&type=chapterpdf",
        …
        "publication_info": {
          "summary": "… - Computing Handbook, 2022 - api.taylorfrancis.com",
          …
        },
        "resources": [
          {
            "file_format": "PDF"
          },
          …
        ]
      },
      {
        "position": 2,
        "title": "Machine learning",
        "result_id": "K_YKyl3arXoJ",
        "link": "https://pubs.acs.org/infocus/book-supplement/2643/pdf/if-2023-x00006_toc/",
        …
        "publication_info": {
          "summary": "… - 2023 - ACS Publications",
          …
        },
        "inline_links": {
          "cited_by": {
            "total": 292,
            "link": "https://scholar.google.com/scholar?cites=8839961739954681387&as_sdt=2005&sciodt=0,5&hl=en",
            "cites_id": "8839961739954681387"
          },
          …
        }
      }
    ],
    "pagination": {
      "current": 1,
      "start": 0,
      "num": 10,
      "next_start": 10,
      "has_next": true,
      …
    }
  },
  …
}
```

Four details matter for anyone replacing a scraper. Both results have the title "Machine learning", so `result_id` is what tells them apart; store it as the key. Not every result has `inline_links.cited_by`: the first has none, the second has `total: 292`, so treat it as optional. `publication_info.summary` is one string holding authors, venue, year and source, so a year still has to be read out of it, just as a scraper would. And the `as_ylo` value comes back as the string `"2020"`, though it was sent as an integer.

### Following pages and citations

`pagination.next_start` is `10` and the endpoint takes a `start` parameter, so the names match; send the next request with `start=10` to get the following page. In the same way, `cited_by.cites_id` carries the same value as the `cites=` part of `cited_by.link`, and the search endpoint takes a `cites` parameter. The names match, so try a `cites` search with that value in the playground before you build on it. Each extra page or citing-papers search is another call at 1 credit.

## How do a scraper and the endpoints compare?

A scraper costs engineering time and carries terms and blocking risk; the endpoints cost credits per call and take the parsing off your hands. Neither is free. The table compares them for a recurring job, such as checking a topic for new papers every week or tracking citation counts for a fixed list of papers.

|  | DIY Scholar scraper | Google Scholar endpoints |
| --- | --- | --- |
| Setup | Fetcher, HTML parser, storage, monitoring | API key in the `X-API-Key` header |
| What you get | Whatever you can parse from each result block | `organic_results` with `title`, `result_id`, `link`, `snippet`, `publication_info`, optional `resources` and `inline_links.cited_by` |
| When the markup changes | Your parser breaks and you fix it | You read named JSON fields; there's no parser of yours to fix |
| Refused requests | Yours to handle with pacing and backoff | A failed call returns an error code and costs 0 |
| Year filter | Build the URL yourself | `as_ylo` and `as_yhi` |
| Paging | Follow page links | `start`, with `pagination.next_start` and `has_next` in the response |
| Citation counts | Parse the "cited by" text | `inline_links.cited_by.total` as a number |
| Speed | As fast as you can fetch without being refused | 1 request a second free, at least 5 a second paid |
| Cost | Hosting and your time | 1 credit per successful call |
| Freshness | Whatever the page showed when you fetched it | Returned as found at the time of the call |

### What does a paper cost to track?

On the endpoints, cost follows calls, not papers. The recorded search used `num=10` and returned a page of results, so a result costs 1 ÷ 10 = 0.1 credits to fetch when you read whole pages. Tracking a topic means fetching its first few pages on a schedule: the first 50 results weekly is 5 calls × 4 weeks = 20 credits a month per query.

Tracking citation counts for specific papers is different, because you need each paper's own result. If you search for each one by its title and pick out its `result_id` from the results, that's 1 call per paper per check: 200 papers × 4 weekly checks × 1 credit = 800 credits a month. The 100 free credits on signup, granted once with a verified email, cover the first 100 checks; the Starter pack's 10,000 covers 12 months of weekly checks (12 × 800 = 9,600). Checking those 200 papers daily is 200 × 30 = 6,000 credits a month, inside the Starter pack's 10,000. See [pricing](https://perceptlayer.com/pricing) for what credits cost and the [credits docs](https://docs.perceptlayer.com/credits) for how debits work.

A scraper has no per-call charge, but it isn't free either. Its cost is the hours spent fixing parsers and handling refused requests, and those hours land when the scraper breaks, not when you planned them.

## Which route should you choose?

Choose by how often you need the data and how much of it, because that decides whether upkeep or per-call cost dominates. The verdicts below assume structured results are what you need; for reading a few papers once, use Google Scholar in a browser and skip both.

-   **A one-off literature search** of a few dozen queries: use the search endpoint and save the JSON. A few dozen credits is less than an afternoon writing a parser.
-   **Weekly topic monitoring** for new papers: run search with the `as_ylo` value you want, as the recorded call does with 2020, and store `result_id`, `title`, `link` and `publication_info.summary`; flag any `result_id` you haven't seen before. At 10 results a call, 5 pages a week is 20 credits a month per topic.
-   **Citation tracking for a fixed list of papers**: store each paper's `result_id`, search its title on a schedule, find that `result_id` in `organic_results`, and record `inline_links.cited_by.total` with the date. Weekly checks of 200 papers are 800 credits a month.
-   **Building a corpus of hundreds of thousands of records**: neither route is a good fit. Per-call cost adds up, and a scraper at that volume carries more risk. Look for a bulk bibliographic dataset whose licence covers your use.
-   **Author-level analysis**: try the [author endpoint](https://perceptlayer.com/apis/google-scholar/author) in the playground with a `user` value first, since this post has no recorded author response. Keep authors' personal details out of anything you publish.
-   **An agent answering research questions**: give it the Scholar endpoints through the MCP server, as the [AI agents docs](https://docs.perceptlayer.com/ai-agents) describe, so it calls search instead of loading pages.
-   **Learning how scraping works**: build a scraper against a practice site, not a production search engine.

If you're comparing other search-engine sources, [Google Patents API: Search Patents and Get Details](https://perceptlayer.com/blog/google-patents-api-search-details) covers a similar search-then-detail flow, and the [search engines APIs](https://perceptlayer.com/verticals/search) page lists the rest. To check the fields against your own topic, run search with your query in the playground on the [Google Scholar API page](https://perceptlayer.com/apis/google-scholar), then [get a free API key](https://perceptlayer.com/signup) when they fit.

## APIs in this post

-   [Google Scholar **1 credit per call** · 5 endpoints](https://perceptlayer.com/apis/google-scholar)

## Frequently asked questions

### Is scraping Google Scholar allowed?

That depends on Google Scholar's terms, the terms of any publisher whose files you download, and the law where you work, so read the terms and get legal advice for commercial use. Don't get around blocks or other protections. Paper metadata such as titles and citation counts is lower risk than personal data; keep authors' personal details out of anything you store or publish.

### Can I get citation counts without a scraper?

Yes, where a result has one. `GET /v1/google-scholar/search` returns `inline_links.cited_by.total` on results that carry it; in the recorded "machine learning" search, the second result has `total: 292` and the first has no `cited_by` block. Each successful search call costs 1 credit and returns a page of results.

### How many results come back from one search call?

The recorded call asked for `num=10` and its `pagination` block echoed `num: 10` with `next_start: 10` and `has_next: true`, against `total_results: 38300`. Nothing else about page size is documented, so set `num` yourself and page with `start`. Each page is one call at 1 credit.

### Does a failed Scholar call cost credits?

No. Only a successful response debits credits. A failed call returns an HTTP status and a JSON error with a `code`, a `message` and a `request_id`, plus `X-Credits-Used: 0`. A rate-limited call returns 429 with a `Retry-After` header giving the seconds to wait. The [errors docs](https://docs.perceptlayer.com/errors) list every code.

### How fast can I run a weekly Scholar pull?

Limits are per account, shared by all its keys, and counted per minute. A free account gets 1 request a second (60 a minute), so its 100 free checks take under two minutes. Paying accounts run at least 5 requests a second (300 a minute), so 200 citation checks take under a minute. The [rate limits docs](https://docs.perceptlayer.com/rate-limits) list the rate each pack includes.

google scholar scraping citations academic search research data

## More from the blog

1.  [API guides](https://perceptlayer.com/blog/category/api-guides) 1 Sept 2026 Updated 10 Nov 2026 Perceptlayer 7 min read
    
    ## [Google Scholar API: Search Papers and Citations as JSON](https://perceptlayer.com/blog/google-scholar-api)
    
    Search Google Scholar as JSON: the search endpoint's parameters, a recorded response with citation counts, and a flat 1 credit per call.
    
2.  [API guides](https://perceptlayer.com/blog/category/api-guides) 18 Nov 2026 Perceptlayer 9 min read
    
    ## [Reddit Scraper or API: What You Get](https://perceptlayer.com/blog/reddit-scraper-vs-api)
    
    A Reddit scraper vs 14 Reddit endpoints at 1 credit a call: a recorded search with score, num\_comments and next\_after, and the cost per subreddit tracked.
    
3.  [API guides](https://perceptlayer.com/blog/category/api-guides) 17 Nov 2026 Perceptlayer 8 min read
    
    ## [Etsy Scraper or API: What You Get](https://perceptlayer.com/blog/etsy-scraper-vs-api)
    
    An Etsy scraper vs one 10-credit product endpoint: a recorded listing with price, discount, quantity, variations and favorites, and the cost per item tracked.
