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

{
    "count": 603,
    "next": null,
    "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=590&ordering=id",
    "results": [
        {
            "id": 624,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/624/?format=api",
            "name": "Shenzhou 22",
            "serial_number": "22",
            "is_placeholder": false,
            "in_space": true,
            "time_in_space": "P130DT23H57M53S",
            "time_docked": "P130DT20H19M38S",
            "flights_count": 1,
            "mission_ends_count": 0,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Spacecraft to be launched without crew to replace Shenzhou 20 that was damaged by orbital debris on the descent module porthole window, and thus deemed unsuitable for crew re-entry. The spacecraft will later return three Chinese astronauts on the 10th flight to the Chinese Space Station back to Earth, after launching on Shenzhou 21.",
            "spacecraft_config": {
                "id": 2,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/2/?format=api",
                "name": "Shenzhou",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 17,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/17/?format=api",
                    "name": "China National Space Administration",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/shenzhou_image_20190207032522.jpeg"
            }
        },
        {
            "id": 625,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/625/?format=api",
            "name": "Progress MS-33",
            "serial_number": "MS-33 (No.463)",
            "is_placeholder": false,
            "in_space": true,
            "time_in_space": "P13DT16H9M48S",
            "time_docked": "P11DT14H28M55S",
            "flights_count": 1,
            "mission_ends_count": 0,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Progress MS-33 is a Progress spacecraft used by Roscosmos to resupply the International Space Station (ISS).",
            "spacecraft_config": {
                "id": 33,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/33/?format=api",
                "name": "Progress-MS",
                "type": {
                    "id": 4,
                    "name": "Cargo Resupply"
                },
                "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": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/progress-ms_image_20231219150735.jpeg"
            }
        },
        {
            "id": 626,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/626/?format=api",
            "name": "Cygnus CRS NG-24 (S.S. Steven R. Nagel)",
            "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": "This is the twenty-third flight to the ISS by the Cygnus spacecraft under the CRS program and their 12th under the CRS-2 program. This is also the 19th use of the enhanced size Cygnus.",
            "spacecraft_config": {
                "id": 19,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/19/?format=api",
                "name": "Cygnus Enhanced",
                "type": {
                    "id": 4,
                    "name": "Cargo Resupply"
                },
                "agency": {
                    "id": 257,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/257/?format=api",
                    "name": "Northrop Grumman Space Systems",
                    "type": "Commercial"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/cygnus2520enhanced_image_20190207032513.jpeg"
            }
        }
    ]
}