# openalex.work

One scholarly work by its OpenAlex id, DOI or PubMed id: authors and their institutions, where it was published, open-access status, citations, topics and abstract.

OpenAlex work, one of the OpenAlex scrapers.

| | |
| --- | --- |
| Id | `openalex.work` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/openalex.work/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `work` | string | yes | The work: its OpenAlex id (`W2741809807`), its DOI (`10.7717/peerj.4375`), its PubMed id as `pmid:29456894`, or its address on openalex.org or doi.org. Limit: at least 1 characters, at most 400 characters. |

- `work` is an OpenAlex id (`W2741809807`), a DOI (`10.7717/peerj.4375`), a PubMed id written `pmid:29456894`, or the work's address on openalex.org or doi.org.
- Ids in the record are bare: `id` is `W…`, `doi` has no `https://doi.org/` before it, an author's `id` is `A…` and `orcid` the sixteen characters.
- Each author carries the institutions OpenAlex matched the work's affiliations to, and their countries. `position` is `first`, `middle` or `last`.
- `oa_status` is `gold`, `diamond`, `hybrid`, `green`, `bronze` or `closed`; `oa_url` is the best free copy OpenAlex found. `landing_page_url`, `pdf_url` and `license` describe the place the work was published.
- `abstract` is put back together from the word index OpenAlex stores and is `null` where it has none. `fwci` is the field-weighted citation impact, where 1 is the average of works of the same field, type and year.
- An id OpenAlex has no work under ends `failed` with `not_found`, and costs nothing — see [the reasons of this family](https://docs.enrichednow.com/results-and-statuses.md#openalex).

## 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 |
| --- | --- | --- |
| `id` | string | OpenAlex's id of the work, e.g. `W2741809807`. |
| `url` | string | The work's page on openalex.org. |
| `doi` | string or null | The work's DOI, e.g. `10.7717/peerj.4375`. Null for a work without one. |
| `title` | string or null | The work's title. Null for the few works catalogued without one. |
| `type` | string or null | OpenAlex's type of work, e.g. `article`, `preprint`, `review`, `book`, `book-chapter`, `dissertation`. |
| `publication_year` | integer or null | The year the work was published. |
| `publication_date` | string or null | The day the work was published, `YYYY-MM-DD`. Where only a year is known OpenAlex gives 1 January. |
| `language` | string or null | The language OpenAlex detected for the work, as a two-letter code. |
| `authors` | array of object | The authors, in the work's order. |
| `authors[].name` | string | The author's name, as OpenAlex displays it. |
| `authors[].id` | string or null | OpenAlex's id of the author, e.g. `A5048491430`. |
| `authors[].orcid` | string or null | The author's ORCID iD, e.g. `0000-0003-1613-5981`, when OpenAlex knows one. |
| `authors[].position` | string or null | Where the author stands in the author list: `first`, `middle` or `last`. |
| `authors[].is_corresponding` | boolean or null | True when the work names this author as its corresponding author. |
| `authors[].institutions` | array of string | The institutions OpenAlex matched this author's affiliations on the work to, by name. |
| `authors[].countries` | array of string | The countries of those affiliations, as two-letter codes. |
| `source` | string or null | Where the work was published: the journal, repository, conference or book series. |
| `source_type` | string or null | What kind of place that is: `journal`, `repository`, `conference`, `ebook platform`, `book series`. |
| `publisher` | string or null | The organisation behind that source. |
| `issn` | string or null | The source's linking ISSN (ISSN-L). |
| `volume` | string or null | The volume. |
| `issue` | string or null | The issue. |
| `first_page` | string or null | The first page, or the article number. |
| `last_page` | string or null | The last page. |
| `is_open_access` | boolean or null | True when OpenAlex found a copy anyone can read without paying. |
| `oa_status` | string or null | The kind of open access: `gold`, `diamond`, `hybrid`, `green`, `bronze`, or `closed`. |
| `oa_url` | string or null | The address of the best free copy OpenAlex found. |
| `landing_page_url` | string or null | The work's page at its publisher or repository. |
| `pdf_url` | string or null | The address of a PDF at that place, when OpenAlex has one. |
| `license` | string or null | The licence of that copy, e.g. `cc-by`. |
| `cited_by_count` | integer or null | How many works in OpenAlex cite this one. |
| `referenced_works_count` | integer or null | How many works this one cites. |
| `fwci` | number or null | The field-weighted citation impact: citations relative to works of the same field, type and year, where 1 is average. |
| `is_retracted` | boolean or null | True when the work has been retracted. |
| `primary_topic` | string or null | The topic OpenAlex assigns the work first, e.g. `Academic Publishing and Open Access`. |
| `field` | string or null | The field that topic belongs to, e.g. `Social Sciences`, `Computer Science`. |
| `topics` | array of string | Every topic OpenAlex assigns the work, best match first. |
| `keywords` | array of string | The keywords OpenAlex assigns the work. |
| `abstract` | string or null | The abstract as text, put back together from OpenAlex's word index. Null where OpenAlex has none. |
| `pmid` | string or null | The work's PubMed id, when it has one. |
| `pmcid` | string or null | The work's PubMed Central id, e.g. `PMC5815332`, when it has one. |
| `updated_at` | string (date-time) or null | When OpenAlex last changed its record of the work, in UTC. |
| `fetched_at` | string (date-time) | When OpenAlex was asked, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/openalex.work/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"work":"W2741809807"}}'
```

## 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`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "openalex.work",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "work": "W2741809807"
  },
  "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.

```json
{
  "records": [
    {
      "id": "W2741809807",
      "url": "https://openalex.org/W2741809807",
      "doi": "10.7717/peerj.4375",
      "title": "The state of OA: a large-scale analysis of the prevalence and impact of Open Access articles",
      "type": "article",
      "publication_year": 2018,
      "publication_date": "2018-02-13",
      "language": "en",
      "authors": [
        {
          "name": "Heather Piwowar",
          "id": "A5048491430",
          "orcid": "0000-0003-1613-5981",
          "position": "first",
          "is_corresponding": true,
          "institutions": [
            "OpenAlex"
          ],
          "countries": [
            "CA"
          ]
        },
        {
          "name": "Jason R Priem",
          "id": "A5023888391",
          "orcid": "0000-0001-6187-6610",
          "position": "middle",
          "is_corresponding": true,
          "institutions": [
            "OpenAlex"
          ],
          "countries": [
            "CA"
          ]
        }
      ],
      "source": "PeerJ",
      "source_type": "journal",
      "publisher": "PeerJ, Inc.",
      "issn": "2167-8359",
      "volume": "6",
      "issue": null,
      "first_page": "e4375",
      "last_page": "e4375",
      "is_open_access": true,
      "oa_status": "gold",
      "oa_url": "https://doi.org/10.7717/peerj.4375",
      "landing_page_url": "https://doi.org/10.7717/peerj.4375",
      "pdf_url": null,
      "license": "cc-by",
      "cited_by_count": 1704,
      "referenced_works_count": 47,
      "fwci": 420.0552,
      "is_retracted": false,
      "primary_topic": "Academic Publishing and Open Access",
      "field": "Social Sciences",
      "topics": [
        "Academic Publishing and Open Access",
        "scientometrics and bibliometrics research",
        "Publishing and Scholarly Communication"
      ],
      "keywords": [
        "open access",
        "Crossref DOIs",
        "Web of Science"
      ],
      "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]",
      "pmid": "29456894",
      "pmcid": "PMC5815332",
      "updated_at": "2026-11-18T13:11:19.462570Z",
      "fetched_at": "2026-11-19T18:07:41.044897Z"
    }
  ],
  "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: `keywords`: 11 items, the first 3 shown.
- Shortened: `abstract`: 1,630 characters, the first 240 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the OpenAlex scrapers](https://docs.enrichednow.com/results-and-statuses.md#openalex) are in their own section there.
