{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Clinical Trials (CTIS) Scraper",
    "description": "Scrape the EU Clinical Trials Information System (CTIS) - the EMA's official register of clinical trials across the EU/EEA. Search by title, condition, sponsor, status, phase, therapeutic area, country, and more, or look up full trial detail by EU CT number. Public REST API - no auth, no proxy.",
    "version": "1.0",
    "x-build-id": "Qp1aDdYqwbFrRZhf9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~eu-ctis-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-eu-ctis-scraper",
        "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/crawlerbros~eu-ctis-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-eu-ctis-scraper",
        "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/crawlerbros~eu-ctis-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-eu-ctis-scraper",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byTrialId"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "title": {
            "title": "Trial title contains",
            "type": "string",
            "description": "Free-text search against the trial's public title (mode=search)."
          },
          "medicalCondition": {
            "title": "Medical condition",
            "type": "string",
            "description": "Free-text search against the trial's medical condition(s) (mode=search)."
          },
          "sponsorName": {
            "title": "Sponsor name contains",
            "type": "string",
            "description": "Free-text search against the sponsor organisation name (mode=search)."
          },
          "ctNumberQuery": {
            "title": "EU CT number contains",
            "type": "string",
            "description": "Free-text search against the EU CT number, e.g. `2023-509723` (mode=search). For an exact single-trial lookup use mode=byTrialId instead."
          },
          "status": {
            "title": "Trial status",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to one or more overall trial statuses. Empty = no filter (mode=search).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11",
                "12"
              ],
              "enumTitles": [
                "Under evaluation",
                "Authorised, not started",
                "Authorised, recruitment pending",
                "Authorised, recruiting",
                "Ongoing, recruitment ended",
                "Temporarily halted",
                "Suspended",
                "Ended",
                "Expired",
                "Revoked",
                "Not authorised",
                "Cancelled"
              ]
            },
            "default": []
          },
          "trialPhase": {
            "title": "Trial phase",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to one or more clinical trial phases. Empty = no filter (mode=search).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11"
              ],
              "enumTitles": [
                "Human Pharmacology (Phase I) - First administration to humans",
                "Human Pharmacology (Phase I) - Bioequivalence Study",
                "Human Pharmacology (Phase I) - Other",
                "Therapeutic exploratory (Phase II)",
                "Therapeutic confirmatory (Phase III)",
                "Therapeutic use (Phase IV)",
                "Phase I and Phase II (Integrated) - First administration to humans",
                "Phase I and Phase II (Integrated) - Bioequivalence Study",
                "Phase I and Phase II (Integrated) - Other",
                "Phase II and Phase III (Integrated)",
                "Phase III and phase IV (Integrated)"
              ]
            },
            "default": []
          },
          "therapeuticArea": {
            "title": "Therapeutic area",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to one or more MeSH-derived CTIS therapeutic areas. Empty = no filter (mode=search).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "20",
                "21",
                "22",
                "23",
                "24",
                "25",
                "26",
                "27",
                "28",
                "29",
                "30",
                "31",
                "32",
                "33",
                "34",
                "35",
                "36",
                "37",
                "38",
                "39",
                "40",
                "41",
                "42",
                "43",
                "44",
                "45",
                "46",
                "47",
                "48",
                "49",
                "50",
                "51",
                "52",
                "53",
                "54",
                "55",
                "56",
                "57",
                "58"
              ],
              "enumTitles": [
                "Diseases [C] - Bacterial Infections and Mycoses [C01]",
                "Diseases [C] - Virus Diseases [C02]",
                "Diseases [C] - Parasitic Diseases [C03]",
                "Diseases [C] - Neoplasms [C04]",
                "Diseases [C] - Musculoskeletal Diseases [C05]",
                "Diseases [C] - Digestive System Diseases [C06]",
                "Diseases [C] - Stomatognathic Diseases [C07]",
                "Diseases [C] - Respiratory Tract Diseases [C08]",
                "Diseases [C] - Otorhinolaryngologic Diseases [C09]",
                "Diseases [C] - Nervous System Diseases [C10]",
                "Diseases [C] - Eye Diseases [C11]",
                "Diseases [C] - Male Urogenital Diseases [C12]",
                "Diseases [C] - Female Urogenital Diseases and Pregnancy Complications [C13]",
                "Diseases [C] - Cardiovascular Diseases [C14]",
                "Diseases [C] - Hemic and Lymphatic Diseases [C15]",
                "Diseases [C] - Congenital, Hereditary, and Neonatal Diseases and Abnormalities [C16]",
                "Diseases [C] - Skin and Connective Tissue Diseases [C17]",
                "Diseases [C] - Nutritional and Metabolic Diseases [C18]",
                "Diseases [C] - Hormonal diseases [C19]",
                "Diseases [C] - Immune System Diseases [C20]",
                "Diseases [C] - Disorders of Environmental Origin [C21]",
                "Diseases [C] - Animal Diseases [C22]",
                "Diseases [C] - Pathological Conditions, Signs and Symptoms [C23]",
                "Analytical, Diagnostic and Therapeutic Techniques and Equipment [E] - Diagnosis [E01]",
                "Analytical, Diagnostic and Therapeutic Techniques and Equipment [E] - Therapeutics [E02]",
                "Analytical, Diagnostic and Therapeutic Techniques and Equipment [E] - Anesthesia and Analgesia [E03]",
                "Analytical, Diagnostic and Therapeutic Techniques and Equipment [E] - Surgical Procedures, Operative [E04]",
                "Analytical, Diagnostic and Therapeutic Techniques and Equipment [E] - Investigative Techniques [E05]",
                "Analytical, Diagnostic and Therapeutic Techniques and Equipment [E] - Dentistry [E06]",
                "Analytical, Diagnostic and Therapeutic Techniques and Equipment [E] - Equipment and Supplies [E07]",
                "Psychiatry and Psychology [F] - Behavior and Behavior Mechanisms [F01]",
                "Psychiatry and Psychology [F] - Psychological Phenomena [F02]",
                "Psychiatry and Psychology [F] - Mental Disorders [F03]",
                "Psychiatry and Psychology [F] - Behavioral Disciplines and Activities [F04]",
                "Phenomena and Processes [G] - Physical Phenomena [G01]",
                "Phenomena and Processes [G] - Chemical Phenomena [G02]",
                "Phenomena and Processes [G] - Metabolism [G03]",
                "Phenomena and Processes [G] - Cell Physiological Phenomena [G04]",
                "Phenomena and Processes [G] - Genetic Phenomena [G05]",
                "Phenomena and Processes [G] - Microbiological Phenomena [G06]",
                "Phenomena and Processes [G] - Physiological processes [G07]",
                "Phenomena and Processes [G] - Reproductive and Urinary Physiological Phenomena [G08]",
                "Phenomena and Processes [G] - Circulatory and Respiratory Physiological Phenomena [G09]",
                "Phenomena and Processes [G] - Digestive System and Oral Physiological Phenomena [G10]",
                "Phenomena and Processes [G] - Musculoskeletal and Neural Physiological Phenomena [G11]",
                "Phenomena and Processes [G] - Immune system processes [G12]",
                "Phenomena and Processes [G] - Immune System Phenomena [G13]",
                "Phenomena and Processes [G] - Ocular Physiological Phenomena [G14]",
                "Phenomena and Processes [G] - Plant Physiological Phenomena [G15]",
                "Phenomena and Processes [G] - Biological Phenomena [G16]",
                "Phenomena and Processes [G] - Mathematical Concepts [G17]",
                "Health Care [N] - Population Characteristics [N01]",
                "Health Care [N] - Health Care Facilities, Manpower, and Services [N02]",
                "Health Care [N] - Health Care Economics and Organizations [N03]",
                "Health Care [N] - Health Services Administration [N04]",
                "Health Care [N] - Health Care Quality, Access, and Evaluation [N05]",
                "Health Care [N] - Environment and Public Health [N06]",
                "Not possible to specify"
              ]
            },
            "default": []
          },
          "ageGroup": {
            "title": "Age group",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to one or more participant age groups. Empty = no filter (mode=search).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4"
              ],
              "enumTitles": [
                "In utero",
                "0-17 years (children)",
                "18-64 years (adults)",
                "65+ years (elderly)"
              ]
            },
            "default": []
          },
          "gender": {
            "title": "Participant gender",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to trials enrolling one or more genders. Empty = no filter (mode=search).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2"
              ],
              "enumTitles": [
                "Male",
                "Female"
              ]
            },
            "default": []
          },
          "countries": {
            "title": "EU/EEA member state",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to trials with a site in one or more EU/EEA member states concerned. Empty = no filter (mode=search).",
            "items": {
              "type": "string",
              "enum": [
                "40",
                "56",
                "100",
                "191",
                "196",
                "203",
                "208",
                "233",
                "246",
                "250",
                "276",
                "300",
                "348",
                "352",
                "372",
                "380",
                "428",
                "438",
                "440",
                "442",
                "470",
                "528",
                "578",
                "616",
                "620",
                "642",
                "703",
                "705",
                "724",
                "752"
              ],
              "enumTitles": [
                "Austria",
                "Belgium",
                "Bulgaria",
                "Croatia",
                "Cyprus",
                "Czechia",
                "Denmark",
                "Estonia",
                "Finland",
                "France",
                "Germany",
                "Greece",
                "Hungary",
                "Iceland",
                "Ireland",
                "Italy",
                "Latvia",
                "Liechtenstein",
                "Lithuania",
                "Luxembourg",
                "Malta",
                "Netherlands",
                "Norway",
                "Poland",
                "Portugal",
                "Romania",
                "Slovakia",
                "Slovenia",
                "Spain",
                "Sweden"
              ]
            },
            "default": []
          },
          "trialRegion": {
            "title": "Trial region",
            "enum": [
              "1",
              "2",
              "3"
            ],
            "type": "string",
            "description": "Restrict to trials run only in the EEA, only outside it, or in both. Empty = no filter (mode=search)."
          },
          "sponsorType": {
            "title": "Sponsor type",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to one or more sponsor organisation types. Empty = no filter (mode=search).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "6",
                "8"
              ],
              "enumTitles": [
                "Educational Institution",
                "Health care",
                "Industry",
                "Patient organisation/association",
                "Hospital/Clinic/Other health care facility"
              ]
            },
            "default": []
          },
          "hasResultsOnly": {
            "title": "Has results only",
            "type": "boolean",
            "description": "Only emit trials that have published results (mode=search).",
            "default": false
          },
          "isRareDiseaseOnly": {
            "title": "Rare disease only",
            "type": "boolean",
            "description": "Only emit trials targeting a rare disease (mode=search).",
            "default": false
          },
          "isLowInterventionOnly": {
            "title": "Low-intervention trials only",
            "type": "boolean",
            "description": "Only emit trials classified as low-intervention (mode=search).",
            "default": false
          },
          "hasOrphanDesignationOnly": {
            "title": "Orphan designation only",
            "type": "boolean",
            "description": "Only emit trials involving a product with orphan drug designation (mode=search).",
            "default": false
          },
          "ctNumbers": {
            "title": "EU CT numbers (mode=byTrialId)",
            "type": "array",
            "description": "One or more EU CT numbers to fetch full trial detail for, e.g. `2023-509723-41-00`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by (mode=search)",
            "enum": [
              "decisionDate",
              "ctNumber"
            ],
            "type": "string",
            "description": "Field to sort search results by.",
            "default": "decisionDate"
          },
          "sortDirection": {
            "title": "Sort direction (mode=search)",
            "enum": [
              "DESC",
              "ASC"
            ],
            "type": "string",
            "description": "Ascending or descending, used together with `Sort by`.",
            "default": "DESC"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}