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'

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.0.0/launch/4c732b42-e40e-4ee0-a917-bf427cea9f29/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "4c732b42-e40e-4ee0-a917-bf427cea9f29",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/4c732b42-e40e-4ee0-a917-bf427cea9f29/?format=api",
    "launch_library_id": null,
    "slug": "redstone-mrlv-mercury-redstone-4",
    "name": "Redstone MRLV | Mercury-Redstone 4",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1961-07-21T12:20:00Z",
    "window_end": "1961-07-21T12:20:00Z",
    "window_start": "1961-07-21T12:20:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.0.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": 2175,
        "configuration": {
            "id": 107,
            "launch_library_id": 141,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/107/?format=api",
            "name": "Redstone",
            "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.0.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.0.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.0.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"
                }
            ],
            "variant": "MRLV",
            "alias": "",
            "min_stage": 1,
            "max_stage": 1,
            "length": 25.41,
            "diameter": 1.78,
            "maiden_flight": "1960-11-21",
            "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
        },
        "launcher_stage": [],
        "spacecraft_stage": {
            "id": 201,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/201/?format=api",
            "mission_end": "1961-07-21T12:36:00Z",
            "destination": "Suborbital",
            "launch_crew": [
                {
                    "id": 930,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 26,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/26/?format=api",
                        "name": "Gus Grissom",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 5,
                            "name": "Lost In Training"
                        },
                        "agency": {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        "date_of_birth": "1926-04-03",
                        "date_of_death": "1967-01-27",
                        "nationality": "American",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Lieutenant Colonel Virgil Ivan \"Gus\" Grissom was one of the seven original National Aeronautics and Space Administration's Project Mercury astronauts, and the first of the Mercury Seven to die. He was also a Project Gemini and an Apollo program astronaut. Grissom was the second American to fly in space, and the first member of the NASA Astronaut Corps to fly in space twice. In addition, Grissom was a World War II and Korean War veteran, U.S. Air Force test pilot, and a mechanical engineer. He was a recipient of the Distinguished Flying Cross, and the Air Medal with an oak leaf cluster, a two-time recipient of the NASA Distinguished Service Medal, and, posthumously, the Congressional Space Medal of Honor.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/gus2520grissom_image_20181128142030.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Gus_Grissom",
                        "last_flight": "1967-01-27T23:31:19Z",
                        "first_flight": "1961-07-21T12:20:00Z"
                    }
                }
            ],
            "onboard_crew": [],
            "landing_crew": [
                {
                    "id": 10,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 26,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/26/?format=api",
                        "name": "Gus Grissom",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 5,
                            "name": "Lost In Training"
                        },
                        "agency": {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        "date_of_birth": "1926-04-03",
                        "date_of_death": "1967-01-27",
                        "nationality": "American",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Lieutenant Colonel Virgil Ivan \"Gus\" Grissom was one of the seven original National Aeronautics and Space Administration's Project Mercury astronauts, and the first of the Mercury Seven to die. He was also a Project Gemini and an Apollo program astronaut. Grissom was the second American to fly in space, and the first member of the NASA Astronaut Corps to fly in space twice. In addition, Grissom was a World War II and Korean War veteran, U.S. Air Force test pilot, and a mechanical engineer. He was a recipient of the Distinguished Flying Cross, and the Air Medal with an oak leaf cluster, a two-time recipient of the NASA Distinguished Service Medal, and, posthumously, the Congressional Space Medal of Honor.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/gus2520grissom_image_20181128142030.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Gus_Grissom",
                        "last_flight": "1967-01-27T23:31:19Z",
                        "first_flight": "1961-07-21T12:20:00Z"
                    }
                }
            ],
            "spacecraft": {
                "id": 3,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/3/?format=api",
                "name": "Mercury No.11",
                "serial_number": "11",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Mercury No.11 is the Mercury capsule used for the Mercury-Redstone 4 - callsign \"Liberty Bell 7\" - mission launched on July 21, 1961 and piloted by astronaut Virgil \"Gus\" Grissom.",
                "spacecraft_config": {
                    "id": 11,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/11/?format=api",
                    "name": "Mercury",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 44,
                        "url": "https://ll.thespacedevs.com/2.0.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"
                    },
                    "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,
                    "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": ""
                }
            },
            "docking_events": []
        }
    },
    "mission": {
        "id": 941,
        "launch_library_id": null,
        "name": "Mercury-Redstone 4",
        "description": "Mercury-Redstone 4 was the second United States human spaceflight, on July 21, 1961. The suborbital Project Mercury flight was launched with a Mercury-Redstone Launch Vehicle, MRLV-8. The spacecraft, Mercury capsule #11, was nicknamed the Liberty Bell 7, and it was piloted by the astronaut Virgil \"Gus\" Grissom.",
        "launch_designator": null,
        "type": "Human Exploration",
        "orbit": {
            "id": 15,
            "name": "Suborbital",
            "abbrev": "Sub"
        }
    },
    "pad": {
        "id": 123,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/123/?format=api",
        "agency_id": 161,
        "name": "Launch Complex 5",
        "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.0.0/location/12/?format=api",
            "name": "Cape Canaveral, FL, USA",
            "country_code": "USA",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
            "total_launch_count": 951,
            "total_landing_count": 51
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_123_20200803143235.jpg",
        "total_launch_count": 13
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "title": "Launch of Mercury-Redstone 4 (Liberty Bell 7)",
            "description": "The launch of Mercury-Redstone 4 (Liberty Bell 7). Onboard is astronaut Gus Grissom on the second American manned spaceflight (sub-orbital) - July 21st 1961",
            "feature_image": "https://i.ytimg.com/vi/FvZD_ujqLJI/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=FvZD_ujqLJI"
        },
        {
            "priority": 0,
            "title": "Liberty Bell 7 - Full Mission",
            "description": "The full launch and flight of Mercury-Redstone 4 (Liberty Bell 7) with astronaut Gus Grissom aboard. July 21st 1961. I have used some original braodcast vide...",
            "feature_image": "https://i.ytimg.com/vi/zybhDAkAzls/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=zybhDAkAzls"
        }
    ],
    "webcast_live": false,
    "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.0.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.0.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"
        }
    ],
    "orbital_launch_attempt_count": null,
    "location_launch_attempt_count": 63,
    "pad_launch_attempt_count": 13,
    "agency_launch_attempt_count": 30,
    "orbital_launch_attempt_count_year": 0,
    "location_launch_attempt_count_year": 13,
    "pad_launch_attempt_count_year": 4,
    "agency_launch_attempt_count_year": 11
}