AN API endpoint that returns all Launch objects or a single launch.

EXAMPLE - /launch/[id]/ or /launch/?mode=list&search=SpaceX

GET Return a list of all Launch objects.

FILTERS Fields - 'name', 'id(s)', 'lsp__id', 'lsp__name', 'serial_number', 'launcher_config__id', 'rocket__spacecraftflight__spacecraft__name', 'is_crewed', 'include_suborbital', 'spacecraft_config__ids', 'related', 'location__ids', 'lsp__ids', 'pad__ids', 'status__ids'

MODE 'normal', 'list', 'detailed'

EXAMPLE ?mode=list

SEARCH Searches through the launch name, rocket name, launch agency, mission name & spacecraft name.

EXAMPLE - ?search=SpaceX

GET /2.2.0/launch/713fd80c-465a-488a-8116-54f209d0d968/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "713fd80c-465a-488a-8116-54f209d0d968",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/713fd80c-465a-488a-8116-54f209d0d968/?format=api",
    "slug": "pegasus-xl-nuclear-spectroscopic-telescope-array-n",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Pegasus XL | Nuclear Spectroscopic Telescope Array (NuSTAR)",
    "status": {
        "id": 3,
        "name": "Launch Successful",
        "abbrev": "Success",
        "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
    },
    "last_updated": "2023-06-14T03:54:55Z",
    "updates": [],
    "net": "2012-06-13T16:00:37Z",
    "net_precision": null,
    "window_end": "2012-06-13T16:00:37Z",
    "window_start": "2012-06-13T16:00:37Z",
    "probability": -1,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 100,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/100/?format=api",
        "name": "Orbital Sciences Corporation",
        "featured": false,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "OSC",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 72,
        "consecutive_successful_launches": 0,
        "successful_launches": 65,
        "failed_launches": 7,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.orbital.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/Orbital_Sciences_Corporation",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 1615,
        "configuration": {
            "id": 173,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/173/?format=api",
            "name": "Pegasus XL",
            "active": true,
            "reusable": false,
            "description": "The Pegasus is an air-launched rocket developed by Orbital Sciences Corporation (now part of Northrop Grumman Innovation Systems). Capable of carrying small payloads of up to 443 kilograms (977 lb) into low Earth orbit, the vehicle consists of three solid propellant stages and an optional monopropellant fourth stage. Pegasus is released from its carrier aircraft at approximately 40,000 ft (12,000 m), and its first stage has a wing and a tail to provide lift and attitude control while in the atmosphere.",
            "family": "Pegasus",
            "full_name": "Pegasus XL",
            "manufacturer": {
                "id": 100,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/100/?format=api",
                "name": "Orbital Sciences Corporation",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "OSC",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 72,
                "consecutive_successful_launches": 0,
                "successful_launches": 65,
                "failed_launches": 7,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.orbital.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/Orbital_Sciences_Corporation",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": 0,
            "max_stage": 3,
            "length": 17.6,
            "diameter": 1.27,
            "maiden_flight": "1994-06-27",
            "launch_cost": "40000000",
            "launch_mass": 23,
            "leo_capacity": 443,
            "gto_capacity": 0,
            "to_thrust": 580,
            "apogee": 4000,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pegasus_xl_moun_image_20240307124328.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Pegasus_(rocket)",
            "total_launch_count": 31,
            "consecutive_successful_launches": 25,
            "successful_launches": 28,
            "failed_launches": 3,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 813,
        "name": "Nuclear Spectroscopic Telescope Array (NuSTAR)",
        "description": "Designed to image high-energy X-ray radiation, the Nuclear Spectroscopic Telescope Array (NuSTAR) is tasked with surveying regions surrounding the center of own Milky Way Galaxy and performing deep observations of the extragalactic sky, studying black holes and supernovas.",
        "launch_designator": null,
        "type": "Astrophysics",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 59,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/59/?format=api",
        "agency_id": null,
        "name": "Kwajalein Atoll",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Kwajalein_Atoll",
        "map_url": "https://www.google.com/maps?q=8.716667,167.733333",
        "latitude": "8.716667",
        "longitude": "167.733333",
        "location": {
            "id": 20,
            "url": "https://ll.thespacedevs.com/2.2.0/location/20/?format=api",
            "name": "Air launch to orbit",
            "country_code": "???",
            "description": "",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
            "timezone_name": "",
            "total_launch_count": 51,
            "total_landing_count": 0
        },
        "country_code": "MHL",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_59_20200803143427.jpg",
        "total_launch_count": 4,
        "orbital_launch_attempt_count": 4
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "source": null,
            "publisher": null,
            "title": "NuSTAR Launch Highlights",
            "description": "The NuSTAR mission successfuly launched June 13, 2012, aboard a Pegasus rocket.",
            "feature_image": "https://i.ytimg.com/vi/btR6uHFcv2s/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=btR6uHFcv2s",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pegasus_xl_moun_image_20240307124328.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5223,
    "location_launch_attempt_count": 41,
    "pad_launch_attempt_count": 4,
    "agency_launch_attempt_count": 64,
    "orbital_launch_attempt_count_year": 33,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P1332DT22H13M14S",
    "mission_patches": [],
    "type": "detailed"
}