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/2f842ac8-812b-46ff-80c5-8d619aad1e85/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "2f842ac8-812b-46ff-80c5-8d619aad1e85",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/2f842ac8-812b-46ff-80c5-8d619aad1e85/?format=api",
    "slug": "shtil-1-compass-2",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Shtil'-1 | COMPASS-2",
    "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:25:24Z",
    "updates": [],
    "net": "2006-05-26T18:50:00Z",
    "net_precision": null,
    "window_end": "2006-05-26T18:50:00Z",
    "window_start": "2006-05-26T18:50:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 1013,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/1013/?format=api",
        "name": "Makeyev Rocket Design Bureau",
        "featured": false,
        "type": "Commercial",
        "country_code": "RUS",
        "abbrev": "",
        "description": "The JSC Makeyev Design Bureau is a Russian missile design company located in Miass, Russia.\r\n\r\nEstablished in December 1947 as SKB-385, the company is the main designer of submarine-launched ballistic missiles (SLBM) in Russia. The organization was named in honor of Victor Makeyev. Its full official name is State Rocket Center «Academician V.P. Makeev Design Bureau».\r\n\r\nIn 1965, SKB-385 was redesignated the Design Bureau of Machine-Building (KBM) under the Ministry of General Machine-Building.",
        "administrator": null,
        "founding_year": "1947",
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 3,
        "consecutive_successful_launches": 1,
        "successful_launches": 2,
        "failed_launches": 1,
        "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/Makeyev_Rocket_Design_Bureau",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 7268,
        "configuration": {
            "id": 372,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/372/?format=api",
            "name": "Shtil'-1",
            "active": false,
            "reusable": false,
            "description": "A Russian intercontinental ballistic orbital launch vehicle. Three stage vehicle based on R-29RM SLBM",
            "family": "",
            "full_name": "Shtil'-1",
            "manufacturer": {
                "id": 1010,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/1010/?format=api",
                "name": "KB Mashinostroyeniya",
                "featured": false,
                "type": "Government",
                "country_code": "RUS",
                "abbrev": "",
                "description": "KB Mashinostroyeniya or KBM for short is a state defence enterprise, scientific and design R&D centre specialised in missile systems located in Kolomna, Moscow region, Russia. Part of Rostec state corporation.",
                "administrator": null,
                "founding_year": null,
                "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": "https://en.wikipedia.org/wiki/KB_Mashinostroyeniya",
                "wiki_url": "https://en.wikipedia.org/wiki/KB_Mashinostroyeniya",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "1",
            "alias": "",
            "min_stage": 3,
            "max_stage": 3,
            "length": 14.8,
            "diameter": 1.9,
            "maiden_flight": "1998-07-07",
            "launch_cost": null,
            "launch_mass": 40,
            "leo_capacity": 430,
            "gto_capacity": null,
            "to_thrust": 809,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Shtil%27",
            "total_launch_count": 2,
            "consecutive_successful_launches": 2,
            "successful_launches": 2,
            "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": 5657,
        "name": "COMPASS-2",
        "description": "The COMPASS-2 or DragSail-Cubesat cubesat project is conducted at the Fachhochschule Aachen for educational purposes and technology demonstration. COMPASS-2 is an universal experimental satellite bus, providing the subsystems for the payloads such as electric power, data storage and handling, attitude control and communication. The center 1U module contains the satellite's avionics, while the two outer 1U payload boxes offer companies and universities an easy way to test and validate their experiments in space.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 149,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/149/?format=api",
        "agency_id": null,
        "name": "Ekaterinburg (K-84)",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Russian_submarine_Ekaterinburg_(K-84)",
        "map_url": "https://www.google.com/maps?q=74.000000,38.0000",
        "latitude": "74.0",
        "longitude": "38.0",
        "location": {
            "id": 3,
            "url": "https://ll.thespacedevs.com/2.2.0/location/3/?format=api",
            "name": "Sea Launch",
            "country_code": "???",
            "description": "",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_3_20200803142448.jpg",
            "timezone_name": "",
            "total_launch_count": 55,
            "total_landing_count": 0
        },
        "country_code": "RUS",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_149_20200803143409.jpg",
        "total_launch_count": 1,
        "orbital_launch_attempt_count": 1
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4771,
    "location_launch_attempt_count": 23,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 3,
    "orbital_launch_attempt_count_year": 21,
    "location_launch_attempt_count_year": 3,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P0D",
    "mission_patches": [],
    "type": "detailed"
}