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/ab21d17c-aa7d-46f5-9d39-601a4793f279/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "ab21d17c-aa7d-46f5-9d39-601a4793f279",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/ab21d17c-aa7d-46f5-9d39-601a4793f279/?format=api",
    "launch_library_id": null,
    "slug": "thor-dm-21-agena-b-discoverer-17",
    "name": "Thor DM-21 Agena-B | Discoverer 17",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1960-11-12T20:42:32Z",
    "window_end": "1960-11-12T20:42:32Z",
    "window_start": "1960-11-12T20:42:32Z",
    "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": 3088,
        "configuration": {
            "id": 186,
            "launch_library_id": 201,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/186/?format=api",
            "name": "Thor DM-21 Agena-B",
            "description": "Thor-Agena was a series of orbital launch vehicles.",
            "family": "Thor",
            "full_name": "Thor DM-21 Agena-B",
            "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": "",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "1960-10-26",
            "launch_mass": null,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/thor2520dm-212520agena-b_image_20190414123658.jpg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Thor-Agena",
            "total_launch_count": 40,
            "consecutive_successful_launches": 18,
            "successful_launches": 32,
            "failed_launches": 8,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1510,
        "launch_library_id": null,
        "name": "Discoverer 17",
        "description": "Discoverer 17 was an American optical reconnaissance satellite. The mission was classed as a failure. Orbit was entered successfully however the film was separated before any camera operation leaving only 0.5m of film in the capsule.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 96,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/96/?format=api",
        "agency_id": 161,
        "name": "Space Launch Complex 1E",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Launch_Complex_1",
        "map_url": "https://www.google.com/maps?q=34.756,-120.6263",
        "latitude": "34.756",
        "longitude": "-120.6263",
        "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": 804,
            "total_landing_count": 26
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_96_20200803143221.jpg",
        "total_launch_count": 45
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/thor2520dm-212520agena-b_image_20190414123658.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 85,
    "location_launch_attempt_count": 18,
    "pad_launch_attempt_count": 8,
    "agency_launch_attempt_count": 33,
    "orbital_launch_attempt_count_year": 31,
    "location_launch_attempt_count_year": 10,
    "pad_launch_attempt_count_year": 5,
    "agency_launch_attempt_count_year": 22
}