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'

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/e5bd8f98-cf17-4563-8c2f-9063c803663d/
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "e5bd8f98-cf17-4563-8c2f-9063c803663d",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/e5bd8f98-cf17-4563-8c2f-9063c803663d/",
    "slug": "falcon-9-block-5-nusantara-satu-gto-1-beresheet-s5",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Falcon 9 Block 5 | Nusantara Satu & GTO-1 (Beresheet, S5)",
    "status": {
        "id": 3,
        "name": "Launch Successful",
        "abbrev": "Success",
        "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
    },
    "last_updated": "2020-10-31T03:46:14Z",
    "updates": [],
    "net": "2019-02-22T01:45:00Z",
    "window_end": "2019-02-22T02:17:00Z",
    "window_start": "2019-02-22T01:45:00Z",
    "probability": 80,
    "holdreason": null,
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 121,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/",
        "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 has many pads, on the East Coast of the US they own SLC-40 at Cape Canaveral and LC-39A at the Kennedy Space Center for their lower inclination launches. They also own SLC-4E at Vandenberg, California for their high inclination launches. Another site is also being developed at Boca Chica, Texas.",
        "administrator": "CEO: Elon Musk",
        "founding_year": "2002",
        "launchers": "Falcon",
        "spacecraft": "Dragon",
        "launch_library_url": "https://launchlibrary.net/1.4/agency/121",
        "total_launch_count": 144,
        "consecutive_successful_launches": 15,
        "successful_launches": 135,
        "failed_launches": 9,
        "pending_launches": 52,
        "consecutive_successful_landings": 15,
        "successful_landings": 100,
        "failed_landings": 17,
        "attempted_landings": 118,
        "info_url": "http://www.spacex.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/SpaceX",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/spacex_logo_20191121063502.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/agency_images/spacex_image_20190207032501.jpeg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/agency_nation/spacex_nation_20190207032501.jpeg"
    },
    "rocket": {
        "id": 76,
        "configuration": {
            "id": 164,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/164/",
            "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.2.0/agencies/121/",
                "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 has many pads, on the East Coast of the US they own SLC-40 at Cape Canaveral and LC-39A at the Kennedy Space Center for their lower inclination launches. They also own SLC-4E at Vandenberg, California for their high inclination launches. Another site is also being developed at Boca Chica, Texas.",
                "administrator": "CEO: Elon Musk",
                "founding_year": "2002",
                "launchers": "Falcon",
                "spacecraft": "Dragon",
                "launch_library_url": "https://launchlibrary.net/1.4/agency/121",
                "total_launch_count": 144,
                "consecutive_successful_launches": 15,
                "successful_launches": 135,
                "failed_launches": 9,
                "pending_launches": 52,
                "consecutive_successful_landings": 15,
                "successful_landings": 100,
                "failed_landings": 17,
                "attempted_landings": 118,
                "info_url": "http://www.spacex.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/SpaceX",
                "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/spacex_logo_20191121063502.png",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/agency_images/spacex_image_20190207032501.jpeg",
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/agency_nation/spacex_nation_20190207032501.jpeg"
            },
            "program": [
                {
                    "id": 5,
                    "url": "https://ll.thespacedevs.com/2.2.0/program/5/",
                    "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.2.0/agencies/80/",
                            "name": "Boeing",
                            "type": "Commercial"
                        },
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 121,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/",
                            "name": "SpaceX",
                            "type": "Commercial"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/program_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",
                    "mission_patches": []
                },
                {
                    "id": 11,
                    "url": "https://ll.thespacedevs.com/2.2.0/program/11/",
                    "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.2.0/agencies/44/",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 257,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/257/",
                            "name": "Northrop Grumman Innovation Systems",
                            "type": "Commercial"
                        },
                        {
                            "id": 1020,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/1020/",
                            "name": "Sierra Nevada Corporation",
                            "type": "Commercial"
                        },
                        {
                            "id": 121,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/",
                            "name": "SpaceX",
                            "type": "Commercial"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/program_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",
                    "mission_patches": []
                }
            ],
            "variant": "Block 5",
            "alias": "",
            "min_stage": 1,
            "max_stage": 2,
            "length": 70.0,
            "diameter": 3.65,
            "maiden_flight": "2018-05-11",
            "launch_cost": "52,000,000",
            "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/launcher_images/falcon_9_block__image_20210506060831.jpg",
            "info_url": "http://www.spacex.com/falcon9",
            "wiki_url": "https://en.wikipedia.org/wiki/Falcon_9",
            "total_launch_count": 70,
            "consecutive_successful_launches": 70,
            "successful_launches": 70,
            "failed_launches": 0,
            "pending_launches": 42
        },
        "launcher_stage": [
            {
                "id": 88,
                "type": "Core",
                "reused": true,
                "launcher_flight_number": 5,
                "launcher": {
                    "id": 56,
                    "url": "https://ll.thespacedevs.com/2.2.0/launcher/56/",
                    "details": "Landing burn not performed after premature engine shutdown during ascent",
                    "flight_proven": true,
                    "serial_number": "B1048",
                    "status": "lost",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launcher_core_images/56_image_20191123114656.jpg",
                    "successful_landings": 4,
                    "attempted_landings": 5,
                    "flights": 5,
                    "last_launch_date": "2020-03-18T12:16:39Z",
                    "first_launch_date": "2018-07-25T11:39:30Z"
                },
                "landing": {
                    "id": 123,
                    "attempt": true,
                    "success": true,
                    "description": "The booster will attempt to make a landing on OSCILY performing the third landing for this booster.",
                    "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": 46
                    },
                    "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": "2018-10-08T02:21:00Z",
                "turn_around_time_days": 136,
                "previous_flight": {
                    "id": "b0b300ee-6d5c-40a3-b791-84b0712ca9a9",
                    "name": "Falcon 9 Block 5 | SAOCOM 1A"
                }
            }
        ],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 655,
        "name": "GTO-1 (Beresheet, S5)",
        "description": "Spaceflight’s first mission beyond Lower Earth Orbit (LEO) and its first combined launch with SSL. Consists out lunar lander called Beresheet (Hebrew for in the beginning) and AFRL’s S5 satellite.",
        "launch_designator": null,
        "type": "Dedicated Rideshare",
        "orbit": {
            "id": 11,
            "name": "Lunar Orbit",
            "abbrev": "LO"
        }
    },
    "pad": {
        "id": 80,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/80/",
        "agency_id": 121,
        "name": "Space Launch Complex 40",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_40",
        "map_url": "http://maps.google.com/maps?q=28.56194122,-80.57735736",
        "latitude": "28.56194122",
        "longitude": "-80.57735736",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.2.0/location/12/",
            "name": "Cape Canaveral, FL, USA",
            "country_code": "USA",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
            "total_launch_count": 826,
            "total_landing_count": 21
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_80_20200803143323.jpg",
        "total_launch_count": 130
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "title": "Nusantara Satu Mission",
            "description": "SpaceX is targeting Thursday, February 21 for launch of the Nusantara Satu satellite from Space Launch Complex 40 (SLC-40) at Cape Canaveral Air Force Statio...",
            "feature_image": "https://i.ytimg.com/vi/XS0E35aYJcU/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=XS0E35aYJcU"
        }
    ],
    "webcast_live": false,
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launcher_images/falcon_9_block__image_20210506060831.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5965,
    "location_launch_attempt_count": 779,
    "pad_launch_attempt_count": 96,
    "agency_launch_attempt_count": 75,
    "orbital_launch_attempt_count_year": 12,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 2,
    "mission_patches": [],
    "notifications_enabled": true
}