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/849e0434-f994-4890-b56e-47da3606c0e3/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "849e0434-f994-4890-b56e-47da3606c0e3",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/849e0434-f994-4890-b56e-47da3606c0e3/?format=api",
    "launch_library_id": 892,
    "slug": "long-march-2f-shenzhou-6",
    "name": "Long March 2F | Shenzhou-6",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2005-10-12T01:00:03Z",
    "window_end": "2005-10-12T01:00:03Z",
    "window_start": "2005-10-12T01:00:03Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 88,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/88/?format=api",
        "name": "China Aerospace Science and Technology Corporation",
        "featured": true,
        "type": "Government",
        "country_code": "CHN",
        "abbrev": "CASC",
        "description": "The China Aerospace Science and Technology Corporation (CASC) is the main contractor for the Chinese space program. It is state-owned and has a number of subordinate entities which design, develop and manufacture a range of spacecraft, launch vehicles, strategic and tactical missile systems, and ground equipment. It was officially established in July 1999 as part of a Chinese government reform drive, having previously been one part of the former China Aerospace Corporation. Various incarnations of the program date back to 1956.",
        "administrator": "Chairman & President: Lei Fanpei",
        "founding_year": "1999",
        "launchers": "Long March",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 471,
        "consecutive_successful_launches": 10,
        "successful_launches": 457,
        "failed_launches": 14,
        "pending_launches": 7,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://english.spacechina.com/",
        "wiki_url": "https://en.wikipedia.org/wiki/China_Aerospace_Science_and_Technology_Corporation",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_logo_20220826093937.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_image_20191228094408.jpeg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_nation_20230604193716.png"
    },
    "rocket": {
        "id": 514,
        "configuration": {
            "id": 79,
            "launch_library_id": 92,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/79/?format=api",
            "name": "Long March 2F",
            "description": "The Long March 2F is a Chinese orbital carrier rocket, part of the Long March 2 rocket family. Designed to launch the crewed Shenzhou spacecraft, the Long March 2F is a human-rated two-stage version of the Long March 2E rocket, which in turn was based on the Long March 2C launch vehicle. It is launched from complex SLS at the Jiuquan Satellite Launch Center.",
            "family": "Long March",
            "full_name": "Long March 2F",
            "manufacturer": {
                "id": 88,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/88/?format=api",
                "name": "China Aerospace Science and Technology Corporation",
                "featured": true,
                "type": "Government",
                "country_code": "CHN",
                "abbrev": "CASC",
                "description": "The China Aerospace Science and Technology Corporation (CASC) is the main contractor for the Chinese space program. It is state-owned and has a number of subordinate entities which design, develop and manufacture a range of spacecraft, launch vehicles, strategic and tactical missile systems, and ground equipment. It was officially established in July 1999 as part of a Chinese government reform drive, having previously been one part of the former China Aerospace Corporation. Various incarnations of the program date back to 1956.",
                "administrator": "Chairman & President: Lei Fanpei",
                "founding_year": "1999",
                "launchers": "Long March",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 471,
                "consecutive_successful_launches": 10,
                "successful_launches": 457,
                "failed_launches": 14,
                "pending_launches": 7,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://english.spacechina.com/",
                "wiki_url": "https://en.wikipedia.org/wiki/China_Aerospace_Science_and_Technology_Corporation",
                "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_logo_20220826093937.png",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_image_20191228094408.jpeg",
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_nation_20230604193716.png"
            },
            "program": [
                {
                    "id": 7,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/7/?format=api",
                    "name": "Shenzhou",
                    "description": "The Shenzhou program is a crewed spaceflight initiative by China. The program put the first Chinese citizen, Yang Liwei, into orbit on 15 October 2003.",
                    "agencies": [
                        {
                            "id": 17,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/17/?format=api",
                            "name": "China National Space Administration",
                            "type": "Government"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/shenzhou_program_20200820204745.PNG",
                    "start_date": "1993-01-01T00:00:00Z",
                    "end_date": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Shenzhou_program"
                }
            ],
            "variant": "F",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 62.0,
            "diameter": 3.35,
            "maiden_flight": "1999-11-19",
            "launch_mass": 464,
            "leo_capacity": 8400,
            "gto_capacity": null,
            "to_thrust": 5985,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/long_march_2_image_20210908195835.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Long_March_2F",
            "total_launch_count": 7,
            "consecutive_successful_launches": 7,
            "successful_launches": 7,
            "failed_launches": 0,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": {
            "id": 442,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/442/?format=api",
            "mission_end": "2005-10-16T20:33:00Z",
            "destination": "Low Earth Orbit",
            "launch_crew": [
                {
                    "id": 3082,
                    "role": "Commander",
                    "astronaut": {
                        "id": 103,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/103/?format=api",
                        "name": "Fei Junlong",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 1,
                            "name": "Active"
                        },
                        "agency": {
                            "id": 17,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/17/?format=api",
                            "name": "China National Space Administration",
                            "type": "Government"
                        },
                        "date_of_birth": "1965-05-05",
                        "date_of_death": null,
                        "nationality": "Chinese",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Major general Fei Junlong (simplified Chinese: 费俊龙; traditional Chinese: 費俊龍; pinyin: Fèi Jùnlóng; born 1965) is a Chinese military pilot and an astronaut. He flew on the second manned spaceflight of the Shenzhou program.\r\n\r\nFèi was selected for the CNSA astronaut program in 1998. He was in the final five selected for the Shenzhou 5 flight. He was the commander on the Shenzhou 6 flight that launched October 12, 2005, with Niè Hǎishèng serving as flight engineer). They landed on October 17, 2005.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/fei_junlong_image_20221128080229.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Fei_Junlong",
                        "last_flight": "2022-11-29T15:08:17Z",
                        "first_flight": "2005-10-12T01:00:03Z"
                    }
                },
                {
                    "id": 3083,
                    "role": "Flight Engineer",
                    "astronaut": {
                        "id": 209,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/209/?format=api",
                        "name": "Nie Haisheng",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 1,
                            "name": "Active"
                        },
                        "agency": {
                            "id": 17,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/17/?format=api",
                            "name": "China National Space Administration",
                            "type": "Government"
                        },
                        "date_of_birth": "1964-10-13",
                        "date_of_death": null,
                        "nationality": "Chinese",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Nie Haisheng is a Chinese military pilot and CNSA astronaut.\r\n\r\nIn 1998, he was selected for the Chinese spaceflight program and was one of three candidates who were part of the final group to train for the Shenzhou 5 flight, China's first manned spaceflight. Yang Liwei was picked for the flight, with Zhai Zhigang ranked second ahead of Niè Hǎishèng.\r\n\r\nNie went into orbit, along with Fei Junlong (commander), as flight engineer of the Shenzhou 6 flight on 12 October 2005. The mission lasted just under five days.\r\n\r\nHe was selected to be the commander of the backup crew for the Shenzhou 9 mission. In 2013, Nie was selected to command the Shenzhou 10 second manned space mission to the first Chinese space station Tiangong 1. He became the first officer hold general rank at the time of their launch in the Chinese program with the Shenzhou 10 mission.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/nie_haisheng_image_20210616062454.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Nie_Haisheng",
                        "last_flight": "2021-06-17T01:22:31Z",
                        "first_flight": "2005-10-12T01:00:03Z"
                    }
                }
            ],
            "onboard_crew": [],
            "landing_crew": [
                {
                    "id": 886,
                    "role": "Commander",
                    "astronaut": {
                        "id": 103,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/103/?format=api",
                        "name": "Fei Junlong",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 1,
                            "name": "Active"
                        },
                        "agency": {
                            "id": 17,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/17/?format=api",
                            "name": "China National Space Administration",
                            "type": "Government"
                        },
                        "date_of_birth": "1965-05-05",
                        "date_of_death": null,
                        "nationality": "Chinese",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Major general Fei Junlong (simplified Chinese: 费俊龙; traditional Chinese: 費俊龍; pinyin: Fèi Jùnlóng; born 1965) is a Chinese military pilot and an astronaut. He flew on the second manned spaceflight of the Shenzhou program.\r\n\r\nFèi was selected for the CNSA astronaut program in 1998. He was in the final five selected for the Shenzhou 5 flight. He was the commander on the Shenzhou 6 flight that launched October 12, 2005, with Niè Hǎishèng serving as flight engineer). They landed on October 17, 2005.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/fei_junlong_image_20221128080229.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Fei_Junlong",
                        "last_flight": "2022-11-29T15:08:17Z",
                        "first_flight": "2005-10-12T01:00:03Z"
                    }
                },
                {
                    "id": 887,
                    "role": "Flight Engineer",
                    "astronaut": {
                        "id": 209,
                        "url": "https://ll.thespacedevs.com/2.0.0/astronaut/209/?format=api",
                        "name": "Nie Haisheng",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "status": {
                            "id": 1,
                            "name": "Active"
                        },
                        "agency": {
                            "id": 17,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/17/?format=api",
                            "name": "China National Space Administration",
                            "type": "Government"
                        },
                        "date_of_birth": "1964-10-13",
                        "date_of_death": null,
                        "nationality": "Chinese",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Nie Haisheng is a Chinese military pilot and CNSA astronaut.\r\n\r\nIn 1998, he was selected for the Chinese spaceflight program and was one of three candidates who were part of the final group to train for the Shenzhou 5 flight, China's first manned spaceflight. Yang Liwei was picked for the flight, with Zhai Zhigang ranked second ahead of Niè Hǎishèng.\r\n\r\nNie went into orbit, along with Fei Junlong (commander), as flight engineer of the Shenzhou 6 flight on 12 October 2005. The mission lasted just under five days.\r\n\r\nHe was selected to be the commander of the backup crew for the Shenzhou 9 mission. In 2013, Nie was selected to command the Shenzhou 10 second manned space mission to the first Chinese space station Tiangong 1. He became the first officer hold general rank at the time of their launch in the Chinese program with the Shenzhou 10 mission.",
                        "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/nie_haisheng_image_20210616062454.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Nie_Haisheng",
                        "last_flight": "2021-06-17T01:22:31Z",
                        "first_flight": "2005-10-12T01:00:03Z"
                    }
                }
            ],
            "spacecraft": {
                "id": 423,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/423/?format=api",
                "name": "Shenzhou 6",
                "serial_number": "6",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Shenzhou 6 was the second human spaceflight of the Chinese space program, launched on October 12, 2005 on a Long March 2F rocket from the Jiuquan Satellite Launch Center. The Shenzhou spacecraft carried a crew of Fèi Jùnlóng (费俊龙) and Niè Hǎishèng (聂海胜) for five days in low Earth orbit. It launched three days before the second anniversary of China's first human spaceflight, Shenzhou 5.",
                "spacecraft_config": {
                    "id": 2,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/2/?format=api",
                    "name": "Shenzhou",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 17,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/17/?format=api",
                        "name": "China National Space Administration",
                        "featured": true,
                        "type": "Government",
                        "country_code": "CHN",
                        "abbrev": "CNSA",
                        "description": "The China National Space Administration (CNSA) is the national space agency of the People's Republic of China. It is responsible for the national space program and for planning and development of space activities. CNSA and China Aerospace Corporation (CASC) assumed the authority over space development efforts previously held by the Ministry of Aerospace Industry. The CNSA has many launch sites around China with their orbital sites located in Jiuquan, Xichang, Taiyuan and Wenchang.",
                        "administrator": "Administrator: Tang Dengjie",
                        "founding_year": "1993",
                        "launchers": "",
                        "spacecraft": "Shenzhou",
                        "parent": null,
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/china2520national2520space2520administration_image_20190207032431.jpeg"
                    },
                    "in_use": true,
                    "capability": "Chinese crewed spaceflight program.",
                    "history": "Shenzhou is a spacecraft used to support the Chinese manned spaceflight program and to carry crew to the Tiangong Space Station. Its design resembles the Russian Soyuz spacecraft, but it is larger in size and all-new in construction. The first launch was on November 19, 1999 and the first manned launch was on October 15, 2003.",
                    "details": "The Shenzhou spacecraft resembles the Soyuz, although it is longer, with a larger habitable volume. It features a powered service module like the Soyuz, and prior to Shenzhou 8 its orbital module was capable of autonomous flight. \r\n\r\nThe aft service module contains life support and other equipment required for the functioning of Shenzhou.",
                    "maiden_flight": "1999-11-19",
                    "height": 9.25,
                    "diameter": 2.8,
                    "human_rated": true,
                    "crew_capacity": 3,
                    "payload_capacity": null,
                    "flight_life": "200 day design life.",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/shenzhou_image_20190207032522.jpeg",
                    "nation_url": null,
                    "wiki_link": "https://en.wikipedia.org/wiki/Shenzhou_(spacecraft)",
                    "info_link": ""
                }
            },
            "docking_events": []
        }
    },
    "mission": {
        "id": 271,
        "launch_library_id": 356,
        "name": "Shenzhou-6",
        "description": "This is the second crewed mission for China's Shenzhou program. Shenzhou-6 began its mission by carrying astronauts Fei Junlong and Nie Haisheng into low Earth orbit. During their mission, astronauts conducted scientific experiments, which mainly had to do with how human body responds to spaceflight. After almost 5 days in orbit Shenzhou-6 deorbited and landed back safely on Earth on 16 October.",
        "launch_designator": null,
        "type": "Human Exploration",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 37,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/37/?format=api",
        "agency_id": null,
        "name": "Launch Area 4 (SLS-1 / 921)",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Jiuquan_Launch_Area_4",
        "map_url": "https://www.google.com/maps?q=40.957893,100.290944",
        "latitude": "40.957893",
        "longitude": "100.290944",
        "location": {
            "id": 17,
            "url": "https://ll.thespacedevs.com/2.0.0/location/17/?format=api",
            "name": "Jiuquan Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_17_20200803142429.jpg",
            "total_launch_count": 224,
            "total_landing_count": 0
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_37_20200803143603.jpg",
        "total_launch_count": 23
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "title": "SHENZHOU-6 LAUNCH, The second human spaceflight of China, Oct. 12, 2005",
            "description": "The crew arrived at the spacecraft about 2 hours and 45 minutes before the launch and the hatch closed 30 minutes after their arrival. At 01:00:03.583 UTC on...",
            "feature_image": "https://i.ytimg.com/vi/X07syCzQqio/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=X07syCzQqio"
        }
    ],
    "webcast_live": false,
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/long_march_2_image_20210908195835.jpeg",
    "infographic": null,
    "program": [
        {
            "id": 7,
            "url": "https://ll.thespacedevs.com/2.0.0/program/7/?format=api",
            "name": "Shenzhou",
            "description": "The Shenzhou program is a crewed spaceflight initiative by China. The program put the first Chinese citizen, Yang Liwei, into orbit on 15 October 2003.",
            "agencies": [
                {
                    "id": 17,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/17/?format=api",
                    "name": "China National Space Administration",
                    "type": "Government"
                }
            ],
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/shenzhou_program_20200820204745.PNG",
            "start_date": "1993-01-01T00:00:00Z",
            "end_date": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Shenzhou_program"
        }
    ],
    "orbital_launch_attempt_count": 4728,
    "location_launch_attempt_count": 40,
    "pad_launch_attempt_count": 6,
    "agency_launch_attempt_count": 34,
    "orbital_launch_attempt_count_year": 44,
    "location_launch_attempt_count_year": 4,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 6
}