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/f8babb4c-105a-406a-881d-50c247e808ab/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "f8babb4c-105a-406a-881d-50c247e808ab",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/f8babb4c-105a-406a-881d-50c247e808ab/?format=api",
    "launch_library_id": 1006,
    "slug": "soyuz-soyuz-1",
    "name": "Soyuz | Soyuz 1",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1967-04-23T00:35:00Z",
    "window_end": "1967-04-23T00:35:00Z",
    "window_start": "1967-04-23T00:35:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 66,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/66/?format=api",
        "name": "Soviet Space Program",
        "featured": false,
        "type": "Government",
        "country_code": "RUS",
        "abbrev": "CCCP",
        "description": "The Soviet space program, was the national space program of the Union of Soviet Socialist Republics (USSR) actived from 1930s until disintegration of the Soviet Union in 1991.\r\n\r\nThe Soviet Union's space program was mainly based on the cosmonautic exploration of space and the development of the expandable launch vehicles, which had been split between many design bureaus competing against each other. Over its 60-years of history, the Russian program was responsible for a number of pioneering feats and accomplishments in the human space flight, including the first intercontinental ballistic missile (R-7), first satellite (Sputnik 1), first animal in Earth orbit (the dog Laika on Sputnik 2), first human in space and Earth orbit (cosmonaut Yuri Gagarin on Vostok 1), first woman in space and Earth orbit (cosmonaut Valentina Tereshkova on Vostok 6), first spacewalk (cosmonaut Alexei Leonov on Voskhod 2), first Moon impact (Luna 2), first image of the far side of the Moon (Luna 3) and unmanned lunar soft landing (Luna 9), first space rover (Lunokhod 1), first sample of lunar soil automatically extracted and brought to Earth (Luna 16), and first space station (Salyut 1). Further notable records included the first interplanetary probes: Venera 1 and Mars 1 to fly by Venus and Mars, respectively, Venera 3 and Mars 2 to impact the respective planet surface, and Venera 7 and Mars 3 to make soft landings on these planets.",
        "administrator": null,
        "founding_year": "1931",
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 2453,
        "consecutive_successful_launches": 17,
        "successful_launches": 2285,
        "failed_launches": 168,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "",
        "wiki_url": "http://en.wikipedia.org/wiki/Soviet_space_program",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_logo_20191229081307.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_image_20191229081306.jpeg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_nation_20191229081307.png"
    },
    "rocket": {
        "id": 211,
        "configuration": {
            "id": 96,
            "launch_library_id": 134,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/96/?format=api",
            "name": "Soyuz",
            "description": "",
            "family": "Soyuz",
            "full_name": "Soyuz",
            "manufacturer": {
                "id": 63,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/63/?format=api",
                "name": "Russian Federal Space Agency (ROSCOSMOS)",
                "featured": true,
                "type": "Government",
                "country_code": "RUS",
                "abbrev": "RFSA",
                "description": "The Roscosmos State Corporation for Space Activities, commonly known as Roscosmos, is the governmental body responsible for the space science program of the Russian Federation and general aerospace research. Soyuz has many launch locations the Russian sites are Baikonur, Plesetsk and Vostochny however Ariane also purchases the vehicle and launches it from French Guiana.",
                "administrator": "Administrator: Yuri Borisov",
                "founding_year": "1992",
                "launchers": "Soyuz",
                "spacecraft": "Soyuz",
                "launch_library_url": null,
                "total_launch_count": 322,
                "consecutive_successful_launches": 46,
                "successful_launches": 311,
                "failed_launches": 11,
                "pending_launches": 10,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://en.roscosmos.ru/",
                "wiki_url": "http://en.wikipedia.org/wiki/Russian_Federal_Space_Agency",
                "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_logo_20190207032459.png",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_image_20190207032459.jpeg",
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_nation_20230531052758.jpg"
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "1966-11-28",
            "launch_mass": null,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Soyuz_(rocket)",
            "total_launch_count": 32,
            "consecutive_successful_launches": 3,
            "successful_launches": 30,
            "failed_launches": 2,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": {
            "id": 354,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/354/?format=api",
            "mission_end": "1967-04-24T03:22:52Z",
            "destination": "Low Earth Orbit",
            "launch_crew": [
                {
                    "id": 2986,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 165,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/165/?format=api",
                        "name": "Vladimir Komarov",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 4,
                            "name": "Lost In Flight"
                        },
                        "agency": {
                            "id": 63,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/63/?format=api",
                            "name": "Russian Federal Space Agency (ROSCOSMOS)",
                            "type": "Government"
                        },
                        "date_of_birth": "1927-03-16",
                        "date_of_death": "1967-04-24",
                        "nationality": "Russian",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Vladimir Mikhaylovich Komarov (Russian: Влади́мир Миха́йлович Комаро́в, IPA: [vlɐˈdʲimʲɪr mʲɪˈxaɪləvʲɪtɕ kəmɐˈrof]; 16 March 1927 – 24 April 1967) was a Soviet test pilot, aerospace engineer and cosmonaut. In October 1964, he commanded Voskhod 1, the first spaceflight to carry more than one crew member. He became the first cosmonaut to fly in space twice when he was selected as the solo pilot of Soyuz 1, the first manned test flight of a new spacecraft. A parachute failure caused his Soyuz capsule to crash into the ground after re-entry on 24 April 1967, making him the first human to die in a space flight.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/vladimir2520komarov_image_20181129233024.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Vladimir_Komarov",
                        "last_flight": "1967-04-23T00:35:00Z",
                        "first_flight": "1964-10-13T07:47:04Z"
                    }
                }
            ],
            "onboard_crew": [],
            "landing_crew": [
                {
                    "id": 768,
                    "role": "Pilot",
                    "astronaut": {
                        "id": 165,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/165/?format=api",
                        "name": "Vladimir Komarov",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 4,
                            "name": "Lost In Flight"
                        },
                        "agency": {
                            "id": 63,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/63/?format=api",
                            "name": "Russian Federal Space Agency (ROSCOSMOS)",
                            "type": "Government"
                        },
                        "date_of_birth": "1927-03-16",
                        "date_of_death": "1967-04-24",
                        "nationality": "Russian",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Vladimir Mikhaylovich Komarov (Russian: Влади́мир Миха́йлович Комаро́в, IPA: [vlɐˈdʲimʲɪr mʲɪˈxaɪləvʲɪtɕ kəmɐˈrof]; 16 March 1927 – 24 April 1967) was a Soviet test pilot, aerospace engineer and cosmonaut. In October 1964, he commanded Voskhod 1, the first spaceflight to carry more than one crew member. He became the first cosmonaut to fly in space twice when he was selected as the solo pilot of Soyuz 1, the first manned test flight of a new spacecraft. A parachute failure caused his Soyuz capsule to crash into the ground after re-entry on 24 April 1967, making him the first human to die in a space flight.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/vladimir2520komarov_image_20181129233024.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Vladimir_Komarov",
                        "last_flight": "1967-04-23T00:35:00Z",
                        "first_flight": "1964-10-13T07:47:04Z"
                    }
                }
            ],
            "spacecraft": {
                "id": 206,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/206/?format=api",
                "name": "Soyuz 1",
                "serial_number": "Soyuz 7K-OK (A) 11F615 #4",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Soyuz 1 was a Soyuz spacecraft which launched on 23 April 1967 00:35 UTC. It was the first manned flight of the Soyuz program carrying cosmonaut Colonel Vladimir Komarov. The landing failed due to parachute failure. It was the first in-flight fatality in the history of spaceflight.",
                "spacecraft_config": {
                    "id": 1,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/1/?format=api",
                    "name": "Soyuz",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 63,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/63/?format=api",
                        "name": "Russian Federal Space Agency (ROSCOSMOS)",
                        "featured": true,
                        "type": "Government",
                        "country_code": "RUS",
                        "abbrev": "RFSA",
                        "description": "The Roscosmos State Corporation for Space Activities, commonly known as Roscosmos, is the governmental body responsible for the space science program of the Russian Federation and general aerospace research. Soyuz has many launch locations the Russian sites are Baikonur, Plesetsk and Vostochny however Ariane also purchases the vehicle and launches it from French Guiana.",
                        "administrator": "Administrator: Yuri Borisov",
                        "founding_year": "1992",
                        "launchers": "Soyuz",
                        "spacecraft": "Soyuz",
                        "parent": null,
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_image_20190207032459.jpeg"
                    },
                    "in_use": false,
                    "capability": "Manned and Cargo ISS Logistics",
                    "history": "The Soyuz TMA-M is an upgrade of the baseline Soyuz-TMA, using a new computer, digital interior displays, updated docking equipment and vehicle's total mass has been reduced by 70 kilograms. This new version debuted on 7 October 2010 with the launch of TMA-01M, carrying the ISS Expedition 25 crew. The Soyuz TMA-08M set a new record for the fastest manned docking into space station, event utilized the new 6-hour fast rendezvous instead of the previous Soyuz launches which had, since 1986, taken two days.",
                    "details": "Soyuz is a series of spacecraft designed for the Soviet space programme by the Korolyov Design Bureau (now RKK Energia) in the 1960s that remains in service today. The Soyuz succeeded the Voskhod spacecraft and was originally built as part of the Soviet Manned Lunar programme. nn The Soyuz spacecraft is launched on a Soyuz rocket, the most frequently used and most reliable launch vehicle in the world to date. The Soyuz rocket design is based on the Vostok launcher, which in turn was based on the 8K74 or R-7A Semyorka, a Soviet intercontinental ballistic missile. All Soyuz spacecraft are launched from the Baikonur Cosmodrome in Kazakhstan.",
                    "maiden_flight": "1966-11-28",
                    "height": 7.48,
                    "diameter": 2.72,
                    "human_rated": true,
                    "crew_capacity": 3,
                    "payload_capacity": null,
                    "flight_life": "200 Days",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg",
                    "nation_url": null,
                    "wiki_link": "https://en.wikipedia.org/wiki/Soyuz_(spacecraft)",
                    "info_link": ""
                }
            },
            "docking_events": []
        }
    },
    "mission": {
        "id": 780,
        "launch_library_id": 214,
        "name": "Soyuz 1",
        "description": "Soyuz 1 was the first crewed flight of a Soyuz spacecraft, it carried the Soviet cosmonaut Vladimir Komarov to orbit. The mission goal was to rendezvous with Soyuz 2 and move crew members between the spacecrafts, the goal was not met due to Soyuz 2 launch being called off due to thunderstorms. Vladimir Komarov was killed when the parachutes of his Soyuz capsule failed during descent to earth becoming the first in-flight fatality of spaceflight.",
        "launch_designator": null,
        "type": "Human Exploration",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 32,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/32/?format=api",
        "agency_id": null,
        "name": "1/5",
        "info_url": null,
        "wiki_url": "",
        "map_url": "https://www.google.com/maps?q=45.92,63.342",
        "latitude": "45.92",
        "longitude": "63.342",
        "location": {
            "id": 15,
            "url": "https://ll.thespacedevs.com/2.0.0/location/15/?format=api",
            "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
            "country_code": "KAZ",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_15_20200803142517.jpg",
            "total_launch_count": 1548,
            "total_landing_count": 0
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_32_20200803143513.jpg",
        "total_launch_count": 487
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [
        {
            "id": 8,
            "url": "https://ll.thespacedevs.com/2.0.0/program/8/?format=api",
            "name": "Soyuz",
            "description": "The Soyuz programme is a human spaceflight programme initiated by the Soviet Union in the early 1960s. The Soyuz spacecraft was originally part of a Moon landing project intended to put a Soviet cosmonaut on the Moon. It was the third Soviet human spaceflight programme after the Vostok and Voskhod programmes.",
            "agencies": [
                {
                    "id": 63,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                {
                    "id": 66,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/66/?format=api",
                    "name": "Soviet Space Program",
                    "type": "Government"
                }
            ],
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz_program_20201129185543.png",
            "start_date": "1966-11-28T11:02:00Z",
            "end_date": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Soyuz_programme"
        }
    ],
    "orbital_launch_attempt_count": 688,
    "location_launch_attempt_count": 175,
    "pad_launch_attempt_count": 88,
    "agency_launch_attempt_count": 235,
    "orbital_launch_attempt_count_year": 41,
    "location_launch_attempt_count_year": 9,
    "pad_launch_attempt_count_year": 4,
    "agency_launch_attempt_count_year": 20
}