{
  "openapi": "3.0.1",
  "info": {
    "title": "Researcher Email Finder: PubMed Authors by Topic",
    "description": "Find researchers by topic with the email they published in PubMed papers, plus affiliation, ORCID and recent papers. $0.005 per researcher with email. Corresponding-author emails for life-science sales, CROs, recruiters and AI agents.",
    "version": "0.1",
    "x-build-id": "n50d0mLVe6JaCOORk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datagleaner~researcher-email-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datagleaner-researcher-email-finder",
        "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/datagleaner~researcher-email-finder/runs": {
      "post": {
        "operationId": "runs-sync-datagleaner-researcher-email-finder",
        "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/datagleaner~researcher-email-finder/run-sync": {
      "post": {
        "operationId": "run-sync-datagleaner-researcher-email-finder",
        "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": "Topics",
            "type": "array",
            "description": "Research topics to find researchers for, one per line, e.g. `crispr base editing` or `car-t solid tumors`. PubMed query syntax works: `\"base editing\"[tiab] AND mice`. Each topic is searched separately. Leave this and the other sources empty to run a 5-researcher example.",
            "items": {
              "type": "string"
            }
          },
          "authorNames": {
            "title": "Author names",
            "type": "array",
            "description": "Find a named researcher's published email: `Jennifer Doudna`, `Doudna JA` or `Doudna, Jennifer`. Only that author is returned from their papers.",
            "items": {
              "type": "string"
            }
          },
          "pmids": {
            "title": "PubMed IDs",
            "type": "array",
            "description": "Specific papers by PMID, e.g. `42850393`. Every author of these papers who printed an email is returned.",
            "items": {
              "type": "string"
            }
          },
          "dois": {
            "title": "DOIs",
            "type": "array",
            "description": "Specific papers by DOI, e.g. `10.1038/s41551-026-01747-y` or a doi.org link.",
            "items": {
              "type": "string"
            }
          },
          "yearFrom": {
            "title": "Published from year",
            "minimum": 1950,
            "maximum": 2100,
            "type": "integer",
            "description": "Only scan papers published in this year or later, so you reach researchers who are active now. Applies to topics and author names."
          },
          "affiliationContains": {
            "title": "Affiliation contains",
            "type": "string",
            "description": "Keep only researchers whose affiliation includes this text, e.g. `Harvard`, `Karolinska` or `Hospital`. Case-insensitive."
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Keep only researchers whose affiliation is in one of these countries, by name or ISO code: `United States`, `DE`, `UK`, `China`.",
            "items": {
              "type": "string"
            }
          },
          "onlyWithEmail": {
            "title": "Only researchers with an email",
            "type": "boolean",
            "description": "On (default): return only researchers who published an email, the billed result. Off: also return co-authors without an email, free of charge, which can be many rows.",
            "default": true
          },
          "maxResearchers": {
            "title": "Max researchers",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many researchers across all topics. Results are spread evenly over the topics.",
            "default": 50
          },
          "maxPapersScanned": {
            "title": "Max papers scanned per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many of the most relevant papers to read per topic or author. Roughly one paper in two to three yields a published email.",
            "default": 500
          },
          "source": {
            "title": "Source",
            "enum": [
              "pubmed",
              "europepmc"
            ],
            "type": "string",
            "description": "PubMed returns the most published emails. Europe PMC carries ORCID iDs for more authors and covers preprints, but prints fewer emails.",
            "default": "pubmed"
          },
          "delayMs": {
            "title": "Pacing (milliseconds)",
            "minimum": 340,
            "maximum": 10000,
            "type": "integer",
            "description": "Minimum pause between requests. NCBI allows about 3 requests a second without an API key, so it stays at 340 ms or more.",
            "default": 400
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Defaults to no proxy: PubMed and Europe PMC are public APIs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}