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/2f30b8e8-9262-41d5-a10c-3feb5729b13b/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "2f30b8e8-9262-41d5-a10c-3feb5729b13b",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/2f30b8e8-9262-41d5-a10c-3feb5729b13b/?format=api",
    "launch_library_id": null,
    "slug": "long-march-6c-maiden-flight",
    "name": "Long March 6C | Maiden Flight",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2024-05-07T03:21:00Z",
    "window_end": "2024-05-07T03:55:00Z",
    "window_start": "2024-05-07T03:13: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": 8238,
        "configuration": {
            "id": 510,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/510/?format=api",
            "name": "Long March 6C",
            "description": "The Long March 6C is a Chinese launch vehicle of the Long March family, which was developed by the China Aerospace Science and Technology Corporation (CASC) and the Shanghai Academy of Spaceflight Technology (SAST). The vehicle is a further development of the Long March 6A, with its solid rocket boosters deleted, with 2 YF-100 engines on the first stage and 1 YF-115 engine on the second stage.",
            "family": "Long March",
            "full_name": "Long March 6C",
            "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": "",
            "alias": "CZ-6C",
            "min_stage": 2,
            "max_stage": 2,
            "length": 43.0,
            "diameter": 3.35,
            "maiden_flight": "2024-05-07",
            "launch_mass": 217,
            "leo_capacity": 4500,
            "gto_capacity": null,
            "to_thrust": 2376,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/cz-6c_on_the_la_image_20240507065151.jpg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Long_March_6C",
            "total_launch_count": 1,
            "consecutive_successful_launches": 1,
            "successful_launches": 1,
            "failed_launches": 0,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 6819,
        "launch_library_id": null,
        "name": "Maiden Flight",
        "description": "Carried 4 Earth observation satellites to orbit:\r\n* Haiwangxing-01, 239 kg X-band SAR satellite built by SAST for Zhihui Space Tech\r\n* Zhixing-1C, X-band radar sat for Smart Satellite Technology\r\n* 2 unidentified optical Earth observation satellites",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 17,
            "name": "Sun-Synchronous Orbit",
            "abbrev": "SSO"
        }
    },
    "pad": {
        "id": 200,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/200/?format=api",
        "agency_id": null,
        "name": "Launch Complex 9A",
        "info_url": null,
        "wiki_url": null,
        "map_url": "https://www.google.com/maps?q=38.8583,111.5802",
        "latitude": "38.8583",
        "longitude": "111.5802",
        "location": {
            "id": 19,
            "url": "https://ll.thespacedevs.com/2.0.0/location/19/?format=api",
            "name": "Taiyuan Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_19_20200803142421.jpg",
            "total_launch_count": 126,
            "total_landing_count": 0
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_launch_complex_9a_20220330003717.jpg",
        "total_launch_count": 6
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 10,
            "title": "Long March-6C first launch",
            "description": "The first Long March-6C rocket launched four satellites, HaiWangSAT-01 (海王星01星, Neptune-01), SmartSat-1C (智星一号C星/ 三江源一号卫星, Sanjiangyuan-1 Satellite), “wide-b...",
            "feature_image": "https://i.ytimg.com/vi/BgrK8_HyW9k/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGFEgXChlMA8=&rs=AOn4CLCwHGYGjHb0S_fhuEf4qaNSE93QHg",
            "url": "https://www.youtube.com/watch?v=BgrK8_HyW9k"
        }
    ],
    "webcast_live": false,
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/cz-6c_liftoff__image_20240507065634.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 6664,
    "location_launch_attempt_count": 126,
    "pad_launch_attempt_count": 6,
    "agency_launch_attempt_count": 470,
    "orbital_launch_attempt_count_year": 86,
    "location_launch_attempt_count_year": 2,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 16
}