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/ed2a3a4c-a2ec-48a7-a885-157f10c2dd51/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "ed2a3a4c-a2ec-48a7-a885-157f10c2dd51",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/ed2a3a4c-a2ec-48a7-a885-157f10c2dd51/?format=api",
    "launch_library_id": null,
    "slug": "x-15-flight-143",
    "name": "X-15 | Flight 143",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1965-08-10T19:24:00Z",
    "window_end": "1965-08-10T19:34:00Z",
    "window_start": "1965-08-10T19:24:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 161,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/161/?format=api",
        "name": "United States Air Force",
        "featured": false,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "USAF",
        "description": "The United States Air Force (USAF) is the air service branch of the United States Armed Forces, and is one of the eight uniformed services of the United States. Originally created on 1 August 1907, as a part of the United States Army Signal Corps, the USAF was established as a separate branch of the United States Armed Forces in 1947 with the enactment of the National Security Act of 1947.",
        "administrator": "Commander-in-Chief: President of the US",
        "founding_year": "1947",
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 1078,
        "consecutive_successful_launches": 68,
        "successful_launches": 972,
        "failed_launches": 106,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.af.mil",
        "wiki_url": "http://en.wikipedia.org/wiki/United_States_Air_Force",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_logo_20230804084626.png",
        "image_url": null,
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_nation_20230804085132.jpg"
    },
    "rocket": {
        "id": 2986,
        "configuration": {
            "id": 209,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/209/?format=api",
            "name": "North American X-15",
            "description": "The North American X-15 was a hypersonic rocket-powered aircraft operated by the United States Air Force and the National Aeronautics and Space Administration as part of the X-plane series of experimental aircraft.",
            "family": "",
            "full_name": "North American X-15",
            "manufacturer": {
                "id": 999,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/999/?format=api",
                "name": "North American Aviation",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "",
                "description": "North American Aviation (NAA) was a major American aerospace manufacturer, responsible for a number of historic aircraft, including the T-6 Texan trainer, the P-51 Mustang fighter, the B-25 Mitchell bomber, the F-86 Sabre jet fighter, the X-15 rocket plane, and the XB-70, as well as Apollo command and service module, the second stage of the Saturn V rocket, the Space Shuttle orbiter and the B-1 Lancer.",
                "administrator": null,
                "founding_year": "1928",
                "launchers": "North American X-15",
                "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": null,
                "wiki_url": "https://en.wikipedia.org/wiki/North_American_Aviation",
                "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/north2520american2520aviation_logo_20200711032022.png",
                "image_url": null,
                "nation_url": null
            },
            "program": [
                {
                    "id": 20,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/20/?format=api",
                    "name": "X-15",
                    "description": "Experimental hypersonic rocket-powered aircraft.",
                    "agencies": [
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 161,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/161/?format=api",
                            "name": "United States Air Force",
                            "type": "Government"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/x-15_program_20210809102752.jpeg",
                    "start_date": "1959-03-10T00:00:00Z",
                    "end_date": "1968-12-12T00:00:00Z",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/North_American_X-15"
                }
            ],
            "variant": "",
            "alias": "",
            "min_stage": 1,
            "max_stage": 1,
            "length": 15.47,
            "diameter": 6.61,
            "maiden_flight": "1959-06-08",
            "launch_mass": 15195,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": 286,
            "apogee": 108,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/north_american__image_20210813101104.png",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/North_American_X-15",
            "total_launch_count": 13,
            "consecutive_successful_launches": 1,
            "successful_launches": 12,
            "failed_launches": 1,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": {
            "id": 682,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/682/?format=api",
            "mission_end": "1965-08-10T19:34:00Z",
            "destination": "Suborbital",
            "launch_crew": [
                {
                    "id": 3538,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 305,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/305/?format=api",
                        "name": "Joe Engle",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 2,
                            "name": "Retired"
                        },
                        "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": "1932-08-26",
                        "date_of_death": null,
                        "nationality": "American",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Joe Henry Engle is an American pilot who served in the United States Air Force, test pilot for the North American X-15 program, aeronautical engineer, and a former NASA astronaut. As of 2018, he is the last living pilot of the X-15 program.\r\n\r\nEngle test-flew the joint NASA-Air Force X-15 rocket airplane. During the course of testing, Engle earned his USAF Astronaut Wings, a Distinguished Flying Cross and other awards. Engle was selected by NASA in 1966 for the Apollo program, and was originally scheduled to land on the Moon as Lunar Module Pilot on Apollo 17, but was bumped when later flights were cancelled, so that geologist-astronaut Harrison H. Schmitt could fly.\r\n\r\nHe subsequently became one of the first astronauts in the Space Shuttle program, having flight tested the Space Shuttle Enterprise in 1977. He was Commander of the second orbital test flight of the Space Shuttle Columbia in 1981.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/joe2520engle_image_20181202090904.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Joe_Engle",
                        "last_flight": "1985-08-27T10:58:01Z",
                        "first_flight": "1965-06-29T18:21:00Z"
                    }
                }
            ],
            "onboard_crew": [],
            "landing_crew": [
                {
                    "id": 3539,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 305,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/305/?format=api",
                        "name": "Joe Engle",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 2,
                            "name": "Retired"
                        },
                        "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": "1932-08-26",
                        "date_of_death": null,
                        "nationality": "American",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Joe Henry Engle is an American pilot who served in the United States Air Force, test pilot for the North American X-15 program, aeronautical engineer, and a former NASA astronaut. As of 2018, he is the last living pilot of the X-15 program.\r\n\r\nEngle test-flew the joint NASA-Air Force X-15 rocket airplane. During the course of testing, Engle earned his USAF Astronaut Wings, a Distinguished Flying Cross and other awards. Engle was selected by NASA in 1966 for the Apollo program, and was originally scheduled to land on the Moon as Lunar Module Pilot on Apollo 17, but was bumped when later flights were cancelled, so that geologist-astronaut Harrison H. Schmitt could fly.\r\n\r\nHe subsequently became one of the first astronauts in the Space Shuttle program, having flight tested the Space Shuttle Enterprise in 1977. He was Commander of the second orbital test flight of the Space Shuttle Columbia in 1981.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/joe2520engle_image_20181202090904.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Joe_Engle",
                        "last_flight": "1985-08-27T10:58:01Z",
                        "first_flight": "1965-06-29T18:21:00Z"
                    }
                }
            ],
            "spacecraft": {
                "id": 444,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/444/?format=api",
                "name": "X-15-3",
                "serial_number": "56-6672",
                "status": {
                    "id": 3,
                    "name": "Destroyed"
                },
                "description": "Third X-15 experimental rocket plane. Destroyed during flight 191.",
                "spacecraft_config": {
                    "id": 13,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/13/?format=api",
                    "name": "North American X-15",
                    "type": {
                        "id": 3,
                        "name": "Spaceplane"
                    },
                    "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": "Experimental aircraft used for Aircraft and Spacecraft design",
                    "history": "The North American X-15 currently holds the record for the highest speed in a manned, powered aircraft.\r\n\r\nThe three variants of the X-15 flew nearly 200 times, with 13 of them going over 80km high.",
                    "details": "The North American X-15 was a hypersonic rocket-powered aircraft operated by the United States Air Force and the National Aeronautics and Space Administration. The X-15 reached altitudes of over 80km and speeds of over 6000 km/h.\r\n\r\nThe X-15 had a wingspan of 6.8 meters, and length of 15.4",
                    "maiden_flight": "1959-06-08",
                    "height": 15.45,
                    "diameter": 6.8,
                    "human_rated": true,
                    "crew_capacity": 1,
                    "payload_capacity": null,
                    "flight_life": "~10 minute flights",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/north2520american2520x-15_image_20190207032520.jpeg",
                    "nation_url": null,
                    "wiki_link": "https://en.wikipedia.org/wiki/North_American_X-15",
                    "info_link": "https://airandspace.si.edu/collection-objects/north-american-x-15"
                }
            },
            "docking_events": []
        }
    },
    "mission": {
        "id": 1411,
        "launch_library_id": null,
        "name": "Flight 143",
        "description": "Flight 143 of the North American X-15 was a test flight conducted by NASA and the US Air Force in 1965. Piloted by Joe H. Engle it reached an altitude of 82.6 km.",
        "launch_designator": null,
        "type": "Test Flight",
        "orbit": {
            "id": 15,
            "name": "Suborbital",
            "abbrev": "Sub"
        }
    },
    "pad": {
        "id": 112,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/112/?format=api",
        "agency_id": null,
        "name": "Edwards Air Force Base",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Edwards_Air_Force_Base",
        "map_url": "https://www.google.com/maps?q=34.905556,-117.883611",
        "latitude": "34.905556",
        "longitude": "-117.883611",
        "location": {
            "id": 144,
            "url": "https://ll.thespacedevs.com/2.0.0/location/144/?format=api",
            "name": "Air launch to Suborbital flight",
            "country_code": "???",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_144_20200803142439.jpg",
            "total_launch_count": 85,
            "total_landing_count": 0
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_112_20200803143214.jpg",
        "total_launch_count": 13
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/north_american__image_20210813101104.png",
    "infographic": null,
    "program": [
        {
            "id": 20,
            "url": "https://ll.thespacedevs.com/2.0.0/program/20/?format=api",
            "name": "X-15",
            "description": "Experimental hypersonic rocket-powered aircraft.",
            "agencies": [
                {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                },
                {
                    "id": 161,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/161/?format=api",
                    "name": "United States Air Force",
                    "type": "Government"
                }
            ],
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/x-15_program_20210809102752.jpeg",
            "start_date": "1959-03-10T00:00:00Z",
            "end_date": "1968-12-12T00:00:00Z",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/North_American_X-15"
        }
    ],
    "orbital_launch_attempt_count": null,
    "location_launch_attempt_count": 13,
    "pad_launch_attempt_count": 7,
    "agency_launch_attempt_count": 275,
    "orbital_launch_attempt_count_year": 0,
    "location_launch_attempt_count_year": 2,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 44
}