{
  "openapi": "3.0.1",
  "info": {
    "title": "UK LSE IPO Calendar — London Listings Tracker",
    "description": "Track upcoming and recent London Stock Exchange IPOs — Main Market, AIM and HGSM listings with offer prices, sponsor/nomad, sector, raise amount and admission date. Built for UK institutional investors, AIM-focused funds and journalists.",
    "version": "0.0",
    "x-build-id": "9iLbeA7MgPB4huZC4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nexgendata~uk-lse-ipo-calendar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nexgendata-uk-lse-ipo-calendar",
        "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/nexgendata~uk-lse-ipo-calendar/runs": {
      "post": {
        "operationId": "runs-sync-nexgendata-uk-lse-ipo-calendar",
        "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/nexgendata~uk-lse-ipo-calendar/run-sync": {
      "post": {
        "operationId": "run-sync-nexgendata-uk-lse-ipo-calendar",
        "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": "Calendar mode",
            "enum": [
              "upcoming",
              "recent",
              "both"
            ],
            "type": "string",
            "description": "Which slice of the London Stock Exchange (LSE) IPO universe to return. 'upcoming' = announced intention-to-float (ITF), FCA-approved prospectuses or admission documents filed but not yet listed (forward calendar — typically 10-25 active book-builds at any time across Main Market + AIM + HGSM). 'recent' = past N days of completed IPOs (priced + first-day admissions) with first-day pop and current return. 'both' (default) = upcoming + recent in one pull, sorted with Upcoming first then most-recent admissions.",
            "default": "both"
          },
          "lookbackDays": {
            "title": "Lookback window (days)",
            "minimum": 1,
            "maximum": 1825,
            "type": "integer",
            "description": "How many days of completed LSE IPOs to include when mode is 'recent' or 'both'. Default 60 days returns the most-recent quarter of admission activity — typically 4-12 listings on Main Market + AIM combined in an active window. LSE prices roughly 40-110 IPOs/year (Main + AIM); 180 days is the practical upper bound for institutional dashboards. Set higher (e.g. 365 or 1825) for full-year vintage studies or nomad / sponsor league-table research.",
            "default": 60
          },
          "lookaheadDays": {
            "title": "Lookahead window (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "How many days of forward LSE IPO calendar to include when mode is 'upcoming' or 'both'. Default 60 days returns the active book-build pipeline (deals with ITF announcements + FCA-approved prospectuses). 90-180 days extends to the medium-term pipeline (ITF posted but admission date not yet fixed). 180+ days surfaces the soft pipeline (rumored / nomad-mandated AIM deals).",
            "default": 60
          },
          "market": {
            "title": "LSE market tier",
            "enum": [
              "all",
              "Main Market",
              "AIM",
              "HGSM"
            ],
            "type": "string",
            "description": "Filter by LSE market segment. 'Main Market' = senior board (Premium / Standard listings; FCA-regulated; FTSE-eligible). 'AIM' = Alternative Investment Market (LSE's growth board — nomad-supervised, lighter regulatory regime, ~600 issuers). 'HGSM' = the High Growth Segment Market reformed in 2024 (Wise, THG-class candidates) — equivalent to LSE's transition tier for high-growth tech. 'all' returns every tier.",
            "default": "all"
          },
          "status": {
            "title": "Listing status filter",
            "enum": [
              "all",
              "proof",
              "approved",
              "listed",
              "withdrawn",
              "postponed"
            ],
            "type": "string",
            "description": "Filter by IPO lifecycle stage. 'proof' = early-stage prospectus / admission document submitted to FCA / LSE (pre-approval). 'approved' = FCA-approved prospectus or LSE admission document — book-build active. 'listed' = admitted to trading. 'withdrawn' / 'postponed' = pulled. 'all' returns every status.",
            "default": "all"
          },
          "sector": {
            "title": "ICB-style sector filter",
            "enum": [
              "all",
              "Technology",
              "Healthcare",
              "Financials",
              "Consumer Discretionary",
              "Consumer Staples",
              "Industrials",
              "Energy",
              "Real Estate",
              "Materials",
              "Communication Services",
              "Utilities",
              "Basic Resources"
            ],
            "type": "string",
            "description": "Filter by sector (ICB / GICS-aligned). LSE IPO mix is dominated by Financials (investment trusts, REITs, SPACs), Healthcare (AIM biotech), Industrials (UK manufacturers), Technology (Wise, Deliveroo, THG class), Energy (North Sea, oil & gas), and the resurgent 2024-2026 Consumer / Resources wave. 'all' = no filter.",
            "default": "all"
          },
          "minRaiseGbpMillion": {
            "title": "Minimum gross raise (GBP millions)",
            "minimum": 0,
            "maximum": 50000,
            "type": "number",
            "description": "Lower bound on gross IPO raise in GBP millions. Use to filter out micro-cap AIM placings. Typical thresholds: '5' = small AIM placing, '25' = mid AIM / small Main, '100' = institutional Main Market, '500' = mega-deal (Aramco UK rumored class, Haleon GSK spin, BAT-class re-listings). Leave 0 for no lower bound. 1 GBP ≈ 1.27 USD.",
            "default": 0
          },
          "limit": {
            "title": "Max IPO records returned",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Hard cap on total LSE IPO records returned (1-200). Each IPO is one dataset row. Premium pricing applies per row — UK IPO data is institutional intel (Bloomberg LON IPO / Refinitiv LSEG Workspace / Dealogic equivalents cost USD 2,000-2,500/seat/month). LSE prices ~40-110 IPOs/year so most useful runs are limit=20-100. Records are sorted Upcoming-first by admission date ascending, then completed-IPOs by admission date descending.",
            "default": 25
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}