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/0abcc2bf-6243-4f2c-8c14-cac541595992/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "0abcc2bf-6243-4f2c-8c14-cac541595992",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/0abcc2bf-6243-4f2c-8c14-cac541595992/?format=api",
    "slug": "redstone-mrlv-mercury-redstone-1",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Redstone MRLV | Mercury-Redstone 1",
    "status": {
        "id": 4,
        "name": "Launch Failure",
        "abbrev": "Failure",
        "description": "Either the launch vehicle did not reach orbit, or the payload(s) failed to separate."
    },
    "last_updated": "2023-07-08T08:57:25Z",
    "updates": [],
    "net": "1960-11-21T14:00:00Z",
    "net_precision": null,
    "window_end": "1960-11-21T14:00:00Z",
    "window_start": "1960-11-21T14:00:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "featured": true,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "NASA",
        "description": "The National Aeronautics and Space Administration is an independent agency of the executive branch of the United States federal government responsible for the civilian space program, as well as aeronautics and aerospace research. NASA have many launch facilities but most are inactive. The most commonly used pad will be LC-39B at Kennedy Space Center in Florida.",
        "administrator": "Administrator: Bill Nelson",
        "founding_year": "1958",
        "launchers": "Space Shuttle | SLS",
        "spacecraft": "Orion",
        "launch_library_url": null,
        "total_launch_count": 135,
        "consecutive_successful_launches": 11,
        "successful_launches": 115,
        "failed_launches": 20,
        "pending_launches": 6,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.nasa.gov",
        "wiki_url": "http://en.wikipedia.org/wiki/National_Aeronautics_and_Space_Administration",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_nation_20230803040809.jpg"
    },
    "rocket": {
        "id": 7436,
        "configuration": {
            "id": 107,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/107/?format=api",
            "name": "Redstone",
            "active": false,
            "reusable": false,
            "description": "The Mercury-Redstone Launch Vehicle, designed for NASA's Project Mercury, was the first American manned space booster. It was used for six sub-orbital Mercury flights from 1960–61; culminating with the launch of the first, and 11 weeks later, the second American (and the second and third humans) in space. The four subsequent Mercury human spaceflights used the more powerful Atlas booster to enter low Earth orbit.\r\n\r\nA member of the Redstone rocket family, it was derived from the U.S. Army's Redstone ballistic missile and the first stage of the related Jupiter-C launch vehicle; but to human-rate it, the structure and systems were modified to improve safety and reliability.",
            "family": "Redstone",
            "full_name": "Redstone MRLV",
            "manufacturer": {
                "id": 158,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/158/?format=api",
                "name": "Chrysler",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "CHR",
                "description": "In July 1959, NASA chose the Redstone missile as the basis for the Mercury-Redstone Launch Vehicle to be used for suborbital test flights of the Project Mercury spacecraft. Three unmanned MRLV launch attempts were made between November 1960 and March 1961, two of which were successful. The MRLV successfully launched the chimpanzee Ham, and astronauts Alan Shepard and Gus Grissom on three suborbital flights in January, May and July 1961, respectively.",
                "administrator": null,
                "founding_year": "1950",
                "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.chryslergroupllc.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/Chrysler_Corporation#Space_boosters",
                "logo_url": null,
                "image_url": null,
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/chrysler_nation_20190701071744.png"
            },
            "program": [
                {
                    "id": 2,
                    "url": "https://ll.thespacedevs.com/2.2.0/program/2/?format=api",
                    "name": "Mercury",
                    "description": "Project Mercury was the first human spaceflight program of the United States, running from 1958 through 1963.",
                    "agencies": [
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/project2520mer_program_20200820194755.png",
                    "start_date": "1958-10-07T00:00:00Z",
                    "end_date": "1963-05-16T23:24:02Z",
                    "info_url": "https://www.nasa.gov/mission_pages/mercury/missions/program-toc.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Project_Mercury",
                    "mission_patches": [],
                    "type": {
                        "id": 2,
                        "name": "Human Spaceflight"
                    }
                }
            ],
            "variant": "MRLV",
            "alias": "",
            "min_stage": 1,
            "max_stage": 1,
            "length": 25.41,
            "diameter": 1.78,
            "maiden_flight": "1960-11-21",
            "launch_cost": null,
            "launch_mass": 30,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": 260,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/redstone_image_20190207032627.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Mercury-Redstone_Launch_Vehicle",
            "total_launch_count": 6,
            "consecutive_successful_launches": 5,
            "successful_launches": 5,
            "failed_launches": 1,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": {
            "id": 695,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/695/?format=api",
            "mission_end": "1960-11-21T14:00:00Z",
            "destination": "Suborbital",
            "launch_crew": [],
            "onboard_crew": [],
            "landing_crew": [],
            "spacecraft": {
                "id": 9,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/9/?format=api",
                "name": "Mercury No.2",
                "serial_number": "2",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "PT15M",
                "time_docked": "P0D",
                "flights_count": 2,
                "mission_ends_count": 2,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Mercury No.2 is the Mercury capsule used for the Mercury-Redsone 1 mission which failed on launch.",
                "spacecraft_config": {
                    "id": 11,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                    "name": "Mercury",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 44,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                        "name": "National Aeronautics and Space Administration",
                        "featured": true,
                        "type": "Government",
                        "country_code": "USA",
                        "abbrev": "NASA",
                        "description": "The National Aeronautics and Space Administration is an independent agency of the executive branch of the United States federal government responsible for the civilian space program, as well as aeronautics and aerospace research. NASA have many launch facilities but most are inactive. The most commonly used pad will be LC-39B at Kennedy Space Center in Florida.",
                        "administrator": "Administrator: Bill Nelson",
                        "founding_year": "1958",
                        "launchers": "Space Shuttle | SLS",
                        "spacecraft": "Orion",
                        "parent": null,
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
                        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png"
                    },
                    "in_use": false,
                    "capability": "Human transportation to upper Earth atmosphere and low Earth orbit.",
                    "history": "The Mercury spacecraft was the manned capsule used for suborbital and orbital launches during the Project Mercury, the first human spaceflight program of the United States, from 1958 through 1963.",
                    "details": "The Mercury spacecraft's principal designer was Maxime Faget, who started research for manned spaceflight during the time of the NACA. With 100 cubic feet (2.8 m3) of habitable volume, the capsule was just large enough for a single crew member. Inside were 120 controls: 55 electrical switches, 30 fuses and 35 mechanical levers. The heaviest spacecraft, Mercury-Atlas 9, weighed 3,000 pounds (1,400 kg) fully loaded. Its outer skin was made of René 41, a nickel alloy able to withstand high temperatures.",
                    "maiden_flight": "1961-05-05",
                    "height": 3.3,
                    "diameter": 1.8,
                    "human_rated": true,
                    "crew_capacity": 1,
                    "payload_capacity": null,
                    "payload_return_capacity": null,
                    "flight_life": "Between 15 minutes and 3 days.",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg",
                    "nation_url": null,
                    "wiki_link": "https://en.wikipedia.org/wiki/Project_Mercury#Spacecraft",
                    "info_link": ""
                }
            },
            "landing": {
                "id": 486,
                "attempt": false,
                "success": null,
                "description": "The Mercury spacecraft was undamaged after the launch failure which resulted in the rocket remaining on the pad.",
                "downrange_distance": null,
                "location": null,
                "type": null
            },
            "docking_events": []
        }
    },
    "mission": {
        "id": 5825,
        "name": "Mercury-Redstone 1",
        "description": "Mercury-Redstone 1 (MR-1) was the first Mercury-Redstone uncrewed flight test in Project Mercury and the first attempt to launch a Mercury spacecraft with the Mercury-Redstone Launch Vehicle. Intended to be an uncrewed sub-orbital spaceflight, it was launched on November 21, 1960 from Cape Canaveral Air Force Station, Florida. The launch failed in abnormal fashion: immediately after the Mercury-Redstone rocket started to move, it shut itself down and settled back on the pad, after which the capsule jettisoned its escape rocket and deployed its recovery parachutes. The failure has been referred to as the \"four-inch flight\", for the approximate distance traveled by the launch vehicle.",
        "launch_designator": null,
        "type": "Test Flight",
        "orbit": {
            "id": 15,
            "name": "Suborbital",
            "abbrev": "Sub"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 123,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/123/?format=api",
        "agency_id": 161,
        "name": "Launch Complex 5",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Launch_Complex_5",
        "map_url": "https://www.google.com/maps?q=28.43942,-80.573301",
        "latitude": "28.43942",
        "longitude": "-80.573301",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
            "name": "Cape Canaveral, FL, USA",
            "country_code": "USA",
            "description": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
            "timezone_name": "America/New_York",
            "total_launch_count": 951,
            "total_landing_count": 51
        },
        "country_code": "USA",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_123_20200803143235.jpg",
        "total_launch_count": 13,
        "orbital_launch_attempt_count": 7
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/redstone_image_20190207032627.jpeg",
    "infographic": null,
    "program": [
        {
            "id": 2,
            "url": "https://ll.thespacedevs.com/2.2.0/program/2/?format=api",
            "name": "Mercury",
            "description": "Project Mercury was the first human spaceflight program of the United States, running from 1958 through 1963.",
            "agencies": [
                {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                }
            ],
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/project2520mer_program_20200820194755.png",
            "start_date": "1958-10-07T00:00:00Z",
            "end_date": "1963-05-16T23:24:02Z",
            "info_url": "https://www.nasa.gov/mission_pages/mercury/missions/program-toc.html",
            "wiki_url": "https://en.wikipedia.org/wiki/Project_Mercury",
            "mission_patches": [],
            "type": {
                "id": 2,
                "name": "Human Spaceflight"
            }
        }
    ],
    "orbital_launch_attempt_count": null,
    "location_launch_attempt_count": 46,
    "pad_launch_attempt_count": 8,
    "agency_launch_attempt_count": 17,
    "orbital_launch_attempt_count_year": 0,
    "location_launch_attempt_count_year": 16,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 7,
    "pad_turnaround": "P404DT22H29M56S",
    "mission_patches": [],
    "type": "detailed"
}