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'

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/c4b2f90e-3385-4cbe-a89f-fc5f57da1bfb/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "c4b2f90e-3385-4cbe-a89f-fc5f57da1bfb",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/c4b2f90e-3385-4cbe-a89f-fc5f57da1bfb/?format=api",
    "launch_library_id": 1885,
    "slug": "falcon-9-block-5-double-asteroid-redirection-test",
    "name": "Falcon 9 Block 5 | Double Asteroid Redirection Test (DART)",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2021-11-24T06:21:02Z",
    "window_end": "2021-11-24T06:21:02Z",
    "window_start": "2021-11-24T06:21:02Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": 90,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 121,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
        "name": "SpaceX",
        "featured": true,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "SpX",
        "description": "Space Exploration Technologies Corp., known as SpaceX, is an American aerospace manufacturer and space transport services company headquartered in Hawthorne, California. It was founded in 2002 by entrepreneur Elon Musk with the goal of reducing space transportation costs and enabling the colonization of Mars. SpaceX operates from many pads, on the East Coast of the US they operate from SLC-40 at Cape Canaveral Space Force Station and historic LC-39A at Kennedy Space Center. They also operate from SLC-4E at Vandenberg Space Force Base, California, usually for polar launches. Another launch site is being developed at Boca Chica, Texas.",
        "administrator": "CEO: Elon Musk",
        "founding_year": "2002",
        "launchers": "Falcon | Starship",
        "spacecraft": "Dragon",
        "launch_library_url": null,
        "total_launch_count": 355,
        "consecutive_successful_launches": 56,
        "successful_launches": 344,
        "failed_launches": 11,
        "pending_launches": 135,
        "consecutive_successful_landings": 18,
        "successful_landings": 306,
        "failed_landings": 24,
        "attempted_landings": 329,
        "info_url": "http://www.spacex.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/SpaceX",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_logo_20220826094919.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_image_20190207032501.jpeg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_nation_20230531064544.jpg"
    },
    "rocket": {
        "id": 2419,
        "configuration": {
            "id": 164,
            "launch_library_id": 188,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/164/?format=api",
            "name": "Falcon 9",
            "description": "Falcon 9 is a two-stage rocket designed and manufactured by SpaceX for the reliable and safe transport of satellites and the Dragon spacecraft into orbit. The Block 5 variant is the fifth major interval aimed at improving upon the ability for rapid reusability.",
            "family": "Falcon",
            "full_name": "Falcon 9 Block 5",
            "manufacturer": {
                "id": 121,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                "name": "SpaceX",
                "featured": true,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "SpX",
                "description": "Space Exploration Technologies Corp., known as SpaceX, is an American aerospace manufacturer and space transport services company headquartered in Hawthorne, California. It was founded in 2002 by entrepreneur Elon Musk with the goal of reducing space transportation costs and enabling the colonization of Mars. SpaceX operates from many pads, on the East Coast of the US they operate from SLC-40 at Cape Canaveral Space Force Station and historic LC-39A at Kennedy Space Center. They also operate from SLC-4E at Vandenberg Space Force Base, California, usually for polar launches. Another launch site is being developed at Boca Chica, Texas.",
                "administrator": "CEO: Elon Musk",
                "founding_year": "2002",
                "launchers": "Falcon | Starship",
                "spacecraft": "Dragon",
                "launch_library_url": null,
                "total_launch_count": 355,
                "consecutive_successful_launches": 56,
                "successful_launches": 344,
                "failed_launches": 11,
                "pending_launches": 135,
                "consecutive_successful_landings": 18,
                "successful_landings": 306,
                "failed_landings": 24,
                "attempted_landings": 329,
                "info_url": "http://www.spacex.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/SpaceX",
                "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_logo_20220826094919.png",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_image_20190207032501.jpeg",
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_nation_20230531064544.jpg"
            },
            "program": [
                {
                    "id": 11,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/11/?format=api",
                    "name": "Commercial Resupply Services",
                    "description": "Commercial Resupply Services (CRS) are a series of flights awarded by NASA for the delivery of cargo and supplies to the International Space Station.The first CRS contracts were signed in 2008 and awarded $1.6 billion to SpaceX for twelve cargo Dragon and $1.9 billion to Orbital Sciences for eight Cygnus flights, covering deliveries to 2016. The Falcon 9 and Antares rockets were also developed under the CRS program to deliver cargo spacecraft to the ISS.",
                    "agencies": [
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 257,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/257/?format=api",
                            "name": "Northrop Grumman Space Systems",
                            "type": "Commercial"
                        },
                        {
                            "id": 1020,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/1020/?format=api",
                            "name": "Sierra Nevada Corporation",
                            "type": "Commercial"
                        },
                        {
                            "id": 121,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                            "name": "SpaceX",
                            "type": "Commercial"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/commercial2520_program_20201129212219.png",
                    "start_date": "2008-12-23T00:00:00Z",
                    "end_date": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Commercial_Resupply_Services#Commercial_Resupply_Services"
                },
                {
                    "id": 5,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/5/?format=api",
                    "name": "Commercial Crew Program",
                    "description": "The Commercial Crew Program (CCP) is a human spaceflight program operated by NASA, in association with American aerospace manufacturers Boeing and SpaceX. The program conducts rotations between the expeditions of the International Space Station program, transporting crews to and from the International Space Station (ISS) aboard Boeing Starliner and SpaceX Crew Dragon capsules, in the first crewed orbital spaceflights operated by private companies.",
                    "agencies": [
                        {
                            "id": 80,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/80/?format=api",
                            "name": "Boeing",
                            "type": "Commercial"
                        },
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 121,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                            "name": "SpaceX",
                            "type": "Commercial"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/commercial2520_program_20200820201209.png",
                    "start_date": "2011-04-18T00:00:00Z",
                    "end_date": null,
                    "info_url": "https://www.nasa.gov/exploration/commercial/crew/index.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Commercial_Crew_Program"
                }
            ],
            "variant": "Block 5",
            "alias": "",
            "min_stage": 1,
            "max_stage": 2,
            "length": 70.0,
            "diameter": 3.65,
            "maiden_flight": "2018-05-11",
            "launch_mass": 549,
            "leo_capacity": 22800,
            "gto_capacity": 8300,
            "to_thrust": 7607,
            "apogee": 200,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/falcon_9_image_20230807133459.jpeg",
            "info_url": "https://www.spacex.com/vehicles/falcon-9/",
            "wiki_url": "https://en.wikipedia.org/wiki/Falcon_9",
            "total_launch_count": 272,
            "consecutive_successful_launches": 272,
            "successful_launches": 272,
            "failed_launches": 0,
            "pending_launches": 124
        },
        "launcher_stage": [
            {
                "id": 154,
                "type": "Core",
                "reused": true,
                "launcher_flight_number": 3,
                "launcher": {
                    "id": 84,
                    "url": "https://ll.thespacedevs.com/2.0.0/launcher/84/?format=api",
                    "details": "Notable launches include Sentinel-6 and Dart.",
                    "flight_proven": true,
                    "serial_number": "B1063",
                    "status": "active",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/84_image_20201122121517.jpeg",
                    "successful_landings": 17,
                    "attempted_landings": 17,
                    "flights": 17,
                    "last_launch_date": "2024-03-11T04:09:00Z",
                    "first_launch_date": "2020-11-21T17:17:00Z"
                },
                "landing": {
                    "id": 185,
                    "attempt": true,
                    "success": true,
                    "description": "B1063 has successfully landed on ASDS OCISLY after its third flight.",
                    "location": {
                        "id": 1,
                        "name": "Of Course I Still Love You",
                        "abbrev": "OCISLY",
                        "description": "The second ASDS barge, Of Course I Still Love You (OCISLY) services launches in the Pacific Ocean and was the site of the first landing of a SpaceX Falcon 9 first stage during CRS-8, the launch of a Dragon spacecraft to the International Space Station.",
                        "location": null,
                        "successful_landings": 88
                    },
                    "type": {
                        "id": 1,
                        "name": "Autonomous Spaceport Drone Ship",
                        "abbrev": "ASDS",
                        "description": "An autonomous spaceport drone ship (ASDS) is an ocean-going vessel derived from a deck barge, outfitted with station-keeping engines and a large landing platform. Construction of such ships was commissioned by aerospace company SpaceX to allow for recovery of rocket first-stages at sea for high-velocity missions which do not carry enough fuel to return to the launch site after lofting spacecraft onto an orbital trajectory."
                    }
                },
                "previous_flight_date": "2021-05-26T18:59:00Z",
                "turn_around_time_days": 181,
                "previous_flight": {
                    "id": "fb25ecf0-fb51-4b5e-b678-105f6ba4c06e",
                    "name": "Falcon 9 Block 5 | Starlink 28"
                }
            }
        ],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 986,
        "launch_library_id": 1196,
        "name": "Double Asteroid Redirection Test (DART)",
        "description": "Double Asteroid Redirection Test (DART) mission is the first-ever mission to demonstrate the capability to deflect an asteroid by colliding a spacecraft with it at high speed, a technique known as a kinetic impactor.\r\n\r\nDART is a planetary defense-driven test of one of the technologies for preventing the Earth impact of a hazardous asteroid: the kinetic impactor.  DART's primary objective is to demonstrate a kinetic impact on a small asteroid.  The binary near-Earth asteroid (65803) Didymos is the target for DART.   While Didymos' primary body is approximately 800 meters across, its secondary body has a 150-meter size, which is more typical of the size of asteroids that could pose a more common hazard to Earth.\r\n\r\nThe DART spacecraft will achieve the kinetic impact by deliberately crashing itself into the moonlet at a speed of approximately 6 km/s, with the aid of an onboard camera and sophisticated autonomous navigation software. The collision will change the speed of the moonlet in its orbit around the main body by a fraction of one percent, enough to be measured using telescopes on Earth.",
        "launch_designator": null,
        "type": "Robotic Exploration",
        "orbit": {
            "id": 6,
            "name": "Heliocentric N/A",
            "abbrev": "Helio-N/A"
        }
    },
    "pad": {
        "id": 16,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/16/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 4E",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Launch_Complex_4#SLC-4E",
        "map_url": "https://www.google.com/maps?q=34.632,-120.611",
        "latitude": "34.632",
        "longitude": "-120.611",
        "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_11_20200803142416.jpg",
            "total_launch_count": 752,
            "total_landing_count": 17
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_16_20200803143532.jpg",
        "total_launch_count": 141
    },
    "infoURLs": [
        {
            "priority": 10,
            "title": "",
            "description": "SpaceX designs, manufactures and launches advanced rockets and spacecraft. The company was founded in 2002 to revolutionize space technology, with the ultimate goal of enabling people to live on other planets.",
            "feature_image": null,
            "url": "https://www.spacex.com/launches/dart"
        }
    ],
    "vidURLs": [
        {
            "priority": 0,
            "title": "Falcon 9 DART",
            "description": "Falcon 9 DART with initial coverage and post coverage cutThumbnail Photo Credit: SpaceX",
            "feature_image": "https://i.ytimg.com/vi/Fm98PkhbTVg/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=Fm98PkhbTVg"
        },
        {
            "priority": 9,
            "title": "Double Asteroid Redirection Test (DART) Mission",
            "description": "SpaceX is targeting Tuesday, November 23 for Falcon 9’s launch of NASA’s Double Asteroid Redirection Test (DART) mission from Space Launch Complex 4 East (SL...",
            "feature_image": "https://i.ytimg.com/vi/XKRf6-NcMqI/maxresdefault_live.jpg",
            "url": "https://www.youtube.com/watch?v=XKRf6-NcMqI"
        },
        {
            "priority": 10,
            "title": "Watch NASA’s DART Mission Launch (Double Asteroid Redirection Test) Official Broadcast/Stream",
            "description": "Can we change the motion of an asteroid? Our #DARTMission is set to be the first to try! The Double Asteroid Redirection Test (DART) mission is a spacecraft ...",
            "feature_image": "https://i.ytimg.com/vi/E0OUvEh3HWk/maxresdefault_live.jpg",
            "url": "https://www.youtube.com/watch?v=E0OUvEh3HWk"
        }
    ],
    "webcast_live": false,
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/falcon2520925_image_20211123182921.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 6144,
    "location_launch_attempt_count": 692,
    "pad_launch_attempt_count": 86,
    "agency_launch_attempt_count": 147,
    "orbital_launch_attempt_count_year": 118,
    "location_launch_attempt_count_year": 5,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 30
}