{
  "openapi": "3.0.1",
  "info": {
    "title": "Longevity Trial Readouts (ClinicalTrials.gov) → Stock Tickers",
    "description": "Clinical trial catalyst calendar for longevity biotech: which ClinicalTrials.gov studies read out, and when. 9 topics with sponsor type, stock ticker and primary completion date. Structured JSON + HTML viewer, callable as an MCP tool by AI agents.",
    "version": "0.1",
    "x-build-id": "qnerg8VtCIRaeXxu6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/northlab~bio-finance-trial-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-northlab-bio-finance-trial-monitor",
        "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/northlab~bio-finance-trial-monitor/runs": {
      "post": {
        "operationId": "runs-sync-northlab-bio-finance-trial-monitor",
        "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/northlab~bio-finance-trial-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-northlab-bio-finance-trial-monitor",
        "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": {
          "topics": {
            "title": "Topics",
            "type": "array",
            "description": "Only return trials matching one of these longevity topics. Leave empty for all topics.",
            "items": {
              "type": "string",
              "enum": [
                "senolytics",
                "nad_nmn",
                "rapamycin",
                "gene_therapy",
                "metformin",
                "klotho",
                "reprogramming",
                "plasma_exchange",
                "glp1_aging"
              ]
            },
            "default": []
          },
          "status": {
            "title": "Trial status",
            "type": "array",
            "description": "Only return trials with one of these overall statuses, e.g. \"RECRUITING\", \"COMPLETED\", \"TERMINATED\" (ClinicalTrials.gov's own status vocabulary). Leave empty for all statuses.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "phases": {
            "title": "Trial phase",
            "type": "array",
            "description": "Only return trials that include one of these phases, e.g. \"PHASE1\", \"PHASE2\", \"PHASE3\". Leave empty for all phases.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "Start date from",
            "type": "string",
            "description": "Only return trials with a start date on or after this date (YYYY-MM-DD). Leave empty for no lower bound."
          },
          "dateTo": {
            "title": "Start date to",
            "type": "string",
            "description": "Only return trials with a start date on or before this date (YYYY-MM-DD). Leave empty for no upper bound."
          },
          "sponsorKeyword": {
            "title": "Sponsor keyword",
            "type": "string",
            "description": "Case-insensitive substring match against the sponsor/company name, e.g. \"Unity Biotechnology\"."
          },
          "conditionKeyword": {
            "title": "Condition keyword",
            "type": "string",
            "description": "Case-insensitive substring match against the trial's listed medical conditions/indications, e.g. \"osteoarthritis\" or \"frailty\"."
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Case-insensitive substring match against the trial title and conditions."
          },
          "onlyWithChanges": {
            "title": "Only trials with recorded changes",
            "type": "boolean",
            "description": "Only return trials that have at least one recorded change (status/phase/date change detected between two runs) since this Actor first saw them.",
            "default": false
          },
          "changesWithinDays": {
            "title": "Changes within last N days",
            "minimum": 1,
            "type": "integer",
            "description": "Only return trials with at least one change detected within the last N days. Combine with \"Only trials with recorded changes\" or use standalone."
          },
          "completionWithinDays": {
            "title": "Catalyst calendar: primary completion within N days",
            "minimum": 1,
            "type": "integer",
            "description": "Only return trials whose primary completion date — the point at which the primary endpoint is measured, i.e. when data exists — falls between today and N days from now. This is the catalyst calendar: prefilled with 180 to answer \"which longevity trials read out in the next six months?\". Clear it to get all trials regardless of completion date."
          },
          "sponsorTypes": {
            "title": "Sponsor type",
            "type": "array",
            "description": "Only return trials funded by one of these sponsor types: \"industry\" (a company), \"academic\" (university/hospital/institute), \"government\" (NIH, federal or other government agency), \"other\". Derived from ClinicalTrials.gov's own lead-sponsor class, with a name heuristic for the entries it leaves ambiguous. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "industry",
                "academic",
                "government",
                "other"
              ]
            },
            "default": []
          },
          "listingStatus": {
            "title": "Sponsor listing status",
            "type": "array",
            "description": "Only return trials whose sponsor matches one of these: \"ticker\" (mapped to a public stock), \"privat\" (a company confirmed to be privately held), \"non-commercial\" (university/hospital/government — no ticker by definition), \"unmapped\" (a company we haven't researched yet). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "ticker",
                "privat",
                "non-commercial",
                "unmapped"
              ]
            },
            "default": []
          },
          "tickerSymbols": {
            "title": "Sponsor stock tickers",
            "type": "array",
            "description": "Only return trials sponsored by one of these listed companies, e.g. \"ABBV\" (AbbVie), \"OXB.L\" (Oxford Biomedica), \"4536.T\" (Santen). Leave empty for all sponsors.",
            "default": [],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}