API endpoint that returns all Launch objects or a single launch.

EXAMPLE - /launch// 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'

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.0.0/launch/0a408547-a635-4cac-a422-61764a552964/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "0a408547-a635-4cac-a422-61764a552964",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/0a408547-a635-4cac-a422-61764a552964/?format=api",
    "launch_library_id": null,
    "slug": "atlas-d-ov1-7",
    "name": "Atlas D | OV1-7",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1966-07-14T02:10:02Z",
    "window_end": "1966-07-14T02:10:02Z",
    "window_start": "1966-07-14T02:10:02Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 161,
        "url": "https://ll.thespacedevs.com/2.0.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": 3549,
        "configuration": {
            "id": 237,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/237/?format=api",
            "name": "Atlas D",
            "description": "The SM-65D Atlas, or Atlas D, was the first operational version of the U.S. Atlas missile. Atlas D was first used as an intercontinental ballistic missile (ICBM) to deliver a nuclear weapon payload on a suborbital trajectory. It was later developed as a launch vehicle to carry a payload to low Earth orbit on its own, and later to geosynchronous orbit, to the Moon, Venus, or Mars with the Agena or Centaur upper stage.",
            "family": "Atlas",
            "full_name": "SM-65D Atlas",
            "manufacturer": {
                "id": 1004,
                "url": "https://ll.thespacedevs.com/2.0.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": "D",
            "alias": "",
            "min_stage": 1,
            "max_stage": 1,
            "length": 25.15,
            "diameter": 3.0,
            "maiden_flight": "1959-04-14",
            "launch_mass": 119,
            "leo_capacity": 1400,
            "gto_capacity": null,
            "to_thrust": 1880,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/SM-65D_Atlas",
            "total_launch_count": 9,
            "consecutive_successful_launches": 0,
            "successful_launches": 6,
            "failed_launches": 3,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1969,
        "launch_library_id": null,
        "name": "OV1-7",
        "description": "The OV1 (Orbiting Vehicle 1) were small research satellite to be launched piggy back on Atlas ICBM test flights. They consisted in general of the OV1 satellite and the OV1-PM propulsion module (or upper stage) to reach orbit.",
        "launch_designator": null,
        "type": "Test Flight",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 170,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/170/?format=api",
        "agency_id": null,
        "name": "576B3",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/List_of_Vandenberg_Air_Force_Base_launch_facilities",
        "map_url": "https://www.google.com/maps?q=34.7897222,-120.5980273",
        "latitude": "34.7897222",
        "longitude": "-120.5980273",
        "location": {
            "id": 11,
            "url": "https://ll.thespacedevs.com/2.0.0/location/11/?format=api",
            "name": "Vandenberg SFB, CA, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
            "total_launch_count": 805,
            "total_landing_count": 26
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_170_20200803143421.jpg",
        "total_launch_count": 7
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 587,
    "location_launch_attempt_count": 224,
    "pad_launch_attempt_count": 5,
    "agency_launch_attempt_count": 337,
    "orbital_launch_attempt_count_year": 70,
    "location_launch_attempt_count_year": 25,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 38
}