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

EXAMPLE - /launch/\<id\>/ 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', 'is_crewed', 'include_suborbital', 'spacecraft_config__ids',
'related', 'location__ids', 'lsp__ids', 'pad__ids', 'status__ids'

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.2.0/launch/0041d2ac-62cb-416f-b67a-cd0277f1cfe2/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "0041d2ac-62cb-416f-b67a-cd0277f1cfe2",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/0041d2ac-62cb-416f-b67a-cd0277f1cfe2/?format=api",
    "slug": "soyuz-u2-progress-29",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Soyuz-U2 | Progress 29",
    "status": {
        "id": 3,
        "name": "Launch Successful",
        "abbrev": "Success",
        "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
    },
    "last_updated": "2023-06-14T03:48:51Z",
    "updates": [],
    "net": "1987-04-21T15:14:17Z",
    "net_precision": null,
    "window_end": "1987-04-21T15:14:17Z",
    "window_start": "1987-04-21T15:14:17Z",
    "probability": 0,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": "",
    "launch_service_provider": {
        "id": 66,
        "url": "https://ll.thespacedevs.com/2.2.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": 2453,
        "consecutive_successful_launches": 17,
        "successful_launches": 2285,
        "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_logo_20191229081307.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_image_20191229081306.jpeg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_nation_20191229081307.png"
    },
    "rocket": {
        "id": 2260,
        "configuration": {
            "id": 101,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/101/?format=api",
            "name": "Soyuz-U",
            "active": false,
            "reusable": false,
            "description": "The Soyuz-U2 was a Soviet, later Russian, carrier rocket. It was derived from the Soyuz-U, and a member of the R-7 family of rockets. It featured increased performance compared with the baseline Soyuz-U, due to the use of syntin propellant, as opposed to RP-1 paraffin, used on the Soyuz-U.",
            "family": "",
            "full_name": "Soyuz-U2",
            "manufacturer": {
                "id": 66,
                "url": "https://ll.thespacedevs.com/2.2.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": 2453,
                "consecutive_successful_launches": 17,
                "successful_launches": 2285,
                "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_logo_20191229081307.png",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_image_20191229081306.jpeg",
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_nation_20191229081307.png"
            },
            "program": [],
            "variant": "2",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 34.54,
            "diameter": 2.95,
            "maiden_flight": "1982-12-23",
            "launch_cost": null,
            "launch_mass": 298,
            "leo_capacity": 7050,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz-u_image_20191229074852.jpg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Soyuz-U2",
            "total_launch_count": 71,
            "consecutive_successful_launches": 71,
            "successful_launches": 71,
            "failed_launches": 0,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": {
            "id": 540,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/540/?format=api",
            "mission_end": "1987-05-11T08:28:00Z",
            "destination": "Mir",
            "launch_crew": [],
            "onboard_crew": [],
            "landing_crew": [],
            "spacecraft": {
                "id": 386,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/386/?format=api",
                "name": "Progress 29",
                "serial_number": "Progress 29 (No.136)",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P19DT17H13M43S",
                "time_docked": "P17DT10H5M10S",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Progress 29 (Russian: Прогресс 29), was a Progress spacecraft used to resupply the space station Mir.",
                "spacecraft_config": {
                    "id": 8,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/8/?format=api",
                    "name": "Progress 7K-TG",
                    "type": {
                        "id": 4,
                        "name": "Cargo Resupply"
                    },
                    "agency": {
                        "id": 63,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                        "name": "Russian Federal Space Agency (ROSCOSMOS)",
                        "featured": true,
                        "type": "Government",
                        "country_code": "RUS",
                        "abbrev": "RFSA",
                        "description": "The Roscosmos State Corporation for Space Activities, commonly known as Roscosmos, is the governmental body responsible for the space science program of the Russian Federation and general aerospace research. Soyuz has many launch locations the Russian sites are Baikonur, Plesetsk and Vostochny however Ariane also purchases the vehicle and launches it from French Guiana.",
                        "administrator": "Administrator: Yuri Borisov",
                        "founding_year": "1992",
                        "launchers": "Soyuz",
                        "spacecraft": "Soyuz",
                        "parent": null,
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_image_20190207032459.jpeg",
                        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_logo_20190207032459.png"
                    },
                    "in_use": false,
                    "capability": "Salyut-7 & Mir Logistics",
                    "history": "Progress 7K-TG , was a Soviet uncrewed spacecraft used to resupply space stations in low Earth orbit. Forty three flew, delivering cargo to Salyut 6, Salyut 7, and Mir. It was the first version of the Progress spacecraft to fly, and spawned later derivatives including the Progress-M which replaced it, and the later Progress-M1.",
                    "details": "Progress is derived from the manned Soyuz spacecraft and is launched on the same vehicle, a Soyuz rocket.\r\nThe purpose of Progress is to deliver supplies needed to sustain human presence in orbit. Currently it is used as a re-supply spacecraft for the ISS.",
                    "maiden_flight": "1978-01-20",
                    "height": 7.23,
                    "diameter": 2.72,
                    "human_rated": false,
                    "crew_capacity": null,
                    "payload_capacity": 1700,
                    "payload_return_capacity": null,
                    "flight_life": "33 to 75 days",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/progress_7k-tg_image_20231220085840.png",
                    "nation_url": null,
                    "wiki_link": "https://en.wikipedia.org/wiki/Progress_(spacecraft)",
                    "info_link": "https://www.nasa.gov/mission_pages/station/structure/elements/progress.html"
                }
            },
            "landing": {
                "id": 522,
                "attempt": false,
                "success": null,
                "description": "The Progress spacecraft burned up upon entering Earth's atmosphere.",
                "downrange_distance": null,
                "location": null,
                "type": null
            },
            "docking_events": [
                {
                    "id": 320,
                    "spacestation": {
                        "id": 5,
                        "url": "https://ll.thespacedevs.com/2.2.0/spacestation/5/?format=api",
                        "name": "Mir",
                        "status": {
                            "id": 2,
                            "name": "De-Orbited"
                        },
                        "founded": "1986-02-20",
                        "description": "Mir was a space station that operated in low Earth orbit from 1986 to 2001, operated by the Soviet Union and later by Russia. Mir was the first modular space station and was assembled in orbit from 1986 to 1996.\r\n\r\nThe station served as a microgravity research laboratory in which crews conducted experiments in biology, human biology, physics, astronomy, meteorology and spacecraft systems with a goal of developing technologies required for permanent occupation of space.",
                        "orbit": "Low Earth Orbit",
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mir_image_20190218204938.jpeg"
                    },
                    "docking": "1987-04-23T17:04:51Z",
                    "departure": "1987-05-11T03:10:01Z",
                    "docking_location": {
                        "id": 6,
                        "name": "Kvant-1 aft",
                        "spacestation": {
                            "id": 5,
                            "url": "https://ll.thespacedevs.com/2.2.0/spacestation/5/?format=api",
                            "name": "Mir"
                        }
                    }
                }
            ]
        }
    },
    "mission": null,
    "pad": {
        "id": 32,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/32/?format=api",
        "agency_id": null,
        "name": "1/5",
        "description": null,
        "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.2.0/location/15/?format=api",
            "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
            "country_code": "KAZ",
            "description": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_15_20200803142517.jpg",
            "timezone_name": "Asia/Qyzylorda",
            "total_launch_count": 1548,
            "total_landing_count": 0
        },
        "country_code": "KAZ",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_32_20200803143513.jpg",
        "total_launch_count": 487,
        "orbital_launch_attempt_count": 487
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz-u_image_20191229074852.jpg",
    "infographic": null,
    "program": [
        {
            "id": 16,
            "url": "https://ll.thespacedevs.com/2.2.0/program/16/?format=api",
            "name": "Mir",
            "description": "Mir was a space station that operated in low Earth orbit from 1986 to 2001, operated by the Soviet Union and later by Russia. Mir was the first modular space station and was assembled in orbit from 1986 to 1996.",
            "agencies": [
                {
                    "id": 63,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                {
                    "id": 66,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/66/?format=api",
                    "name": "Soviet Space Program",
                    "type": "Government"
                }
            ],
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mir_program_20200821092345.jpeg",
            "start_date": "1986-02-20T21:28:23Z",
            "end_date": "2001-03-23T05:59:00Z",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Mir",
            "mission_patches": [],
            "type": {
                "id": 2,
                "name": "Human Spaceflight"
            }
        }
    ],
    "orbital_launch_attempt_count": 3165,
    "location_launch_attempt_count": 814,
    "pad_launch_attempt_count": 238,
    "agency_launch_attempt_count": 2076,
    "orbital_launch_attempt_count_year": 3165,
    "location_launch_attempt_count_year": 14,
    "pad_launch_attempt_count_year": 6,
    "agency_launch_attempt_count_year": 29,
    "pad_turnaround": "P5DT8H56M17S",
    "mission_patches": [],
    "type": "detailed"
}