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/5fa1d9e1-e034-41aa-8a3e-427bb9df770a/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "5fa1d9e1-e034-41aa-8a3e-427bb9df770a",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/5fa1d9e1-e034-41aa-8a3e-427bb9df770a/?format=api",
    "slug": "proton-kd-2-mars-96",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Proton-K/D-2 | Mars-96",
    "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:35:02Z",
    "updates": [],
    "net": "1996-11-16T20:48:53Z",
    "net_precision": null,
    "window_end": "1996-11-16T20:48:53Z",
    "window_start": "1996-11-16T20:48:53Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 96,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/96/?format=api",
        "name": "Khrunichev State Research and Production Space Center",
        "featured": true,
        "type": "Government",
        "country_code": "RUS",
        "abbrev": "KhSC",
        "description": "Khrunichev State Research and Production Space Center is a Moscow-based producer of spacecraft and space-launch systems, including the Proton and Rokot rockets and is currently developing the Angara rocket family. The Proton launch vehicle launches from Baikonur and Rokot launches from Baikonur and Plesetsk. Angara will launch from Plesetsk and Vostochny.",
        "administrator": "Director: Andrey Vladimirovich Kalinovskiy",
        "founding_year": "1916",
        "launchers": "Proton | Rokot",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 196,
        "consecutive_successful_launches": 7,
        "successful_launches": 181,
        "failed_launches": 15,
        "pending_launches": 1,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.khrunichev.ru/main.php?lang=en",
        "wiki_url": "http://en.wikipedia.org/wiki/Khrunichev_State_Research_and_Production_Space_Center",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/khrunichev2520state2520research2520and2520production2520space2520center_logo_20190207032444.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/khrunichev2520state2520research2520and2520production2520space2520center_image_20190207032444.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/khrunichev_stat_image_20240409071747.jpg"
    },
    "rocket": {
        "id": 6756,
        "configuration": {
            "id": 348,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/348/?format=api",
            "name": "Proton-K/D-2",
            "active": false,
            "reusable": false,
            "description": "The Proton-K was a Russian, previously Soviet, carrier rocket derived from the earlier Proton. It was built by Khrunichev, and launched from sites 81 and 200 at the Baikonur Cosmodrome in Kazakhstan.",
            "family": "Proton / UR-500",
            "full_name": "Proton-K/D-2",
            "manufacturer": {
                "id": 96,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/96/?format=api",
                "name": "Khrunichev State Research and Production Space Center",
                "featured": true,
                "type": "Government",
                "country_code": "RUS",
                "abbrev": "KhSC",
                "description": "Khrunichev State Research and Production Space Center is a Moscow-based producer of spacecraft and space-launch systems, including the Proton and Rokot rockets and is currently developing the Angara rocket family. The Proton launch vehicle launches from Baikonur and Rokot launches from Baikonur and Plesetsk. Angara will launch from Plesetsk and Vostochny.",
                "administrator": "Director: Andrey Vladimirovich Kalinovskiy",
                "founding_year": "1916",
                "launchers": "Proton | Rokot",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 196,
                "consecutive_successful_launches": 7,
                "successful_launches": 181,
                "failed_launches": 15,
                "pending_launches": 1,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.khrunichev.ru/main.php?lang=en",
                "wiki_url": "http://en.wikipedia.org/wiki/Khrunichev_State_Research_and_Production_Space_Center",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/khrunichev2520state2520research2520and2520production2520space2520center_logo_20190207032444.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/khrunichev2520state2520research2520and2520production2520space2520center_image_20190207032444.jpeg",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/khrunichev_stat_image_20240409071747.jpg"
            },
            "program": [],
            "variant": "D-2",
            "alias": "",
            "min_stage": 4,
            "max_stage": 4,
            "length": 57.0,
            "diameter": 4.15,
            "maiden_flight": "1988-07-07",
            "launch_cost": null,
            "launch_mass": 710,
            "leo_capacity": 6220,
            "gto_capacity": null,
            "to_thrust": 8847,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/proton_image_20231231095535.jpg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Proton-K",
            "total_launch_count": 3,
            "consecutive_successful_launches": 3,
            "successful_launches": 3,
            "failed_launches": 0,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5146,
        "name": "Mars-96",
        "description": "The Mars 96 spacecraft was launched into Earth orbit, but failed to achieve insertion into Mars cruise trajectory and re-entered the Earth's atmosphere at about 00:45 to 01:30 UT on 17 November 1996 and crashed within a presumed 320 km by 80 km area which includes parts of the Pacific Ocean, Chile, and Bolivia. The cause of the crash is not known.",
        "launch_designator": null,
        "type": "Robotic Exploration",
        "orbit": {
            "id": 6,
            "name": "Heliocentric N/A",
            "abbrev": "Helio-N/A"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 15,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/15/?format=api",
        "agency_id": null,
        "name": "200/39 (200L)",
        "description": null,
        "info_url": null,
        "wiki_url": "",
        "map_url": "https://www.google.com/maps?q=46.039984,63.032093",
        "latitude": "46.039984",
        "longitude": "63.032093",
        "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": "The Baikonur Cosmodrome is a spaceport operated by Russia within Kazakhstan. Located in the Kazakh city of Baikonur, it is the largest operational space launch facility in terms of area. All Russian crewed spaceflights are launched from Baikonur.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
            "timezone_name": "Asia/Qyzylorda",
            "total_launch_count": 1555,
            "total_landing_count": 0
        },
        "country_code": "KAZ",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_15_20200803143530.jpg",
        "total_launch_count": 167,
        "orbital_launch_attempt_count": 167
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/proton_image_20231231095535.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4109,
    "location_launch_attempt_count": 1082,
    "pad_launch_attempt_count": 77,
    "agency_launch_attempt_count": 42,
    "orbital_launch_attempt_count_year": 68,
    "location_launch_attempt_count_year": 14,
    "pad_launch_attempt_count_year": 5,
    "agency_launch_attempt_count_year": 8,
    "pad_turnaround": "P51DT2H58M",
    "mission_patches": [],
    "type": "detailed"
}