{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Scholar Alternative: Research Papers & Citations",
    "description": "Search research papers across Europe PMC and Crossref: DOI, title, journal, year, citation count, open-access link, abstract and APA/MLA/Chicago/BibTeX citations. Official APIs, no key. Bulk DOI lookup and delta mode.",
    "version": "1.0",
    "x-build-id": "IEHsKOm2M5gTLxgqX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datacrate~research-papers-open-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datacrate-research-papers-open-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/datacrate~research-papers-open-search/runs": {
      "post": {
        "operationId": "runs-sync-datacrate-research-papers-open-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/datacrate~research-papers-open-search/run-sync": {
      "post": {
        "operationId": "run-sync-datacrate-research-papers-open-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "doi",
              "refresh"
            ],
            "type": "string",
            "description": "search = find papers for each query. doi = look up the exact DOIs you list. refresh = look up DOIs again and report how much each citation count changed since the last run with the same State name.",
            "default": "search"
          },
          "queries": {
            "title": "Search queries",
            "type": "array",
            "description": "One search per entry, e.g. a topic, a title or a phrase in quotes. Supports Europe PMC syntax (AND, OR, \"phrases\"). If empty in search mode, a sample query is used.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dois": {
            "title": "DOIs (for DOI lookup and refresh modes)",
            "type": "array",
            "description": "DOIs such as 10.1038/nature14539 or full https://doi.org/... links.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Which official databases to query. Europe PMC covers PubMed, PMC, preprints and agricultural literature (with abstracts). Crossref covers publisher-registered DOIs across all fields. Results are de-duplicated by DOI.",
            "items": {
              "type": "string",
              "enum": [
                "europepmc",
                "crossref"
              ],
              "enumTitles": [
                "Europe PMC",
                "Crossref"
              ]
            },
            "default": [
              "europepmc",
              "crossref"
            ]
          },
          "yearFrom": {
            "title": "Published from (year)",
            "minimum": 1000,
            "maximum": 3000,
            "type": "integer",
            "description": "Only papers published in this year or later."
          },
          "yearTo": {
            "title": "Published until (year)",
            "minimum": 1000,
            "maximum": 3000,
            "type": "integer",
            "description": "Only papers published in this year or earlier."
          },
          "openAccessOnly": {
            "title": "Open access only",
            "type": "boolean",
            "description": "Europe PMC: uses its open-access flag. Crossref: keeps only records whose registered licence is an open licence (for example Creative Commons), so some open papers without a registered licence are missed.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "citations",
              "date"
            ],
            "type": "string",
            "description": "Relevance (default), most cited first, or newest first.",
            "default": "relevance"
          },
          "citationStyle": {
            "title": "Citation string",
            "enum": [
              "none",
              "apa",
              "mla",
              "chicago",
              "bibtex"
            ],
            "type": "string",
            "description": "Add a ready-made reference string built from the paper's metadata. Generated locally and approximate for unusual records; check before submitting a manuscript.",
            "default": "none"
          },
          "includeAbstract": {
            "title": "Include abstract",
            "type": "boolean",
            "description": "Europe PMC provides abstracts for most records; Crossref only for some. Turn off for smaller, faster output.",
            "default": true
          },
          "omitAuthors": {
            "title": "Omit author names",
            "type": "boolean",
            "description": "Remove author names from the output (an author count is still returned).",
            "default": false
          },
          "sinceLastRun": {
            "title": "Delta mode (only new papers)",
            "type": "boolean",
            "description": "Skip papers already returned by earlier runs with the same State name. In refresh mode, skip papers whose citation count did not change. Ideal for scheduled alerts on a saved query.",
            "default": false
          },
          "stateKey": {
            "title": "State name (for delta mode)",
            "type": "string",
            "description": "Name of the 'already seen' list. Use a different name for each saved query or watchlist.",
            "default": "default"
          },
          "maxResultsPerQuery": {
            "title": "Max papers per query",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Split across the selected sources. You are charged per paper returned.",
            "default": 25
          },
          "maxItems": {
            "title": "Max papers in total",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard stop for the whole run.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}