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

{
    "count": 596,
    "next": null,
    "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=580&ordering=-time_docked",
    "results": [
        {
            "id": 594,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/594/?format=api",
            "name": "Ship 30",
            "serial_number": "S30",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT3H6M",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "Ship 30 (S30) is the 2nd stage vehicle used for the fifth Starship integrated flight test. Lost to the ocean after a successful soft splashdown.",
            "spacecraft_config": {
                "id": 26,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/26/?format=api",
                "name": "Starship",
                "type": {
                    "id": 6,
                    "name": "Reuseable Upper Stage"
                },
                "agency": {
                    "id": 121,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/starship_image_20231116184708.jpeg"
            }
        },
        {
            "id": 560,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/560/?format=api",
            "name": "Chinese reusable experimental spacecraft",
            "serial_number": null,
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P544DT13H48M",
            "time_docked": "P0D",
            "flights_count": 3,
            "mission_ends_count": 3,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "First Chinese reusable spacecraft",
            "spacecraft_config": {
                "id": 31,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/31/?format=api",
                "name": "Chinese reusable spacecraft",
                "type": {
                    "id": 3,
                    "name": "Spaceplane"
                },
                "agency": {
                    "id": 88,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/88/?format=api",
                    "name": "China Aerospace Science and Technology Corporation",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": null
            }
        },
        {
            "id": 549,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/549/?format=api",
            "name": "Gaganyaan H1",
            "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": 4,
                "name": "Single Use"
            },
            "description": "Fourth operational Gaganyaan capsule. First one to carry crew.",
            "spacecraft_config": {
                "id": 29,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/29/?format=api",
                "name": "Gaganyaan",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 1031,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/1031/?format=api",
                    "name": "Hindustan Aeronautics Limited",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
            }
        },
        {
            "id": 185,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/185/?format=api",
            "name": "Soyuz 22",
            "serial_number": "Soyuz 7K-TM 11F615A12 #74",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P7DT21H52M17S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Soyuz 22 was a Soyuz spacecraft which launched on 15 September 1976 09:48 UTC. It  launched two cosmonauts to orbit around the Earth for Earth-Sciences. The crew was Valery Bykovsky and Vladimir Aksyonov.",
            "spacecraft_config": {
                "id": 1,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/1/?format=api",
                "name": "Soyuz",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 63,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 218,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/218/?format=api",
            "name": "Dragon C109",
            "serial_number": "C109",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT1M49S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "This vehicle was intended to deliver the first of two International Docking Adapters to modify the ISS adapters so that they could be used for future commercial crew missions. However the capsule was destroyed when the Falcon 9 launch vehicle failed in flight.",
            "spacecraft_config": {
                "id": 3,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/3/?format=api",
                "name": "Dragon 1",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 121,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/crs-172520dragon2520berthing_image_20190318203226.jpeg"
            }
        },
        {
            "id": 573,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/573/?format=api",
            "name": "Gaganyaan TV-D1",
            "serial_number": null,
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT9M",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Capsule used during the inflight abort test.",
            "spacecraft_config": {
                "id": 29,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/29/?format=api",
                "name": "Gaganyaan",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 1031,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/1031/?format=api",
                    "name": "Hindustan Aeronautics Limited",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
            }
        }
    ]
}