# Crossref Scraper – Papers by DOI, Citation & Keyword (`biddata/crossref-scraper`) Actor

Search 150M+ scholarly works via the official Crossref REST API: journal articles, preprints and conference papers with DOI, authors, journal, citation counts and abstracts. Filter by date and type, sort by citations. No key.

- **URL**: https://apify.com/biddata/crossref-scraper.md
- **Developed by:** [QIQI](https://apify.com/biddata) (community)
- **Categories:** Education, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result rows

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

## Crossref Scraper – Papers by DOI, Citation & Keyword

**Turn Crossref's 150M+ scholarly records into a tidy literature table — official REST API, citation counts included, no key, no scraping.**

Crossref is the DOI registration agency for scholarly literature: virtually every journal article, conference paper and preprint with a DOI passes through it, together with citation linkages that power the citation counts you see in reference managers.

This Actor queries the official `api.crossref.org/works` REST API and returns one flat row per work: DOI, title, authors, journal, publisher, publication date, citation count, ISSN and the abstract when the publisher deposits one. Filter by work type and publication window, and sort by relevance, citations or recency.

### Why this Actor

| | Typical scrapers | This Actor |
|---|---|---|
| Access | Manual searches on doi.org or publisher sites | One query returns up to 1,000 works at once |
| Data source | Web pages, one paper at a time | Official `api.crossref.org/works` REST API |
| Citation counts | Shown per article page | Ranked and exported as a sortable column |
| Shape | BibTeX or RIS per paper | Fixed 12-column schema, one row per DOI |
| API key | Not needed on the site | Not needed here either — anonymous public access |

### What you get

One dataset item per scholarly work.

| Field | Type | Description |
|---|---|---|
| `doi` | string | Digital Object Identifier, lowercase, e.g. 10.1145/3641289. Resolves via https://doi.org/<doi>. |
| `title` | string | Work title as registered by the publisher. |
| `authors` | string | Semicolon-separated author list as "Family, Given"; organisational authors appear under their name. |
| `container_title` | string | Journal, proceedings or book title the work appeared in. Empty for preprints and standalone works. |
| `pub_type` | string | Crossref type id, e.g. journal-article, proceedings-article, preprint, posted-content, book-chapter, peer-review. |
| `publisher` | string | Publishing organisation, e.g. Oxford University Press (OUP), IEEE, Elsevier. |
| `published` | string | Publication date YYYY-MM-DD when the publisher registered day and month, YYYY when only the year is known. |
| `year` | string | Publication year, convenient for grouping and filtering. |
| `url` | string | Publisher or DOI resolution link, defaulting to https://doi.org/<doi>. |
| `cited_by` | number | Crossref citation count — how many registered works cite this one. A lower bound on real-world citations. |
| `issn` | string | ISSN(s) of the container journal, pipe-separated when several are registered. |
| `abstract` | string | Abstract text with JATS markup stripped, when the publisher deposits one. Many publishers do not, so this is often empty. |

- **`cited_by`** -- Crossref counts only citations between registered scholarly works, so treat the number as a solid lower bound — Google Scholar will usually show more. It is still the same number that reference managers build their citation metrics on.
- **`abstract`** -- Only present when the publisher deposits an abstract with Crossref; many major publishers do not. JATS markup is stripped, leaving plain text. Empty is normal, not an error.
- **`authors`** -- Formatted "Family, Given" and separated by semicolons, mirroring Crossref's own name parts. Organisational authors (consortia, WHO reports) appear under their registered name without a comma.
- **`published`** -- Publishers register what they have: some works only carry a year, some carry the full date. A bare year in this column means the publisher never registered month or day.

### Input

| Parameter | Type | Default | Description |
|---|---|---|---|
| `query` | string | *(empty)* | **Required.** Free-text search across titles, abstracts and metadata, e.g. "large language model", "CRISPR gene editing" or "carbon capture". Any phrase that a scholar would search for works here. |
| `maxResults` | integer | `50` | Stop after this many works have been collected. Results arrive in the order you picked with sortBy. |
| `sortBy` | string (enum) | `relevance` | relevance (best match, the default), citations (most-cited first — great for literature reviews) or published (newest first). |
| `pubType` | string | *(empty)* | Crossref type id, e.g. journal-article, proceedings-article, preprint, posted-content, book-chapter or dataset. Leave empty for all types. |
| `dateFrom` | string | *(empty)* | Only works published on or after this date, YYYY or YYYY-MM-DD. A bare year means January 1st. Combine with dateTo to window a literature review. |
| `dateTo` | string | *(empty)* | Only works published on or before this date, YYYY or YYYY-MM-DD. A bare year means December 31st. |

#### A note on `query`

Crossref runs a relevance search across titles, abstracts and metadata — shorter, technical phrases work better than long questions. Use `citations` sorting with a date window for a literature review, or relevance sorting when looking for a specific paper.

#### A note on `sortBy`

`citations` uses Crossref's own citation index — the fastest way to find the seminal papers in a field. `published` ranks newest first, useful for tracking an emerging topic. `relevance` is the API's default score.

#### A note on `pubType`

Common ids: `journal-article`, `proceedings-article`, `preprint`, `posted-content`, `book-chapter`, `dataset`, `peer-review`, `report`. Unknown ids are rejected by the API with the valid list in the error message.

#### A note on `maxResults`

Rows are collected in API order (up to 100 per request, ten requests maximum) and cut at this number. 1,000 rows is the ceiling in a single run.

### Usage examples

**1. Most-cited LLM papers of the last two years**

```json
{
  "query": "large language model",
  "sortBy": "citations",
  "dateFrom": "2024-01-01",
  "maxResults": 100
}
```

**2. Latest preprints on CRISPR gene editing**

```json
{
  "query": "CRISPR gene editing",
  "sortBy": "published",
  "pubType": "preprint",
  "maxResults": 50
}
```

**3. Seminal papers on carbon capture, journal articles only**

```json
{
  "query": "carbon capture and storage",
  "sortBy": "citations",
  "pubType": "journal-article",
  "maxResults": 200
}
```

Run it on an Apify Schedule — weekly for an emerging research topic or monthly for a citation leaderboard. Push the dataset to a Google Sheet, Notion or a reference manager import, and key your rows on `doi`, which is globally unique.

### Data notes

- Rows arrive in the order the API ranks them — relevance, citations or newest first — and duplicates on the same DOI are removed while preserving that order.
- Crossref indexes the metadata publishers deposit, so coverage and abstract availability vary by publisher; preprint servers deposit under their own records and may duplicate a later journal version under a different DOI.
- Citation counts grow over time; snapshot them on a schedule if you are tracking the impact of a specific paper or author.

### FAQ

**Do I need an API key?**

No. The Crossref REST API is public and anonymous. Polite-pool etiquette (a mailto contact) is a courtesy for heavy users, not a requirement.

**Is this data free to use?**

Yes. Crossref metadata is open bibliographic data under CC0 for most records (CC-BY for some abstracts) — you may use, redistribute and build on it, including commercially.

**How is this different from Google Scholar?**

Google Scholar counts citations from a much wider crawl including theses and course pages, but offers no API. Crossref gives you structured, machine-readable metadata with an official API — the counts are lower but reproducible and exportable.

**Why is the abstract empty for many works?**

Because the publisher never deposited an abstract with Crossref. This is normal and varies widely between publishers; the title, authors and citation counts are unaffected.

**Can I get works by a specific author or journal?**

Run the Actor with the author's name or journal as the query and sort by citations — the API ranks relevance across all metadata fields. For exact author disambiguation use their ORCID in the query.

### Disclaimer

All data is retrieved in real time from the **Crossref REST API** (`api.crossref.org`), the public metadata service of Crossref, the DOI registration agency. This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Crossref.

Citation counts and metadata reflect what publishers have deposited and may be corrected or enriched at any time. Verify anything academically significant against the DOI landing page. This dataset is a research aid, not a substitute for a systematic review.

### Pricing

This Actor uses pay-per-event pricing. You only pay for what you actually get.

| Event | Price | When it is charged |
|---|---|---|
| Actor start | $0.002 | Once per run |
| Result row | $0.002 per row | For every row saved to the dataset |

That works out to **$2 per 1,000 rows**. A typical run returning 50 rows costs about **$0.10** in total.

No subscription is required. You can cap your spend with the max cost per run setting in Apify Console, and an empty or invalid input charges only the start event.

### Related Actors

More data tools from the same publisher:

- [App Store Reviews Scraper](https://apify.com/biddata/app-reviews-scraper) - App Store and Steam user reviews with ratings, versions and dates.
- [EU Tenders Scraper](https://apify.com/biddata/ted-tenders-scraper) - EU public procurement notices from the official TED API.
- [ClinicalTrials.gov Scraper](https://apify.com/biddata/clinicaltrials-scraper) - Clinical trial records with phase, status and sponsor.
- [Federal Register Scraper](https://apify.com/biddata/federal-register-scraper) - US Federal Register documents, rules and notices.
- [arXiv Scraper](https://apify.com/biddata/arxiv-scraper) - arXiv papers with authors, abstracts and PDF links.
- [Hacker News Scraper](https://apify.com/biddata/hackernews-scraper) - Hacker News stories by keyword, top ranking or newest.
- [Weather Scraper](https://apify.com/biddata/weather-scraper) - Weather forecast and history for any city worldwide.
- [World Bank Data Scraper](https://apify.com/biddata/worldbank-scraper) - World Bank indicators by country and year: GDP, population and more.

# Actor input Schema

## `query` (type: `string`):

Free-text search across titles, abstracts and metadata, e.g. "large language model", "CRISPR gene editing" or "carbon capture". Any phrase that a scholar would search for works here.

## `maxResults` (type: `integer`):

Stop after this many works have been collected. Results arrive in the order you picked with sortBy.

## `sortBy` (type: `string`):

relevance (best match, the default), citations (most-cited first — great for literature reviews) or published (newest first).

## `pubType` (type: `string`):

Crossref type id, e.g. journal-article, proceedings-article, preprint, posted-content, book-chapter or dataset. Leave empty for all types.

## `dateFrom` (type: `string`):

Only works published on or after this date, YYYY or YYYY-MM-DD. A bare year means January 1st. Combine with dateTo to window a literature review.

## `dateTo` (type: `string`):

Only works published on or before this date, YYYY or YYYY-MM-DD. A bare year means December 31st.

## Actor input object example

```json
{
  "query": "large language model",
  "maxResults": 50,
  "sortBy": "relevance",
  "pubType": "",
  "dateFrom": "",
  "dateTo": ""
}
```

# Actor output Schema

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

All collected records in the default dataset, one row per record.

# 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 = {
    "query": "large language model",
    "maxResults": 50,
    "sortBy": "relevance",
    "pubType": "",
    "dateFrom": "",
    "dateTo": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("biddata/crossref-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 = {
    "query": "large language model",
    "maxResults": 50,
    "sortBy": "relevance",
    "pubType": "",
    "dateFrom": "",
    "dateTo": "",
}

# Run the Actor and wait for it to finish
run = client.actor("biddata/crossref-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 '{
  "query": "large language model",
  "maxResults": 50,
  "sortBy": "relevance",
  "pubType": "",
  "dateFrom": "",
  "dateTo": ""
}' |
apify call biddata/crossref-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,biddata/crossref-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/GGsQVr7h08QcrNvjB/builds/dHldYhPDEZ3h4Zcjn/openapi.json
