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/9fe0c6ce-7858-4915-b4e3-7c93f8e56177/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "9fe0c6ce-7858-4915-b4e3-7c93f8e56177",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/9fe0c6ce-7858-4915-b4e3-7c93f8e56177/?format=api",
    "launch_library_id": null,
    "slug": "redstone-mrlv-mercury-redstone-3",
    "name": "Redstone MRLV | Mercury-Redstone 3",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1961-05-05T14:34:13Z",
    "window_end": "1961-05-05T14:34:13Z",
    "window_start": "1961-05-05T14:34:13Z",
    "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": 2174,
        "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": 200,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/200/?format=api",
            "mission_end": "1961-05-05T14:49:35Z",
            "destination": "Suborbital",
            "launch_crew": [
                {
                    "id": 929,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 21,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/21/?format=api",
                        "name": "Alan Shepard",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 11,
                            "name": "Deceased"
                        },
                        "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": "1923-11-18",
                        "date_of_death": "1998-07-21",
                        "nationality": "American",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Rear Admiral Alan Bartlett Shepard Jr. was an American astronaut, naval aviator, test pilot, and businessman. In 1961 he became the first American to travel into space, and in 1971 he walked on the Moon.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/alan2520shepard_image_20181128141007.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Alan_Shepard",
                        "last_flight": "1971-01-31T21:03:02Z",
                        "first_flight": "1961-05-05T14:34:13Z"
                    }
                }
            ],
            "onboard_crew": [],
            "landing_crew": [
                {
                    "id": 9,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 21,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/21/?format=api",
                        "name": "Alan Shepard",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 11,
                            "name": "Deceased"
                        },
                        "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": "1923-11-18",
                        "date_of_death": "1998-07-21",
                        "nationality": "American",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Rear Admiral Alan Bartlett Shepard Jr. was an American astronaut, naval aviator, test pilot, and businessman. In 1961 he became the first American to travel into space, and in 1971 he walked on the Moon.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/alan2520shepard_image_20181128141007.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Alan_Shepard",
                        "last_flight": "1971-01-31T21:03:02Z",
                        "first_flight": "1961-05-05T14:34:13Z"
                    }
                }
            ],
            "spacecraft": {
                "id": 2,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/2/?format=api",
                "name": "Mercury No.7",
                "serial_number": "7",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Mercury No.7 is the Mercury capsule used for the Mercury-Redstone 3 - callsign \"Freedom 7\" - mission launched on May 5, 1961 and piloted by astronaut Alan Shepard.",
                "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": 940,
        "launch_library_id": null,
        "name": "Mercury-Redstone 3",
        "description": "Mercury-Redstone 3, or Freedom 7, was the first United States human spaceflight, on May 5, 1961, piloted by astronaut Alan Shepard. It was the first manned flight of Project Mercury, the objective of which was to put an astronaut into orbit around the Earth and return him safely. Shepard's mission was a 15-minute suborbital flight with the primary objective of demonstrating his ability to withstand the high g-forces of launch and atmospheric re-entry.",
        "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": "Freedom 7 - Full Mission",
            "description": "Please read this description: The countdown, launch, flight and recovery of Mercury Redstone 3 (Freedom 7) with astronaut Alan Shepard aboard. May 5th 1961. ...",
            "feature_image": "https://i.ytimg.com/vi/3xd9kg-fJ9g/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=3xd9kg-fJ9g"
        },
        {
            "priority": 0,
            "title": "Launch of Mercury-Redstone 3 (Freedom 7)",
            "description": "The launch of Mercury-Redstone 3 (Freedom 7). Onboard is astronaut Alan Shepard on the first American manned spaceflight (sub-orbital) - May 5th 1961",
            "feature_image": "https://i.ytimg.com/vi/SKf--ZY4qfA/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=SKf--ZY4qfA"
        }
    ],
    "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": 59,
    "pad_launch_attempt_count": 12,
    "agency_launch_attempt_count": 28,
    "orbital_launch_attempt_count_year": 0,
    "location_launch_attempt_count_year": 9,
    "pad_launch_attempt_count_year": 3,
    "agency_launch_attempt_count_year": 9
}