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/af1b241a-f46e-4d11-a504-e03965d94c01/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "af1b241a-f46e-4d11-a504-e03965d94c01",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/af1b241a-f46e-4d11-a504-e03965d94c01/?format=api",
    "launch_library_id": null,
    "slug": "vostok-l-8k72-luna-2",
    "name": "Vostok-L 8K72 | Luna-2",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1959-09-12T06:39:42Z",
    "window_end": "1959-09-12T06:39:42Z",
    "window_start": "1959-09-12T06:39:42Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 66,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/66/?format=api",
        "name": "Soviet Space Program",
        "featured": false,
        "type": "Government",
        "country_code": "RUS",
        "abbrev": "CCCP",
        "description": "The Soviet space program, was the national space program of the Union of Soviet Socialist Republics (USSR) actived from 1930s until disintegration of the Soviet Union in 1991.\r\n\r\nThe Soviet Union's space program was mainly based on the cosmonautic exploration of space and the development of the expandable launch vehicles, which had been split between many design bureaus competing against each other. Over its 60-years of history, the Russian program was responsible for a number of pioneering feats and accomplishments in the human space flight, including the first intercontinental ballistic missile (R-7), first satellite (Sputnik 1), first animal in Earth orbit (the dog Laika on Sputnik 2), first human in space and Earth orbit (cosmonaut Yuri Gagarin on Vostok 1), first woman in space and Earth orbit (cosmonaut Valentina Tereshkova on Vostok 6), first spacewalk (cosmonaut Alexei Leonov on Voskhod 2), first Moon impact (Luna 2), first image of the far side of the Moon (Luna 3) and unmanned lunar soft landing (Luna 9), first space rover (Lunokhod 1), first sample of lunar soil automatically extracted and brought to Earth (Luna 16), and first space station (Salyut 1). Further notable records included the first interplanetary probes: Venera 1 and Mars 1 to fly by Venus and Mars, respectively, Venera 3 and Mars 2 to impact the respective planet surface, and Venera 7 and Mars 3 to make soft landings on these planets.",
        "administrator": null,
        "founding_year": "1931",
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 2456,
        "consecutive_successful_launches": 17,
        "successful_launches": 2288,
        "failed_launches": 168,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "",
        "wiki_url": "http://en.wikipedia.org/wiki/Soviet_space_program",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_logo_20191229081307.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_image_20191229081306.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_nation_20191229081307.png"
    },
    "rocket": {
        "id": 3049,
        "configuration": {
            "id": 454,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/454/?format=api",
            "name": "Vostok-L 8K72",
            "description": "The Vostok-L was a rocket used by the Soviet Union to conduct several early tests of the Vostok spacecraft",
            "family": "Vostok",
            "full_name": "Vostok-L 8K72",
            "manufacturer": {
                "id": 1000,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/1000/?format=api",
                "name": "Energia",
                "featured": false,
                "type": "Government",
                "country_code": "RUS",
                "abbrev": "OKB-1",
                "description": null,
                "administrator": null,
                "founding_year": "1946",
                "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": "https://en.wikipedia.org/wiki/Energia_(corporation)",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "L 8K72",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 30.84,
            "diameter": 2.6,
            "maiden_flight": "1958-09-23",
            "launch_mass": 277,
            "leo_capacity": 4000,
            "gto_capacity": null,
            "to_thrust": 3956,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Vostok-L",
            "total_launch_count": 9,
            "consecutive_successful_launches": 0,
            "successful_launches": 3,
            "failed_launches": 6,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1471,
        "launch_library_id": null,
        "name": "Luna-2",
        "description": "Luna 2 successfully impacted the Moon's surface making it the first spacecraft to reach the surface of the Moon and the first human-made object to make contact with another celestial body.",
        "launch_designator": null,
        "type": "Lunar Exploration",
        "orbit": {
            "id": 10,
            "name": "Lunar Impactor",
            "abbrev": "Lunar Impactor"
        }
    },
    "pad": {
        "id": 32,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/32/?format=api",
        "agency_id": null,
        "name": "1/5",
        "info_url": null,
        "wiki_url": "",
        "map_url": "https://www.google.com/maps?q=45.92,63.342",
        "latitude": "45.92",
        "longitude": "63.342",
        "location": {
            "id": 15,
            "url": "https://ll.thespacedevs.com/2.0.0/location/15/?format=api",
            "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
            "country_code": "KAZ",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
            "total_launch_count": 1555,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_32_20200803143513.jpg",
        "total_launch_count": 487
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [
        {
            "id": 38,
            "url": "https://ll.thespacedevs.com/2.0.0/program/38/?format=api",
            "name": "Luna",
            "description": "The Luna program was a series of robotic spacecraft missions sent to the Moon by the Soviet Union between 1959 and 1976. The program accomplished many firsts in space exploration, including first flyby of the Moon, first impact of the Moon and first photos of the far side of the Moon. Each mission was designed as either an orbiter or lander. They also performed many experiments, studying the Moon's chemical composition, gravity, temperature, and radiation.",
            "agencies": [
                {
                    "id": 66,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/66/?format=api",
                    "name": "Soviet Space Program",
                    "type": "Government"
                }
            ],
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/luna_1_impactor_image_20240813082956.jpg",
            "start_date": "1958-09-23T07:40:23Z",
            "end_date": "1976-08-22T17:55:00Z",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Luna_programme"
        }
    ],
    "orbital_launch_attempt_count": 47,
    "location_launch_attempt_count": 10,
    "pad_launch_attempt_count": 10,
    "agency_launch_attempt_count": 10,
    "orbital_launch_attempt_count_year": 16,
    "location_launch_attempt_count_year": 3,
    "pad_launch_attempt_count_year": 3,
    "agency_launch_attempt_count_year": 3
}