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/00a69380-53ac-49c8-a1dc-63a1d7107ca3/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "00a69380-53ac-49c8-a1dc-63a1d7107ca3",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/00a69380-53ac-49c8-a1dc-63a1d7107ca3/?format=api",
    "launch_library_id": null,
    "slug": "titan-iiic-dsp-9",
    "name": "Titan IIIC | DSP 9",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1981-03-16T19:24:00Z",
    "window_end": "1981-03-16T19:24:00Z",
    "window_start": "1981-03-16T19:24:00Z",
    "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": 5258,
        "configuration": {
            "id": 439,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/439/?format=api",
            "name": "Titan IIIC",
            "description": "The Titan IIIC was an expendable launch system used by the United States Air Force from 1965 until 1982. It was the first Titan booster to feature large solid rocket motors and was planned to be used as a launcher for the Dyna-Soar, though the spaceplane was cancelled before it could fly. The majority of the launcher's payloads were DoD satellites, for military communications and early warning, though one flight (ATS-6) was performed by NASA. The Titan IIIC was launched exclusively from Cape Canaveral while its sibling, the Titan IIID, was launched only from Vandenberg AFB.",
            "family": "Titan",
            "full_name": "Titan IIIC",
            "manufacturer": {
                "id": 82,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/82/?format=api",
                "name": "Lockheed Martin",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "LMT",
                "description": "Lockheed Martin's Space Division started in the production of missiles and later ICBM's in the 1950s. Their TITAN missile system was used for 12 Gemini spacecraft and the Voyager probes.  They have worked largely in collaboration with NASA on many of their probes, landers, and spacecraft, and hope to play a key role in NASA's return to the moon in 2024.",
                "administrator": null,
                "founding_year": "1953",
                "launchers": "Titan | Agena",
                "spacecraft": "Hubble | JUNO | InSight",
                "launch_library_url": null,
                "total_launch_count": 80,
                "consecutive_successful_launches": 38,
                "successful_launches": 77,
                "failed_launches": 3,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.lockheedmartin.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/Lockheed_Martin",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "IIIC",
            "alias": "",
            "min_stage": 2,
            "max_stage": 3,
            "length": 42.0,
            "diameter": 3.0,
            "maiden_flight": "1965-06-18",
            "launch_mass": 626,
            "leo_capacity": 13100,
            "gto_capacity": 3000,
            "to_thrust": 10586,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Titan_IIIC",
            "total_launch_count": 36,
            "consecutive_successful_launches": 8,
            "successful_launches": 34,
            "failed_launches": 2,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 3667,
        "launch_library_id": null,
        "name": "DSP 9",
        "description": "American early warning satellite",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 1,
            "name": "Geostationary Orbit",
            "abbrev": "Direct-GEO"
        }
    },
    "pad": {
        "id": 80,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/80/?format=api",
        "agency_id": 121,
        "name": "Space Launch Complex 40",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_40",
        "map_url": "https://www.google.com/maps?q=28.56194122,-80.57735736",
        "latitude": "28.56194122",
        "longitude": "-80.57735736",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.0.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "total_launch_count": 1020,
            "total_landing_count": 64
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_80_20200803143323.jpg",
        "total_launch_count": 304
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 2417,
    "location_launch_attempt_count": 371,
    "pad_launch_attempt_count": 24,
    "agency_launch_attempt_count": 766,
    "orbital_launch_attempt_count_year": 26,
    "location_launch_attempt_count_year": 2,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 2
}