API endpoint that returns all Launch objects or a single launch.

EXAMPLE - /launch// 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'

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.0.0/launch/57d8217f-5cc3-476f-b688-9dba65e8f988/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "57d8217f-5cc3-476f-b688-9dba65e8f988",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/57d8217f-5cc3-476f-b688-9dba65e8f988/?format=api",
    "launch_library_id": null,
    "slug": "atlas-v-431-inmarsat-4-f1",
    "name": "Atlas V 431 | INMARSAT 4 F1",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2005-03-11T21:42:00Z",
    "window_end": "2005-03-11T21:42:00Z",
    "window_start": "2005-03-11T21:42:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 82,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/82/?format=api",
        "name": "Lockheed Martin",
        "featured": false,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "LMT",
        "description": "Lockheed Martin's Space Division started in the production of missiles and later ICBM's in the 1950s. Their TITAN missile system was used for 12 Gemini spacecraft and the Voyager probes.  They have worked largely in collaboration with NASA on many of their probes, landers, and spacecraft, and hope to play a key role in NASA's return to the moon in 2024.",
        "administrator": null,
        "founding_year": "1953",
        "launchers": "Titan | Agena",
        "spacecraft": "Hubble | JUNO | InSight",
        "launch_library_url": null,
        "total_launch_count": 80,
        "consecutive_successful_launches": 38,
        "successful_launches": 77,
        "failed_launches": 3,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.lockheedmartin.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/Lockheed_Martin",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 7218,
        "configuration": {
            "id": 111,
            "launch_library_id": 119,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/111/?format=api",
            "name": "Atlas V 431",
            "description": "Atlas V with 4m Fairing, 3 SRB, 1 Centaur upper stage engine.",
            "family": "Atlas",
            "full_name": "Atlas V 431",
            "manufacturer": {
                "id": 124,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/124/?format=api",
                "name": "United Launch Alliance",
                "featured": true,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "ULA",
                "description": "United Launch Alliance (ULA) is a joint venture of Lockheed Martin Space Systems and Boeing Defense, Space & Security. ULA was formed in December 2006 by combining the teams at these companies which provide spacecraft launch services to the government of the United States. ULA launches from both coasts of the US. They launch their Atlas V vehicle from LC-41 in Cape Canaveral and LC-3E at Vandeberg. Their Delta IV launches from LC-37 at Cape Canaveral and LC-6 at Vandenberg.",
                "administrator": "CEO: Tory Bruno",
                "founding_year": "2006",
                "launchers": "Atlas | Delta IV | Vulcan",
                "spacecraft": "CST-100 Starliner",
                "launch_library_url": null,
                "total_launch_count": 165,
                "consecutive_successful_launches": 165,
                "successful_launches": 165,
                "failed_launches": 0,
                "pending_launches": 44,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.ulalaunch.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/United_Launch_Alliance",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_logo_20210412195953.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united_launch_a_image_20210412201210.png",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_nation_20230531043703.jpg"
            },
            "program": [],
            "variant": "431",
            "alias": "",
            "min_stage": 0,
            "max_stage": 2,
            "length": 59.1,
            "diameter": 3.8,
            "maiden_flight": "2005-03-11",
            "launch_mass": 479,
            "leo_capacity": 15260,
            "gto_capacity": 7700,
            "to_thrust": null,
            "apogee": 40000,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas2520v2520431_image_20190222031015.jpeg",
            "info_url": null,
            "wiki_url": null,
            "total_launch_count": 3,
            "consecutive_successful_launches": 3,
            "successful_launches": 3,
            "failed_launches": 0,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5607,
        "launch_library_id": null,
        "name": "INMARSAT 4 F1",
        "description": "Heaviest single payload to geosynchronous transfer orbit to that date. The satellite was to provide L-band mobile communications and wideband data transmission for Inmarsat's global network.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 4,
            "name": "Geosynchronous Transfer Orbit",
            "abbrev": "GSTO"
        }
    },
    "pad": {
        "id": 29,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/29/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 41",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_41",
        "map_url": "https://www.google.com/maps?q=28.58341025,-80.58303644",
        "latitude": "28.58341025",
        "longitude": "-80.58303644",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.0.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "total_launch_count": 1023,
            "total_landing_count": 64
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_29_20200803143528.jpg",
        "total_launch_count": 115
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas2520v2520431_image_20190222031015.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4703,
    "location_launch_attempt_count": 634,
    "pad_launch_attempt_count": 32,
    "agency_launch_attempt_count": 78,
    "orbital_launch_attempt_count_year": 9,
    "location_launch_attempt_count_year": 3,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 2
}