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/01c4cc7a-fb19-487e-b46f-6069a65d55cc/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "01c4cc7a-fb19-487e-b46f-6069a65d55cc",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/01c4cc7a-fb19-487e-b46f-6069a65d55cc/?format=api",
    "slug": "thor-dsv-2u-dmsp-5d1-f4",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Thor DSV-2U | DMSP-5D1 F4",
    "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:29:38Z",
    "updates": [],
    "net": "1979-06-06T18:22:12Z",
    "net_precision": null,
    "window_end": "1979-06-06T18:22:12Z",
    "window_start": "1979-06-06T18:22:12Z",
    "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": 5079,
        "configuration": {
            "id": 397,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/397/?format=api",
            "name": "Thor DSV-2U",
            "active": false,
            "reusable": false,
            "description": "The Thor DSV-2U or Thor LV-2F Star-37XE Star-37S-ISS was an American expendable launch system used to launch five DMSP weather satellites between 1976 and 1980.",
            "family": "Thor",
            "full_name": "Thor DSV-2U",
            "manufacturer": {
                "id": 153,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/153/?format=api",
                "name": "McDonnell Douglas",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "MDC",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "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": "http://en.wikipedia.org/wiki/McDonnell_Douglas",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "DSV-2U",
            "alias": "",
            "min_stage": 1,
            "max_stage": 1,
            "length": 23.0,
            "diameter": 2.44,
            "maiden_flight": "1976-09-11",
            "launch_cost": null,
            "launch_mass": 49,
            "leo_capacity": 500,
            "gto_capacity": null,
            "to_thrust": 750,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Thor_DSV-2U",
            "total_launch_count": 5,
            "consecutive_successful_launches": 0,
            "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": 3491,
        "name": "DMSP-5D1 F4",
        "description": "Military meteorological satellite",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 17,
            "name": "Sun-Synchronous Orbit",
            "abbrev": "SSO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 171,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/171/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 10W",
        "description": "Space Launch Complex 10, or Missile Launch Complex 10, is located on Vandenberg Space Force Base in Lompoc, California. It was built in 1958 to test ballistic missiles and developed into a space launching facility in 1963.",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Air_Force_Base_Space_Launch_Complex_10",
        "map_url": "https://www.google.com/maps?q=34.7652778,-120.6244162",
        "latitude": "34.7652778",
        "longitude": "-120.6244162",
        "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_171_20200803143449.jpg",
        "total_launch_count": 31,
        "orbital_launch_attempt_count": 31
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 2224,
    "location_launch_attempt_count": 473,
    "pad_launch_attempt_count": 30,
    "agency_launch_attempt_count": 742,
    "orbital_launch_attempt_count_year": 51,
    "location_launch_attempt_count_year": 4,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 6,
    "pad_turnaround": "P401DT15H17M8S",
    "mission_patches": [],
    "type": "detailed"
}