{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Scholar Alternative: Papers, Citations, Alerts & Trends",
    "description": "Search 300M+ scholarly papers as on Google Scholar, from OpenAlex, Crossref and Europe PMC, with new-paper alerts on a schedule and a free summary of papers per year, top journals and authors: citation counts, abstracts, PDFs, cited-by, ORCID authors and APA, MLA and BibTeX. No API key.",
    "version": "0.1",
    "x-build-id": "DUSvdcoRvBHU0WLoP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pikoulas~paper-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pikoulas-paper-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/pikoulas~paper-search/runs": {
      "post": {
        "operationId": "runs-sync-pikoulas-paper-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/pikoulas~paper-search/run-sync": {
      "post": {
        "operationId": "run-sync-pikoulas-paper-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": {
          "queries": {
            "title": "Search terms",
            "type": "array",
            "description": "What to search for, such as a topic. Each is searched separately.",
            "items": {
              "type": "string"
            }
          },
          "dois": {
            "title": "DOIs to look up",
            "type": "array",
            "description": "Papers you already know, by DOI or doi.org link.",
            "items": {
              "type": "string"
            }
          },
          "citedBy": {
            "title": "Find papers citing these DOIs",
            "type": "array",
            "description": "For each DOI, the papers that cite it, most cited first: Google Scholar's \"Cited by\". Needs OpenAlex among the sources.",
            "items": {
              "type": "string"
            }
          },
          "references": {
            "title": "Find papers these DOIs cite",
            "type": "array",
            "description": "For each DOI, the papers in its reference list, most cited first. Needs OpenAlex among the sources.",
            "items": {
              "type": "string"
            }
          },
          "authors": {
            "title": "Papers by these authors (ORCID iDs)",
            "type": "array",
            "description": "For each ORCID iD, such as 0000-0003-2531-5589 or its orcid.org link, the author's papers, most cited first. Needs OpenAlex among the sources.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerQuery": {
            "title": "Max papers per input",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Papers returned for each search term, DOI or author, and so what a run can cost: each paper is charged.",
            "default": 25
          },
          "fromYear": {
            "title": "From year",
            "minimum": 1000,
            "type": "integer",
            "description": "Only papers published in this year or later."
          },
          "toYear": {
            "title": "To year",
            "minimum": 1000,
            "type": "integer",
            "description": "Only papers published in this year or earlier."
          },
          "publishedWithinDays": {
            "title": "Published in the last days",
            "minimum": 1,
            "type": "integer",
            "description": "Only papers published in this many days or later, such as 7 for the past week, each source ranking them by relevance. Journals date some issues ahead, so a few dates are in the future. With From year too, the later of the two counts."
          },
          "openAccessOnly": {
            "title": "Open access only",
            "type": "boolean",
            "description": "Only papers free to read. Crossref isn't asked then, as it can't tell.",
            "default": false
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "citations",
              "newest"
            ],
            "type": "string",
            "description": "Most cited looks among each source's most relevant 100 or more. Without a search term, as for an author's papers, relevance is most cited.",
            "default": "relevance"
          },
          "includeAbstracts": {
            "title": "Include abstracts",
            "type": "boolean",
            "description": "Abstracts belong to their authors or publishers; turn this off if you need only the bibliographic data.",
            "default": true
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Where to look. All three by default.",
            "items": {
              "type": "string",
              "enum": [
                "openalex",
                "crossref",
                "europepmc"
              ],
              "enumTitles": [
                "OpenAlex",
                "Crossref",
                "Europe PMC (includes PubMed)"
              ]
            },
            "default": [
              "openalex",
              "crossref",
              "europepmc"
            ]
          },
          "onlyNew": {
            "title": "Only papers new since the last run",
            "type": "boolean",
            "description": "For alerts: each input gives only papers no earlier run with this on gave it, so a scheduled run (save the input as a task, then schedule it) brings the week's new papers on a topic, by an author or citing a paper. Pair it with Published in the last days and relevance; sorting by newest brings loose matches. The first run gives everything, as a baseline. Remembered on your account, per input.",
            "default": false
          },
          "openAlexApiKey": {
            "title": "Your OpenAlex API key",
            "type": "string",
            "description": "Optional, and free from <a href='https://openalex.org/settings/api-key'>openalex.org/settings/api-key</a>. Without it, the Actor asks OpenAlex on its own key, shared by everyone within OpenAlex's daily allowance, and past that without a key, up to 100 papers per input. With yours, your runs page on to Max papers per input on your own allowance. Kept encrypted, sent only to OpenAlex, and never in the results or the log."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}