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/e4b75787-a85d-4401-94a5-2f3c28605ec9/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "e4b75787-a85d-4401-94a5-2f3c28605ec9",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/e4b75787-a85d-4401-94a5-2f3c28605ec9/?format=api",
    "launch_library_id": null,
    "slug": "long-march-3be-zhtw-1-01",
    "name": "Long March 3B/E | ZHTW 1-01",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2024-05-09T01:43:00Z",
    "window_end": "2024-05-09T02:14:00Z",
    "window_start": "2024-05-09T01:33:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "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": 472,
        "consecutive_successful_launches": 11,
        "successful_launches": 458,
        "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": 8239,
        "configuration": {
            "id": 50,
            "launch_library_id": 69,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/50/?format=api",
            "name": "Long March 3",
            "description": "The Long March 3B / E (G2) (CZ-3B / E) is one of the most successful medium-range launchers and the strongest variant of the CZ-3 series.\r\nIt was specially developed for the transport of heavy communications satellites into a geostationary transfer orbit.\r\n\r\nThe additional designation \"E\" stands for a higher payload fairing, stretched boosters and extended fuel tanks at the first stage, over the CZ-3B.",
            "family": "Long March",
            "full_name": "Long March 3B/E",
            "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": 472,
                "consecutive_successful_launches": 11,
                "successful_launches": 458,
                "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": [],
            "variant": "B/E",
            "alias": "CZ-3B/E",
            "min_stage": 3,
            "max_stage": 3,
            "length": 56.3,
            "diameter": 3.35,
            "maiden_flight": "2007-05-13",
            "launch_mass": 456,
            "leo_capacity": 12000,
            "gto_capacity": 5500,
            "to_thrust": 5924,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/long2520march25203_image_20190222031215.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Long_March_3B",
            "total_launch_count": 57,
            "consecutive_successful_launches": 34,
            "successful_launches": 56,
            "failed_launches": 1,
            "pending_launches": 2
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 6820,
        "launch_library_id": null,
        "name": "ZHTW 1-01",
        "description": "Zhihui Tianwang 1-01 are 2 experimental Medium Earth Orbit communication satellites in a collaboration between Tsinghua University, SAST and the Shanghai local government for communication tests, including with Chinese Antarctic research bases and other Low Earth Orbit satellites. They are China's first Medium Earth Orbit communication satellites launched.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 12,
            "name": "Medium Earth Orbit",
            "abbrev": "MEO"
        }
    },
    "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_16_20200803142513.jpg",
            "total_launch_count": 205,
            "total_landing_count": 0
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_45_20200803143520.jpg",
        "total_launch_count": 109
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 10,
            "title": "Long March-3B launches Smart SkyNet-1 01 (A/B)",
            "description": "A Long March-3B launch vehicle launched the Smart SkyNet-1 01 (A/B) mission [智慧天网一号01星(A/B)] from the Xichang Satellite Launch Center, Sichuan Province, sout...",
            "feature_image": "https://i.ytimg.com/vi/C8ut7cTey5w/hqdefault.jpg?sqp=-oaymwEmCOADEOgC8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGF4gZShOMA8=&rs=AOn4CLDhdkMkwvSCGM_RwFXtLD0YBOFu_g",
            "url": "https://www.youtube.com/watch?v=C8ut7cTey5w"
        }
    ],
    "webcast_live": false,
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/cz-3b_liftoff__image_20240509092101.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 6666,
    "location_launch_attempt_count": 205,
    "pad_launch_attempt_count": 109,
    "agency_launch_attempt_count": 471,
    "orbital_launch_attempt_count_year": 88,
    "location_launch_attempt_count_year": 7,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 17
}