API endpoint that returns all Launch objects or a single launch.

EXAMPLE - /launch// 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/eb4b1e8b-7772-4103-91fe-f4edc9c1d64f/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "eb4b1e8b-7772-4103-91fe-f4edc9c1d64f",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/eb4b1e8b-7772-4103-91fe-f4edc9c1d64f/?format=api",
    "launch_library_id": 1139,
    "slug": "long-march-11-xiaoxiang-1-xpnav-1-3-others",
    "name": "Long March 11 | Xiaoxiang-1, XPNAV-1 & 3 others.",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2016-11-09T23:42:00Z",
    "window_end": "2016-11-09T23:42:00Z",
    "window_start": "2016-11-09T23:42:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": "",
    "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": 523,
        "consecutive_successful_launches": 65,
        "successful_launches": 509,
        "failed_launches": 14,
        "pending_launches": 9,
        "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://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_logo_20220826093937.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_image_20191228094408.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_nation_20230604193716.png"
    },
    "rocket": {
        "id": 1961,
        "configuration": {
            "id": 47,
            "launch_library_id": 71,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/47/?format=api",
            "name": "Long March 11",
            "description": "",
            "family": "Long March",
            "full_name": "Long March 11",
            "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": 523,
                "consecutive_successful_launches": 65,
                "successful_launches": 509,
                "failed_launches": 14,
                "pending_launches": 9,
                "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://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_logo_20220826093937.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_image_20191228094408.jpeg",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_nation_20230604193716.png"
            },
            "program": [],
            "variant": "11",
            "alias": "",
            "min_stage": 1,
            "max_stage": 4,
            "length": 20.0,
            "diameter": 2.0,
            "maiden_flight": "2015-09-25",
            "launch_mass": 58,
            "leo_capacity": 500,
            "gto_capacity": 0,
            "to_thrust": 1177,
            "apogee": 200,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/long2520march252011_image_20190222031217.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Long_March_11",
            "total_launch_count": 17,
            "consecutive_successful_launches": 17,
            "successful_launches": 17,
            "failed_launches": 0,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 346,
        "launch_library_id": 452,
        "name": "Xiaoxiang-1, XPNAV-1 & 3 others.",
        "description": "XPNAV-1 (X-Ray Pulsar Navigation) is the first ever satellite to test the technology of spacecraft navigation by using signals from X-ray pulsars. It is launched along with the Xiaoxiang 1 cubsat and several other small satellites.",
        "launch_designator": null,
        "type": "Astrophysics",
        "orbit": {
            "id": 17,
            "name": "Sun-Synchronous Orbit",
            "abbrev": "SSO"
        }
    },
    "pad": {
        "id": 21,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/21/?format=api",
        "agency_id": null,
        "name": "Launch Area 95A",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Jiuquan_Satellite_Launch_Center",
        "map_url": "https://www.google.com/maps?q=40.969117,100.343333",
        "latitude": "40.969117",
        "longitude": "100.343333",
        "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://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
            "total_launch_count": 250,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_21_20200803143253.jpg",
        "total_launch_count": 59
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/long2520march252011_image_20190222031217.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5597,
    "location_launch_attempt_count": 89,
    "pad_launch_attempt_count": 2,
    "agency_launch_attempt_count": 185,
    "orbital_launch_attempt_count_year": 68,
    "location_launch_attempt_count_year": 7,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 17
}