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/e96bfacb-617a-425a-97c8-f42514d8a683/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "e96bfacb-617a-425a-97c8-f42514d8a683",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/e96bfacb-617a-425a-97c8-f42514d8a683/?format=api",
    "launch_library_id": 362,
    "slug": "atlas-v-541-nrol-35-usa-259",
    "name": "Atlas V 541 | NROL-35 (USA-259)",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2014-12-13T03:19:29Z",
    "window_end": "2014-12-13T03:19:29Z",
    "window_start": "2014-12-13T03:19:29Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "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"
    },
    "rocket": {
        "id": 1809,
        "configuration": {
            "id": 1,
            "launch_library_id": 2,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/1/?format=api",
            "name": "Atlas V 541",
            "description": "Atlas V with 5m Fairing, 4 SRB, 1 Centaur upper stage engine.",
            "family": "Atlas",
            "full_name": "Atlas V 541",
            "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": "541",
            "alias": "",
            "min_stage": 0,
            "max_stage": 2,
            "length": 60.0,
            "diameter": 3.8,
            "maiden_flight": "2011-11-26",
            "launch_mass": 479,
            "leo_capacity": 17410,
            "gto_capacity": 8290,
            "to_thrust": null,
            "apogee": 40000,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas2520v2520541_image_20190224012314.jpeg",
            "info_url": "https://www.ulalaunch.com/rockets/atlas-v",
            "wiki_url": null,
            "total_launch_count": 9,
            "consecutive_successful_launches": 9,
            "successful_launches": 9,
            "failed_launches": 0,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 195,
        "launch_library_id": 571,
        "name": "NROL-35 (USA-259)",
        "description": "Classified payload for the U.S. National Reconnaissance Office.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 0,
            "name": "Elliptical Orbit",
            "abbrev": "Elliptical"
        }
    },
    "pad": {
        "id": 24,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/24/?format=api",
        "agency_id": 161,
        "name": "Space Launch Complex 3E",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Launch_Complex_3#SLC-3E",
        "map_url": "https://www.google.com/maps?q=34.64,-120.5895",
        "latitude": "34.64",
        "longitude": "-120.5895",
        "location": {
            "id": 11,
            "url": "https://ll.thespacedevs.com/2.0.0/location/11/?format=api",
            "name": "Vandenberg SFB, CA, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
            "total_launch_count": 807,
            "total_landing_count": 26
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_24_20200803143552.jpg",
        "total_launch_count": 48
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "title": "Atlas V NROL-35 Launch Highlights",
            "description": "A United Launch Alliance Atlas V rocket carrying a payload for the National Reconnaissance Office lifted off from Space Launch Complex-3 on Dec. 12 at 7:19 p...",
            "feature_image": "https://i.ytimg.com/vi/rcbjHOJJwUc/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=rcbjHOJJwUc"
        }
    ],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas2520v2520541_image_20190224012314.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5433,
    "location_launch_attempt_count": 660,
    "pad_launch_attempt_count": 41,
    "agency_launch_attempt_count": 92,
    "orbital_launch_attempt_count_year": 84,
    "location_launch_attempt_count_year": 4,
    "pad_launch_attempt_count_year": 3,
    "agency_launch_attempt_count_year": 14
}