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/37b23feb-be70-4011-bb3b-ccf4d333edd4/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "37b23feb-be70-4011-bb3b-ccf4d333edd4",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/37b23feb-be70-4011-bb3b-ccf4d333edd4/?format=api",
    "launch_library_id": null,
    "slug": "falcon-9-block-5-starlink-group-6-56",
    "name": "Falcon 9 Block 5 | Starlink Group 6-56",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2024-05-08T18:42:00Z",
    "window_end": "2024-05-08T18:42:00Z",
    "window_start": "2024-05-08T15:00:00Z",
    "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": 363,
        "consecutive_successful_launches": 64,
        "successful_launches": 352,
        "failed_launches": 11,
        "pending_launches": 135,
        "consecutive_successful_landings": 26,
        "successful_landings": 314,
        "failed_landings": 24,
        "attempted_landings": 337,
        "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": 8236,
        "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": 363,
                "consecutive_successful_launches": 64,
                "successful_launches": 352,
                "failed_launches": 11,
                "pending_launches": 135,
                "consecutive_successful_landings": 26,
                "successful_landings": 314,
                "failed_landings": 24,
                "attempted_landings": 337,
                "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": 280,
            "consecutive_successful_launches": 280,
            "successful_launches": 280,
            "failed_launches": 0,
            "pending_launches": 124
        },
        "launcher_stage": [
            {
                "id": 532,
                "type": "Core",
                "reused": true,
                "launcher_flight_number": 3,
                "launcher": {
                    "id": 126,
                    "url": "https://ll.thespacedevs.com/2.0.0/launcher/126/?format=api",
                    "details": "Booster first flown during the Crew-8 mission.",
                    "flight_proven": true,
                    "serial_number": "B1083",
                    "status": "active",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/126_image_20240304081131.jpeg",
                    "successful_landings": 3,
                    "attempted_landings": 3,
                    "flights": 3,
                    "last_launch_date": "2024-05-08T18:42:00Z",
                    "first_launch_date": "2024-03-04T03:53:38Z"
                },
                "landing": {
                    "id": 1354,
                    "attempt": true,
                    "success": true,
                    "description": "The B1083 has landed on ASDS ASOG after its 3rd flight.",
                    "location": {
                        "id": 17,
                        "name": "A Shortfall of Gravitas",
                        "abbrev": "ASOG",
                        "description": "The fourth ASDS barge, A Shortfall of Gravitas (ASOG) is currently used to recover Falcon 9 and Heavy boosters in the Altantic Ocean.",
                        "location": null,
                        "successful_landings": 70
                    },
                    "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": "2024-04-10T05:40:00Z",
                "turn_around_time_days": 28,
                "previous_flight": {
                    "id": "706b81df-c365-4a6d-89f0-c52126dc91e1",
                    "name": "Falcon 9 Block 5 | Starlink Group 6-48"
                }
            }
        ],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 6817,
        "launch_library_id": null,
        "name": "Starlink Group 6-56",
        "description": "A batch of 23 satellites for the Starlink mega-constellation - SpaceX's project for space-based Internet communication system.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 87,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/87/?format=api",
        "agency_id": 121,
        "name": "Launch Complex 39A",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39A",
        "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
        "latitude": "28.60822681",
        "longitude": "-80.60428186",
        "location": {
            "id": 27,
            "url": "https://ll.thespacedevs.com/2.0.0/location/27/?format=api",
            "name": "Kennedy Space Center, FL, USA",
            "country_code": "USA",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
            "total_launch_count": 237,
            "total_landing_count": 0
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_87_20200803143537.jpg",
        "total_launch_count": 179
    },
    "infoURLs": [
        {
            "priority": 10,
            "title": "SpaceX",
            "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/mission/?missionId=sl-6-56"
        }
    ],
    "vidURLs": [
        {
            "priority": 8,
            "title": "SpaceX Starlink Group 6-56",
            "description": "On Wednesday May 08, 2024, SpaceX launched the Starlink Group 6-56 mission with a Falcon 9 Block 5 from Launch Complex 39A at Kennedy Space Center, FL, USA.D...",
            "feature_image": "https://i.ytimg.com/vi/CqIzeCKpqJY/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=CqIzeCKpqJY"
        },
        {
            "priority": 9,
            "title": "SpaceX Falcon 9 Launches Starlink 6-56",
            "description": "SpaceX launch of a batch of Starlink v2-mini satellites for their second generation high-speed Low Earth Orbit internet satellite constellation.Window Opens:...",
            "feature_image": "https://i.ytimg.com/vi/Y05_dzjFHyU/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=Y05_dzjFHyU"
        },
        {
            "priority": 10,
            "title": "Watch live: SpaceX launches 23 Starlink satellites on a Falcon 9 rocket from Florida",
            "description": "Watch live coverage as SpaceX launches a Falcon 9 rocket with 23 second-generation Starlink internet satellites. Liftoff from pad 39A at NASA's Kennedy Space...",
            "feature_image": "https://i.ytimg.com/vi/WI_rSuoJlQk/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=WI_rSuoJlQk"
        },
        {
            "priority": 10,
            "title": "Livestream on X",
            "description": "",
            "feature_image": null,
            "url": "https://twitter.com/i/broadcasts/1BdGYrAdpZoJX"
        }
    ],
    "webcast_live": false,
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/falcon2520925_image_20221009234147.png",
    "infographic": null,
    "program": [
        {
            "id": 25,
            "url": "https://ll.thespacedevs.com/2.0.0/program/25/?format=api",
            "name": "Starlink",
            "description": "Starlink is a satellite internet constellation operated by American aerospace company SpaceX",
            "agencies": [
                {
                    "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/starlink_program_20231228154508.jpeg",
            "start_date": "2018-02-22T14:17:00Z",
            "end_date": null,
            "info_url": "https://starlink.com",
            "wiki_url": "https://en.wikipedia.org/wiki/Starlink"
        }
    ],
    "orbital_launch_attempt_count": 6665,
    "location_launch_attempt_count": 237,
    "pad_launch_attempt_count": 179,
    "agency_launch_attempt_count": 359,
    "orbital_launch_attempt_count_year": 87,
    "location_launch_attempt_count_year": 11,
    "pad_launch_attempt_count_year": 11,
    "agency_launch_attempt_count_year": 48
}