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/b5f0d805-b7b3-469c-976c-164255551f91/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "b5f0d805-b7b3-469c-976c-164255551f91",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/b5f0d805-b7b3-469c-976c-164255551f91/?format=api",
    "launch_library_id": null,
    "slug": "thor-dm-21-ablestar-transit-3a",
    "name": "Thor DM-21 Ablestar | Transit 3A",
    "status": {
        "id": 4,
        "name": "Failure"
    },
    "net": "1960-11-30T19:50:00Z",
    "window_end": "1960-11-30T19:50:00Z",
    "window_start": "1960-11-30T19:50: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": 3090,
        "configuration": {
            "id": 187,
            "launch_library_id": 202,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/187/?format=api",
            "name": "Thor DM-21 Ablestar",
            "description": "The Thor-Ablestar, or Thor Able-Star, also known as Thor-Epsilon was an early American expendable launch system consisting of a PGM-17 Thor missile, with an Ablestar upper stage. It was a member of the Thor family of rockets, and was derived from the Thor-Able.",
            "family": "Thor",
            "full_name": "Thor DM-21 Ablestar",
            "manufacturer": {
                "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"
            },
            "program": [],
            "variant": "DM-21",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 29.0,
            "diameter": 1.44,
            "maiden_flight": "1960-04-13",
            "launch_mass": 51,
            "leo_capacity": 150,
            "gto_capacity": null,
            "to_thrust": 760,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/thor2520dm-212520ablestar_image_20191201205131.jpg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Thor-Ablestar",
            "total_launch_count": 19,
            "consecutive_successful_launches": 5,
            "successful_launches": 13,
            "failed_launches": 6,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1512,
        "launch_library_id": null,
        "name": "Transit 3A",
        "description": "Transit 3A was a US Navy navigation satellite that was destroyed by range safety when the launch vehicle shut down too early.",
        "launch_designator": null,
        "type": "Navigation",
        "orbit": {
            "id": 13,
            "name": "Polar Orbit",
            "abbrev": "PO"
        }
    },
    "pad": {
        "id": 1,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/1/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 17B",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Space_Launch_Complex_17",
        "map_url": "https://www.google.com/maps?q=28.4458,-80.5657",
        "latitude": "28.4458",
        "longitude": "-80.5657",
        "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_1_20200803143208.jpg",
        "total_launch_count": 132
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/thor2520dm-212520ablestar_image_20191201205131.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 87,
    "location_launch_attempt_count": 48,
    "pad_launch_attempt_count": 5,
    "agency_launch_attempt_count": 35,
    "orbital_launch_attempt_count_year": 33,
    "location_launch_attempt_count_year": 18,
    "pad_launch_attempt_count_year": 5,
    "agency_launch_attempt_count_year": 24
}