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/868fd262-e51f-472b-a991-da7996ff83f2/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "868fd262-e51f-472b-a991-da7996ff83f2",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/868fd262-e51f-472b-a991-da7996ff83f2/?format=api",
    "slug": "long-march-3b-shijian-21",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Long March 3B | Shijian 21",
    "status": {
        "id": 3,
        "name": "Launch Successful",
        "abbrev": "Success",
        "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
    },
    "last_updated": "2023-06-14T03:53:42Z",
    "updates": [
        {
            "id": 909,
            "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "Launch success.",
            "info_url": "https://m.weibo.cn/detail/4695764695779227",
            "created_by": "Cosmic_Penguin",
            "created_on": "2021-10-24T02:13:01Z"
        },
        {
            "id": 904,
            "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "Added launch per NOTAMs. Payload identity not known and the identity of rocket is uncertain.",
            "info_url": "https://forum.nasaspaceflight.com/index.php?topic=54930.0",
            "created_by": "Cosmic_Penguin",
            "created_on": "2021-10-23T06:52:12Z"
        }
    ],
    "net": "2021-10-24T01:27:00Z",
    "net_precision": null,
    "window_end": "2021-10-24T01:45:00Z",
    "window_start": "2021-10-24T01:15: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": 520,
        "consecutive_successful_launches": 62,
        "successful_launches": 506,
        "failed_launches": 14,
        "pending_launches": 10,
        "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": 7477,
        "configuration": {
            "id": 50,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/50/?format=api",
            "name": "Long March 3",
            "active": true,
            "reusable": false,
            "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.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": 520,
                "consecutive_successful_launches": 62,
                "successful_launches": 506,
                "failed_launches": 14,
                "pending_launches": 10,
                "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": "B/E",
            "alias": "CZ-3B/E",
            "min_stage": 3,
            "max_stage": 3,
            "length": 56.3,
            "diameter": 3.35,
            "maiden_flight": "2007-05-13",
            "launch_cost": "70000000",
            "launch_mass": 456,
            "leo_capacity": 12000,
            "gto_capacity": 5500,
            "to_thrust": 5924,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.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": 69,
            "consecutive_successful_launches": 46,
            "successful_launches": 68,
            "failed_launches": 1,
            "pending_launches": 2,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5877,
        "name": "Shijian 21",
        "description": "Chinese payload launching on trajectory consistent with geostationary transfer target orbit, official purpose declared as \"validation of on orbit space debris reduction technologies\".",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 2,
            "name": "Geostationary Transfer Orbit",
            "abbrev": "GTO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 45,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/45/?format=api",
        "agency_id": null,
        "name": "Launch Complex 2 (LC-2)",
        "description": "",
        "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.2.0/location/16/?format=api",
            "name": "Xichang Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "description": "The Xichang Satellite Launch Center is a spaceport in China. It is located in Zeyuan Town, northwest of Xichang, Liangshan Yi Autonomous Prefecture in Sichuan.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_16_20200803142513.jpg",
            "timezone_name": "Asia/Shanghai",
            "total_launch_count": 224,
            "total_landing_count": 0
        },
        "country_code": "CHN",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_45_20200803143520.jpg",
        "total_launch_count": 118,
        "orbital_launch_attempt_count": 118
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 10,
            "source": null,
            "publisher": null,
            "title": "Long March-3B launches Shijian-21",
            "description": "A Long March-3B rocket launched the Shijian-21 satellite from the Xichang Satellite Launch Center, Sichuan Province, southwest China, on 24 October 2021, at ...",
            "feature_image": "https://i.ytimg.com/vi/J2dNneiGItg/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=J2dNneiGItg",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/long2520march25203_image_20190222031215.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 6139,
    "location_launch_attempt_count": 163,
    "pad_launch_attempt_count": 95,
    "agency_launch_attempt_count": 340,
    "orbital_launch_attempt_count_year": 102,
    "location_launch_attempt_count_year": 12,
    "pad_launch_attempt_count_year": 6,
    "agency_launch_attempt_count_year": 36,
    "pad_turnaround": "P44DT13H37M",
    "mission_patches": [],
    "type": "detailed"
}