{
  "openapi": "3.0.1",
  "info": {
    "title": "Research Paper Search | OpenAlex API & Crossref",
    "description": "Extract research papers from the OpenAlex API and Crossref at $0.60 per 1,000 works: search by keyword, author or institution with year, open-access and citation filters. Title, authors, venue, year, DOI, citations, free PDF link and licensed abstract. No login.",
    "version": "0.1",
    "x-build-id": "vutSgauIpU7usTFdF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aurelix~scholarly-works-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aurelix-scholarly-works-search",
        "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/aurelix~scholarly-works-search/runs": {
      "post": {
        "operationId": "runs-sync-aurelix-scholarly-works-search",
        "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/aurelix~scholarly-works-search/run-sync": {
      "post": {
        "operationId": "run-sync-aurelix-scholarly-works-search",
        "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": "Keyword search",
            "type": "string",
            "description": "Words to find in the title, abstract or full text, e.g. 'graphene battery' or 'CRISPR off-target'. Leave empty to search by author or institution only."
          },
          "author": {
            "title": "Author",
            "type": "string",
            "description": "Author name as written on the papers, e.g. 'Jennifer Doudna'. Combined with the other fields (all must match)."
          },
          "institution": {
            "title": "Institution",
            "type": "string",
            "description": "Institution or affiliation, e.g. 'University of Toronto' or 'Max Planck'. Matched against the affiliations printed on each paper."
          },
          "yearFrom": {
            "title": "From year",
            "minimum": 1500,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest publication year, e.g. 2020. Leave empty for no lower limit."
          },
          "yearTo": {
            "title": "To year",
            "minimum": 1500,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest publication year, e.g. 2025. Leave empty for no upper limit."
          },
          "openAccessOnly": {
            "title": "Open access only",
            "type": "boolean",
            "description": "Only works that are free to read. OpenAlex marks open access itself; for Crossref a work counts as open access when its record carries an open (Creative Commons) licence.",
            "default": false
          },
          "minCitations": {
            "title": "Cited at least",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only works cited at least this many times, e.g. 50. 0 = no limit.",
            "default": 0
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Where to search. OpenAlex is the default and supports every filter. Crossref adds works registered with a DOI; it applies the open-access and citation filters after reading, so narrow searches can take longer. 'arXiv preprints only' limits OpenAlex to works hosted on arXiv. A work found in more than one source is returned once.",
            "items": {
              "type": "string",
              "enum": [
                "openalex",
                "crossref",
                "arxiv"
              ],
              "enumTitles": [
                "OpenAlex (all fields, open-access links, institutions)",
                "Crossref (DOI registry)",
                "arXiv preprints only (through OpenAlex)"
              ]
            },
            "default": [
              "openalex"
            ]
          },
          "sort": {
            "title": "Order",
            "enum": [
              "relevance",
              "newest",
              "citations"
            ],
            "type": "string",
            "description": "Order of the results. Without a keyword, relevance means newest first. 'Only new works' always reads newest first.",
            "default": "relevance"
          },
          "maxResults": {
            "title": "Maximum works",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Most works to return in this run, across all sources, e.g. 100. Each source can reach its first 10,000 matches.",
            "default": 100
          },
          "incremental": {
            "title": "Only new works",
            "type": "boolean",
            "description": "Return only works this search has not returned before (newest first, published up to today). The first run returns the current matches up to 'Maximum works' and remembers them; each later run returns only works added since, so a scheduled run gives you a feed of new papers for the query.",
            "default": false
          },
          "trackingName": {
            "title": "Tracking name (optional)",
            "type": "string",
            "description": "Name for the memory of 'Only new works', e.g. 'my-topic'. Leave empty and the memory follows this exact search; set a name to keep it while you change the search."
          },
          "openAlexApiKey": {
            "title": "OpenAlex API key (optional)",
            "type": "string",
            "description": "Your own free OpenAlex key (openalex.org/settings/api) for your own daily OpenAlex budget. Without it, OpenAlex shares a small free daily budget per server; if that is used up, the run says so, charges nothing for OpenAlex and answers from Crossref instead. The key is used only for your runs."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL (optional)",
            "type": "string",
            "description": "After each run, post a short digest to Slack: how many works were returned and the top 10 with links, e.g. https://hooks.slack.com/services/T000/B000/XXXX. Nothing is posted when the run returned nothing. Leave empty to skip."
          },
          "webhookUrl": {
            "title": "Webhook URL (optional)",
            "type": "string",
            "description": "After each run, POST the same digest as JSON (actor, newOnly, count, items = top 10 results, runUrl, datasetUrl = all results as JSON, text) to any URL, e.g. a Zapier, Make or n8n webhook. Nothing is sent when the run returned nothing. Leave empty to skip."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}