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/bcab98e3-3650-4733-9d32-47d5870a2151/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "bcab98e3-3650-4733-9d32-47d5870a2151",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/bcab98e3-3650-4733-9d32-47d5870a2151/?format=api",
    "slug": "falcon-9-block-5-nrol-146",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Falcon 9 Block 5 | NROL-146",
    "status": {
        "id": 1,
        "name": "Go for Launch",
        "abbrev": "Go",
        "description": "Current T-0 confirmed by official or reliable sources."
    },
    "last_updated": "2024-05-16T19:11:01Z",
    "updates": [
        {
            "id": 7544,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "GO for launch.",
            "info_url": "https://twitter.com/natreconofc/status/1791175811371774050",
            "created_by": "Cosmic_Penguin",
            "created_on": "2024-05-16T19:11:10Z"
        },
        {
            "id": 7539,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "Tweaked launch window per marine navigation warnings.",
            "info_url": "https://forum.nasaspaceflight.com/index.php?topic=60791.msg2592010#msg2592010",
            "created_by": "Cosmic_Penguin",
            "created_on": "2024-05-15T06:47:13Z"
        },
        {
            "id": 7526,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "Adding approximate launch time per marine navigation warnings.",
            "info_url": "https://forum.nasaspaceflight.com/index.php?topic=60791.msg2591754#msg2591754",
            "created_by": "Cosmic_Penguin",
            "created_on": "2024-05-14T03:48:18Z"
        },
        {
            "id": 7424,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "NET May 19.",
            "info_url": "https://spacenews.com/nros-first-batch-of-next-generation-spy-satellites-set-for-launch/",
            "created_by": "Cosmic_Penguin",
            "created_on": "2024-05-01T23:36:48Z"
        },
        {
            "id": 7344,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "Added launch.",
            "info_url": "https://arstechnica.com/space/2024/04/spacex-working-with-northrop-grumman-on-spy-satellites-for-us-government/",
            "created_by": "Cosmic_Penguin",
            "created_on": "2024-04-19T09:26:14Z"
        }
    ],
    "net": "2024-05-19T07:22:00Z",
    "net_precision": {
        "id": 1,
        "name": "Minute",
        "abbrev": "MIN",
        "description": "The T-0 is accurate to the minute."
    },
    "window_end": "2024-05-19T11:51:00Z",
    "window_start": "2024-05-19T07:22:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 121,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
        "name": "SpaceX",
        "featured": true,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "SpX",
        "description": "Space Exploration Technologies Corp., known as SpaceX, is an American aerospace manufacturer and space transport services company headquartered in Hawthorne, California. It was founded in 2002 by entrepreneur Elon Musk with the goal of reducing space transportation costs and enabling the colonization of Mars. SpaceX operates from many pads, on the East Coast of the US they operate from SLC-40 at Cape Canaveral Space Force Station and historic LC-39A at Kennedy Space Center. They also operate from SLC-4E at Vandenberg Space Force Base, California, usually for polar launches. Another launch site is being developed at Boca Chica, Texas.",
        "administrator": "CEO: Elon Musk",
        "founding_year": "2002",
        "launchers": "Falcon | Starship",
        "spacecraft": "Dragon",
        "launch_library_url": null,
        "total_launch_count": 362,
        "consecutive_successful_launches": 63,
        "successful_launches": 351,
        "failed_launches": 11,
        "pending_launches": 136,
        "consecutive_successful_landings": 25,
        "successful_landings": 313,
        "failed_landings": 24,
        "attempted_landings": 336,
        "info_url": "http://www.spacex.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/SpaceX",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_logo_20220826094919.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_image_20190207032501.jpeg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_nation_20230531064544.jpg"
    },
    "rocket": {
        "id": 8232,
        "configuration": {
            "id": 164,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/164/?format=api",
            "name": "Falcon 9",
            "active": true,
            "reusable": true,
            "description": "Falcon 9 is a two-stage rocket designed and manufactured by SpaceX for the reliable and safe transport of satellites and the Dragon spacecraft into orbit. The Block 5 variant is the fifth major interval aimed at improving upon the ability for rapid reusability.",
            "family": "Falcon",
            "full_name": "Falcon 9 Block 5",
            "manufacturer": {
                "id": 121,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                "name": "SpaceX",
                "featured": true,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "SpX",
                "description": "Space Exploration Technologies Corp., known as SpaceX, is an American aerospace manufacturer and space transport services company headquartered in Hawthorne, California. It was founded in 2002 by entrepreneur Elon Musk with the goal of reducing space transportation costs and enabling the colonization of Mars. SpaceX operates from many pads, on the East Coast of the US they operate from SLC-40 at Cape Canaveral Space Force Station and historic LC-39A at Kennedy Space Center. They also operate from SLC-4E at Vandenberg Space Force Base, California, usually for polar launches. Another launch site is being developed at Boca Chica, Texas.",
                "administrator": "CEO: Elon Musk",
                "founding_year": "2002",
                "launchers": "Falcon | Starship",
                "spacecraft": "Dragon",
                "launch_library_url": null,
                "total_launch_count": 362,
                "consecutive_successful_launches": 63,
                "successful_launches": 351,
                "failed_launches": 11,
                "pending_launches": 136,
                "consecutive_successful_landings": 25,
                "successful_landings": 313,
                "failed_landings": 24,
                "attempted_landings": 336,
                "info_url": "http://www.spacex.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/SpaceX",
                "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_logo_20220826094919.png",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_image_20190207032501.jpeg",
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_nation_20230531064544.jpg"
            },
            "program": [
                {
                    "id": 11,
                    "url": "https://ll.thespacedevs.com/2.2.0/program/11/?format=api",
                    "name": "Commercial Resupply Services",
                    "description": "Commercial Resupply Services (CRS) are a series of flights awarded by NASA for the delivery of cargo and supplies to the International Space Station.The first CRS contracts were signed in 2008 and awarded $1.6 billion to SpaceX for twelve cargo Dragon and $1.9 billion to Orbital Sciences for eight Cygnus flights, covering deliveries to 2016. The Falcon 9 and Antares rockets were also developed under the CRS program to deliver cargo spacecraft to the ISS.",
                    "agencies": [
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 257,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/257/?format=api",
                            "name": "Northrop Grumman Space Systems",
                            "type": "Commercial"
                        },
                        {
                            "id": 1020,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/1020/?format=api",
                            "name": "Sierra Nevada Corporation",
                            "type": "Commercial"
                        },
                        {
                            "id": 121,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                            "name": "SpaceX",
                            "type": "Commercial"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/commercial2520_program_20201129212219.png",
                    "start_date": "2008-12-23T00:00:00Z",
                    "end_date": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Commercial_Resupply_Services#Commercial_Resupply_Services",
                    "mission_patches": [],
                    "type": {
                        "id": 2,
                        "name": "Human Spaceflight"
                    }
                },
                {
                    "id": 5,
                    "url": "https://ll.thespacedevs.com/2.2.0/program/5/?format=api",
                    "name": "Commercial Crew Program",
                    "description": "The Commercial Crew Program (CCP) is a human spaceflight program operated by NASA, in association with American aerospace manufacturers Boeing and SpaceX. The program conducts rotations between the expeditions of the International Space Station program, transporting crews to and from the International Space Station (ISS) aboard Boeing Starliner and SpaceX Crew Dragon capsules, in the first crewed orbital spaceflights operated by private companies.",
                    "agencies": [
                        {
                            "id": 80,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/80/?format=api",
                            "name": "Boeing",
                            "type": "Commercial"
                        },
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 121,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                            "name": "SpaceX",
                            "type": "Commercial"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/commercial2520_program_20200820201209.png",
                    "start_date": "2011-04-18T00:00:00Z",
                    "end_date": null,
                    "info_url": "https://www.nasa.gov/exploration/commercial/crew/index.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Commercial_Crew_Program",
                    "mission_patches": [],
                    "type": {
                        "id": 2,
                        "name": "Human Spaceflight"
                    }
                }
            ],
            "variant": "Block 5",
            "alias": "",
            "min_stage": 1,
            "max_stage": 2,
            "length": 70.0,
            "diameter": 3.65,
            "maiden_flight": "2018-05-11",
            "launch_cost": "52000000",
            "launch_mass": 549,
            "leo_capacity": 22800,
            "gto_capacity": 8300,
            "to_thrust": 7607,
            "apogee": 200,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/falcon_9_image_20230807133459.jpeg",
            "info_url": "https://www.spacex.com/vehicles/falcon-9/",
            "wiki_url": "https://en.wikipedia.org/wiki/Falcon_9",
            "total_launch_count": 279,
            "consecutive_successful_launches": 279,
            "successful_launches": 279,
            "failed_launches": 0,
            "pending_launches": 125,
            "attempted_landings": 273,
            "successful_landings": 269,
            "failed_landings": 4,
            "consecutive_successful_landings": 224
        },
        "launcher_stage": [
            {
                "id": 529,
                "type": "Core",
                "reused": null,
                "launcher_flight_number": null,
                "launcher": {
                    "id": 106,
                    "url": "https://ll.thespacedevs.com/2.2.0/launcher/106/?format=api",
                    "details": "Booster serial number unknown.",
                    "flight_proven": false,
                    "serial_number": "Unknown F9",
                    "status": "N/A",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/106_image_20230708172214.png",
                    "successful_landings": null,
                    "attempted_landings": null,
                    "flights": null,
                    "last_launch_date": null,
                    "first_launch_date": null
                },
                "landing": {
                    "id": 1365,
                    "attempt": true,
                    "success": null,
                    "description": "The Falcon 9 first stage will land on ASDS OCISLY after its flight.",
                    "downrange_distance": null,
                    "location": {
                        "id": 1,
                        "name": "Of Course I Still Love You",
                        "abbrev": "OCISLY",
                        "description": "The second ASDS barge, Of Course I Still Love You (OCISLY) services launches in the Pacific Ocean and was the site of the first landing of a SpaceX Falcon 9 first stage during CRS-8, the launch of a Dragon spacecraft to the International Space Station.",
                        "location": null,
                        "successful_landings": 90
                    },
                    "type": {
                        "id": 1,
                        "name": "Autonomous Spaceport Drone Ship",
                        "abbrev": "ASDS",
                        "description": "An autonomous spaceport drone ship (ASDS) is an ocean-going vessel derived from a deck barge, outfitted with station-keeping engines and a large landing platform. Construction of such ships was commissioned by aerospace company SpaceX to allow for recovery of rocket first-stages at sea for high-velocity missions which do not carry enough fuel to return to the launch site after lofting spacecraft onto an orbital trajectory."
                    }
                },
                "previous_flight_date": null,
                "turn_around_time_days": null,
                "previous_flight": null
            }
        ],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 6809,
        "name": "NROL-146",
        "description": "First batch of satellites for a reconnaissance satellite constellation built by SpaceX and Northrop Grumman for the National Reconnaissance Office to provide imaging and other reconnaissance capabilities.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 25,
            "name": "Unknown",
            "abbrev": "N/A"
        },
        "agencies": [
            {
                "id": 181,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/181/?format=api",
                "name": "National Reconnaissance Office",
                "featured": false,
                "type": "Government",
                "country_code": "USA",
                "abbrev": "NRO",
                "description": "The National Reconnaissance Office (NRO) is a member of the United States Intelligence Community and an agency of the United States Department of Defense which designs, builds, launches, and operates the reconnaissance satellites of the U.S. federal government, and provides satellite intelligence to several government agencies, particularly signals intelligence (SIGINT) to the NSA, imagery intelligence (IMINT) to the NGA, and measurement and signature intelligence (MASINT) to the DIA.",
                "administrator": "Director: Christopher Scolese",
                "founding_year": "1961",
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 0,
                "consecutive_successful_launches": 0,
                "successful_launches": 0,
                "failed_launches": 0,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.nro.gov/",
                "wiki_url": "https://en.wikipedia.org/wiki/National_Reconnaissance_Office",
                "logo_url": null,
                "image_url": null,
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520reconnaissance2520office_nation_20240228092125.png"
            }
        ],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 16,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/16/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 4E",
        "description": "Space Launch Complex 4 East (SLC-4E) is a launch site at Vandenberg Space Force Base, California, U.S.\r\n\r\nThe pad was previously used by Atlas and Titan rockets between 1963 and 2005. The pad was built for use by Atlas-Agena rockets, but was later rebuilt to handle Titan rockets.",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Launch_Complex_4#SLC-4E",
        "map_url": "https://www.google.com/maps?q=34.632,-120.611",
        "latitude": "34.632",
        "longitude": "-120.611",
        "location": {
            "id": 11,
            "url": "https://ll.thespacedevs.com/2.2.0/location/11/?format=api",
            "name": "Vandenberg SFB, CA, USA",
            "country_code": "USA",
            "description": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_11_20200803142416.jpg",
            "timezone_name": "America/Los_Angeles",
            "total_launch_count": 755,
            "total_landing_count": 18
        },
        "country_code": "USA",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_16_20200803143532.jpg",
        "total_launch_count": 144,
        "orbital_launch_attempt_count": 144
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/falcon_9_image_20230807133459.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 6673,
    "location_launch_attempt_count": 756,
    "pad_launch_attempt_count": 145,
    "agency_launch_attempt_count": 364,
    "orbital_launch_attempt_count_year": 95,
    "location_launch_attempt_count_year": 17,
    "pad_launch_attempt_count_year": 17,
    "agency_launch_attempt_count_year": 53,
    "pad_turnaround": "P4DT12H43M",
    "mission_patches": [],
    "type": "detailed"
}