AN 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', 'pad__ids', 'status__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/dfb2cc3b-8cd8-41b6-a83a-22b2a742ba4b/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "dfb2cc3b-8cd8-41b6-a83a-22b2a742ba4b",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/dfb2cc3b-8cd8-41b6-a83a-22b2a742ba4b/?format=api",
    "slug": "falcon-9-block-5-x-ray-polarimetry-explorer-ixpe",
    "flightclub_url": null,
    "r_spacex_api_id": "6161c88d6db1a92bfba85348",
    "name": "Falcon 9 Block 5 | X-Ray Polarimetry Explorer (IXPE)",
    "status": {
        "id": 3,
        "name": "Launch Successful",
        "abbrev": "Success",
        "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
    },
    "last_updated": "2024-03-05T17:59:43Z",
    "updates": [
        {
            "id": 1056,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/cosmic2520penguin_profile_20210817212020.png",
            "comment": "Launch success",
            "info_url": "https://twitter.com/nasa_lsp/status/1468832947054825473?s=21",
            "created_by": "Cosmic_Penguin",
            "created_on": "2021-12-09T06:41:28Z"
        },
        {
            "id": 1048,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/arnaud2520muller_profile_20230607144351.jpg",
            "comment": "Weather 80%",
            "info_url": "https://www.patrick.spaceforce.mil/Portals/14/Weather/Falcon%209%20IXPE%20L-2%20Forecast%20-%209%20Dec%20Launch.pdf",
            "created_by": "Nosu",
            "created_on": "2021-12-06T17:12:55Z"
        },
        {
            "id": 1041,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/arnaud2520muller_profile_20230607144351.jpg",
            "comment": "T-0 confirmed by NASA",
            "info_url": "https://www.nasa.gov/launchschedule/",
            "created_by": "Nosu",
            "created_on": "2021-12-04T17:13:55Z"
        },
        {
            "id": 1040,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/arnaud2520muller_profile_20230607144351.jpg",
            "comment": "Weather 70%",
            "info_url": "https://www.patrick.spaceforce.mil/Portals/14/Weather/Falcon%209%20IXPE%20L-3%20Forecast%20-%209%20Dec%20Launch.pdf",
            "created_by": "Nosu",
            "created_on": "2021-12-04T16:49:56Z"
        },
        {
            "id": 892,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/arnaud2520muller_profile_20230607144351.jpg",
            "comment": "Moving forward to December 9 and adding launch time.",
            "info_url": "https://spaceflightnow.com/launch-schedule/",
            "created_by": "Nosu",
            "created_on": "2021-10-19T06:16:46Z"
        },
        {
            "id": 832,
            "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/profile_images/arnaud2520muller_profile_20230607144351.jpg",
            "comment": "Delayed to December 13.",
            "info_url": "https://spaceflightnow.com/launch-schedule/",
            "created_by": "Nosu",
            "created_on": "2021-09-21T04:27:08Z"
        }
    ],
    "net": "2021-12-09T06:00:00Z",
    "net_precision": null,
    "window_end": "2021-12-09T07:30:00Z",
    "window_start": "2021-12-09T06:00:00Z",
    "probability": 90,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 121,
        "url": "https://ll.thespacedevs.com/2.2.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": 362,
        "consecutive_successful_launches": 63,
        "successful_launches": 351,
        "failed_launches": 11,
        "pending_launches": 136,
        "consecutive_successful_landings": 25,
        "successful_landings": 313,
        "failed_landings": 24,
        "attempted_landings": 336,
        "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": 2502,
        "configuration": {
            "id": 164,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/164/?format=api",
            "name": "Falcon 9",
            "active": true,
            "reusable": true,
            "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/?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": 362,
                "consecutive_successful_launches": 63,
                "successful_launches": 351,
                "failed_launches": 11,
                "pending_launches": 136,
                "consecutive_successful_landings": 25,
                "successful_landings": 313,
                "failed_landings": 24,
                "attempted_landings": 336,
                "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.2.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.2.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 257,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/257/?format=api",
                            "name": "Northrop Grumman Space Systems",
                            "type": "Commercial"
                        },
                        {
                            "id": 1020,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/1020/?format=api",
                            "name": "Sierra Nevada Corporation",
                            "type": "Commercial"
                        },
                        {
                            "id": 121,
                            "url": "https://ll.thespacedevs.com/2.2.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",
                    "mission_patches": [],
                    "type": {
                        "id": 2,
                        "name": "Human Spaceflight"
                    }
                },
                {
                    "id": 5,
                    "url": "https://ll.thespacedevs.com/2.2.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.2.0/agencies/80/?format=api",
                            "name": "Boeing",
                            "type": "Commercial"
                        },
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 121,
                            "url": "https://ll.thespacedevs.com/2.2.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",
                    "mission_patches": [],
                    "type": {
                        "id": 2,
                        "name": "Human Spaceflight"
                    }
                }
            ],
            "variant": "Block 5",
            "alias": "",
            "min_stage": 1,
            "max_stage": 2,
            "length": 70.0,
            "diameter": 3.65,
            "maiden_flight": "2018-05-11",
            "launch_cost": "52000000",
            "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": 279,
            "consecutive_successful_launches": 279,
            "successful_launches": 279,
            "failed_launches": 0,
            "pending_launches": 125,
            "attempted_landings": 273,
            "successful_landings": 269,
            "failed_landings": 4,
            "consecutive_successful_landings": 224
        },
        "launcher_stage": [
            {
                "id": 200,
                "type": "Core",
                "reused": true,
                "launcher_flight_number": 5,
                "launcher": {
                    "id": 71,
                    "url": "https://ll.thespacedevs.com/2.2.0/launcher/71/?format=api",
                    "details": "Booster which launched Crew-1, Crew-2 and IXPE.",
                    "flight_proven": true,
                    "serial_number": "B1061",
                    "status": "active",
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/71_image_20231201153837.jpeg",
                    "successful_landings": 20,
                    "attempted_landings": 20,
                    "flights": 20,
                    "last_launch_date": "2024-05-02T18:36:00Z",
                    "first_launch_date": "2020-11-16T00:27:17Z"
                },
                "landing": {
                    "id": 227,
                    "attempt": true,
                    "success": true,
                    "description": "B1061 has landed on ASDS JRTI after its fifth flight.",
                    "downrange_distance": 653.0,
                    "location": {
                        "id": 3,
                        "name": "Just Read the Instructions",
                        "abbrev": "JRTI",
                        "description": "Third (Marmac 303) ASDS barge, Just Read the Instructions (JRTI) is currently used to recover Falcon 9 and Heavy boosters in the Altantic Ocean.",
                        "location": null,
                        "successful_landings": 81
                    },
                    "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-08-29T07:14:49Z",
                "turn_around_time_days": 101,
                "previous_flight": {
                    "id": "13386512-85bb-4c93-a9b0-f5eac05fbe4f",
                    "name": "Falcon 9 Block 5 | Dragon CRS-2 SpX-23"
                }
            }
        ],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1427,
        "name": "IXPE",
        "description": "Imaging X-ray Polarimetry Explorer (IXPE) is a space observatory tasked with measuring the polarization of cosmic X-rays. This data will help to learn more about objects that emit these X-rays, such as black holes and neutron stars.",
        "launch_designator": null,
        "type": "Astrophysics",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 87,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/87/?format=api",
        "agency_id": 121,
        "name": "Launch Complex 39A",
        "description": null,
        "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.2.0/location/27/?format=api",
            "name": "Kennedy Space Center, FL, USA",
            "country_code": "USA",
            "description": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
            "timezone_name": "America/New_York",
            "total_launch_count": 237,
            "total_landing_count": 0
        },
        "country_code": "USA",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_87_20200803143537.jpg",
        "total_launch_count": 179,
        "orbital_launch_attempt_count": 178
    },
    "infoURLs": [
        {
            "priority": 10,
            "source": null,
            "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/ixpe/",
            "type": null,
            "language": null
        }
    ],
    "vidURLs": [
        {
            "priority": 0,
            "source": null,
            "publisher": null,
            "title": "Falcon 9 IXPE",
            "description": "Falcon 9 IXPE with initial coverage and post coverage cutThumbnail Photo Credit: SpaceX",
            "feature_image": "https://i.ytimg.com/vi/feSGxKOeZ8s/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=feSGxKOeZ8s",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        },
        {
            "priority": 9,
            "source": null,
            "publisher": null,
            "title": "Imaging X-ray Polarimetry Explorer (IXPE) Mission",
            "description": "SpaceX is targeting Thursday, December 9 for Falcon 9’s launch of NASA’s Imaging X-ray Polarimetry Explorer (IXPE) mission to low Earth orbit from historic L...",
            "feature_image": "https://i.ytimg.com/vi/CpmHsN5GUn8/maxresdefault_live.jpg",
            "url": "https://www.youtube.com/watch?v=CpmHsN5GUn8",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        },
        {
            "priority": 10,
            "source": null,
            "publisher": null,
            "title": "Watch NASA's IXPE Observatory Launch Into Space — Official Live Broadcast",
            "description": "We're sending a new pair of X-ray eyes into the universe!NASA's Imaging X-ray Polarimetry Explorer (IXPE) is our first satellite dedicated to measuring the p...",
            "feature_image": "https://i.ytimg.com/vi/JGij0x0PA_Q/maxresdefault_live.jpg",
            "url": "https://www.youtube.com/watch?v=JGij0x0PA_Q",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/falcon2520925_image_20211208191703.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 6155,
    "location_launch_attempt_count": 193,
    "pad_launch_attempt_count": 136,
    "agency_launch_attempt_count": 149,
    "orbital_launch_attempt_count_year": 129,
    "location_launch_attempt_count_year": 11,
    "pad_launch_attempt_count_year": 11,
    "agency_launch_attempt_count_year": 32,
    "pad_turnaround": "P28DT3H56M29S",
    "mission_patches": [
        {
            "id": 596,
            "name": "IXPE Mission Patch",
            "priority": 10,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/mission_patch_images/ixpe2520missio_mission_patch_20211204165306.png",
            "agency": {
                "id": 44,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                "name": "National Aeronautics and Space Administration",
                "type": "Government"
            }
        }
    ],
    "type": "detailed"
}