AN 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', 'is_crewed', 'include_suborbital', 'spacecraft_config__ids',
'related', 'location__ids', 'lsp__ids', 'pad__ids', 'status__ids'

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.2.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.2.0/launch/2f30b8e8-9262-41d5-a10c-3feb5729b13b/?format=api",
    "slug": "long-march-6c-maiden-flight",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Long March 6C | Maiden Flight",
    "status": {
        "id": 3,
        "name": "Launch Successful",
        "abbrev": "Success",
        "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
    },
    "last_updated": "2024-05-07T08:26:41Z",
    "updates": [
        {
            "id": 7474,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "Launch success.",
            "info_url": "https://m.weibo.cn/detail/5031361446413755",
            "created_by": "Cosmic_Penguin",
            "created_on": "2024-05-07T03:56:24Z"
        },
        {
            "id": 7432,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "Adding launch per NOTAMs; Payload and launch vehicle identities extremely uncertain.",
            "info_url": "https://forum.nasaspaceflight.com/index.php?topic=57867.msg2588300#msg2588300",
            "created_by": "Cosmic_Penguin",
            "created_on": "2024-05-02T19:22:37Z"
        }
    ],
    "net": "2024-05-07T03:21:00Z",
    "net_precision": {
        "id": 1,
        "name": "Minute",
        "abbrev": "MIN",
        "description": "The T-0 is accurate to the minute."
    },
    "window_end": "2024-05-07T03:55:00Z",
    "window_start": "2024-05-07T03:13:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 88,
        "url": "https://ll.thespacedevs.com/2.2.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,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/510/?format=api",
            "name": "Long March 6C",
            "active": true,
            "reusable": false,
            "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.2.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_cost": null,
            "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,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 6819,
        "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"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 200,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/200/?format=api",
        "agency_id": null,
        "name": "Launch Complex 9A",
        "description": null,
        "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.2.0/location/19/?format=api",
            "name": "Taiyuan Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "description": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_19_20200803142421.jpg",
            "timezone_name": "Asia/Shanghai",
            "total_launch_count": 126,
            "total_landing_count": 0
        },
        "country_code": "CHN",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_launch_complex_9a_20220330003717.jpg",
        "total_launch_count": 6,
        "orbital_launch_attempt_count": 6
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 10,
            "source": "youtube.com",
            "publisher": "SciNews",
            "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",
            "type": {
                "id": 6,
                "name": "Recap"
            },
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            },
            "start_time": "2024-05-07T06:40:51Z",
            "end_time": "2024-05-07T06:42:42Z"
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "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,
    "pad_turnaround": "P41DT4H30M",
    "mission_patches": [
        {
            "id": 1013,
            "name": "CZ-6C",
            "priority": 10,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/mission_patch_images/cz-6c_mission_patch_20240507082635.png",
            "agency": {
                "id": 88,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/88/?format=api",
                "name": "China Aerospace Science and Technology Corporation",
                "type": "Government"
            }
        }
    ],
    "type": "detailed"
}