# Google Scholar Metrics & Venue Rankings Scraper (`xyrelith-data/google-scholar-caselaw-metrics`) Actor

Export Google Scholar Metrics rankings by language, research category or subcategory, search publications by title, and collect the most-cited h5-core articles behind each venue with h5-index, h5-median, authors, years, citation counts and links.

- **URL**: https://apify.com/xyrelith-data/google-scholar-caselaw-metrics.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** SEO tools, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Google Scholar Metrics & Venue Rankings Scraper

Export Google Scholar Metrics into a clean dataset. Rank publications by language, browse a research category or one of its 298 subcategories, search for a publication by title, and pull the most-cited h5-core articles behind any venue. Every row includes the venue's h5-index, h5-median, rank, source links, and the metrics period, so you can compare journals and conferences without copying tables by hand.

Google Scholar Metrics is the public, citation-based ranking of journals and conferences. This actor reads those public pages directly. It needs no Google account, API key, cookie, or proxy configuration.

### What you can collect

| Mode | What it returns |
|---|---|
| Top publications by language | Up to 100 ranked venues for English, Portuguese, Spanish, German, Russian, French, Japanese, Korean, Polish, Ukrainian, or Indonesian. |
| Category or subcategory rankings | Up to 20 ranked venues in any of 8 research areas or 298 subcategories. |
| Publication search by title | Up to 20 matching venues for each title keyword, abbreviated title, or alternate title. |
| Most-cited articles for venues | The h5-core articles behind one or more venues, ranked by citations, with authors, publication details, year, citation count, and links. |

### Input

| Field | Type | Used by | Default | Description |
|---|---|---|---|---|
| `mode` | select | all | `topVenues` | `topVenues`, `categoryVenues`, `searchVenues`, or `venueArticles`. |
| `language` | select | `topVenues` | `en` | Language edition for the top-100 list. |
| `category` | select | `categoryVenues` | – | Broad research area. |
| `subcategory` | select | `categoryVenues` | – | Narrower area; its parent category is selected automatically. |
| `searchQueries` | string list | `searchVenues` | – | Publication names or title keywords. Each query is one page of up to 20 matches. |
| `venueIds` | string list | `venueArticles` | – | Venue IDs such as `H--JoiVp8x8J.2025`, or any Scholar Metrics venue URL. |
| `maxItems` | integer | all | `100` | Maximum rows per language, category, query, or venue. 1-1000. |

Example: rank the Artificial Intelligence subcategory.

```json
{
  "mode": "categoryVenues",
  "subcategory": "eng_artificialintelligence",
  "maxItems": 20
}
```

Example: collect the top 40 h5-core articles for two venues.

```json
{
  "mode": "venueArticles",
  "venueIds": ["H--JoiVp8x8J.2025", "wL2oxc9mT4YJ.2025"],
  "maxItems": 40
}
```

### Output

Each dataset row is either a ranked venue or a venue article. Empty fields are omitted.

#### Venue row

| Field | Description |
|---|---|
| `recordType` | `venue`. |
| `rankingType` | `language`, `category`, `subcategory`, or `search`. |
| `rank` | Position in the ranking. |
| `venue` | Publication name. |
| `h5Index` | Five-year h-index shown by Scholar Metrics. |
| `h5Median` | Median citations of the h5-core articles. |
| `venueId` | Scholar Metrics venue ID, including the edition year. |
| `articlesUrl` | Link to the venue's h5-core article page. |
| `language`, `languageName` | Language edition for language rankings. |
| `category`, `categoryCode` | Research area for category rankings. |
| `subcategory`, `subcategoryCode` | Subcategory for subcategory rankings. |
| `searchQuery` | Query that matched the venue in publication search. |
| `metricsPeriod` | Five-year window used by the edition, for example `2020-2024`. |
| `editionYear` | Metrics edition year, for example `2025`. |
| `scrapedAt` | Collection timestamp in ISO 8601 format. |

#### Venue article row

| Field | Description |
|---|---|
| `recordType` | `venueArticle`. |
| `rank` | Position within the venue's h5-core, ordered by citations. |
| `title` | Article title. |
| `authors` | Author line as Scholar Metrics shows it. |
| `publicationInfo` | Journal or conference, volume, issue, and pages when shown. |
| `year` | Publication year. |
| `citations` | Citation count that contributes to the h5-index. |
| `articleUrl` | Scholar link to the article. |
| `citedByUrl` | Scholar link to the works that cite the article. |
| `venue`, `venueId` | Parent venue name and ID. |
| `h5Index`, `h5Median` | Parent venue metrics. |
| `venueRankings` | Category ranks shown on the venue page, each with rank, name, code, and type. |
| `metricsPeriod`, `editionYear` | Metrics window and edition. |
| `scrapedAt` | Collection timestamp in ISO 8601 format. |

Example venue row:

```json
{
  "recordType": "venue",
  "rankingType": "language",
  "rank": 1,
  "venue": "Nature",
  "h5Index": 490,
  "h5Median": 784,
  "venueId": "H--JoiVp8x8J.2025",
  "articlesUrl": "https://scholar.google.com/citations?hl=en&vq=en&view_op=list_hcore&venue=H--JoiVp8x8J.2025",
  "language": "en",
  "languageName": "English",
  "metricsPeriod": "2020-2024",
  "editionYear": 2025,
  "scrapedAt": "2026-11-17T12:00:00+00:00"
}
```

Example article row:

```json
{
  "recordType": "venueArticle",
  "rank": 1,
  "title": "Highly accurate protein structure prediction with AlphaFold",
  "authors": "J Jumper, R Evans, A Pritzel, T Green, M Figurnov, O Ronneberger, ...",
  "publicationInfo": "Nature 596 (7873), 583-589",
  "year": 2021,
  "citations": 37792,
  "articleUrl": "https://scholar.google.com/scholar?oi=bibs&cluster=6286436358625670901&btnI=1&hl=en",
  "citedByUrl": "https://scholar.google.com/citations?hl=en&venue=H--JoiVp8x8J.2025&vq=en&view_op=hcore_citedby&hcore_pos=0",
  "venue": "Nature",
  "venueId": "H--JoiVp8x8J.2025",
  "h5Index": 490,
  "h5Median": 784,
  "metricsPeriod": "2020-2024",
  "editionYear": 2025,
  "scrapedAt": "2026-11-17T12:00:00+00:00"
}
```

### How to use the results

- Compare journals or conferences with the same edition and metrics window.
- Build a journal-selection shortlist from a category or subcategory.
- Track the articles that actually drive a venue's h5-index.
- Feed venue IDs into `venueArticles` to inspect the h5-core in detail.
- Refresh on a schedule to keep a bibliometric snapshot current.

### Notes and limits

- Google Scholar publishes one current Metrics edition at a time. The actor reports its five-year window and edition year; it does not switch to older editions.
- Language rankings contain up to 100 venues. Category, subcategory, and publication-search pages contain up to 20.
- Category browsing is available for English publications only, matching Google's own Metrics pages.
- A venue's h5-core contains at most as many articles as its h5-index. Some venues have fewer than one full page; the actor stops when the source is exhausted.
- Author lines are abbreviated exactly as Google Scholar Metrics shows them.
- Google may throttle or challenge requests. The actor rotates its connection and retries automatically. If every retry is blocked, the run explains that no data was returned instead of inventing rows.
- This actor covers Google Scholar Metrics only. Google Scholar case law and the author/profile directory require a Google sign-in and are not scraped.

### FAQ

**Do I need a Google account or API key?**
No. The actor reads public Google Scholar Metrics pages without sign-in, cookies, or keys.

**Does it scrape Google Scholar case law?**
No. Google Scholar case law pages redirect anonymous visitors to a Google sign-in, so they are outside this actor's cookieless scope.

**Does it scrape author profiles or the author directory?**
No. The public author directory is sign-in-gated, and author profiles are a separate use case.

**What is h5-index?**
It is Scholar Metrics' five-year h-index for a publication: the largest number h such that at least h articles published in the metrics window have at least h citations each.

**What is h5-median?**
The median citation count of the articles that make up the h5-index.

**Why does a venue have fewer articles than its h5-index?**
The h5-core is bounded by the h5-index, and the source may omit rows for some records. The actor stops at the source's own end rather than padding the dataset.

**Can I get more than 100 language rankings or 20 category rankings?**
No. Those are Google's page capacities for the public Metrics pages. Split the request by language, category, or subcategory to cover more venues.

**Can I use a venue URL instead of a venue ID?**
Yes. Paste the `list_hcore` URL or any Scholar Metrics URL that contains a `venue=` parameter into `venueIds`.

**How fresh is the data?**
Each run reads the live page and adds `scrapedAt` to every row. Google updates the Metrics edition annually.

# Actor input Schema

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

What to collect: top publications by language, category/subcategory rankings, publication search, or the h5-core articles for specific venues.

## `language` (type: `string`):

Language edition for the top-100 publication ranking (mode=topVenues).

## `category` (type: `string`):

Broad research area for category rankings (mode=categoryVenues). Ignored when a subcategory is selected.

## `subcategory` (type: `string`):

Optional subcategory for narrower rankings (mode=categoryVenues). Selecting one automatically uses its parent category.

## `searchQueries` (type: `array`):

Publication title keywords, abbreviated titles, or alternate titles to search in Scholar Metrics (mode=searchVenues). Each query returns up to 20 matching publications.

## `venueIds` (type: `array`):

Scholar Metrics venue IDs (for example H--JoiVp8x8J.2025) or any Scholar Metrics venue URL, such as the h5-index link from a ranking (mode=venueArticles). Duplicates are removed.

## `maxItems` (type: `integer`):

Maximum records per language, category, search query, or venue. Google shows up to 100 publications per language, 20 per category or search, and one row per h5-core article for a venue.

## Actor input object example

```json
{
  "mode": "topVenues",
  "language": "en",
  "maxItems": 3
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing one row per ranked venue or per h5-core article.

# 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 = {
    "mode": "topVenues",
    "language": "en",
    "maxItems": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/google-scholar-caselaw-metrics").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 = {
    "mode": "topVenues",
    "language": "en",
    "maxItems": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/google-scholar-caselaw-metrics").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 '{
  "mode": "topVenues",
  "language": "en",
  "maxItems": 3
}' |
apify call xyrelith-data/google-scholar-caselaw-metrics --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/google-scholar-caselaw-metrics"
        }
    }
}
```

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/9hXuLaaip5Ehmzwe4/builds/oY8crAHddqfOlV60L/openapi.json
