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/5ec966fd-6feb-4f07-894c-17c8ccb852ab/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "5ec966fd-6feb-4f07-894c-17c8ccb852ab",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/5ec966fd-6feb-4f07-894c-17c8ccb852ab/?format=api",
    "slug": "soyuz-u-pvb-foton-m-no-1",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Soyuz-U-PVB | Foton-M No. 1",
    "status": {
        "id": 4,
        "name": "Launch Failure",
        "abbrev": "Failure",
        "description": "Either the launch vehicle did not reach orbit, or the payload(s) failed to separate."
    },
    "last_updated": "2023-06-14T03:51:29Z",
    "updates": [],
    "net": "2002-10-15T18:20:00Z",
    "net_precision": null,
    "window_end": "2002-10-15T18:20:00Z",
    "window_start": "2002-10-15T18:20:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 193,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/193/?format=api",
        "name": "Russian Space Forces",
        "featured": false,
        "type": "Government",
        "country_code": "RUS",
        "abbrev": "VKS",
        "description": "The Russian Space Forces are a branch of the Russian Aerospace Forces, that provides aerospace warning, air sovereignty, and protection for Russia. Having been reestablished following August 1, 2015 merger between the Russian Air Force and the Russian Aerospace Defence Forces after a 2011 dissolving of the branch. The Russian Space Forces were originally formed on August 10, 1992 and the creation of the Russian Armed Forces.",
        "administrator": "Commander: Aleksandr Golovko",
        "founding_year": "1992",
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 144,
        "consecutive_successful_launches": 56,
        "successful_launches": 136,
        "failed_launches": 8,
        "pending_launches": 2,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Russian_Aerospace_Forces",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520space2520forces_logo_20200805185824.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520space2520forces_image_20191210085547.png",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520space2520forces_nation_20230805154528.png"
    },
    "rocket": {
        "id": 7107,
        "configuration": {
            "id": 378,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/378/?format=api",
            "name": "Soyuz-U-PVB",
            "active": false,
            "reusable": false,
            "description": "A Russian orbital launch vehicle. A version of the Soyuz-U with safety modifications to prevent and resist fires in all stages and the upper stage avionics compartment.",
            "family": "Soyuz",
            "full_name": "Soyuz-U-PVB",
            "manufacturer": {
                "id": 111,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/111/?format=api",
                "name": "Progress Rocket Space Center",
                "featured": false,
                "type": "Commercial",
                "country_code": "RUS",
                "abbrev": "PRSC",
                "description": "Progress Rocket Space Centre, formerly known as TsSKB-Progress, is a space science and aerospace research company which is known for manufacturing launch vehicles and satellites. Most notably, Progress Rocket Space Centre is the manufacturer of Soyuz launch vehicles.",
                "administrator": "CEO: Dmitry Baranov",
                "founding_year": "1996",
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 45,
                "consecutive_successful_launches": 3,
                "successful_launches": 44,
                "failed_launches": 1,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "https://en.samspace.ru/",
                "wiki_url": "https://en.wikipedia.org/wiki/Progress_Rocket_Space_Centre",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/progress2520rocket2520space2520center_logo_20210313175054.png",
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "U-PVB",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 51.0,
            "diameter": 3.0,
            "maiden_flight": "1984-03-21",
            "launch_cost": null,
            "launch_mass": 313,
            "leo_capacity": 6900,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Soyuz-U",
            "total_launch_count": 74,
            "consecutive_successful_launches": 12,
            "successful_launches": 72,
            "failed_launches": 2,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5496,
        "name": "Foton-M No. 1",
        "description": "Foton-M No.1 was a mission by the European Space Agency aboard a Russian Soyuz-U rocket that failed to launch successfully. The spacecraft's payload consisted of 44 experiments prepared by the European Space Agency, Fluidpac, BIOPAN-4, Telescience Support Unit, and others. Investigation found that the most likely cause of the failure was debris being ingested into the Blok D hydrogen peroxide pump, cutting off the supply of lubricant to the turbopumps. This was the first failure of an R-7 launch vehicle in the first two minutes of launch since 1988.",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 36,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/36/?format=api",
        "agency_id": 163,
        "name": "43/3 (43L)",
        "description": "",
        "info_url": null,
        "wiki_url": null,
        "map_url": "https://www.google.com/maps?q=62.9273,40.45",
        "latitude": "62.9273",
        "longitude": "40.45",
        "location": {
            "id": 6,
            "url": "https://ll.thespacedevs.com/2.2.0/location/6/?format=api",
            "name": "Plesetsk Cosmodrome, Russian Federation",
            "country_code": "RUS",
            "description": "Plesetsk Cosmodrome is a Russian spaceport located in Mirny, Arkhangelsk Oblast, about 800 km north of Moscow and approximately 200 km south of Arkhangelsk. Originally developed as an ICBM site for the R-7 missile, it also served for numerous satellite launches using the R-7 and other rockets. Its high latitude makes it useful only for certain types of launches, especially the Molniya orbits, so for much of the site's history it functioned as a secondary location, with most orbital launches taking place from Baikonur, in the Kazakh SSR. With the end of the Soviet Union, Baikonur became a foreign territory, and Kazakhstan charged $115 million usage fees annually. Consequently, Plesetsk has seen considerably more activity since the 2000s.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_6_20200803142434.jpg",
            "timezone_name": "Europe/Moscow",
            "total_launch_count": 1675,
            "total_landing_count": 0
        },
        "country_code": "RUS",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_36_20200803143534.jpg",
        "total_launch_count": 230,
        "orbital_launch_attempt_count": 230
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4560,
    "location_launch_attempt_count": 1525,
    "pad_launch_attempt_count": 218,
    "agency_launch_attempt_count": 58,
    "orbital_launch_attempt_count_year": 49,
    "location_launch_attempt_count_year": 8,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 2,
    "pad_turnaround": "P232DT53M39S",
    "mission_patches": [],
    "type": "detailed"
}