{
  "openapi": "3.0.1",
  "info": {
    "title": "Academic Paper Search — OpenAlex, arXiv, PubMed & Crossref",
    "description": "Search 250M+ scholarly papers across OpenAlex, arXiv, PubMed and Crossref, or look up DOIs, arXiv ids and PMIDs. One clean row per paper: title, abstract, authors with ORCID, year, venue, citations, open-access PDF link. $1 per 1,000 papers.",
    "version": "0.1",
    "x-build-id": "r1FXuvq9GT4G20iSr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actor-forge~academic-research/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actor-forge-academic-research",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/actor-forge~academic-research/runs": {
      "post": {
        "operationId": "runs-sync-actor-forge-academic-research",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/actor-forge~academic-research/run-sync": {
      "post": {
        "operationId": "run-sync-actor-forge-academic-research",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Keywords or a phrase, searched in titles, abstracts and full text where the source has it. Leave empty to look up ids only, or to list papers by author or venue."
          },
          "ids": {
            "title": "Look up ids",
            "type": "array",
            "description": "DOIs, arXiv ids, PubMed PMIDs, PMC ids or OpenAlex work ids, bare or as URLs (10.1038/nature14539, https://doi.org/..., arXiv:1706.03762, 31978945, PMC7092803, W2741809807). One row each, in the order given. Ids that aren't found get a free error row.",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Where to search. OpenAlex (250M+ works, citations, abstracts, open-access links) is the default. Crossref: publisher metadata for 160M+ DOIs. arXiv: preprints in physics, maths, CS and more. PubMed: biomedical literature with abstracts. Each source returns up to Max results.",
            "items": {
              "type": "string",
              "enum": [
                "openalex",
                "crossref",
                "arxiv",
                "pubmed"
              ],
              "enumTitles": [
                "OpenAlex",
                "Crossref",
                "arXiv",
                "PubMed"
              ]
            },
            "default": [
              "openalex"
            ]
          },
          "maxResults": {
            "title": "Max results per source",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many papers from each source.",
            "default": 100
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "date",
              "citations"
            ],
            "type": "string",
            "description": "Relevance, newest first, or most cited first. arXiv and PubMed have no citation counts and fall back to relevance; a Crossref keyword search always stays in relevance order.",
            "default": "relevance"
          },
          "fromYear": {
            "title": "From year",
            "minimum": 1500,
            "maximum": 2100,
            "type": "integer",
            "description": "Only papers published in or after this year."
          },
          "toYear": {
            "title": "To year",
            "minimum": 1500,
            "maximum": 2100,
            "type": "integer",
            "description": "Only papers published in or before this year."
          },
          "openAccessOnly": {
            "title": "Open access only",
            "type": "boolean",
            "description": "Only papers that are free to read. OpenAlex uses its open-access flag, PubMed its free full text filter, Crossref a Creative Commons licence; arXiv is always open.",
            "default": false
          },
          "type": {
            "title": "Publication type",
            "enum": [
              "article",
              "preprint",
              "review",
              "book",
              "book-chapter",
              "dataset",
              "dissertation",
              "letter",
              "editorial",
              "report"
            ],
            "type": "string",
            "description": "Only this kind of work. A source that can't filter by the chosen type is skipped, with a note in the run summary."
          },
          "minCitations": {
            "title": "Minimum citations",
            "minimum": 0,
            "type": "integer",
            "description": "Only papers cited at least this many times (OpenAlex and Crossref; arXiv and PubMed have no citation counts and are skipped when this is set)."
          },
          "authors": {
            "title": "Authors",
            "type": "array",
            "description": "Only papers by these authors (all of them), e.g. \"Jennifer Doudna\". Matched on the author name as printed on the paper.",
            "items": {
              "type": "string"
            }
          },
          "venue": {
            "title": "Journal or venue",
            "type": "string",
            "description": "Only papers in this journal or conference, e.g. \"Nature Medicine\". OpenAlex matches the closest venue name (shown in the run summary)."
          },
          "arxivCategory": {
            "title": "arXiv category",
            "type": "string",
            "description": "arXiv only: limit to a subject category such as cs.CL, cs.LG, astro-ph or q-bio.GN."
          },
          "includeAbstract": {
            "title": "Include abstracts",
            "type": "boolean",
            "description": "Add the abstract as plain text (OpenAlex abstracts are rebuilt from its word index). Turn off for smaller rows.",
            "default": true
          },
          "dedupe": {
            "title": "Remove duplicates across sources",
            "type": "boolean",
            "description": "When several sources return the same paper (same DOI), keep only the first. Duplicates removed are not charged.",
            "default": true
          },
          "openalexApiKey": {
            "title": "OpenAlex API key (optional)",
            "type": "string",
            "description": "Without a key, OpenAlex gives each network a small shared daily budget (about 100 searches a day); when it runs out, the search continues on Crossref. A free key from openalex.org/settings/api gives you your own budget, 10× larger."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}