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' Example - /2.0.0/spacecraft/?status=Active

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

ORDERING: Fields - 'id' Example - /2.0.0/spacecraft/?order=id

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

{
    "id": 461,
    "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/461/?format=api",
    "name": "Tianzhou-1",
    "serial_number": "1",
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "First operational Tianzhou spacecraft. Launched to the Tiangong-2 space station.",
    "spacecraft_config": {
        "id": 25,
        "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/25/?format=api",
        "name": "Tianzhou",
        "type": {
            "id": 4,
            "name": "Cargo Resupply"
        },
        "agency": {
            "id": 88,
            "url": "https://ll.thespacedevs.com/2.0.0/agencies/88/?format=api",
            "name": "China Aerospace Science and Technology Corporation",
            "featured": true,
            "type": "Government",
            "country_code": "CHN",
            "abbrev": "CASC",
            "description": "The China Aerospace Science and Technology Corporation (CASC) is the main contractor for the Chinese space program. It is state-owned and has a number of subordinate entities which design, develop and manufacture a range of spacecraft, launch vehicles, strategic and tactical missile systems, and ground equipment. It was officially established in July 1999 as part of a Chinese government reform drive, having previously been one part of the former China Aerospace Corporation. Various incarnations of the program date back to 1956.",
            "administrator": "Chairman & President: Lei Fanpei",
            "founding_year": "1999",
            "launchers": "Long March",
            "spacecraft": "",
            "parent": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_image_20191228094408.jpeg"
        },
        "in_use": true,
        "capability": "Cargo Earth Orbit Logistics",
        "history": "The Tianzhou is a Chinese automated cargo spacecraft that was first launched on April 20, 2017 to resupply Tiangong-1. It demonstrated autonomous propellant transfer in orbit.",
        "details": "Autonomous cargo spacecraft used to resupply the Chinese Space Station.",
        "maiden_flight": "2017-04-20",
        "height": 9.0,
        "diameter": 3.35,
        "human_rated": false,
        "crew_capacity": null,
        "payload_capacity": 6700,
        "flight_life": "180 days in orbit",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tianzhou_image_20210513100807.jpg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Tianzhou_(spacecraft)",
        "info_link": ""
    },
    "flights": [
        {
            "id": 599,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/599/?format=api",
            "destination": "Tiangong-2",
            "mission_end": "2017-09-22T10:00:00Z",
            "spacecraft": {
                "id": 461,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/461/?format=api",
                "name": "Tianzhou-1",
                "serial_number": "1",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "First operational Tianzhou spacecraft. Launched to the Tiangong-2 space station.",
                "spacecraft_config": {
                    "id": 25,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/25/?format=api",
                    "name": "Tianzhou",
                    "type": {
                        "id": 4,
                        "name": "Cargo Resupply"
                    },
                    "agency": {
                        "id": 88,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/88/?format=api",
                        "name": "China Aerospace Science and Technology Corporation",
                        "type": "Government"
                    },
                    "in_use": true,
                    "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tianzhou_image_20210513100807.jpg"
                }
            },
            "launch": {
                "id": "974b8306-fe0c-42a8-b415-73a7acc50b17",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/974b8306-fe0c-42a8-b415-73a7acc50b17/?format=api",
                "launch_library_id": 861,
                "slug": "long-march-7-tianzhou-1",
                "name": "Long March 7 | Tianzhou-1",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "2017-04-20T11:41:35Z",
                "window_end": "2017-04-20T11:41:35Z",
                "window_start": "2017-04-20T11:41:35Z",
                "inhold": false,
                "tbdtime": false,
                "tbddate": false,
                "probability": -1,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 88,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/88/?format=api",
                    "name": "China Aerospace Science and Technology Corporation",
                    "type": "Government"
                },
                "rocket": {
                    "id": 1997,
                    "configuration": {
                        "id": 100,
                        "launch_library_id": 130,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/100/?format=api",
                        "name": "Long March 7",
                        "family": "Long March",
                        "full_name": "Long March 7",
                        "variant": ""
                    }
                },
                "mission": {
                    "id": 354,
                    "launch_library_id": 456,
                    "name": "Tianzhou-1",
                    "description": "Tianzhou 1 is the first Chinese uncrewed cargo spacecraft to service the Tiangong 2 and follow on space stations.",
                    "launch_designator": null,
                    "type": "Resupply",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    }
                },
                "pad": {
                    "id": 176,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/176/?format=api",
                    "agency_id": null,
                    "name": "201",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Spacecraft_Launch_Site",
                    "map_url": "https://www.google.com/maps?q=19.618452,110.955356",
                    "latitude": "19.618452",
                    "longitude": "110.955356",
                    "location": {
                        "id": 8,
                        "url": "https://ll.thespacedevs.com/2.0.0/location/8/?format=api",
                        "name": "Wenchang Space Launch Site, People's Republic of China",
                        "country_code": "CHN",
                        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_8_20200803142445.jpg",
                        "total_launch_count": 38,
                        "total_landing_count": 0
                    },
                    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_176_20200803143412.jpg",
                    "total_launch_count": 22
                },
                "webcast_live": false,
                "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/long_march_7_image_20210513083007.jpeg",
                "infographic": null,
                "program": []
            }
        }
    ]
}