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

{
    "count": 590,
    "next": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=580&ordering=-time_docked",
    "previous": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=560&ordering=-time_docked",
    "results": [
        {
            "id": 481,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/481/?format=api",
            "name": "Apollo CSM-002",
            "serial_number": "CSM-002",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT6M50S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Apollo CSM used for the A-004 suborbital test flight.",
            "spacecraft_config": {
                "id": 10,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/10/?format=api",
                "name": "Apollo Command/Service Module",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 999,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/999/?format=api",
                    "name": "North American Aviation",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg"
            }
        },
        {
            "id": 611,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/611/?format=api",
            "name": "Tianzhou-9",
            "serial_number": "9",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Ninth operational Tianzhou spacecraft.",
            "spacecraft_config": {
                "id": 25,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/25/?format=api",
                "name": "Tianzhou",
                "type": {
                    "id": 4,
                    "name": "Cargo Resupply"
                },
                "agency": {
                    "id": 88,
                    "url": "https://ll.thespacedevs.com/2.2.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"
            }
        },
        {
            "id": 9,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/9/?format=api",
            "name": "Mercury No.2",
            "serial_number": "2",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT15M",
            "time_docked": "P0D",
            "flights_count": 2,
            "mission_ends_count": 2,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Mercury No.2 is the Mercury capsule used for the Mercury-Redsone 1 mission which failed on launch.",
            "spacecraft_config": {
                "id": 11,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                "name": "Mercury",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "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/mercury_image_20190207032519.jpeg"
            }
        },
        {
            "id": 25,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/25/?format=api",
            "name": "Apollo CSM-101",
            "serial_number": "CSM-101",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P10DT20H8M15S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "CSM-101 was an Apollo Command & Service Module used in the Apollo 7 mission.",
            "spacecraft_config": {
                "id": 10,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/10/?format=api",
                "name": "Apollo Command/Service Module",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 999,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/999/?format=api",
                    "name": "North American Aviation",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg"
            }
        },
        {
            "id": 609,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/609/?format=api",
            "name": "Shenzhou 20",
            "serial_number": "20",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Spacecraft used to launch 3 astronauts on the 9th crewed mission to the Chinese Space Station.",
            "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"
            }
        },
        {
            "id": 606,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/606/?format=api",
            "name": "Ship 34",
            "serial_number": "S34",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT13M",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "Ship 34 (S34) is the 2nd stage vehicle used for the eighth Starship flight test. It is the second \"Block 2\" Starship spacecraft with lengthened propellant tanks and forward flaps with a new design, among other enhancements.",
            "spacecraft_config": {
                "id": 26,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/26/?format=api",
                "name": "Starship",
                "type": {
                    "id": 6,
                    "name": "Reuseable Upper Stage"
                },
                "agency": {
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/starship_image_20231116184708.jpeg"
            }
        },
        {
            "id": 603,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/603/?format=api",
            "name": "Space Rider",
            "serial_number": null,
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 5,
                "name": "Under construction"
            },
            "description": "European reusable spaceplane",
            "spacecraft_config": {
                "id": 44,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/44/?format=api",
                "name": "Space Rider",
                "type": {
                    "id": 3,
                    "name": "Spaceplane"
                },
                "agency": {
                    "id": 27,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/?format=api",
                    "name": "European Space Agency",
                    "type": "Multinational"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/space_rider_in__image_20241109112332.png"
            }
        },
        {
            "id": 599,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/599/?format=api",
            "name": "RSS Kármán line",
            "serial_number": null,
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT20M21S",
            "time_docked": "P0D",
            "flights_count": 2,
            "mission_ends_count": 2,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Second human rated Crew Capsule for New Shepard.",
            "spacecraft_config": {
                "id": 21,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/21/?format=api",
                "name": "Crew Capsule 2.0",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 141,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/141/?format=api",
                    "name": "Blue Origin",
                    "type": "Commercial"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crew2520capsule25202.0_image_20190309095011.jpeg"
            }
        },
        {
            "id": 2,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/2/?format=api",
            "name": "Mercury No.7",
            "serial_number": "7",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT15M22S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Mercury No.7 is the Mercury capsule used for the Mercury-Redstone 3 - callsign \"Freedom 7\" - mission launched on May 5, 1961 and piloted by astronaut Alan Shepard.",
            "spacecraft_config": {
                "id": 11,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                "name": "Mercury",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "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/mercury_image_20190207032519.jpeg"
            }
        },
        {
            "id": 6,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/6/?format=api",
            "name": "Mercury No.16",
            "serial_number": "16",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT9H12M48S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Mercury No.16 is the Mercury capsule used for the Mercury-Atlas 8 - callsign \"Sigma 7\" - mission launched on October 3, 1962 and piloted by astronaut Walter M. Schirra Jr.",
            "spacecraft_config": {
                "id": 11,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                "name": "Mercury",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "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/mercury_image_20190207032519.jpeg"
            }
        }
    ]
}