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/00190507-4918-491a-aa73-0e151775fada/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "00190507-4918-491a-aa73-0e151775fada",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/00190507-4918-491a-aa73-0e151775fada/?format=api",
    "slug": "long-march-2d-xihe-chase",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Long March 2D | Xihe (CHASE)",
    "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:42:39Z",
    "updates": [
        {
            "id": 881,
            "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/4692280419551851",
            "created_by": "Cosmic_Penguin",
            "created_on": "2021-10-14T11:23:12Z"
        },
        {
            "id": 868,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "Added launch per NOTAMs and public reports - note high uncertainty of assigning payload/rocket with the specific launch notice.",
            "info_url": "https://forum.nasaspaceflight.com/index.php?topic=54886.msg2299287#msg2299287",
            "created_by": "Cosmic_Penguin",
            "created_on": "2021-10-12T10:10:47Z"
        }
    ],
    "net": "2021-10-14T10:51:00Z",
    "net_precision": null,
    "window_end": "2021-10-14T11:12:00Z",
    "window_start": "2021-10-14T10:44: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": 6,
        "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": 2717,
        "configuration": {
            "id": 17,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/17/?format=api",
            "name": "Long March 2D",
            "active": true,
            "reusable": false,
            "description": "The Long March 2D, also known as the Chang Zheng 2D, CZ-2D and LM-2D, is a Chinese orbital carrier rocket. It is a 2-stage carrier rocket mainly used for launching LEO and SSO satellites.",
            "family": "Long March",
            "full_name": "Long March 2D",
            "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": 6,
                "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": "2D",
            "alias": "",
            "min_stage": 1,
            "max_stage": 2,
            "length": 38.3,
            "diameter": 3.35,
            "maiden_flight": "1992-08-09",
            "launch_cost": "30000000",
            "launch_mass": 232,
            "leo_capacity": 3500,
            "gto_capacity": 0,
            "to_thrust": 2962,
            "apogee": 500,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/long2520march25202d_image_20190222031211.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Long_March_(rocket_family)",
            "total_launch_count": 85,
            "consecutive_successful_launches": 53,
            "successful_launches": 84,
            "failed_launches": 1,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5875,
        "name": "Xihe (CHASE)",
        "description": "Xihe, also known as the Chinese Hα Solar Explorer (CHASE), is designed to test a newly developed satellite platform and conduct solar observations. The scientific payload of the satellite is an Hα imaging spectrograph (HIS), which can, for the first time, acquire full-disk spectroscopic solar observations in the Hα waveband. It will complement the observations by on-orbit solar spacecraft (such as SDO, IRIS, STEREO and PSP), as well as future solar missions of the Solar Orbiter and the Chinese Advanced Space-based Solar Observatory (ASO-S).\r\nMission is named Xihe after a solar deity from Chinese mythology.",
        "launch_designator": null,
        "type": "Heliophysics",
        "orbit": {
            "id": 17,
            "name": "Sun-Synchronous Orbit",
            "abbrev": "SSO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 25,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/25/?format=api",
        "agency_id": null,
        "name": "Launch Complex 9",
        "description": null,
        "info_url": null,
        "wiki_url": null,
        "map_url": "https://www.google.com/maps?q=38.863128,111.589567",
        "latitude": "38.863128",
        "longitude": "111.589567",
        "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_25_20200803143501.jpg",
        "total_launch_count": 71,
        "orbital_launch_attempt_count": 71
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 10,
            "source": null,
            "publisher": null,
            "title": "Long March-2D launches Xihe and 10 small satellites",
            "description": "A Long March-2D launch vehicle launched the Chinese Hα Solar Explorer (CHASE) and 10 small satellites from the Taiyuan Satellite Launch Center, Shanxi Provin...",
            "feature_image": "https://i.ytimg.com/vi/6ntqA5YNKkg/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=6ntqA5YNKkg",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/long2520march25202d_image_20190222031211.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 6124,
    "location_launch_attempt_count": 98,
    "pad_launch_attempt_count": 54,
    "agency_launch_attempt_count": 338,
    "orbital_launch_attempt_count_year": 98,
    "location_launch_attempt_count_year": 9,
    "pad_launch_attempt_count_year": 6,
    "agency_launch_attempt_count_year": 34,
    "pad_turnaround": "P37DT7H50M",
    "mission_patches": [
        {
            "id": 94,
            "name": "CHASE Mission Patch",
            "priority": 10,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/mission_patch_images/chase2520missi_mission_patch_20211014123340.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"
}