Multi-Source Research Paper Scraper
Pricing
Pay per usage
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Features
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
- Input Formats
- Input Parameters
- Output Schema
- How Merging Works
- Key-Value Store Summary
- Error and Empty-Result Handling
- Usage Examples
- Pricing
- Limitations and Notes
- Sources and Attribution
Extraction Pipeline
| Source | Endpoints used | Lookup modes | Fields it contributes most often |
|---|---|---|---|
| Crossref | api.crossref.org/works, api.crossref.org/works/{doi} | Keyword search, DOI | Publisher, journal name, work type, reference counts, PDF links, subjects |
| OpenAlex | api.openalex.org/works?search=, api.openalex.org/works/doi:{doi} | Keyword search, DOI, arXiv ID via its DataCite DOI | Citation counts, topics and concepts, open-access status, retraction flag, reconstructed abstracts |
| arXiv | export.arxiv.org/api/query (Atom XML) | Keyword search, arXiv ID, DOI | Preprint abstract, arXiv categories, journal reference, PDF link |
| Semantic Scholar | api.semanticscholar.org/graph/v1/paper/search, /paper/DOI:{doi}, /paper/ARXIV:{id} | Keyword search, DOI, arXiv ID | Fields of study, citation and reference counts, open-access PDF, venue |
Pipeline steps:
- Classify every input item as a keyword search, a DOI or an arXiv ID.
- Query each selected source with the endpoint that matches the lookup mode.
- Normalize every source response into the shared record shape (authors, dates, identifiers, counts, links, subjects).
- Apply the optional publication-year filter per source record.
- Merge records that share a DOI, an arXiv ID, or title plus year and first author.
- Order the merged works, write dataset records, and store the
SUMMARYrecord.
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
| Format | Example | Behavior |
|---|---|---|
| Keywords or title | large language models | Bibliographic search on Crossref, full-text search on OpenAlex, all: search on arXiv, paper search on Semantic Scholar |
| DOI | 10.1038/s41586-020-2649-2 | Single-work lookup on Crossref, OpenAlex and Semantic Scholar, DOI search on arXiv |
| DOI with prefix | doi:10.1038/s41586-020-2649-2 | Same as above |
| DOI URL | https://doi.org/10.1038/s41586-020-2649-2 | Same as above |
| arXiv ID | 1706.03762, arxiv:1706.03762, 1706.03762v7 | Exact 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
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
queries | array of string | ["large language models", "10.1038/s41586-020-2649-2"] | No | Keyword searches, DOIs or arXiv IDs, one entry per lookup. Formats are listed in the Input Formats section. |
sources | array of string | ["crossref", "openalex", "arxiv", "semanticscholar"] | No | Sources to query for every item. Spelling variants such as semantic scholar are accepted. Empty queries all four. |
maxResultsPerSource | integer | 5 | No | Maximum records taken from each source per keyword search, 1 to 50. DOI and arXiv lookups return one work per source. |
yearFrom | integer | 0 | No | Keep works published in this year or later. 0 disables the bound. Works with an unknown year are kept. |
yearTo | integer | 0 | No | Keep works published in this year or earlier. 0 disables the bound. Works with an unknown year are kept. |
includeAbstract | boolean | true | No | Include the longest abstract reported by any source. Disable for metadata-only output. |
sortBy | string | RELEVANCE | No | RELEVANCE keeps first-found order, NEWEST and OLDEST sort by publication date, MOST_CITED sorts by the highest reported citation count. |
semanticScholarApiKey | string (secret) | empty | No | Optional 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
| Field | Type | Nullable | Description |
|---|---|---|---|
status | string | No | OK for paper records, NOT_FOUND_OR_ERROR for the diagnostic record. |
title | string | Yes | Paper title as reported by the highest-priority source that has one. |
authors | array of string | No | Author names in listed order, from the source reporting the longest author list. |
authorCount | integer | No | Number of names in authors. |
abstract | string | Yes | Longest abstract reported by any source. OpenAlex abstracts are reconstructed from its inverted index. Null when includeAbstract is false or no source reports one. |
doi | string | Yes | Digital Object Identifier without the doi.org prefix. |
arxivId | string | Yes | arXiv identifier without a version suffix, for example 1706.03762. |
openalexId | string | Yes | OpenAlex work ID, for example W3035965352. |
semanticScholarId | string | Yes | Semantic Scholar paper ID (hex string). |
crossrefId | string | Yes | Crossref work identifier, which is the DOI. |
providers | array of string | No | Sources that reported this work: CROSSREF, OPENALEX, ARXIV, SEMANTIC_SCHOLAR. |
providerCount | integer | No | Number of entries in providers. Records with a count above 1 are cross-source merges. |
matchedQueries | array of string | No | Input items that matched this work, exactly as supplied. |
publishedAt | string | Yes | Earliest 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. |
publicationYear | integer | Yes | Year of publishedAt. |
venue | string | Yes | Journal, conference or repository name. Preprints report arXiv unless a journal reference is known. |
publisher | string | Yes | Publisher or host organization as reported by Crossref, OpenAlex or Semantic Scholar. |
workType | string | Yes | Work classification from the source vocabulary, for example journal-article, proceedings-article, preprint. Vocabularies differ per source and are not remapped. |
language | string | Yes | Language code such as en, when a source reports it. |
citedByCount | integer | Yes | Highest citation count reported by any source. Sources count citations differently, so this is the maximum, not a sum. |
referenceCount | integer | Yes | Highest reference (bibliography) count reported by any source. |
isOpenAccess | boolean | Yes | True when any source reports an open-access copy. Null when no source reports availability. |
isRetracted | boolean | Yes | Retraction flag from OpenAlex. Null when OpenAlex did not report the work. |
landingUrl | string | Yes | Publisher page, DOI link or repository page for the work. |
pdfUrl | string | Yes | Open-access PDF URL when a source reports one, most often the arXiv PDF or the OpenAlex best open-access location. |
subjects | array of string | No | Union of OpenAlex topics and concepts, Crossref subjects, Semantic Scholar fields of study and arXiv categories, deduplicated, capped at 20. |
dedupeKey | string | Yes | The merge key of the record: doi:..., arxiv:..., or a title-based key. |
message | string | Yes | Diagnostic message. Only set on the NOT_FOUND_OR_ERROR record. |
scrapedAt | string | No | Record 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.
abstractandauthorstake the longest value reported, because longer usually means more complete.citedByCountandreferenceCounttake the maximum reported value. Counts from different sources measure different citation graphs and are never summed.publishedAtandpublicationYeartake the earliest reported date, which is typically the preprint date.subjectsare the union of all sources, deduplicated case-insensitively.isOpenAccessis 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:
| Field | Description |
|---|---|
startedAt, finishedAt | Run window in UTC ISO 8601 format. |
queriesRequested | Number of input items processed. |
sourcesRequested | Normalized source list used for the run. |
sourceRecordsFetched | Total records collected from all sources before merging. |
uniqueWorksStored | Merged records written to the dataset. |
duplicatesMerged | Source records absorbed into another work during merging. |
chargeLimitReached | True when the run stopped early because the charged-results limit was hit. |
semanticScholarKeySource | Which Semantic Scholar key served the run: USER_INPUT, OPERATOR or NONE (shared keyless pool). The key itself is never stored. |
providerStats | Per-source totals: records fetched, failed requests, and the last error message. |
queries | Per-input breakdown: lookup kind, classified value, records fetched, and per-source outcome or error. |
filtersApplied | Effective 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
- Open the Actor page and click Start.
- Leave the default input to fetch recent high-coverage works for
large language modelsplus the merged record for the NumPy DOI. - Add your own entries, for example
["transformer interpretability", "arxiv:1706.03762"], setsortBytoMOST_CITED, and run. - 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 ApifyClientclient = 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.
pdfUrlpoints 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
citedByCountis 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
semanticScholarApiKeywins; 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, andsemanticScholarKeySourceshows 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.
RELEVANCEorder 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
publishedAtis the earlier preprint date. When the journal date matters, prefer records whose only provider is Crossref, or comparevenuewith 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.
workTypevalues are passed through from each source's vocabulary (journal-articlefrom Crossref,articlefrom OpenAlex,preprintfor 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.