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/787e052f-182e-427f-b346-31953146f49f/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "787e052f-182e-427f-b346-31953146f49f",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/787e052f-182e-427f-b346-31953146f49f/?format=api",
    "launch_library_id": null,
    "slug": "x-15-flight-77",
    "name": "X-15 | Flight 77",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1963-01-17T16:59:00Z",
    "window_end": "1963-01-17T19:09:00Z",
    "window_start": "1963-01-17T18:59: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": 2983,
        "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": 679,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/679/?format=api",
            "mission_end": "1963-01-17T19:09:00Z",
            "destination": "Suborbital",
            "launch_crew": [
                {
                    "id": 3534,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 648,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/648/?format=api",
                        "name": "Joseph A. Walker",
                        "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": "1921-02-20",
                        "date_of_death": "1966-06-08",
                        "nationality": "American",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Joseph Albert Walker was an American World War II pilot, experimental physicist, NASA test pilot, and astronaut. He was one of twelve pilots who flew the North American X-15, an experimental spaceplane jointly operated by the Air Force and NASA.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/joseph_a._walke_image_20200711033534.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Joseph_A._Walker",
                        "last_flight": "1963-08-22T18:05:57Z",
                        "first_flight": "1963-01-17T16:59:00Z"
                    }
                }
            ],
            "onboard_crew": [],
            "landing_crew": [
                {
                    "id": 3535,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 648,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/648/?format=api",
                        "name": "Joseph A. Walker",
                        "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": "1921-02-20",
                        "date_of_death": "1966-06-08",
                        "nationality": "American",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Joseph Albert Walker was an American World War II pilot, experimental physicist, NASA test pilot, and astronaut. He was one of twelve pilots who flew the North American X-15, an experimental spaceplane jointly operated by the Air Force and NASA.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/joseph_a._walke_image_20200711033534.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Joseph_A._Walker",
                        "last_flight": "1963-08-22T18:05:57Z",
                        "first_flight": "1963-01-17T16:59: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": 1408,
        "launch_library_id": null,
        "name": "Flight 77",
        "description": "Flight 77 of the North American X-15 was a test flight conducted by NASA and the US Air Force in 1963. Piloted by Joseph A. Walker it reached an altitude of 82.7 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": [
        {
            "priority": 10,
            "title": "X-15 Flight 77 - Wikipedia",
            "description": "Flight 77 of the North American X-15 was a sub-orbital spaceflight conducted by NASA and the US Air Force on 17 January 1963.[1] The X-15 was piloted by astronaut Joseph A. Walker to an altitude of 82.7 km (51.4 mi) surpassing the U.S. definition of space.",
            "feature_image": null,
            "url": "https://en.wikipedia.org/wiki/X-15_Flight_77"
        }
    ],
    "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": 8,
    "pad_launch_attempt_count": 2,
    "agency_launch_attempt_count": 129,
    "orbital_launch_attempt_count_year": 0,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 3
}