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/7f0c4ec0-c5e1-452a-be28-7b926c059acc/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "7f0c4ec0-c5e1-452a-be28-7b926c059acc",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/7f0c4ec0-c5e1-452a-be28-7b926c059acc/?format=api",
    "slug": "atlas-centaur-surveyor-mass-model",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Atlas Centaur | Surveyor Mass Model",
    "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-14T17:40:05Z",
    "updates": [],
    "net": "1964-12-11T14:25:02Z",
    "net_precision": null,
    "window_end": "1964-12-11T14:25:02Z",
    "window_start": "1964-12-11T14:25:02Z",
    "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": 3345,
        "configuration": {
            "id": 235,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/235/?format=api",
            "name": "Atlas Centaur",
            "active": false,
            "reusable": false,
            "description": "The Atlas-Centaur was a US expendable launch vehicle derived from the SM-65 Atlas D missile. Launches were conducted from Launch Complex 36 at the Cape Canaveral Air Force Station in Florida.",
            "family": "Atlas",
            "full_name": "Atlas LV-3C Centaur",
            "manufacturer": {
                "id": 1004,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/1004/?format=api",
                "name": "Convair",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "",
                "description": "Convair, previously Consolidated Vultee, was an American aircraft manufacturing company that later expanded into rockets and spacecraft. The company was formed in 1943 by the merger of Consolidated Aircraft and Vultee Aircraft. In 1953 it was purchased by General Dynamics, and operated as their Convair Division for most of its corporate history.",
                "administrator": null,
                "founding_year": "1943",
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 1,
                "consecutive_successful_launches": 1,
                "successful_launches": 1,
                "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/Convair",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "Centaur",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 33.0,
            "diameter": 3.05,
            "maiden_flight": "1962-05-08",
            "launch_cost": null,
            "launch_mass": null,
            "leo_capacity": null,
            "gto_capacity": 1800,
            "to_thrust": 1704,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Atlas-Centaur",
            "total_launch_count": 4,
            "consecutive_successful_launches": 0,
            "successful_launches": 2,
            "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": 1766,
        "name": "Surveyor Mass Model",
        "description": "Surveyor-Model was a dummy mass onbaord of Centaur AC-4, launched on 11 December 1964, which was to test the closed loop Honeywell guidance system and perform the first restart of cryogenic RL10A-3 engines in space.",
        "launch_designator": null,
        "type": "Test Flight",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 121,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/121/?format=api",
        "agency_id": 161,
        "name": "Launch Complex 36A",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Launch_Complex_36",
        "map_url": "https://www.google.com/maps?q=28.4705556,-80.542194",
        "latitude": "28.4705556",
        "longitude": "-80.542194",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "description": "Cape Canaveral Space Force Station (CCSFS) is an installation of the United States Space Force's Space Launch Delta 45, located on Cape Canaveral in Brevard County, Florida.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "timezone_name": "America/New_York",
            "total_launch_count": 1021,
            "total_landing_count": 64
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_121_20200803143231.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": 388,
    "location_launch_attempt_count": 125,
    "pad_launch_attempt_count": 3,
    "agency_launch_attempt_count": 227,
    "orbital_launch_attempt_count_year": 95,
    "location_launch_attempt_count_year": 19,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 52,
    "pad_turnaround": "P164DT20M40S",
    "mission_patches": [],
    "type": "detailed"
}