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/01276b9d-4ab5-462a-b06c-74518b8b75cf/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "01276b9d-4ab5-462a-b06c-74518b8b75cf",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/01276b9d-4ab5-462a-b06c-74518b8b75cf/?format=api",
    "slug": "atlas-agena-b-ranger-9",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Atlas Agena B | Ranger 9",
    "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-14T17:40:08Z",
    "updates": [],
    "net": "1965-03-21T21:37:02Z",
    "net_precision": null,
    "window_end": "1965-03-21T21:37:02Z",
    "window_start": "1965-03-21T21:37:02Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 161,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/161/?format=api",
        "name": "United States Air Force",
        "featured": false,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "USAF",
        "description": "The United States Air Force (USAF) is the air service branch of the United States Armed Forces, and is one of the eight uniformed services of the United States. Originally created on 1 August 1907, as a part of the United States Army Signal Corps, the USAF was established as a separate branch of the United States Armed Forces in 1947 with the enactment of the National Security Act of 1947.",
        "administrator": "Commander-in-Chief: President of the US",
        "founding_year": "1947",
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 1078,
        "consecutive_successful_launches": 68,
        "successful_launches": 972,
        "failed_launches": 106,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.af.mil",
        "wiki_url": "http://en.wikipedia.org/wiki/United_States_Air_Force",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_logo_20230804084626.png",
        "image_url": null,
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_nation_20230804085132.jpg"
    },
    "rocket": {
        "id": 3377,
        "configuration": {
            "id": 183,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/183/?format=api",
            "name": "Atlas Agena B",
            "active": false,
            "reusable": false,
            "description": "The Atlas LV-3A was a largely unsuccessful configuration until it was given an Agena B upper stage. It was responsible for the launch of Mariner II to Venus and had one of the first engines that could be restarted in orbit.",
            "family": "Atlas",
            "full_name": "Atlas LV-3 Agena B",
            "manufacturer": {
                "id": 161,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/161/?format=api",
                "name": "United States Air Force",
                "featured": false,
                "type": "Government",
                "country_code": "USA",
                "abbrev": "USAF",
                "description": "The United States Air Force (USAF) is the air service branch of the United States Armed Forces, and is one of the eight uniformed services of the United States. Originally created on 1 August 1907, as a part of the United States Army Signal Corps, the USAF was established as a separate branch of the United States Armed Forces in 1947 with the enactment of the National Security Act of 1947.",
                "administrator": "Commander-in-Chief: President of the US",
                "founding_year": "1947",
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 1078,
                "consecutive_successful_launches": 68,
                "successful_launches": 972,
                "failed_launches": 106,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.af.mil",
                "wiki_url": "http://en.wikipedia.org/wiki/United_States_Air_Force",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_logo_20230804084626.png",
                "image_url": null,
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_nation_20230804085132.jpg"
            },
            "program": [],
            "variant": "LV-3 Agena B",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": 20.27,
            "diameter": 3.05,
            "maiden_flight": "1961-01-31",
            "launch_cost": "14210000",
            "launch_mass": 130,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": 363,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "http://www.astronautix.com/a/atlasagenalv-3a.html",
            "wiki_url": null,
            "total_launch_count": 29,
            "consecutive_successful_launches": 6,
            "successful_launches": 21,
            "failed_launches": 8,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1798,
        "name": "Ranger 9",
        "description": "Lunar impactor which successfully reached the surface after transmitting 5,814 photographs.",
        "launch_designator": null,
        "type": "Lunar Exploration",
        "orbit": {
            "id": 10,
            "name": "Lunar Impactor",
            "abbrev": "Lunar Impactor"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 99,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/99/?format=api",
        "agency_id": 161,
        "name": "Launch Complex 12",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_12",
        "map_url": "https://www.google.com/maps?q=28.480607,-80.541938",
        "latitude": "28.480607",
        "longitude": "-80.541938",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "description": "Cape Canaveral Space Force Station (CCSFS) is an installation of the United States Space Force's Space Launch Delta 45, located on Cape Canaveral in Brevard County, Florida.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "timezone_name": "America/New_York",
            "total_launch_count": 1021,
            "total_landing_count": 64
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_99_20200803143435.jpg",
        "total_launch_count": 23,
        "orbital_launch_attempt_count": 21
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 420,
    "location_launch_attempt_count": 134,
    "pad_launch_attempt_count": 16,
    "agency_launch_attempt_count": 247,
    "orbital_launch_attempt_count_year": 27,
    "location_launch_attempt_count_year": 8,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 16,
    "pad_turnaround": "P32DT4H32M2S",
    "mission_patches": [],
    "type": "detailed"
}