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/e0f12e4e-79bb-4bf6-b9c7-5fceb4ce1cc4/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "e0f12e4e-79bb-4bf6-b9c7-5fceb4ce1cc4",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/e0f12e4e-79bb-4bf6-b9c7-5fceb4ce1cc4/?format=api",
    "slug": "atlas-i-uhf-fo-f1",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Atlas I | UHF F/O F1",
    "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:39:58Z",
    "updates": [],
    "net": "1993-03-25T21:38:02Z",
    "net_precision": null,
    "window_end": "1993-03-25T21:38:02Z",
    "window_start": "1993-03-25T21:38:02Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 106,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/106/?format=api",
        "name": "General Dynamics",
        "featured": false,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "GD",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 11,
        "consecutive_successful_launches": 7,
        "successful_launches": 9,
        "failed_launches": 2,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.gd.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/General_Dynamics",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 6508,
        "configuration": {
            "id": 252,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/252/?format=api",
            "name": "Atlas I",
            "active": false,
            "reusable": false,
            "description": "The Atlas I was a US expendable launch system manufactured by General Dynamics in the 1990s to launch a variety of satellites.",
            "family": "Atlas",
            "full_name": "Atlas I",
            "manufacturer": {
                "id": 106,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/106/?format=api",
                "name": "General Dynamics",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "GD",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 11,
                "consecutive_successful_launches": 7,
                "successful_launches": 9,
                "failed_launches": 2,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.gd.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/General_Dynamics",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "I",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 43.9,
            "diameter": 3.05,
            "maiden_flight": "1990-07-25",
            "launch_cost": null,
            "launch_mass": 164,
            "leo_capacity": 5900,
            "gto_capacity": null,
            "to_thrust": 1939,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Atlas_I",
            "total_launch_count": 11,
            "consecutive_successful_launches": 7,
            "successful_launches": 9,
            "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": 4898,
        "name": "UHF F/O F1",
        "description": "The U.S. Navy began replacing and upgrading its ultra-high frequency (UHF) satellite communications network during the 1990s with a constellation of customized satellites built by Hughes Space and Communications Company. Known as the UFO (Ultra High Frequency Follow On) series, these HS-601 model satellites support the Navy's global communications network, serving ships at sea and a variety of other U.S. military fixed and mobile terminals.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 1,
            "name": "Geostationary Orbit",
            "abbrev": "Direct-GEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 122,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/122/?format=api",
        "agency_id": 161,
        "name": "Launch Complex 36B",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Launch_Complex_36",
        "map_url": "https://www.google.com/maps?q=28.4705556,-80.542194",
        "latitude": "28.4705556",
        "longitude": "-80.542194",
        "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_122_20200803143232.jpg",
        "total_launch_count": 76,
        "orbital_launch_attempt_count": 76
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 3800,
    "location_launch_attempt_count": 468,
    "pad_launch_attempt_count": 43,
    "agency_launch_attempt_count": 5,
    "orbital_launch_attempt_count_year": 15,
    "location_launch_attempt_count_year": 2,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P214DT22H58M2S",
    "mission_patches": [],
    "type": "detailed"
}