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/a03ac4fa-7d6f-49c6-8243-379dd136ed64/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "a03ac4fa-7d6f-49c6-8243-379dd136ed64",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/a03ac4fa-7d6f-49c6-8243-379dd136ed64/?format=api",
    "slug": "proton-kdm-2m-directv-5",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Proton-K/DM-2M | DirecTV-5",
    "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:32:41Z",
    "updates": [],
    "net": "2002-05-07T17:00:00Z",
    "net_precision": null,
    "window_end": "2002-05-07T17:00:00Z",
    "window_start": "2002-05-07T17:00:00Z",
    "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": 7087,
        "configuration": {
            "id": 350,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/350/?format=api",
            "name": "Proton-K/DM-2M",
            "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/DM-2M",
            "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": "DM-2M",
            "alias": "",
            "min_stage": 4,
            "max_stage": 4,
            "length": 59.0,
            "diameter": 4.15,
            "maiden_flight": "1994-01-20",
            "launch_cost": null,
            "launch_mass": 712,
            "leo_capacity": null,
            "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": 41,
            "consecutive_successful_launches": 7,
            "successful_launches": 39,
            "failed_launches": 2,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5476,
        "name": "DirecTV-5",
        "description": "T5 (formerly DirecTV-5) is a dormant communications satellite launched from Baikonur Cosmodrome, Kazakhstan in May, 2002 to provide mainly Spanish language satellite television programs to DirecTV customers from the 119 degrees West longitudinal orbit. It was built by Space Systems/Loral, as part of its LS-1300 line. In May 2004, DIRECTV successfully launched DIRECTV 7S (later T7S), their second high powered spot beam. T7S is located at the 119 degree orbital slot. The satellite was renamed to T5 in 2017.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 1,
            "name": "Geostationary Orbit",
            "abbrev": "Direct-GEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 7,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/7/?format=api",
        "agency_id": null,
        "name": "81/24 (81P)",
        "description": null,
        "info_url": null,
        "wiki_url": "",
        "map_url": "https://www.google.com/maps?q=46.071001,62.984999",
        "latitude": "46.071001",
        "longitude": "62.984999",
        "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_7_20200803143454.jpg",
        "total_launch_count": 92,
        "orbital_launch_attempt_count": 92
    },
    "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": 4534,
    "location_launch_attempt_count": 1190,
    "pad_launch_attempt_count": 42,
    "agency_launch_attempt_count": 89,
    "orbital_launch_attempt_count_year": 23,
    "location_launch_attempt_count_year": 4,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 2,
    "pad_turnaround": "P156DT22H55M16S",
    "mission_patches": [],
    "type": "detailed"
}