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/7aa56e72-1364-4e2f-b018-83d407c4a9cf/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "7aa56e72-1364-4e2f-b018-83d407c4a9cf",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/7aa56e72-1364-4e2f-b018-83d407c4a9cf/?format=api",
    "slug": "scout-x-3m-dsap-1-f3",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Scout X-3M | DSAP-1 F3",
    "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-14T04:25:50Z",
    "updates": [],
    "net": "1963-02-19T16:52:00Z",
    "net_precision": null,
    "window_end": "1963-02-19T16:52:00Z",
    "window_start": "1963-02-19T16:52:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 161,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/161/?format=api",
        "name": "United States Air Force",
        "featured": false,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "USAF",
        "description": "The United States Air Force (USAF) is the air service branch of the United States Armed Forces, and is one of the eight uniformed services of the United States. Originally created on 1 August 1907, as a part of the United States Army Signal Corps, the USAF was established as a separate branch of the United States Armed Forces in 1947 with the enactment of the National Security Act of 1947.",
        "administrator": "Commander-in-Chief: President of the US",
        "founding_year": "1947",
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 1078,
        "consecutive_successful_launches": 68,
        "successful_launches": 972,
        "failed_launches": 106,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.af.mil",
        "wiki_url": "http://en.wikipedia.org/wiki/United_States_Air_Force",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_logo_20230804084626.png",
        "image_url": null,
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_nation_20230804085132.jpg"
    },
    "rocket": {
        "id": 3186,
        "configuration": {
            "id": 369,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/369/?format=api",
            "name": "Scout X-3M",
            "active": false,
            "reusable": false,
            "description": "The Scout family of rockets were were American launch vehicles designed to place small satellites into orbit around the Earth. The Scout multistage rocket was the first orbital launch vehicle to be entirely composed of solid fuel stages.",
            "family": "Scout",
            "full_name": "Scout X-3M",
            "manufacturer": {
                "id": 1006,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/1006/?format=api",
                "name": "Vought",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "",
                "description": "Vought was the name of several related American aerospace firms. These have included, in the past, Lewis and Vought Corporation, Chance Vought, Vought-Sikorsky, LTV Aerospace (part of Ling-Temco-Vought), Vought Aircraft Companies, and Vought Aircraft Industries. The first incarnation of Vought was established by Chance M. Vought and Birdseye Lewis in 1917. In 1928, it was acquired by United Aircraft and Transport Corporation, which a few years later became United Aircraft Corporation; this was the first of many reorganizations and buyouts. During the 1920s and 1930s, Vought Aircraft and Chance Vought specialized in carrier-based aircraft for the United States Navy, by far its biggest customer. Chance Vought produced thousands of planes during World War II, including the F4U Corsair. Vought became independent again in 1954, and was purchased by Ling-Temco-Vought in 1961. The company designed and produced a variety of planes and missiles throughout the Cold War. Vought was sold from LTV and owned in various degrees by the Carlyle Group and Northrop Grumman in the early 1990s. It was then fully bought by Carlyle, renamed Vought Aircraft Industries, with headquarters in Dallas, Texas. In June 2010, the Carlyle Group sold Vought to the Triumph Group.",
                "administrator": null,
                "founding_year": "1917",
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 0,
                "consecutive_successful_launches": 0,
                "successful_launches": 0,
                "failed_launches": 0,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Vought",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "3M",
            "alias": "",
            "min_stage": 4,
            "max_stage": 4,
            "length": 22.0,
            "diameter": 1.02,
            "maiden_flight": "1963-02-19",
            "launch_cost": null,
            "launch_mass": 17,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": 380,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Scout_(rocket_family)",
            "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": 1608,
        "name": "DSAP-1 F3",
        "description": "The DSAP-1 (Defense Satellite Application Program Block 1) satellites series, also known as P-35, was the first series of military meteorologal satellites of the USA.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 17,
            "name": "Sun-Synchronous Orbit",
            "abbrev": "SSO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 154,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/154/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 5",
        "description": "Space Launch Complex 5 (SLC-5) was a launch pad at Vandenberg Space Force Base in California, United States. It was previously part of the Point Arguello Naval Air Station, during which time it was designated Launch Complex D or LC-D. Constructed in 1961, it was used by 69 Scout launch vehicles between 1962 and 1994.",
        "info_url": "http://www.astronautix.com/v/vandenbergslc5.html",
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Air_Force_Base_Space_Launch_Complex_5",
        "map_url": "https://www.google.com/maps?q=34.6080,-120.6247",
        "latitude": "34.608",
        "longitude": "-120.6247",
        "location": {
            "id": 11,
            "url": "https://ll.thespacedevs.com/2.2.0/location/11/?format=api",
            "name": "Vandenberg SFB, CA, USA",
            "country_code": "USA",
            "description": "Vandenberg Space Force Base is a United States Space Force Base in Santa Barbara County, California. Established in 1941, Vandenberg Space Force Base is a space launch base, launching spacecraft from the Western Range, and also performs missile testing. The United States Space Force's Space Launch Delta 30 serves as the host delta for the base, equivalent to an Air Force air base wing. In addition to its military space launch mission, Vandenberg Space Force Base also hosts space launches for civil and commercial space entities, such as NASA and SpaceX.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
            "timezone_name": "America/Los_Angeles",
            "total_launch_count": 804,
            "total_landing_count": 26
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_154_20200803143408.jpg",
        "total_launch_count": 69,
        "orbital_launch_attempt_count": 69
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 230,
    "location_launch_attempt_count": 85,
    "pad_launch_attempt_count": 5,
    "agency_launch_attempt_count": 131,
    "orbital_launch_attempt_count_year": 6,
    "location_launch_attempt_count_year": 3,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 5,
    "pad_turnaround": "P62DT15H26M15S",
    "mission_patches": [],
    "type": "detailed"
}