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/7f60a519-bcf8-420e-b460-993d605cb819/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "7f60a519-bcf8-420e-b460-993d605cb819",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/7f60a519-bcf8-420e-b460-993d605cb819/?format=api",
    "slug": "atlas-g-centaur-fltsatcom-f8",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Atlas G Centaur | FLTSATCOM F8",
    "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:39:57Z",
    "updates": [],
    "net": "1989-09-25T08:56:02Z",
    "net_precision": null,
    "window_end": "1989-09-25T08:56:02Z",
    "window_start": "1989-09-25T08:56: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": 6210,
        "configuration": {
            "id": 250,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/250/?format=api",
            "name": "Atlas G Centaur",
            "active": false,
            "reusable": false,
            "description": "The Atlas G, also known as Atlas G Centaur-D1AR was an American expendable launch system derived from the Atlas-Centaur. It was a member of the Atlas family of rockets, and was used to launch seven communication satellites during the mid to late 1980s. Atlas G consisted of an improved Atlas core with modernized avionics and stretched propellant tanks. The Centaur stage also had several updated components and other technical improvements. It was replaced by the Atlas I, which had an improved guidance system.",
            "family": "Atlas",
            "full_name": "Atlas G 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": "G Centaur",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 38.0,
            "diameter": 3.05,
            "maiden_flight": "1984-06-09",
            "launch_cost": null,
            "launch_mass": 166,
            "leo_capacity": 3630,
            "gto_capacity": null,
            "to_thrust": 1896,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Atlas_G",
            "total_launch_count": 7,
            "consecutive_successful_launches": 1,
            "successful_launches": 6,
            "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": 4600,
        "name": "FLTSATCOM F8",
        "description": "Military geostationary communications satellite",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 1,
            "name": "Geostationary Orbit",
            "abbrev": "Direct-GEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 122,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/122/?format=api",
        "agency_id": 161,
        "name": "Launch Complex 36B",
        "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_122_20200803143232.jpg",
        "total_launch_count": 76,
        "orbital_launch_attempt_count": 76
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 3452,
    "location_launch_attempt_count": 423,
    "pad_launch_attempt_count": 36,
    "agency_launch_attempt_count": 873,
    "orbital_launch_attempt_count_year": 78,
    "location_launch_attempt_count_year": 9,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 10,
    "pad_turnaround": "P913DT11H34M2S",
    "mission_patches": [],
    "type": "detailed"
}