Scraper APICrossref
crossref.work
One work by its DOI, as registered with Crossref: title, authors, journal or book, publisher, dates, citation count, abstract, licence and funders.
- Id
crossref.work- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/crossref.work/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
doirequired | string | The work's DOI, e.g. 10.1038/nature14539, or its address (https://doi.org/10.1038/nature14539).Limit: at least 1 characters, at most 400 characters. |
doiis the DOI (10.1038/nature14539), with or withoutdoi:before it, or its address at doi.org. Upper and lower case are the same DOI.publishedis the date as far as it was deposited:2015-05-27,2015-05or2015.published_printandpublished_onlineare given where the publisher deposited them separately.cited_by_countcounts the works registered with Crossref that cite this one.reference_countis the length of the work's reference list; the list itself is not returned.resource_urlis where the DOI leads.pdf_urlis a PDF the publisher named, which may need a subscription to open.- A DOI that is not registered with Crossref ends
failedwithnot_found, and costs nothing. DOIs of other registration agencies, which most DOIs of research data are, end the same way — see the reasons of this family.
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
doi | string | The work's DOI, e.g. 10.1038/nature14539. |
url | string | The DOI as an address: https://doi.org/<doi>. |
type | string or null | Crossref's type of work, e.g. journal-article, book-chapter, proceedings-article, posted-content (a preprint), monograph. |
title | string or null | The work's title. Null for the few records deposited without one. |
subtitle | string or null | The subtitle, when one was deposited. |
authors | array of object | The authors, in the deposited order. |
name (in authors[]) | string | The author's name: given name then family name, or the organisation's name for an author that is one. |
given (in authors[]) | string or null | The given name, as deposited. |
family (in authors[]) | string or null | The family name, as deposited. |
orcid (in authors[]) | string or null | The author's ORCID iD, e.g. 0000-0002-1825-0097, when the publisher deposited one. |
affiliations (in authors[]) | array of string | The affiliations deposited for this author, as written. |
container_title | string or null | What the work appeared in: the journal, the book or the proceedings. |
publisher | string or null | The publisher's name. |
published | string or null | The publication date as deposited: 2015-05-27, or 2015-05 or 2015 where no day or month was given. |
published_print | string or null | The date of the print edition, in the same form. |
published_online | string or null | The date of online publication, in the same form. |
volume | string or null | The volume. |
issue | string or null | The issue. |
page | string or null | The page range, as deposited, e.g. 436-444; for a journal without pages, the article number. |
issn | array of string | The ISSNs of the journal or series. |
isbn | array of string | The ISBNs of the book. |
language | string or null | The language code deposited, e.g. en. |
abstract | string or null | The abstract as text, where the publisher deposited one. |
subjects | array of string | The subject names on the record. Empty for most works. |
reference_count | integer or null | How many references the work's record lists. |
cited_by_count | integer or null | How many works registered with Crossref cite this one. |
license_urls | array of string | The addresses of the licences deposited for the work, e.g. http://creativecommons.org/licenses/by/4.0/. |
funders | array of object | The funders the work acknowledges, as deposited. |
name (in funders[]) | string | The funder's name, as deposited. |
doi (in funders[]) | string or null | The funder's DOI in the Funder Registry, e.g. 10.13039/100000001. |
awards (in funders[]) | array of string | The award or grant numbers deposited for this funder. |
resource_url | string or null | Where the DOI leads: the work's page at its publisher. |
pdf_url | string or null | The address of a PDF the publisher deposited for the work. It may need a subscription to open. |
fetched_at | string (date-time) | When Crossref was asked, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/crossref.work/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"doi":"10.7717/peerj.4375"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("crossref.work", {"doi": "10.7717/peerj.4375"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("crossref.work", { doi: "10.7717/peerj.4375" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "crossref.work", map[string]any{"doi": "10.7717/peerj.4375"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("crossref.work", Map.of("doi", "10.7717/peerj.4375"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run crossref.work --input doi=10.7717/peerj.4375Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"doi": "10.7717/peerj.4375"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "crossref.work",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"doi": "10.7717/peerj.4375"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"doi": "10.7717/peerj.4375",
"url": "https://doi.org/10.7717/peerj.4375",
"type": "journal-article",
"title": "The state of OA: a large-scale analysis of the prevalence and impact of Open Access articles",
"subtitle": null,
"authors": [
{
"name": "Heather Piwowar",
"given": "Heather",
"family": "Piwowar",
"orcid": null,
"affiliations": [
"Impactstory, Sanford, NC, USA"
]
},
{
"name": "Jason Priem",
"given": "Jason",
"family": "Priem",
"orcid": null,
"affiliations": [
"Impactstory, Sanford, NC, USA"
]
}
],
"container_title": "PeerJ",
"publisher": "PeerJ",
"published": "2018-02-13",
"published_print": null,
"published_online": "2018-02-13",
"volume": "6",
"issue": null,
"page": "e4375",
"issn": [
"2167-8359"
],
"isbn": [],
"language": "en",
"abstract": "Despite growing interest in Open Access (OA) to scholarly literature, there is an unmet need for large-scale, up-to-date, and reproducible studies assessing the prevalence and characteristics of OA. We address this need using oaDOI, an open … [truncated]",
"subjects": [],
"reference_count": 52,
"cited_by_count": 888,
"license_urls": [
"http://creativecommons.org/licenses/by/4.0/"
],
"funders": [],
"resource_url": "https://peerj.com/articles/4375",
"pdf_url": "https://peerj.com/articles/4375.pdf",
"fetched_at": "2026-11-19T18:07:39.822029Z"
}
],
"next_cursor": null
}What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].
- Shortened:
authors: 9 items, the first 2 shown. - Shortened:
abstract: 1,630 characters, the first 240 shown.
A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Crossref scrapers are in their own section there.