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/80d602cd-12c6-4921-bba8-73f329cdeaa8/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "80d602cd-12c6-4921-bba8-73f329cdeaa8",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/80d602cd-12c6-4921-bba8-73f329cdeaa8/?format=api",
    "slug": "thor-delta-b-syncom-2",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Thor Delta B | Syncom 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-14T17:40:16Z",
    "updates": [],
    "net": "1963-07-26T14:33:00Z",
    "net_precision": null,
    "window_end": "1963-07-26T14:33:00Z",
    "window_start": "1963-07-26T14:33:00Z",
    "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": 3217,
        "configuration": {
            "id": 400,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/400/?format=api",
            "name": "Thor Delta B",
            "active": false,
            "reusable": false,
            "description": "American orbital launch vehicle family with Thor first stage and a delta second stage.",
            "family": "Thor",
            "full_name": "Thor Delta B",
            "manufacturer": {
                "id": 153,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/153/?format=api",
                "name": "McDonnell Douglas",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "MDC",
                "description": null,
                "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": null,
                "wiki_url": "http://en.wikipedia.org/wiki/McDonnell_Douglas",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "Delta B",
            "alias": "",
            "min_stage": 3,
            "max_stage": 3,
            "length": 31.0,
            "diameter": 2.44,
            "maiden_flight": "1962-12-13",
            "launch_cost": "9590000",
            "launch_mass": 51,
            "leo_capacity": 370,
            "gto_capacity": 68,
            "to_thrust": 667,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Thor-Delta",
            "total_launch_count": 9,
            "consecutive_successful_launches": 0,
            "successful_launches": 8,
            "failed_launches": 1,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1639,
        "name": "Syncom 2",
        "description": "Syncom 2 was the first geosynchronous satellite. Although the period was 24 hours and the spacecraft remained at a nearly constant longitude, the orbit was inclined at 33 degrees so it was not truly geostationary but moved in an elongated figure eight pattern 33 degrees north and south of the equator.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 3,
            "name": "Geosynchronous Orbit",
            "abbrev": "GSO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 14,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/14/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 17A",
        "description": "",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Space_Launch_Complex_17",
        "map_url": "https://www.google.com/maps?q=28.4472,-80.565",
        "latitude": "28.4472",
        "longitude": "-80.565",
        "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_14_20200803143451.jpg",
        "total_launch_count": 145,
        "orbital_launch_attempt_count": 145
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 264,
    "location_launch_attempt_count": 101,
    "pad_launch_attempt_count": 22,
    "agency_launch_attempt_count": 155,
    "orbital_launch_attempt_count_year": 40,
    "location_launch_attempt_count_year": 7,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 29,
    "pad_turnaround": "P114DT12H32M58S",
    "mission_patches": [],
    "type": "detailed"
}