Multi-Source Research Paper Scraper avatar

Multi-Source Research Paper Scraper

Pricing

Pay per usage

Go to Apify Store
Multi-Source Research Paper Scraper

Multi-Source Research Paper Scraper

Searches Crossref, OpenAlex, arXiv and Semantic Scholar in one run and merges duplicate works by DOI or arXiv ID into unified records with authors, abstracts, venues, citation counts and open-access PDF links. Accepts keywords, DOIs and arXiv IDs.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

luochengfengqi

luochengfengqi

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Categories

Features

Limited permissions

Share

Queries Crossref, OpenAlex, arXiv and Semantic Scholar in a single run and merges records that describe the same work into one unified schema. The same paper usually exists in several of these sources under different identifiers and with different field coverage: Crossref knows the publisher and journal, OpenAlex knows citation counts and topics, arXiv knows the preprint and its PDF, Semantic Scholar knows fields of study. Maintaining four API clients, four response parsers and a deduplication step is the repetitive part of literature reviews, related-work collection and research monitoring; this Actor performs it against the native HTTP APIs of the four sources, without a headless browser and without requiring API keys (an optional Semantic Scholar key only raises rate limits).

Each input item is a keyword search, a DOI or an arXiv ID. Source records are merged when they share a DOI, an arXiv ID, or a normalized title with year and first author, so a journal article and its preprint become one record whose providers field lists every source that reported it. A run writes the merged works to the dataset and a per-query, per-source SUMMARY record to the default Key-Value Store.

Table of Contents

Extraction Pipeline

SourceEndpoints usedLookup modesFields it contributes most often
Crossrefapi.crossref.org/works, api.crossref.org/works/{doi}Keyword search, DOIPublisher, journal name, work type, reference counts, PDF links, subjects
OpenAlexapi.openalex.org/works?search=, api.openalex.org/works/doi:{doi}Keyword search, DOI, arXiv ID via its DataCite DOICitation counts, topics and concepts, open-access status, retraction flag, reconstructed abstracts
arXivexport.arxiv.org/api/query (Atom XML)Keyword search, arXiv ID, DOIPreprint abstract, arXiv categories, journal reference, PDF link
Semantic Scholarapi.semanticscholar.org/graph/v1/paper/search, /paper/DOI:{doi}, /paper/ARXIV:{id}Keyword search, DOI, arXiv IDFields of study, citation and reference counts, open-access PDF, venue

Pipeline steps:

  1. Classify every input item as a keyword search, a DOI or an arXiv ID.
  2. Query each selected source with the endpoint that matches the lookup mode.
  3. Normalize every source response into the shared record shape (authors, dates, identifiers, counts, links, subjects).
  4. Apply the optional publication-year filter per source record.
  5. Merge records that share a DOI, an arXiv ID, or title plus year and first author.
  6. Order the merged works, write dataset records, and store the SUMMARY record.

arXiv asks API clients to space requests at least 3 seconds apart; arXiv calls in a run are paced accordingly. Crossref is not queried for arXiv ID lookups because arXiv identifiers are registered as DataCite DOIs, which Crossref does not index.

Input Formats

FormatExampleBehavior
Keywords or titlelarge language modelsBibliographic search on Crossref, full-text search on OpenAlex, all: search on arXiv, paper search on Semantic Scholar
DOI10.1038/s41586-020-2649-2Single-work lookup on Crossref, OpenAlex and Semantic Scholar, DOI search on arXiv
DOI with prefixdoi:10.1038/s41586-020-2649-2Same as above
DOI URLhttps://doi.org/10.1038/s41586-020-2649-2Same as above
arXiv ID1706.03762, arxiv:1706.03762, 1706.03762v7Exact lookup on arXiv and Semantic Scholar, OpenAlex lookup via the DataCite DOI, Crossref skipped
Mixed list["graph neural networks", "10.48550/arXiv.2006.10256", "arxiv:1706.03762"]Every item is classified and resolved independently, then all results are merged together

Example Input JSON

{
"queries": ["large language models", "10.1038/s41586-020-2649-2", "arxiv:1706.03762"],
"sources": ["crossref", "openalex", "arxiv", "semanticscholar"],
"maxResultsPerSource": 5,
"yearFrom": 0,
"yearTo": 0,
"includeAbstract": true,
"sortBy": "MOST_CITED"
}

Input Parameters

ParameterTypeDefaultRequiredDescription
queriesarray of string["large language models", "10.1038/s41586-020-2649-2"]NoKeyword searches, DOIs or arXiv IDs, one entry per lookup. Formats are listed in the Input Formats section.
sourcesarray of string["crossref", "openalex", "arxiv", "semanticscholar"]NoSources to query for every item. Spelling variants such as semantic scholar are accepted. Empty queries all four.
maxResultsPerSourceinteger5NoMaximum records taken from each source per keyword search, 1 to 50. DOI and arXiv lookups return one work per source.
yearFrominteger0NoKeep works published in this year or later. 0 disables the bound. Works with an unknown year are kept.
yearTointeger0NoKeep works published in this year or earlier. 0 disables the bound. Works with an unknown year are kept.
includeAbstractbooleantrueNoInclude the longest abstract reported by any source. Disable for metadata-only output.
sortBystringRELEVANCENoRELEVANCE keeps first-found order, NEWEST and OLDEST sort by publication date, MOST_CITED sorts by the highest reported citation count.
semanticScholarApiKeystring (secret)emptyNoOptional Semantic Scholar API key for higher rate limits. When empty, the operator's configured key is used instead.

Output Schema

The sample below is a real merged record from a verification run (the abstract is shortened here for display; stored records carry the full text). Three sources reported this work and were merged into one record.

{
"status": "OK",
"title": "Array programming with NumPy",
"authors": ["Charles R. Harris", "K. Jarrod Millman", "Stefan J. van der Walt"],
"authorCount": 26,
"abstract": "Array programming provides a powerful, compact and expressive syntax for accessing, manipulating and operating on data in vectors, matrices and higher-dimensional arrays...",
"doi": "10.1038/s41586-020-2649-2",
"arxivId": "2006.10256",
"openalexId": "W3035965352",
"semanticScholarId": null,
"crossrefId": "10.1038/s41586-020-2649-2",
"providers": ["CROSSREF", "OPENALEX", "ARXIV"],
"providerCount": 3,
"matchedQueries": ["10.1038/s41586-020-2649-2"],
"publishedAt": "2020-06-12",
"publicationYear": 2020,
"venue": "Nature",
"publisher": "Springer Science and Business Media LLC",
"workType": "journal-article",
"language": "en",
"citedByCount": 25461,
"referenceCount": 128,
"isOpenAccess": true,
"isRetracted": false,
"landingUrl": "https://www.nature.com/articles/s41586-020-2649-2",
"pdfUrl": "https://arxiv.org/pdf/2006.10256",
"subjects": ["Software engineering", "Computer science", "cs.SE"],
"dedupeKey": "doi:10.1038/s41586-020-2649-2",
"message": null,
"scrapedAt": "2026-10-23T02:45:11.204Z"
}

Author lists, citation counts and subject lists in stored records are complete; only the abstract and author display are shortened in this sample.

Field Reference

FieldTypeNullableDescription
statusstringNoOK for paper records, NOT_FOUND_OR_ERROR for the diagnostic record.
titlestringYesPaper title as reported by the highest-priority source that has one.
authorsarray of stringNoAuthor names in listed order, from the source reporting the longest author list.
authorCountintegerNoNumber of names in authors.
abstractstringYesLongest abstract reported by any source. OpenAlex abstracts are reconstructed from its inverted index. Null when includeAbstract is false or no source reports one.
doistringYesDigital Object Identifier without the doi.org prefix.
arxivIdstringYesarXiv identifier without a version suffix, for example 1706.03762.
openalexIdstringYesOpenAlex work ID, for example W3035965352.
semanticScholarIdstringYesSemantic Scholar paper ID (hex string).
crossrefIdstringYesCrossref work identifier, which is the DOI.
providersarray of stringNoSources that reported this work: CROSSREF, OPENALEX, ARXIV, SEMANTIC_SCHOLAR.
providerCountintegerNoNumber of entries in providers. Records with a count above 1 are cross-source merges.
matchedQueriesarray of stringNoInput items that matched this work, exactly as supplied.
publishedAtstringYesEarliest publication date reported by any source, YYYY-MM-DD or partial YYYY-MM or YYYY. Preprint dates count, so this can precede the journal date.
publicationYearintegerYesYear of publishedAt.
venuestringYesJournal, conference or repository name. Preprints report arXiv unless a journal reference is known.
publisherstringYesPublisher or host organization as reported by Crossref, OpenAlex or Semantic Scholar.
workTypestringYesWork classification from the source vocabulary, for example journal-article, proceedings-article, preprint. Vocabularies differ per source and are not remapped.
languagestringYesLanguage code such as en, when a source reports it.
citedByCountintegerYesHighest citation count reported by any source. Sources count citations differently, so this is the maximum, not a sum.
referenceCountintegerYesHighest reference (bibliography) count reported by any source.
isOpenAccessbooleanYesTrue when any source reports an open-access copy. Null when no source reports availability.
isRetractedbooleanYesRetraction flag from OpenAlex. Null when OpenAlex did not report the work.
landingUrlstringYesPublisher page, DOI link or repository page for the work.
pdfUrlstringYesOpen-access PDF URL when a source reports one, most often the arXiv PDF or the OpenAlex best open-access location.
subjectsarray of stringNoUnion of OpenAlex topics and concepts, Crossref subjects, Semantic Scholar fields of study and arXiv categories, deduplicated, capped at 20.
dedupeKeystringYesThe merge key of the record: doi:..., arxiv:..., or a title-based key.
messagestringYesDiagnostic message. Only set on the NOT_FOUND_OR_ERROR record.
scrapedAtstringNoRecord creation timestamp in UTC ISO 8601 format.

How Merging Works

Source records are joined with a union-find over three identifiers: normalized DOI, arXiv ID, and normalized title combined with publication year and first-author surname. Two records merge when they share any one of these. This also merges records that are only connected indirectly, for example a Crossref record sharing a DOI with an OpenAlex record that shares an arXiv ID with the preprint.

Field-level rules inside a merged record:

  • Scalar fields (title, venue, publisher, type, language, landing and PDF URLs) are taken from the first source that reports them, in the priority order OpenAlex, Crossref, Semantic Scholar, arXiv.
  • abstract and authors take the longest value reported, because longer usually means more complete.
  • citedByCount and referenceCount take the maximum reported value. Counts from different sources measure different citation graphs and are never summed.
  • publishedAt and publicationYear take the earliest reported date, which is typically the preprint date.
  • subjects are the union of all sources, deduplicated case-insensitively.
  • isOpenAccess is true when any source reports an open-access copy.

Key-Value Store Summary

Every run stores one SUMMARY record in the default Key-Value Store:

FieldDescription
startedAt, finishedAtRun window in UTC ISO 8601 format.
queriesRequestedNumber of input items processed.
sourcesRequestedNormalized source list used for the run.
sourceRecordsFetchedTotal records collected from all sources before merging.
uniqueWorksStoredMerged records written to the dataset.
duplicatesMergedSource records absorbed into another work during merging.
chargeLimitReachedTrue when the run stopped early because the charged-results limit was hit.
semanticScholarKeySourceWhich Semantic Scholar key served the run: USER_INPUT, OPERATOR or NONE (shared keyless pool). The key itself is never stored.
providerStatsPer-source totals: records fetched, failed requests, and the last error message.
queriesPer-input breakdown: lookup kind, classified value, records fetched, and per-source outcome or error.
filtersAppliedEffective maxResultsPerSource, year bounds, abstract and sorting settings.

Error and Empty-Result Handling

Sources fail independently. When Semantic Scholar answers HTTP 429 (its keyless pool is shared and rate-limited), the run retries with backoff, then records the error in the summary and continues with the remaining sources. The same applies to timeouts and 5xx responses from any source: one failing source or one failing query never fails the whole run.

When nothing is found for the complete input, the dataset receives exactly one diagnostic record and the run still succeeds:

{
"status": "NOT_FOUND_OR_ERROR",
"title": null,
"message": "No records were returned for: nonexistent topic xyz. Check the query spelling or relax the year filters. Provider details are in the SUMMARY record.",
"scrapedAt": "2026-10-23T02:45:11.204Z"
}

Filter diagnostic records out downstream with status != "OK". Diagnostic records are not charged. Per-source errors for a run are always visible in providerStats and in the per-query breakdown of the SUMMARY record.

Usage Examples

Apify Console

  1. Open the Actor page and click Start.
  2. Leave the default input to fetch recent high-coverage works for large language models plus the merged record for the NumPy DOI.
  3. Add your own entries, for example ["transformer interpretability", "arxiv:1706.03762"], set sortBy to MOST_CITED, and run.
  4. Read the merged works in the Output tab and the per-source accounting in the Key-Value Store record SUMMARY.

cURL

curl -X POST "https://api.apify.com/v2/acts/luochengfengqi~research-paper-metadata-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"queries": ["graph neural networks", "arxiv:1706.03762"],
"sources": ["crossref", "openalex", "arxiv", "semanticscholar"],
"maxResultsPerSource": 10,
"sortBy": "MOST_CITED"
}'

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("luochengfengqi/research-paper-metadata-scraper").call(run_input={
"queries": ["diffusion models", "10.1038/s41586-020-2649-2"],
"maxResultsPerSource": 10,
"yearFrom": 2020,
"sortBy": "NEWEST",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["publicationYear"], item["title"], item["citedByCount"], item["providers"])
summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("SUMMARY")
print(summary["value"]["providerStats"])

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('luochengfengqi/research-paper-metadata-scraper').call({
queries: ['retrieval augmented generation'],
sources: ['openalex', 'arxiv', 'semanticscholar'],
maxResultsPerSource: 20,
sortBy: 'MOST_CITED',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const openAccess = items.filter((item) => item.isOpenAccess && item.pdfUrl);
console.log(`${items.length} works, ${openAccess.length} with an open-access PDF`);
const summary = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('SUMMARY');
console.log(summary.value.duplicatesMerged, 'duplicate source records merged');

Pricing

This Actor uses pay-per-event pricing. Each merged work written to the dataset is charged as one paper-record event at $0.003 per record. Source records that merge into an existing work are not charged separately, and diagnostic records are free. The default input produces roughly 15 to 20 merged works, so a default run costs about $0.05 in event charges, plus standard Apify platform usage for compute.

Limitations and Notes

  • This Actor returns metadata and links, not full texts. pdfUrl points to an open-access copy when a source reports one; downloading and parsing PDFs is a downstream step.
  • Citation counts differ between sources because Crossref, OpenAlex and Semantic Scholar build different citation graphs. The stored citedByCount is the maximum reported value and should be compared only within one source's convention when precision matters.
  • Semantic Scholar rate limits depend on the key used. A key supplied in semanticScholarApiKey wins; otherwise the operator's key configured on the Actor (SEMANTIC_SCHOLAR_API_KEY) is used; with no key at all, the shared keyless pool applies and HTTP 429 responses are common. The Actor retries with backoff (1.5 s, then 4 s) and then continues without that source; the failure is recorded in the summary, and semanticScholarKeySource shows which key was in effect.
  • arXiv responses are parsed from the Atom XML feed, and arXiv requests are paced at least 3 seconds apart as the arXiv API terms request. Large arXiv-heavy batches therefore take proportionally longer.
  • Keyword relevance is each source's own ranking. RELEVANCE order reflects the order sources returned works in, merged; it is not a unified relevance score across sources.
  • A work and its preprint merge into one record whose publishedAt is the earlier preprint date. When the journal date matters, prefer records whose only provider is Crossref, or compare venue with the arXiv journal reference.
  • OpenAlex abstracts are reconstructed from its inverted index, which can lose paragraph breaks. Crossref abstracts can contain publisher markup in the raw feed; markup is stripped here.
  • workType values are passed through from each source's vocabulary (journal-article from Crossref, article from OpenAlex, preprint for arXiv records) and are not remapped to a single taxonomy.
  • Retraction information comes only from OpenAlex (isRetracted). A null value means no source reported retraction status, not that the work is confirmed unretracted.

Sources and Attribution

Data is collected at run time from the public APIs of Crossref, OpenAlex, arXiv and Semantic Scholar, each under its own terms of use. Records keep the source identifiers (doi, arxivId, openalexId, semanticScholarId, crossrefId) and the providers list so every merged record can be traced back to the sources that contributed it. Please respect the upstream terms when redistributing the output: arXiv metadata carries its own reuse conditions, and publisher abstracts remain subject to the publisher's rights.