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

{
    "id": 425,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/425/?format=api",
    "name": "Shenzhou 8",
    "serial_number": "8",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P16DT13H33M50S",
    "time_docked": "P13DT4H55M",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "The Shenzhou 8 spacecraft was automatically docked with the Tiangong-1 space module (launched on 29 September 2011) on November 3 and again on November 14, 2011. This unmanned docking—China's first—was followed in 2012 with the manned Shenzhou 9 mission, which performed a manned docking (also China's first) with the Tiangong-1 module.",
    "spacecraft_config": {
        "id": 2,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/2/?format=api",
        "name": "Shenzhou",
        "type": {
            "id": 2,
            "name": "Capsule"
        },
        "agency": {
            "id": 17,
            "url": "https://ll.thespacedevs.com/2.2.0/agencies/17/?format=api",
            "name": "China National Space Administration",
            "featured": true,
            "type": "Government",
            "country_code": "CHN",
            "abbrev": "CNSA",
            "description": "The China National Space Administration (CNSA) is the national space agency of the People's Republic of China. It is responsible for the national space program and for planning and development of space activities. CNSA and China Aerospace Corporation (CASC) assumed the authority over space development efforts previously held by the Ministry of Aerospace Industry. The CNSA has many launch sites around China with their orbital sites located in Jiuquan, Xichang, Taiyuan and Wenchang.",
            "administrator": "Administrator: Tang Dengjie",
            "founding_year": "1993",
            "launchers": "",
            "spacecraft": "Shenzhou",
            "parent": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/china2520national2520space2520administration_image_20190207032431.jpeg",
            "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/china2520national2520space2520administration_logo_20190207032431.png"
        },
        "in_use": true,
        "capability": "Chinese crewed spaceflight program.",
        "history": "Shenzhou is a spacecraft used to support the Chinese manned spaceflight program and to carry crew to the Tiangong Space Station. Its design resembles the Russian Soyuz spacecraft, but it is larger in size and all-new in construction. The first launch was on November 19, 1999 and the first manned launch was on October 15, 2003.",
        "details": "The Shenzhou spacecraft resembles the Soyuz, although it is longer, with a larger habitable volume. It features a powered service module like the Soyuz, and prior to Shenzhou 8 its orbital module was capable of autonomous flight. \r\n\r\nThe aft service module contains life support and other equipment required for the functioning of Shenzhou.",
        "maiden_flight": "1999-11-19",
        "height": 9.25,
        "diameter": 2.8,
        "human_rated": true,
        "crew_capacity": 3,
        "payload_capacity": null,
        "payload_return_capacity": null,
        "flight_life": "200 day design life.",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/shenzhou_image_20190207032522.jpeg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Shenzhou_(spacecraft)",
        "info_link": ""
    },
    "flights": [
        {
            "id": 444,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/444/?format=api",
            "destination": "Tiangong-1",
            "mission_end": "2011-11-17T11:32:00Z",
            "spacecraft": {
                "id": 425,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/425/?format=api",
                "name": "Shenzhou 8",
                "serial_number": "8",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P16DT13H33M50S",
                "time_docked": "P13DT4H55M",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "The Shenzhou 8 spacecraft was automatically docked with the Tiangong-1 space module (launched on 29 September 2011) on November 3 and again on November 14, 2011. This unmanned docking—China's first—was followed in 2012 with the manned Shenzhou 9 mission, which performed a manned docking (also China's first) with the Tiangong-1 module.",
                "spacecraft_config": {
                    "id": 2,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/2/?format=api",
                    "name": "Shenzhou",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 17,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/17/?format=api",
                        "name": "China National Space Administration",
                        "type": "Government"
                    },
                    "in_use": true,
                    "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/shenzhou_image_20190207032522.jpeg"
                }
            },
            "launch": {
                "id": "c3ff13bc-3379-4012-b9db-a3ffff06400f",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/c3ff13bc-3379-4012-b9db-a3ffff06400f/?format=api",
                "slug": "long-march-2fg-shenzhou-8-shenzhou-8-gc",
                "name": "Long March 2F/G | Shenzhou-8 & Shenzhou-8-GC",
                "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-10-25T11:10:47Z",
                "net": "2011-10-31T21:58:10Z",
                "window_end": "2011-10-31T21:58:10Z",
                "window_start": "2011-10-31T21:58:10Z",
                "net_precision": null,
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 88,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/88/?format=api",
                    "name": "China Aerospace Science and Technology Corporation",
                    "type": "Government"
                },
                "rocket": {
                    "id": 1573,
                    "configuration": {
                        "id": 84,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/84/?format=api",
                        "name": "Long March 2",
                        "family": "Long March",
                        "full_name": "Long March 2F/G",
                        "variant": "F/G"
                    }
                },
                "mission": {
                    "id": 6604,
                    "name": "Shenzhou-8 & Shenzhou-8-GC",
                    "description": "This is the first docking mission for China's Shenzhou program. Being the first spacecraft to visit the Tiangong-1 space station, it was launched without crew to demonstrate spacecraft rendezvous and docking techniques. The spacecraft docked automatically to the station on 2 November 2011. A second undocking and re-docking to test accuracy and reliability of equipment and sensors in a bright environment was performed on 14 November 2011. Shenzhou 8 undocked on 17 November 2011 and landed safely back on Earth the same day.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 37,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/37/?format=api",
                    "agency_id": null,
                    "name": "Launch Area 4 (SLS-1 / 921)",
                    "description": "",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Jiuquan_Launch_Area_4",
                    "map_url": "https://www.google.com/maps?q=40.957893,100.290944",
                    "latitude": "40.957893",
                    "longitude": "100.290944",
                    "location": {
                        "id": 17,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/17/?format=api",
                        "name": "Jiuquan Satellite Launch Center, People's Republic of China",
                        "country_code": "CHN",
                        "description": "Jiuquan Satellite Launch Center is a Chinese spaceport located between the Ejin, Alxa, Inner Mongolia and Hangtian Town, Jinta County, Jiuquan, Gansu Province. It is part of the Dongfeng Aerospace City (Base 10).",
                        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
                        "timezone_name": "Asia/Shanghai",
                        "total_launch_count": 247,
                        "total_landing_count": 0
                    },
                    "country_code": "CHN",
                    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_37_20200803143603.jpg",
                    "total_launch_count": 24,
                    "orbital_launch_attempt_count": 24
                },
                "webcast_live": false,
                "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/long_march_2_image_20210908195835.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 7,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/7/?format=api",
                        "name": "Shenzhou",
                        "description": "The Shenzhou program is a crewed spaceflight initiative by China. The program put the first Chinese citizen, Yang Liwei, into orbit on 15 October 2003.",
                        "agencies": [
                            {
                                "id": 17,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/17/?format=api",
                                "name": "China National Space Administration",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/shenzhou_program_20200820204745.PNG",
                        "start_date": "1993-01-01T00:00:00Z",
                        "end_date": null,
                        "info_url": null,
                        "wiki_url": "https://en.wikipedia.org/wiki/Shenzhou_program",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 5172,
                "location_launch_attempt_count": 56,
                "pad_launch_attempt_count": 9,
                "agency_launch_attempt_count": 95,
                "orbital_launch_attempt_count_year": 66,
                "location_launch_attempt_count_year": 5,
                "pad_launch_attempt_count_year": 2,
                "agency_launch_attempt_count_year": 13,
                "type": "normal"
            },
            "landing": {
                "id": 715,
                "attempt": true,
                "success": true,
                "description": "The Shenzhou 8 spacecraft landed in the Dorbnod Banner in Inner Mongolia, China.",
                "downrange_distance": null,
                "location": {
                    "id": 21,
                    "name": "Dorbod Banner",
                    "abbrev": "DB",
                    "description": "Dorbod Banner in Ulanqab, Inner Mongolia, China, bordering Mongolia's Dornogovi Province to the northwest.",
                    "location": null,
                    "successful_landings": 10
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PCL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ]
}