> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAlex

> Open catalog of scholarly works, authors, institutions, sources and topics, with citations, open-access status and grouping counts.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/openalex.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=5099ab44e6d2e2c25fefada139b6d7dd)

[Web Catalog · Science](https://docs.webrouter.net/data-apis.md?category=science)

Key optional

Endpoints

8

Auth

Key in query

[Vendor docs](https://help.openalex.org/how-to-use-the-api/api-overview) · [Pricing](https://help.openalex.org/access/pricing/) · Serves `openalex.org`

## Setup

| Variable | | What it is |
| - | - | - |
| `OPENALEX_API_KEY` | some calls | Optional free OpenAlex API key (openalex.org account); raises the daily budget 10x and the rate limit from 10 to 30 requests per second. Sent as the api\_key query parameter. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Works without a key on a small daily budget; a free key gives \$1 of usage a day, resetting at midnight UTC, and is needed to follow cursor paging past the first page.
* Rate limit: 10 requests/second keyless, 30 with a free key; semantic search 1 per second.
* page/per\_page paging stops at 10,000 results (page \* per\_page); use cursor=\* for more. per\_page max is 100.
* group\_by returns up to 200 groups per page and pages only by cursor.

## Endpoints

GET

Search and filter scholarly works

Papers, books and datasets matching a search and/or filters, or counts grouped by a field.

[Open](#openalex-works-list)

GET

Get a work

One work record by OpenAlex ID or external ID.

[Open](#openalex-works-get)

GET

Search and filter authors

Author records with works and citation counts, affiliations and IDs.

[Open](#openalex-authors-list)

GET

Get an author

One author record by OpenAlex ID or external ID.

[Open](#openalex-authors-get)

GET

Search and filter institutions

Universities, companies and other research institutions with ROR IDs and output counts.

[Open](#openalex-institutions-list)

GET

Search and filter sources

Journals, repositories and conferences that host works, with ISSNs and counts.

[Open](#openalex-sources-list)

GET

Search and filter topics

Research topics with their subfield, field and domain.

[Open](#openalex-topics-list)

GET

Autocomplete entity names

Type-ahead matches for a partial name across one entity type.

[Open](#openalex-autocomplete)

### Search and filter scholarly works

GET

`/works`

`openalex.works.list`

Papers, books and datasets matching a search and/or filters, or counts grouped by a field.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `search`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Full-text search over the entity's searchable fields. AND, OR, NOT in uppercase; quotes for phrases.
      </td>
    </tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field:value filters (comma = AND, | = OR, ! = NOT, > and \< for ranges), e.g. publication\_year:2024,is\_oa:true.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        field or field:desc; display\_name, cited\_by\_count, works\_count, publication\_date (works), relevance\_score (needs search). Comma-separate several.
      </td>
    </tr>

    <tr>
      <td>
        `select`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated top-level fields to return, e.g. id,display\_name.
      </td>
    </tr>

    <tr>
      <td>
        `group_by`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Up to three comma-separated fields to count by instead of listing records; :include\_unknown after a field keeps unknowns.
      </td>
    </tr>

    <tr>
      <td>
        `per_page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, 1 to 100, default 25.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page number; page \* per\_page may not exceed 10,000.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor paging: start with \* and pass meta.next\_cursor; reaches past 10,000 results. Needs a free key past the first page.
      </td>
    </tr>

    <tr>
      <td>
        `search_semantic`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Semantic (embedding) search by meaning, e.g. an abstract. Cannot be combined with another search parameter; limited to 1 request per second.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://help.openalex.org/api/endpoints/) · Same job: [arXiv](https://docs.webrouter.net/data-apis/arxiv.md#arxiv-query), [Crossref](https://docs.webrouter.net/data-apis/crossref.md#crossref-works-search), [Europe PMC](https://docs.webrouter.net/data-apis/europepmc.md#europepmc-search), [Hugging Face Hub](https://docs.webrouter.net/data-apis/huggingface.md#huggingface-papers-search), [Litescrape](https://docs.webrouter.net/data-apis/litescrape.md#litescrape-google-scholar), [NIH RePORTER](https://docs.webrouter.net/data-apis/nih-reporter.md#nih-reporter-publications-search)

```python Python theme={null}
router.call_data_api("openalex.works.list")
```

```text MCP theme={null}
call_data_api(endpoint="openalex.works.list")
```

> [!NOTE]
>
> * Pricing (help.openalex.org search page): list+filter calls cost \$0.10 per 1,000, search calls \$1 per 1,000. Each response reports its own cost in meta.cost\_usd.
> * Fetching up to 100 records by ID in one list request (an OR filter on the ID) costs one list call, cheaper than 100 single lookups.

### Get a work

GET

`/works/{id}`

`openalex.works.get`

One work record by OpenAlex ID or external ID.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>path</td><td>OpenAlex ID (W2741809807), doi:10.7717/peerj.4375, pmid:29456894, or the full https\://doi.org/... URL. Example `W2741809807`</td></tr>

    <tr>
      <td>
        `select`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated fields to return.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://help.openalex.org/api/get-single-entities/) · Same job: [Crossref](https://docs.webrouter.net/data-apis/crossref.md#crossref-works-get), [Europe PMC](https://docs.webrouter.net/data-apis/europepmc.md#europepmc-article-get), [PubMed (NCBI E-utilities)](https://docs.webrouter.net/data-apis/pubmed.md#pubmed-summary), [Semantic Scholar](https://docs.webrouter.net/data-apis/semanticscholar.md#semanticscholar-paper-match)

```python Python theme={null}
router.call_data_api("openalex.works.get", {'id': 'W2741809807'})
```

```text MCP theme={null}
call_data_api(endpoint="openalex.works.get", params={"id": "W2741809807"})
```

> [!NOTE]
>
> * Single-entity lookups are free.

### Search and filter authors

GET

`/authors`

`openalex.authors.list`

Author records with works and citation counts, affiliations and IDs.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `search`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Full-text search over the entity's searchable fields. AND, OR, NOT in uppercase; quotes for phrases.
      </td>
    </tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field:value filters (comma = AND, | = OR, ! = NOT, > and \< for ranges), e.g. publication\_year:2024,is\_oa:true.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        field or field:desc; display\_name, cited\_by\_count, works\_count, publication\_date (works), relevance\_score (needs search). Comma-separate several.
      </td>
    </tr>

    <tr>
      <td>
        `select`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated top-level fields to return, e.g. id,display\_name.
      </td>
    </tr>

    <tr>
      <td>
        `group_by`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Up to three comma-separated fields to count by instead of listing records; :include\_unknown after a field keeps unknowns.
      </td>
    </tr>

    <tr>
      <td>
        `per_page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, 1 to 100, default 25.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page number; page \* per\_page may not exceed 10,000.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor paging: start with \* and pass meta.next\_cursor; reaches past 10,000 results. Needs a free key past the first page.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://help.openalex.org/api/endpoints/) · Same job: [Semantic Scholar](https://docs.webrouter.net/data-apis/semanticscholar.md#semanticscholar-author-search)

```python Python theme={null}
router.call_data_api("openalex.authors.list")
```

```text MCP theme={null}
call_data_api(endpoint="openalex.authors.list")
```

### Get an author

GET

`/authors/{id}`

`openalex.authors.get`

One author record by OpenAlex ID or external ID.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>path</td><td>OpenAlex ID (A...) or orcid:0000-0001-6187-6610. Example `orcid:0000-0001-6187-6610`</td></tr>

    <tr>
      <td>
        `select`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated fields to return.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://help.openalex.org/api/get-single-entities/)

```python Python theme={null}
router.call_data_api("openalex.authors.get", {'id': 'orcid:0000-0001-6187-6610'})
```

```text MCP theme={null}
call_data_api(endpoint="openalex.authors.get", params={"id": "orcid:0000-0001-6187-6610"})
```

> [!NOTE]
>
> * Single-entity lookups are free.

### Search and filter institutions

GET

`/institutions`

`openalex.institutions.list`

Universities, companies and other research institutions with ROR IDs and output counts.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `search`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Full-text search over the entity's searchable fields. AND, OR, NOT in uppercase; quotes for phrases.
      </td>
    </tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field:value filters (comma = AND, | = OR, ! = NOT, > and \< for ranges), e.g. publication\_year:2024,is\_oa:true.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        field or field:desc; display\_name, cited\_by\_count, works\_count, publication\_date (works), relevance\_score (needs search). Comma-separate several.
      </td>
    </tr>

    <tr>
      <td>
        `select`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated top-level fields to return, e.g. id,display\_name.
      </td>
    </tr>

    <tr>
      <td>
        `group_by`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Up to three comma-separated fields to count by instead of listing records; :include\_unknown after a field keeps unknowns.
      </td>
    </tr>

    <tr>
      <td>
        `per_page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, 1 to 100, default 25.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page number; page \* per\_page may not exceed 10,000.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor paging: start with \* and pass meta.next\_cursor; reaches past 10,000 results. Needs a free key past the first page.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://help.openalex.org/api/endpoints/)

```python Python theme={null}
router.call_data_api("openalex.institutions.list")
```

```text MCP theme={null}
call_data_api(endpoint="openalex.institutions.list")
```

### Search and filter sources

GET

`/sources`

`openalex.sources.list`

Journals, repositories and conferences that host works, with ISSNs and counts.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `search`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Full-text search over the entity's searchable fields. AND, OR, NOT in uppercase; quotes for phrases.
      </td>
    </tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field:value filters (comma = AND, | = OR, ! = NOT, > and \< for ranges), e.g. publication\_year:2024,is\_oa:true.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        field or field:desc; display\_name, cited\_by\_count, works\_count, publication\_date (works), relevance\_score (needs search). Comma-separate several.
      </td>
    </tr>

    <tr>
      <td>
        `select`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated top-level fields to return, e.g. id,display\_name.
      </td>
    </tr>

    <tr>
      <td>
        `group_by`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Up to three comma-separated fields to count by instead of listing records; :include\_unknown after a field keeps unknowns.
      </td>
    </tr>

    <tr>
      <td>
        `per_page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, 1 to 100, default 25.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page number; page \* per\_page may not exceed 10,000.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor paging: start with \* and pass meta.next\_cursor; reaches past 10,000 results. Needs a free key past the first page.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://help.openalex.org/api/endpoints/) · Same job: [Crossref](https://docs.webrouter.net/data-apis/crossref.md#crossref-journals-search)

```python Python theme={null}
router.call_data_api("openalex.sources.list")
```

```text MCP theme={null}
call_data_api(endpoint="openalex.sources.list")
```

### Search and filter topics

GET

`/topics`

`openalex.topics.list`

Research topics with their subfield, field and domain.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `search`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Full-text search over the entity's searchable fields. AND, OR, NOT in uppercase; quotes for phrases.
      </td>
    </tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field:value filters (comma = AND, | = OR, ! = NOT, > and \< for ranges), e.g. publication\_year:2024,is\_oa:true.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        field or field:desc; display\_name, cited\_by\_count, works\_count, publication\_date (works), relevance\_score (needs search). Comma-separate several.
      </td>
    </tr>

    <tr>
      <td>
        `select`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated top-level fields to return, e.g. id,display\_name.
      </td>
    </tr>

    <tr>
      <td>
        `group_by`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Up to three comma-separated fields to count by instead of listing records; :include\_unknown after a field keeps unknowns.
      </td>
    </tr>

    <tr>
      <td>
        `per_page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, 1 to 100, default 25.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page number; page \* per\_page may not exceed 10,000.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor paging: start with \* and pass meta.next\_cursor; reaches past 10,000 results. Needs a free key past the first page.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://help.openalex.org/api/endpoints/)

```python Python theme={null}
router.call_data_api("openalex.topics.list")
```

```text MCP theme={null}
call_data_api(endpoint="openalex.topics.list")
```

### Autocomplete entity names

GET

`/autocomplete/{entity_type}`

`openalex.autocomplete`

Type-ahead matches for a partial name across one entity type.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`entity_type` required</td><td>string</td><td>path</td><td>works, authors, sources, institutions, topics, keywords, publishers or funders. Example `authors`</td></tr>
    <tr><td>`q` required</td><td>string</td><td>query</td><td>The search string. Example `einst`</td></tr>
  </tbody>
</table>

[Vendor docs](https://help.openalex.org/api/autocomplete/)

```python Python theme={null}
router.call_data_api("openalex.autocomplete", {'entity_type': 'authors', 'q': 'einst'})
```

```text MCP theme={null}
call_data_api(endpoint="openalex.autocomplete", params={"entity_type": "authors", "q": "einst"})
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.