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/84ec5a6f-8228-4ebe-877e-4fd20be5ecec/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "84ec5a6f-8228-4ebe-877e-4fd20be5ecec",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/84ec5a6f-8228-4ebe-877e-4fd20be5ecec/?format=api",
    "slug": "atlas-slv-3-agena-d-kh-7-35",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Atlas SLV-3 Agena D | KH-7 35",
    "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:49Z",
    "updates": [],
    "net": "1966-12-05T21:09:00Z",
    "net_precision": null,
    "window_end": "1966-12-05T21:09:00Z",
    "window_start": "1966-12-05T21:09: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": 3597,
        "configuration": {
            "id": 258,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/258/?format=api",
            "name": "Atlas SLV-3 Agena D",
            "active": false,
            "reusable": false,
            "description": "The Atlas-Agena was an American expendable launch system derived from the SM-65 Atlas missile. It was a member of the Atlas family of rockets, and was launched 109 times between 1960 and 1978.",
            "family": "Atlas",
            "full_name": "Atlas SLV-3 Agena D",
            "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": "SLV-3 Agena D",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 36.0,
            "diameter": 3.0,
            "maiden_flight": "1964-08-14",
            "launch_cost": null,
            "launch_mass": 155,
            "leo_capacity": 1000,
            "gto_capacity": null,
            "to_thrust": 1340,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Atlas-Agena",
            "total_launch_count": 48,
            "consecutive_successful_launches": 25,
            "successful_launches": 44,
            "failed_launches": 4,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 2016,
        "name": "KH-7 35",
        "description": "The Program 206 satellite, carrying the KH-7 (Keyhole 7) camera system (codenamed Gambit-1), was the first successful high resolution space reconnaissance program. It was managed by NRO's Program A, the USAF-led segment of the National Reconnaissance Program managed from Los Angeles AFB in El Segundo, California.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 17,
            "name": "Sun-Synchronous Orbit",
            "abbrev": "SSO"
        },
        "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": 637,
    "location_launch_attempt_count": 241,
    "pad_launch_attempt_count": 24,
    "agency_launch_attempt_count": 366,
    "orbital_launch_attempt_count_year": 120,
    "location_launch_attempt_count_year": 42,
    "pad_launch_attempt_count_year": 12,
    "agency_launch_attempt_count_year": 67,
    "pad_turnaround": "P33DT45M",
    "mission_patches": [],
    "type": "detailed"
}