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/fd64bfae-7137-4569-ae9e-a573ce1143f7/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "fd64bfae-7137-4569-ae9e-a573ce1143f7",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/fd64bfae-7137-4569-ae9e-a573ce1143f7/?format=api",
    "launch_library_id": null,
    "slug": "long-march-2e-apstar-2",
    "name": "Long March 2E | Apstar 2",
    "status": {
        "id": 4,
        "name": "Failure"
    },
    "net": "1995-01-25T22:40:00Z",
    "window_end": "1995-01-25T22:40:00Z",
    "window_start": "1995-01-25T22:40:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 189,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/189/?format=api",
        "name": "China Aerospace Corporation",
        "featured": false,
        "type": "Government",
        "country_code": "CHN",
        "abbrev": "CASC",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 27,
        "consecutive_successful_launches": 15,
        "successful_launches": 24,
        "failed_launches": 3,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.spacechina.com/",
        "wiki_url": "https://en.wikipedia.org/wiki/China_Aerospace_Science_and_Technology_Corporation",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 6644,
        "configuration": {
            "id": 268,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/268/?format=api",
            "name": "Long March 2E",
            "description": "The Long March 2E is a斯expendable launch vehicle made and operated by China. It is a two stage launch vehicle with storable propellants, consisting of Nitrogen Tetroxide and Unsymmetrical Dimethylhydrazine, augmented by 4 liquid fuel boosters using the same fuel.",
            "family": "Long March",
            "full_name": "Long March 2E",
            "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": 520,
                "consecutive_successful_launches": 62,
                "successful_launches": 506,
                "failed_launches": 14,
                "pending_launches": 8,
                "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": "2E",
            "alias": "",
            "min_stage": 3,
            "max_stage": 3,
            "length": 49.686,
            "diameter": 7.85,
            "maiden_flight": "1990-07-16",
            "launch_mass": 462,
            "leo_capacity": 9200,
            "gto_capacity": null,
            "to_thrust": 5923,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Long_March_2",
            "total_launch_count": 7,
            "consecutive_successful_launches": 2,
            "successful_launches": 5,
            "failed_launches": 2,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5034,
        "launch_library_id": null,
        "name": "Apstar 2",
        "description": "The APStar 2 satellite was designed to serve two-thirds of the world's population - from China, Japan, and Vietnam on the east; to Russia, Eastern Europe, and India on the west; and to Australia on the south. APT Satellite Company, Ltd., of Hong Kong, ordered the high-power Hughes HS 601 spacecraft model in November 1993, as well as satellite control facility equipment and operator training.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 1,
            "name": "Geostationary Orbit",
            "abbrev": "Direct-GEO"
        }
    },
    "pad": {
        "id": 45,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/45/?format=api",
        "agency_id": null,
        "name": "Launch Complex 2 (LC-2)",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Xichang_Satellite_Launch_Center",
        "map_url": "https://www.google.com/maps?q=28.245564,102.026751",
        "latitude": "28.245564",
        "longitude": "102.026751",
        "location": {
            "id": 16,
            "url": "https://ll.thespacedevs.com/2.0.0/location/16/?format=api",
            "name": "Xichang Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_16_20200803142513.jpg",
            "total_launch_count": 224,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_45_20200803143520.jpg",
        "total_launch_count": 118
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 3965,
    "location_launch_attempt_count": 16,
    "pad_launch_attempt_count": 7,
    "agency_launch_attempt_count": 7,
    "orbital_launch_attempt_count_year": 4,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1
}