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/2a518cd4-4c9a-4aa2-bac9-280b4bdc080f/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "2a518cd4-4c9a-4aa2-bac9-280b4bdc080f",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/2a518cd4-4c9a-4aa2-bac9-280b4bdc080f/?format=api",
    "slug": "tsiklon-2-us-pm-1",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Tsiklon-2 | US-PM 1",
    "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-14T04:24:34Z",
    "updates": [],
    "net": "1993-03-30T12:00:00Z",
    "net_precision": null,
    "window_end": "1993-03-30T12:00:00Z",
    "window_start": "1993-03-30T12:00:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "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",
        "launch_library_url": null,
        "total_launch_count": 331,
        "consecutive_successful_launches": 55,
        "successful_launches": 320,
        "failed_launches": 11,
        "pending_launches": 10,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://en.roscosmos.ru/",
        "wiki_url": "http://en.wikipedia.org/wiki/Russian_Federal_Space_Agency",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_logo_20190207032459.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_image_20190207032459.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_nation_20230531052758.jpg"
    },
    "rocket": {
        "id": 6511,
        "configuration": {
            "id": 443,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/443/?format=api",
            "name": "Tsiklon-2",
            "active": false,
            "reusable": false,
            "description": "The Tsyklon-2 (cyclone-2), also known as Tsiklon-2 and Tsyklon-M, GRAU index 11K69, was a Ukrainian, previously Soviet orbital carrier rocket used from the 1960s to the late 2000s.",
            "family": "Tsiklon",
            "full_name": "Tsiklon-2",
            "manufacturer": {
                "id": 112,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/112/?format=api",
                "name": "Yuzhnoye Design Bureau",
                "featured": false,
                "type": "Commercial",
                "country_code": "UKR",
                "abbrev": "OKB-586",
                "description": "Yuzhnoye Design Office, located in Dnipro, Ukraine, is a designer of satellites and rockets, and formerly of Soviet intercontinental ballistic missiles (ICBMs) established by Mikhail Yangel in 1951. The Zenit launch vehicle currently launches from Baikonur Cosmodrome but also used to launch from an ocean platform, Odyssey.",
                "administrator": "Director: Alexander Degtyarev",
                "founding_year": "1951",
                "launchers": "Zenit",
                "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": "http://www.yuzhnoye.com/en/home/",
                "wiki_url": "http://en.wikipedia.org/wiki/Yuzhnoye_Design_Bureau",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/yuzhnoye2520design2520bureau_logo_20190207032505.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/yuzhnoye2520design2520bureau_image_20190207032505.jpeg",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/yuzhnoye2520design2520bureau_nation_20190207032505.png"
            },
            "program": [],
            "variant": "2",
            "alias": "",
            "min_stage": 3,
            "max_stage": 3,
            "length": 39.7,
            "diameter": 3.0,
            "maiden_flight": "1969-08-06",
            "launch_cost": "12000000",
            "launch_mass": 182,
            "leo_capacity": 2820,
            "gto_capacity": null,
            "to_thrust": 2366,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tsyklon-2_lifto_image_20240411113159.jpg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Tsyklon-2",
            "total_launch_count": 105,
            "consecutive_successful_launches": 18,
            "successful_launches": 103,
            "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": 4901,
        "name": "US-PM 1",
        "description": "US-PM (Upravlenniye Sputnik Passivny Modifikirovanny) (also reported as US-PU) was a solar powered improved EORSAT (Electronic Ocean Reconnaissance Satellite). It used an passive ELINT devices to track naval vessels from space by registering their electronic emmissions.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 134,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/134/?format=api",
        "agency_id": null,
        "name": "90/20",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Baikonur_Cosmodrome_Site_90",
        "map_url": "https://www.google.com/maps?q=46.081,62.929806",
        "latitude": "46.081",
        "longitude": "62.929806",
        "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_134_20200803143259.jpg",
        "total_launch_count": 23,
        "orbital_launch_attempt_count": 23
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tsyklon-2_lifto_image_20240411113159.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 3803,
    "location_launch_attempt_count": 1003,
    "pad_launch_attempt_count": 13,
    "agency_launch_attempt_count": 18,
    "orbital_launch_attempt_count_year": 18,
    "location_launch_attempt_count_year": 6,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 4,
    "pad_turnaround": "P6567DT1H",
    "mission_patches": [],
    "type": "detailed"
}