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/4bfd4da0-962f-4f71-8ffa-0a18b2b6be34/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "4bfd4da0-962f-4f71-8ffa-0a18b2b6be34",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/4bfd4da0-962f-4f71-8ffa-0a18b2b6be34/?format=api",
    "slug": "titan-403a-onyx-2",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Titan 403A | Onyx 2",
    "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:37:40Z",
    "updates": [],
    "net": "1991-03-08T12:03:00Z",
    "net_precision": null,
    "window_end": "1991-03-08T12:03:00Z",
    "window_start": "1991-03-08T12:03: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": 6354,
        "configuration": {
            "id": 430,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/430/?format=api",
            "name": "Titan 403A",
            "active": false,
            "reusable": false,
            "description": "Titan IV was a family of heavy-lift space launch vehicles developed by Martin Marietta and operated by the United States Air Force from 1989 to 2005.",
            "family": "Titan",
            "full_name": "Titan 403A",
            "manufacturer": {
                "id": 82,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/82/?format=api",
                "name": "Lockheed Martin",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "LMT",
                "description": "Lockheed Martin's Space Division started in the production of missiles and later ICBM's in the 1950s. Their TITAN missile system was used for 12 Gemini spacecraft and the Voyager probes.  They have worked largely in collaboration with NASA on many of their probes, landers, and spacecraft, and hope to play a key role in NASA's return to the moon in 2024.",
                "administrator": null,
                "founding_year": "1953",
                "launchers": "Titan | Agena",
                "spacecraft": "Hubble | JUNO | InSight",
                "launch_library_url": null,
                "total_launch_count": 80,
                "consecutive_successful_launches": 38,
                "successful_launches": 77,
                "failed_launches": 3,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.lockheedmartin.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/Lockheed_Martin",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "403A",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 54.0,
            "diameter": 3.05,
            "maiden_flight": "1991-03-08",
            "launch_cost": null,
            "launch_mass": 906,
            "leo_capacity": 17700,
            "gto_capacity": null,
            "to_thrust": 14200,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Titan_IV",
            "total_launch_count": 5,
            "consecutive_successful_launches": 2,
            "successful_launches": 4,
            "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": 4744,
        "name": "Onyx 2",
        "description": "The Onyx satellites are terrestrial radar imaging reconnaissance satellite operated by the National Reconnaissance Office (NRO).",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 16,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/16/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 4E",
        "description": "Space Launch Complex 4 East (SLC-4E) is a launch site at Vandenberg Space Force Base, California, U.S.\r\n\r\nThe pad was previously used by Atlas and Titan rockets between 1963 and 2005. The pad was built for use by Atlas-Agena rockets, but was later rebuilt to handle Titan rockets.",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Launch_Complex_4#SLC-4E",
        "map_url": "https://www.google.com/maps?q=34.632,-120.611",
        "latitude": "34.632",
        "longitude": "-120.611",
        "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_16_20200803143532.jpg",
        "total_launch_count": 190,
        "orbital_launch_attempt_count": 190
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 3614,
    "location_launch_attempt_count": 545,
    "pad_launch_attempt_count": 57,
    "agency_launch_attempt_count": 894,
    "orbital_launch_attempt_count_year": 17,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 2,
    "pad_turnaround": "P851DT18H",
    "mission_patches": [],
    "type": "detailed"
}