{
  "openapi": "3.1.0",
  "info": {
    "title": "ClinicalTrials.gov & OpenFDA Biotech / Pharma Lead Enricher — Apify Cloud Action API",
    "version": "3.0.0",
    "description": "Extract active Phase I-IV clinical trials, lead biotech/pharma sponsors, principal investigators, and OpenFDA regulatory safety intelligence. Import this schema directly into ChatGPT Custom GPT Actions, Dify.ai, Relevance AI, Flowise, or n8n. Store URL: https://apify.com/lucacelli/clinical-trials-fda-drug-safety-intel"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2",
      "description": "Apify Production Cloud API v2"
    }
  ],
  "paths": {
    "/acts/lucacelli~clinical-trials-fda-drug-safety-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run_clinical_trials_fda_drug_safety_intel",
        "summary": "ClinicalTrials.gov & OpenFDA Biotech / Pharma Lead Enricher ($0.80 / 1,000 trials)",
        "description": "Extract active Phase I-IV clinical trials, lead biotech/pharma sponsors, principal investigators, and OpenFDA regulatory safety intelligence. Synchronous REST execution returning structured JSON dataset items directly.",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "default": "YOUR_APIFY_API_TOKEN"
            },
            "description": "Your Apify API Token (Get $5/month free credit at https://apify.com/lucacelli)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "example": {
                  "conditions": [
                    "oncology immunotherapy",
                    "GLP-1 obesity",
                    "CRISPR gene therapy"
                  ],
                  "maxStudies": 15
                }
              },
              "example": {
                "conditions": [
                  "oncology immunotherapy",
                  "GLP-1 obesity",
                  "CRISPR gene therapy"
                ],
                "maxStudies": 15
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Array of extracted and enriched intelligence records from Apify dataset.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}