{
  "openapi": "3.0.1",
  "info": {
    "title": "Research Papers Search & Alerts (OpenAlex data)",
    "description": "Search 250M+ scholarly works from OpenAlex: articles, preprints, books, datasets. Authors with ORCID and institutions, venues, citations, open access PDFs, topics, funders. Filters by date, author, institution, country, journal. Paper alerts.",
    "version": "1.0",
    "x-build-id": "S0qagFq4yGt0eyB8r"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/notarealgamedev~research-papers-openalex/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-notarealgamedev-research-papers-openalex",
        "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/notarealgamedev~research-papers-openalex/runs": {
      "post": {
        "operationId": "runs-sync-notarealgamedev-research-papers-openalex",
        "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/notarealgamedev~research-papers-openalex/run-sync": {
      "post": {
        "operationId": "run-sync-notarealgamedev-research-papers-openalex",
        "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": {
          "searches": {
            "title": "Search",
            "type": "array",
            "description": "Words or phrases to search. One search per line; results are merged. Supports AND, OR, NOT and \"exact phrases\".",
            "items": {
              "type": "string"
            }
          },
          "searchIn": {
            "title": "Search in",
            "enum": [
              "titleAndAbstract",
              "all",
              "title"
            ],
            "type": "string",
            "description": "Where the search words must appear.",
            "default": "titleAndAbstract"
          },
          "dois": {
            "title": "DOIs",
            "type": "array",
            "description": "Look up specific works by DOI (10.1038/…, doi.org links work too).",
            "items": {
              "type": "string"
            }
          },
          "authors": {
            "title": "Authors",
            "type": "array",
            "description": "ORCID iDs (0000-0002-1825-0097) or OpenAlex author IDs (A5023888391). Works by any of them.",
            "items": {
              "type": "string"
            }
          },
          "institutions": {
            "title": "Institutions",
            "type": "array",
            "description": "Names (\"University of Oslo\"), ROR IDs or OpenAlex institution IDs. Works with an author from any of them.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries of the authors' institutions",
            "type": "array",
            "description": "ISO codes, e.g. NO, DE, US.",
            "items": {
              "type": "string"
            }
          },
          "issns": {
            "title": "Journals (ISSN)",
            "type": "array",
            "description": "For example 0028-0836 (Nature).",
            "items": {
              "type": "string"
            }
          },
          "types": {
            "title": "Work types",
            "type": "array",
            "description": "Empty = all types.",
            "items": {
              "type": "string",
              "enum": [
                "article",
                "preprint",
                "review",
                "book",
                "book-chapter",
                "dataset",
                "dissertation",
                "report",
                "letter",
                "editorial",
                "erratum",
                "paratext",
                "other"
              ]
            }
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "ISO 639-1 codes, e.g. en, de, es.",
            "items": {
              "type": "string"
            }
          },
          "publishedWithinDays": {
            "title": "Published within the last (days)",
            "minimum": 1,
            "type": "integer",
            "description": "Ignored when \"Published from\" is set."
          },
          "publishedFrom": {
            "title": "Published from",
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "publishedTo": {
            "title": "Published until",
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "minCitations": {
            "title": "Minimum citations",
            "minimum": 0,
            "type": "integer",
            "description": "Only works cited at least this many times."
          },
          "openAccessOnly": {
            "title": "Open access only",
            "type": "boolean",
            "description": "Only works that can be read for free somewhere.",
            "default": false
          },
          "excludeRetracted": {
            "title": "Leave out retracted works",
            "type": "boolean",
            "description": "Leave out works marked as retracted.",
            "default": true
          },
          "sort": {
            "title": "Order",
            "enum": [
              "newest",
              "mostCited",
              "relevance"
            ],
            "type": "string",
            "description": "The order in which works are read and delivered.",
            "default": "newest"
          },
          "maxResults": {
            "title": "Max works",
            "minimum": 0,
            "type": "integer",
            "description": "0 = up to 100,000. You pay per work delivered.",
            "default": 100
          },
          "apiKey": {
            "title": "OpenAlex API key (optional, free)",
            "type": "string",
            "description": "Without a key, OpenAlex shares a small free daily budget among everyone on the same IP address. A free key from https://openalex.org/settings/api gives you your own budget (about 1,000 searches or 10,000 lookups a day)."
          },
          "onlyNew": {
            "title": "Only new works (monitoring mode)",
            "type": "boolean",
            "description": "Return only works this monitor hasn't delivered before. Schedule the Actor for paper alerts.",
            "default": false
          },
          "monitorId": {
            "title": "Monitor name",
            "type": "string",
            "description": "Each name keeps its own memory, e.g. \"crispr-papers\"."
          },
          "skipExistingOnFirstRun": {
            "title": "First run: only save a starting point",
            "type": "boolean",
            "description": "On the first run of a monitor, deliver nothing and remember the current works, so later runs return only new ones.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}