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/e12037ec-1b69-476f-9280-c9dd0991cf99/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "e12037ec-1b69-476f-9280-c9dd0991cf99",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/e12037ec-1b69-476f-9280-c9dd0991cf99/?format=api",
    "launch_library_id": null,
    "slug": "saturn-ib-apollo-as-203",
    "name": "Saturn IB | Apollo AS-203",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1966-07-05T14:53:17Z",
    "window_end": "1966-07-05T14:53:17Z",
    "window_start": "1966-07-05T14:53:17Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "featured": true,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "NASA",
        "description": "The National Aeronautics and Space Administration is an independent agency of the executive branch of the United States federal government responsible for the civilian space program, as well as aeronautics and aerospace research. NASA have many launch facilities but most are inactive. The most commonly used pad will be LC-39B at Kennedy Space Center in Florida.",
        "administrator": "Acting Administrator:  James Free",
        "founding_year": "1958",
        "launchers": "Space Shuttle | SLS",
        "spacecraft": "Orion",
        "launch_library_url": null,
        "total_launch_count": 141,
        "consecutive_successful_launches": 11,
        "successful_launches": 121,
        "failed_launches": 20,
        "pending_launches": 6,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.nasa.gov",
        "wiki_url": "http://en.wikipedia.org/wiki/National_Aeronautics_and_Space_Administration",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_nation_20230803040809.jpg"
    },
    "rocket": {
        "id": 3545,
        "configuration": {
            "id": 163,
            "launch_library_id": 135,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/163/?format=api",
            "name": "Saturn IB",
            "description": "The Saturn IB (pronounced \"one B\", also known as the Uprated Saturn I) was an American launch vehicle commissioned by the National Aeronautics and Space Administration (NASA) for the Apollo program. It replaced the S-IV second stage of the Saturn I with the much more powerful S-IVB, able to launch a partially fueled Apollo Command/Service Module (CSM) or a fully fueled Lunar Module (LM) into low Earth orbit for early flight tests before the larger Saturn V needed for lunar flight was ready.",
            "family": "Saturn",
            "full_name": "Saturn IB",
            "manufacturer": {
                "id": 44,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                "name": "National Aeronautics and Space Administration",
                "featured": true,
                "type": "Government",
                "country_code": "USA",
                "abbrev": "NASA",
                "description": "The National Aeronautics and Space Administration is an independent agency of the executive branch of the United States federal government responsible for the civilian space program, as well as aeronautics and aerospace research. NASA have many launch facilities but most are inactive. The most commonly used pad will be LC-39B at Kennedy Space Center in Florida.",
                "administrator": "Acting Administrator:  James Free",
                "founding_year": "1958",
                "launchers": "Space Shuttle | SLS",
                "spacecraft": "Orion",
                "launch_library_url": null,
                "total_launch_count": 141,
                "consecutive_successful_launches": 11,
                "successful_launches": 121,
                "failed_launches": 20,
                "pending_launches": 6,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.nasa.gov",
                "wiki_url": "http://en.wikipedia.org/wiki/National_Aeronautics_and_Space_Administration",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_nation_20230803040809.jpg"
            },
            "program": [
                {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/4/?format=api",
                    "name": "Apollo",
                    "description": "The Apollo program was the third United States human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which succeeded in landing the first humans on the Moon from 1969 to 1972.",
                    "agencies": [
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        }
                    ],
                    "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/apollo_program_20200820200202.png",
                    "start_date": "1966-11-16T00:00:00Z",
                    "end_date": "1972-12-19T19:24:59Z",
                    "info_url": "https://www.nasa.gov/mission_pages/apollo/index.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Apollo_program"
                }
            ],
            "variant": "IB",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 43.2,
            "diameter": 6.61,
            "maiden_flight": "1966-02-26",
            "launch_mass": 590,
            "leo_capacity": 21000,
            "gto_capacity": null,
            "to_thrust": 7100,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/saturn2520ib_image_20190222030046.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Saturn_IB",
            "total_launch_count": 10,
            "consecutive_successful_launches": 6,
            "successful_launches": 9,
            "failed_launches": 1,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1965,
        "launch_library_id": null,
        "name": "Apollo AS-203",
        "description": "The purpose of Apollo 203 was to check out the behaviour of the fuel inside the Saturn-4B stage in weightlessness, which was crucial to allow the reignition of the stage.",
        "launch_designator": null,
        "type": "Test Flight",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 38,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/38/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 37B",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_37",
        "map_url": "https://www.google.com/maps?q=28.5317,-80.56495",
        "latitude": "28.5317",
        "longitude": "-80.56495",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.0.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "total_launch_count": 1023,
            "total_landing_count": 64
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_38_20200803143515.jpg",
        "total_launch_count": 40
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/saturn2520ib_image_20190222030046.jpeg",
    "infographic": null,
    "program": [
        {
            "id": 4,
            "url": "https://ll.thespacedevs.com/2.0.0/program/4/?format=api",
            "name": "Apollo",
            "description": "The Apollo program was the third United States human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which succeeded in landing the first humans on the Moon from 1969 to 1972.",
            "agencies": [
                {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                }
            ],
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/apollo_program_20200820200202.png",
            "start_date": "1966-11-16T00:00:00Z",
            "end_date": "1972-12-19T19:24:59Z",
            "info_url": "https://www.nasa.gov/mission_pages/apollo/index.html",
            "wiki_url": "https://en.wikipedia.org/wiki/Apollo_program"
        }
    ],
    "orbital_launch_attempt_count": 583,
    "location_launch_attempt_count": 175,
    "pad_launch_attempt_count": 7,
    "agency_launch_attempt_count": 81,
    "orbital_launch_attempt_count_year": 66,
    "location_launch_attempt_count_year": 16,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 7
}