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/585/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 585,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/585/?format=api",
    "name": "LM Spider",
    "serial_number": "LM-3",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P4DT5H22M45S",
    "time_docked": "P3DT19H57M56S",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 3,
        "name": "Destroyed"
    },
    "description": "Flown on Apollo 9.",
    "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": 836,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/836/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1969-03-07T21:22:45Z",
            "spacecraft": {
                "id": 585,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/585/?format=api",
                "name": "LM Spider",
                "serial_number": "LM-3",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P4DT5H22M45S",
                "time_docked": "P3DT19H57M56S",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 3,
                    "name": "Destroyed"
                },
                "description": "Flown on Apollo 9.",
                "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": "144c083a-8aa3-49df-be2d-9445305dedea",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/144c083a-8aa3-49df-be2d-9445305dedea/?format=api",
                "slug": "saturn-v-apollo-9",
                "name": "Saturn V | Apollo 9",
                "status": {
                    "id": 3,
                    "name": "Launch Successful",
                    "abbrev": "Success",
                    "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
                },
                "last_updated": "2023-06-14T08:37:15Z",
                "net": "1969-03-03T16:00:00Z",
                "window_end": "1969-03-03T16:00:00Z",
                "window_start": "1969-03-03T16:00:00Z",
                "net_precision": null,
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": null,
                "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": 220,
                    "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": 141,
                    "name": "Apollo 9",
                    "description": "Apollo 9 was commanded by James McDivitt, Command Module Pilot Dave Scott and Lunar Module Pilot Rusty Schweickart. The mission tested the LM engines, backpack life support systems, navigation systems, and docking maneuvers.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "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": "",
                    "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": "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_87_20200803143537.jpg",
                    "total_launch_count": 203,
                    "orbital_launch_attempt_count": 202
                },
                "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": 942,
                "location_launch_attempt_count": 4,
                "pad_launch_attempt_count": 4,
                "agency_launch_attempt_count": 98,
                "orbital_launch_attempt_count_year": 23,
                "location_launch_attempt_count_year": 1,
                "pad_launch_attempt_count_year": 1,
                "agency_launch_attempt_count_year": 1,
                "type": "normal"
            },
            "landing": {
                "id": 1360,
                "attempt": false,
                "success": null,
                "description": "The ascent stage of LM-3 Spider (1969-018C) reentered on October 23, 1981. The descent stage of LM-3 Spider (1969-018D) reentered on March 22, 1969, landing in the Indian Ocean near North Africa.",
                "downrange_distance": null,
                "location": null,
                "type": {
                    "id": 7,
                    "name": "Destructive Reentry",
                    "abbrev": "ATM",
                    "description": "Spacecraft burned up in the atmosphere"
                }
            }
        }
    ]
}