{
  "openapi": "3.0.1",
  "info": {
    "title": "Global Clinical Trials Biotech, Pharma & PI Contact Leads",
    "description": "Extract active recruiting industry-sponsored clinical trials from NIH ClinicalTrials.gov v2 (13,900+ active pharma/biotech studies) with direct study contact emails, phones, Principal Investigators, phases, drugs & trial sites.",
    "version": "1.0",
    "x-build-id": "RMxL2aE4SsTukyEa5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/regpulse-data~global-clinical-trials-biotech-sponsor-contact-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-regpulse-data-global-clinical-trials-biotech-sponsor-contact-leads",
        "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/regpulse-data~global-clinical-trials-biotech-sponsor-contact-leads/runs": {
      "post": {
        "operationId": "runs-sync-regpulse-data-global-clinical-trials-biotech-sponsor-contact-leads",
        "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/regpulse-data~global-clinical-trials-biotech-sponsor-contact-leads/run-sync": {
      "post": {
        "operationId": "run-sync-regpulse-data-global-clinical-trials-biotech-sponsor-contact-leads",
        "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": "Operation Mode",
            "enum": [
              "industry_biotech_leads",
              "trial_search",
              "sponsor_lookup",
              "watchlist_diff"
            ],
            "type": "string",
            "description": "Select 'industry_biotech_leads' (default) for INDUSTRY-sponsored pharma, biotech & medtech trials, 'trial_search' for all sponsor classes (including NIH & academic centers), 'sponsor_lookup' to search trials by pharma/biotech company name, or 'watchlist_diff' for stateful monitoring of newly posted or updated trials.",
            "default": "industry_biotech_leads"
          },
          "query": {
            "title": "General Search Term",
            "type": "string",
            "description": "Optional free-text search term across study titles, summaries, keywords, sponsors, and interventions (e.g., 'GLP-1', 'ADC', 'gene therapy', 'Companion Diagnostic'). In 'sponsor_lookup' mode, used as sponsor query if 'sponsor' is omitted."
          },
          "condition": {
            "title": "Condition / Disease Area",
            "type": "string",
            "description": "Filter by medical condition or therapeutic area (e.g., 'Oncology', 'Alzheimer', 'Diabetes', 'GLP-1', 'Autoimmune', 'Rare Disease')."
          },
          "intervention": {
            "title": "Intervention / Drug / Device",
            "type": "string",
            "description": "Filter by drug, biologic, medical device, or diagnostic intervention (e.g., 'mRNA', 'CAR-T', 'Medical Device', 'Monoclonal Antibody')."
          },
          "sponsor": {
            "title": "Sponsor / Collaborator Company Name",
            "type": "string",
            "description": "Filter by pharmaceutical, biotech, or medtech sponsor/collaborator name (e.g., 'Pfizer', 'Eli Lilly', 'ModernaTX', 'Novartis', 'AstraZeneca')."
          },
          "location": {
            "title": "Trial Site Location (Country, State, or City)",
            "type": "string",
            "description": "Filter by clinical trial site location (e.g., 'United States', 'Germany', 'United Kingdom', 'Massachusetts', 'Boston')."
          },
          "statuses": {
            "title": "Trial Recruitment Statuses",
            "type": "array",
            "description": "Filter by ClinicalTrials.gov overall recruitment status. Defaults to active recruiting pipeline ('RECRUITING' and 'NOT_YET_RECRUITING'). Pass an empty array to include all statuses.",
            "items": {
              "type": "string",
              "enum": [
                "RECRUITING",
                "NOT_YET_RECRUITING",
                "ACTIVE_NOT_RECRUITING",
                "ENROLLING_BY_INVITATION",
                "COMPLETED",
                "SUSPENDED",
                "TERMINATED",
                "WITHDRAWN",
                "AVAILABLE",
                "APPROVED_FOR_MARKETING"
              ]
            },
            "default": [
              "RECRUITING",
              "NOT_YET_RECRUITING"
            ]
          },
          "phases": {
            "title": "Clinical Trial Phases",
            "type": "array",
            "description": "Optional filter by clinical phase (e.g., ['PHASE2', 'PHASE3'] for high-budget pivotal trials). Leave empty to include all phases.",
            "items": {
              "type": "string",
              "enum": [
                "EARLY_PHASE1",
                "PHASE1",
                "PHASE2",
                "PHASE3",
                "PHASE4",
                "NA"
              ]
            }
          },
          "sponsorClasses": {
            "title": "Lead Sponsor Classes",
            "type": "array",
            "description": "Filter by lead sponsor classification. Automatically defaults to ['INDUSTRY'] in 'industry_biotech_leads' mode when empty; includes all sponsor classes in 'trial_search', 'sponsor_lookup', and 'watchlist_diff' modes when empty.",
            "items": {
              "type": "string",
              "enum": [
                "INDUSTRY",
                "NIH",
                "FED",
                "OTHER",
                "NETWORK",
                "OTHER_GOV",
                "INDIV"
              ]
            }
          },
          "hasEmailOnly": {
            "title": "Require Direct Contact Email",
            "type": "boolean",
            "description": "When true, delivers only clinical trials that include at least one direct central contact or trial site email address for B2B outreach.",
            "default": false
          },
          "hasPhoneOnly": {
            "title": "Require Direct Contact Phone",
            "type": "boolean",
            "description": "When true, delivers only clinical trials that include at least one direct central contact or trial site phone number.",
            "default": false
          },
          "minEnrollment": {
            "title": "Minimum Target Enrollment",
            "minimum": 0,
            "type": "integer",
            "description": "Optional minimum planned or actual patient enrollment count (e.g., 100 for larger multi-center clinical trials).",
            "default": 0
          },
          "updatedSince": {
            "title": "Last Updated Since (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional ISO date filter (YYYY-MM-DD) returning only clinical trials whose ClinicalTrials.gov LastUpdatePostDate is on or after this date."
          },
          "maxResults": {
            "title": "Maximum Results to Deliver",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap the number of billed clinical trial records pushed to the dataset (1 to 5,000).",
            "default": 100
          },
          "stateStoreName": {
            "title": "Watchlist State Store Name (for watchlist_diff Mode)",
            "type": "string",
            "description": "Persistent Apify Key-Value Store name used in 'watchlist_diff' mode to remember previously tracked NCT trials, phases, recruitment statuses, and contact details across scheduled runs.",
            "default": "global-clinical-trials-watchlist-state"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}