{
  "openapi": "3.0.1",
  "info": {
    "title": "Launch Library 2 (The Space Devs) Rocket Launches Scraper",
    "description": "Track upcoming and historical orbital rocket launches across every active provider (SpaceX, ULA, Roscosmos, ISRO, ESA, CNSA, Rocket Lab, Blue Origin and more). Returns mission, rocket, pad coordinates, status, weather, programs and agency profiles.",
    "version": "0.0",
    "x-build-id": "CJU098ncn0wDcCzSj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~ll-spacedevs-launch-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-ll-spacedevs-launch-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/parseforge~ll-spacedevs-launch-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-ll-spacedevs-launch-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/parseforge~ll-spacedevs-launch-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-ll-spacedevs-launch-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",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "upcoming",
              "previous"
            ],
            "type": "string",
            "description": "Which launch catalog to query. 'Upcoming' returns scheduled and to-be-determined launches, 'Previous' returns historical launches (success, failure, partial failure).",
            "default": "upcoming"
          },
          "launchId": {
            "title": "Launch ID",
            "type": "string",
            "description": "Optional. Fetch a single launch by its UUID (e.g. e60aa241-1f2c-4459-ba94-2f576c3e5632). When set, all other filters are ignored.",
            "default": ""
          },
          "search": {
            "title": "Search Query",
            "type": "string",
            "description": "Free-text search over launch name, mission name, rocket name. Example: 'Starlink', 'Crew Dragon', 'Soyuz'.",
            "default": ""
          },
          "launchServiceProvider": {
            "title": "Launch Service Provider",
            "enum": [
              "",
              "SpaceX",
              "United Launch Alliance",
              "Rocket Lab",
              "Blue Origin",
              "Arianespace",
              "Northrop Grumman Innovation Systems",
              "Roscosmos",
              "China Aerospace Science and Technology Corporation",
              "Indian Space Research Organization",
              "Japan Aerospace Exploration Agency",
              "Mitsubishi Heavy Industries",
              "Galactic Energy",
              "CAS Space",
              "LandSpace",
              "Firefly Aerospace",
              "Relativity Space",
              "Astra Space",
              "Virgin Orbit",
              "Iran Space Agency",
              "ABL Space Systems",
              "Other"
            ],
            "type": "string",
            "description": "Filter by launch service provider name. Free-text match against provider name (e.g. 'SpaceX', 'United Launch Alliance', 'Arianespace').",
            "default": ""
          },
          "customProvider": {
            "title": "Custom Provider Name",
            "type": "string",
            "description": "If your provider isn't in the list above, type the exact name here. Overrides the dropdown.",
            "default": ""
          },
          "countryCode": {
            "title": "Country Code",
            "enum": [
              "",
              "USA",
              "RUS",
              "CHN",
              "IND",
              "FRA",
              "JPN",
              "GBR",
              "NZL",
              "KOR",
              "IRN",
              "ISR",
              "PRK"
            ],
            "type": "string",
            "description": "Filter by launch site country (ISO 3-letter code). Example: USA, RUS, CHN, IND, FRA, JPN.",
            "default": ""
          },
          "status": {
            "title": "Launch Status",
            "enum": [
              "",
              "Go",
              "TBD",
              "TBC",
              "Hold",
              "In Flight",
              "Success",
              "Failure",
              "Partial Failure"
            ],
            "type": "string",
            "description": "Filter by launch status. Upcoming-mode statuses: Go, TBD, TBC, Hold, In Flight. Previous-mode statuses: Success, Failure, Partial Failure.",
            "default": ""
          },
          "windowStartGte": {
            "title": "Window Start After (YYYY-MM-DD)",
            "type": "string",
            "description": "Only include launches with window_start on or after this date."
          },
          "windowEndLte": {
            "title": "Window End Before (YYYY-MM-DD)",
            "type": "string",
            "description": "Only include launches with window_end on or before this date."
          },
          "rocketConfigId": {
            "title": "Rocket Configuration ID",
            "minimum": 1,
            "type": "integer",
            "description": "Numeric rocket configuration ID for exact-match filtering (e.g. Falcon 9 = 164). Useful for tracking a specific vehicle."
          },
          "missionId": {
            "title": "Mission ID",
            "minimum": 1,
            "type": "integer",
            "description": "Numeric mission ID for exact-match filtering. Useful when monitoring a known mission."
          },
          "agencyId": {
            "title": "Agency ID",
            "minimum": 1,
            "type": "integer",
            "description": "Numeric launch service provider (agency) ID, takes precedence over the Provider name dropdown when set."
          },
          "hideRecentPrevious": {
            "title": "Hide Recent Previous",
            "type": "boolean",
            "description": "When true (and Mode = Upcoming), hide launches whose window already closed in the recent past.",
            "default": false
          },
          "ordering": {
            "title": "Ordering",
            "enum": [
              "net",
              "-net",
              "last_updated",
              "-last_updated"
            ],
            "type": "string",
            "description": "Sort order. 'net' = ascending by launch time, '-net' = newest first.",
            "default": "net"
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}