API endpoint that allows Spacecrafts to be viewed. A Spacecraft is a physically manufactured instance of a Spacecraft Configuration

GET: Return a list of all the existing spacecraft.

FILTERS: Parameters - 'name', 'status', 'spacecraft_config', 'is_placeholder', 'in_space' Example - /2.2.0/spacecraft/?in_space=true

SEARCH EXAMPLE: Example - /2.2.0/spacecraft/?search=Dragon

ORDERING: Fields - 'id', 'time_in_space', 'time_docked', 'flights_count', 'mission_ends_count' Example - /2.2.0/spacecraft/?ordering=id

GET /2.2.0/spacecraft/586/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 586,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/586/?format=api",
    "name": "LM Snoopy",
    "serial_number": "LM-4",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P4DT12H24M36S",
    "time_docked": "P4DT56M55S",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "description": "Flown on Apollo 10.\r\n\r\nDescent stage may have hit the Moon, ascent stage in heliocentric orbit. Snoopy is the only flown LM ascent stage known to have survived intact (possibly asteroid 2018 AV2).",
    "spacecraft_config": {
        "id": 43,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/43/?format=api",
        "name": "Apollo Lunar Module",
        "type": {
            "id": 7,
            "name": "Lander"
        },
        "agency": {
            "id": 44,
            "url": "https://ll.thespacedevs.com/2.2.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",
            "parent": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
            "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png"
        },
        "in_use": false,
        "capability": "Landing on the Moon, Rendezvous in lunar orbit",
        "history": "First flown in 1969, the LM achieved its historic moment on July 20th, 1969, when the \"Eagle\" landed on the Moon, carrying the first humans to walk on its surface.",
        "details": "The Apollo Lunar Module was the lunar lander spacecraft that was flown between lunar orbit and the Moon's surface during the United States' Apollo program. It was the first crewed spacecraft to operate exclusively in the airless vacuum of space, and was the first crewed vehicle to land anywhere beyond Earth.",
        "maiden_flight": "1968-01-22",
        "height": 7.04,
        "diameter": 4.22,
        "human_rated": true,
        "crew_capacity": 2,
        "payload_capacity": null,
        "payload_return_capacity": null,
        "flight_life": "",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/lunar_module_on_image_20240505074251.jpeg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Apollo_Lunar_Module",
        "info_link": ""
    },
    "flights": [
        {
            "id": 841,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/841/?format=api",
            "destination": "Descent Moon Orbit",
            "mission_end": "1969-05-23T05:13:36Z",
            "spacecraft": {
                "id": 586,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/586/?format=api",
                "name": "LM Snoopy",
                "serial_number": "LM-4",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P4DT12H24M36S",
                "time_docked": "P4DT56M55S",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 2,
                    "name": "Retired"
                },
                "description": "Flown on Apollo 10.\r\n\r\nDescent stage may have hit the Moon, ascent stage in heliocentric orbit. Snoopy is the only flown LM ascent stage known to have survived intact (possibly asteroid 2018 AV2).",
                "spacecraft_config": {
                    "id": 43,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/43/?format=api",
                    "name": "Apollo Lunar Module",
                    "type": {
                        "id": 7,
                        "name": "Lander"
                    },
                    "agency": {
                        "id": 44,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                        "name": "National Aeronautics and Space Administration",
                        "type": "Government"
                    },
                    "in_use": false,
                    "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/lunar_module_on_image_20240505074251.jpeg"
                }
            },
            "launch": {
                "id": "4dd2a587-45a3-4f54-ba79-53732433671a",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/4dd2a587-45a3-4f54-ba79-53732433671a/?format=api",
                "slug": "saturn-v-apollo-10",
                "name": "Saturn V | Apollo 10",
                "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-05-18T14:03:54Z",
                "net": "1969-05-18T16:49:00Z",
                "window_end": "1969-05-18T16:49:00Z",
                "window_start": "1969-05-18T16:49:00Z",
                "net_precision": null,
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                },
                "rocket": {
                    "id": 221,
                    "configuration": {
                        "id": 93,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/93/?format=api",
                        "name": "Saturn V",
                        "family": "Saturn",
                        "full_name": "Saturn V",
                        "variant": "V"
                    }
                },
                "mission": {
                    "id": 146,
                    "name": "Apollo 10",
                    "description": "Apollo 10 was Command by Thomas P. Stafford, Command Module Pilot John W. Young, and Lunar Module Pilot Eugene A. Cernan. This mission was a F Mission which means a dress rehearsal for the upcoming Apollo 11 Mission that would be the first crewed mission to land on the moon.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 11,
                        "name": "Lunar Orbit",
                        "abbrev": "LO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/4/?format=api",
                    "agency_id": 44,
                    "name": "Launch Complex 39B",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39B",
                    "map_url": "https://www.google.com/maps?q=28.62711233,-80.62101503",
                    "latitude": "28.62711233",
                    "longitude": "-80.62101503",
                    "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": "The John F. Kennedy Space Center, located on Merritt Island, Florida, is one of NASA's ten field centers. Since 1968, KSC has been NASA's primary launch center of American spaceflight, research, and technology. Launch operations for the Apollo, Skylab and Space Shuttle programs were carried out from Kennedy Space Center Launch Complex 39 and managed by KSC. Located on the east coast of Florida, KSC is adjacent to Cape Canaveral Space Force Station (CCSFS).",
                        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
                        "timezone_name": "America/New_York",
                        "total_launch_count": 261,
                        "total_landing_count": 0
                    },
                    "country_code": "USA",
                    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_4_20200803143518.jpg",
                    "total_launch_count": 58,
                    "orbital_launch_attempt_count": 57
                },
                "webcast_live": false,
                "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/saturn2520v_image_20190222030036.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 4,
                        "url": "https://ll.thespacedevs.com/2.2.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.2.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",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 969,
                "location_launch_attempt_count": 5,
                "pad_launch_attempt_count": 1,
                "agency_launch_attempt_count": 99,
                "orbital_launch_attempt_count_year": 50,
                "location_launch_attempt_count_year": 2,
                "pad_launch_attempt_count_year": 1,
                "agency_launch_attempt_count_year": 2,
                "type": "normal"
            },
            "landing": {
                "id": 1390,
                "attempt": false,
                "success": null,
                "description": "",
                "downrange_distance": null,
                "location": null,
                "type": {
                    "id": 7,
                    "name": "Destructive Reentry",
                    "abbrev": "ATM",
                    "description": "Spacecraft burned up in the atmosphere"
                }
            }
        }
    ]
}