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/00614ede-e91a-497f-a897-841e684cdcba/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "00614ede-e91a-497f-a897-841e684cdcba",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/00614ede-e91a-497f-a897-841e684cdcba/?format=api",
    "slug": "delta-1410-geos-3",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Delta 1410 | Geos 3",
    "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-14T03:52:50Z",
    "updates": [],
    "net": "1975-04-09T23:58:02Z",
    "net_precision": null,
    "window_end": "1975-04-09T23:58:02Z",
    "window_start": "1975-04-09T23:58: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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_logo_20230804084626.png",
        "image_url": null,
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united2520states2520air2520force_nation_20230804085132.jpg"
    },
    "rocket": {
        "id": 4567,
        "configuration": {
            "id": 277,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/277/?format=api",
            "name": "Delta 1410",
            "active": false,
            "reusable": false,
            "description": "The Delta 1000 series (also referred to as Straight-Eight) was an American expendable launch system which was used to conduct eight orbital launches between 1972 and 1975. It was a member of the Delta family of rockets. Several variants existed, differentiated by a four digit numerical code.",
            "family": "Delta",
            "full_name": "Delta 1410",
            "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": "1410",
            "alias": "",
            "min_stage": 3,
            "max_stage": 3,
            "length": 35.0,
            "diameter": 2.44,
            "maiden_flight": "1975-04-09",
            "launch_cost": null,
            "launch_mass": 110,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": 1863,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Delta_1000",
            "total_launch_count": 1,
            "consecutive_successful_launches": 1,
            "successful_launches": 1,
            "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": 2985,
        "name": "Geos 3",
        "description": "Geodetic research satellite",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 39,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/39/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 2W",
        "description": "SLC-2W was originally used for Delta, Thor-Agena and Delta II launches. After the last Delta II flight in 2018, SLC-2W was repurposed to launch Firefly Alpha rockets.",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Launch_Complex_2",
        "map_url": "https://www.google.com/maps?q=34.7556,-120.6224",
        "latitude": "34.7556",
        "longitude": "-120.6224",
        "location": {
            "id": 11,
            "url": "https://ll.thespacedevs.com/2.2.0/location/11/?format=api",
            "name": "Vandenberg SFB, CA, USA",
            "country_code": "USA",
            "description": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_11_20200803142416.jpg",
            "timezone_name": "America/Los_Angeles",
            "total_launch_count": 755,
            "total_landing_count": 18
        },
        "country_code": "USA",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_39_20200803143542.jpg",
        "total_launch_count": 96,
        "orbital_launch_attempt_count": 96
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 1671,
    "location_launch_attempt_count": 424,
    "pad_launch_attempt_count": 33,
    "agency_launch_attempt_count": 634,
    "orbital_launch_attempt_count_year": 29,
    "location_launch_attempt_count_year": 3,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 5,
    "pad_turnaround": "P77DT6H2M10S",
    "mission_patches": [],
    "type": "detailed"
}