---
title: "OpenAlex API: Search scholarly works | Perceptlayer"
description: "Scholarly works on OpenAlex matching a query, with year, open access and type filters: title, DOI, year, citations, authors, venue and abstract snippet."
url: https://perceptlayer.com/apis/openalex/works-search
---

[APIs](https://perceptlayer.com/apis) / [OpenAlex](https://perceptlayer.com/apis/openalex) / Search scholarly works

# OpenAlex: Search scholarly works

Scholarly works on OpenAlex matching a query, with year, open access and type filters: title, DOI, year, citations, authors, venue and abstract snippet.

GET `/v1/openalex/works-search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 300 characters Words to match in the title, abstract and full text. |
| `from_year` | string | Optional | Up to 4 characters Earliest publication year, for example 2020. |
| `to_year` | string | Optional | Up to 4 characters Latest publication year, for example 2024. |
| `open_access` | boolean | Optional | Any true to return only open access works. |
| `type` | string | Optional | article, book, book-chapter, dataset, dissertation, editorial, letter, other, paratext, peer-review, preprint, reference-entry, report, review, standard Work type. |
| `sort` | string | Optional | relevance, cited, newest, oldest Sort order: relevance (default), cited (most cited first), newest or oldest. |
| `page` | integer | Optional | Any Page number, from 1. Default 1; page × per\_page can be at most 10,000. |
| `per_page` | integer | Optional | Any Results per page, 1 to 100. Default 20. |

## Example request

OpenAlex

GET /v1/openalex/works-search?query=retrieval+augmented+generation&from\_year=2023&open\_access=true&sort=cited&per\_page=10 

```
{
  "success": true,
  "data": {
    "total": 178377,
    "page": 1,
    "has_more": true,
    "count": 10,
    "items": [
      {
        "id": "W4327810158",
        "doi": "10.48550/arxiv.2303.08774",
        "title": "GPT-4 Technical Report",
        "publication_year": 2023,
        "publication_date": "2023-03-15",
        "type": "preprint",
        "language": "en",
        "cited_by_count": 58167,
        "authors": [
          {
            "id": "A5165994337",
            "name": "OpenAI",
            "position": "first"
          },
          {
            "id": "A5032275803",
            "name": "Joshua Achiam",
            "position": "middle"
          },
          {
            "id": "A5110211174",
            "name": "Steven Adler",
            "position": "middle"
          }
        ],
        "source": {
          "id": "S4306400194",
          "name": "arXiv",
          "issn": "2331-8422",
          "type": "repository"
        },
        "is_open_access": true,
        "open_access_status": "green",
        "open_access_url": "https://arxiv.org/pdf/2303.08774",
        "abstract": "We report the development of GPT-4, a large-scale, multimodal model which can accept image and text inputs and produce text outputs. While less capable than humans in many real-world scenarios, GPT-4 exhibits human-level performance on vari…",
        "url": "https://openalex.org/W4327810158"
      },
      {
        "id": "W4401306886",
        "doi": "10.48550/arxiv.2407.21783",
        "title": "The Llama 3 Herd of Models",
        "publication_year": 2024,
        "publication_date": "2024-07-31",
        "type": "preprint",
        "language": "en",
        "cited_by_count": 31288,
        "authors": [
          {
            "id": "A5026557666",
            "name": "Aaron Grattafiori",
            "position": "first",
            "institutions": [
              "Meta (United States)"
            ]
          },
          {
            "id": "A5020152678",
            "name": "Abhimanyu Dubey",
            "position": "middle",
            "institutions": [
              "Meta (United States)"
            ]
          },
          {
            "id": "A5072575808",
            "name": "Abhinav Jauhri",
            "orcid": "0000-0002-9695-9261",
            "position": "middle",
            "institutions": [
              "Meta (United States)"
            ]
          }
        ],
        "source": {
          "id": "S4306400194",
          "name": "arXiv",
          "issn": "2331-8422",
          "type": "repository"
        },
        "is_open_access": true,
        "open_access_status": "green",
        "open_access_url": "https://arxiv.org/pdf/2407.21783",
        "abstract": "Modern artificial intelligence (AI) systems are powered by foundation models. This paper presents a new set of foundation models, called Llama 3. It is a herd of language models that natively support multilinguality, coding, reasoning, and …",
        "url": "https://openalex.org/W4401306886"
      },
      {
        "id": "W4414939355",
        "doi": "10.48550/arxiv.2505.09388",
        "title": "Qwen3 Technical Report",
        "publication_year": 2025,
        "publication_date": "2025-05-14",
        "type": "preprint",
        "language": "en",
        "cited_by_count": 21445,
        "authors": [
          {
            "id": "A5165945488",
            "name": "An Yang",
            "position": "first"
          },
          {
            "id": "A5091493188",
            "name": "A. Li",
            "orcid": "0000-0001-5012-6013",
            "position": "middle"
          },
          {
            "id": "A5028040391",
            "name": "Baosong Yang",
            "orcid": "0000-0001-5002-2409",
            "position": "middle"
          }
        ],
        "author_count": 60,
        "source": {
          "id": "S4306400194",
          "name": "arXiv",
          "issn": "2331-8422",
          "type": "repository"
        },
        "is_open_access": true,
        "open_access_status": "green",
        "open_access_url": "https://arxiv.org/pdf/2505.09388",
        "abstract": "In this work, we present Qwen3, the latest version of the Qwen model family. Qwen3 comprises a series of large language models (LLMs) designed to advance performance, efficiency, and multilingual capabilities. The Qwen3 series includes mode…",
        "url": "https://openalex.org/W4414939355"
      }
    ]
  },
  "meta": {
    "request_id": "req_d72156da20f541b6b66bdd31e4aaafeb",
    "credits_charged": 1,
    "credits_remaining": 182
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/openalex?try=works-search#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.items` has these 16 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `id` | string |
| `doi` | string |
| `title` | string |
| `publication_year` | integer |
| `publication_date` | string |
| `type` | string |
| `language` | string |
| `cited_by_count` | integer |
| `authors` | object\[\] |
| `source` | object |
| `is_open_access` | boolean |
| `open_access_status` | string |
| `open_access_url` | url |
| `abstract` | string |
| `url` | url |
| `author_count` | number |
