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=-flights_count
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=-flights_count",
    "results": [
        {
            "id": 540,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/540/?format=api",
            "name": "Orion 003",
            "serial_number": "003",
            "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": "Orion spacecraft used for Artemis 2.",
            "spacecraft_config": {
                "id": 4,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/4/?format=api",
                "name": "Orion",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 44,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/orion_image_20231118102035.jpeg"
            }
        },
        {
            "id": 470,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/470/?format=api",
            "name": "Ship 20",
            "serial_number": "S20",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "Used for ground testing alongside Booster 4. Ship 20 is now on display at the Starbase Rocket Garden.",
            "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": 223,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/223/?format=api",
            "name": "DragonFly",
            "serial_number": "C201",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "The DragonFly vehicle was a mockup of the Dragon 2 vehicle used in the pad abort test.",
            "spacecraft_config": {
                "id": 6,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/6/?format=api",
                "name": "Crew Dragon 2",
                "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": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/spacex_dm-2_cre_image_20200504065311.jpeg"
            }
        },
        {
            "id": 612,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/612/?format=api",
            "name": "Soyuz MS-28",
            "serial_number": "11F732 #759",
            "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": "Soyuz capsule for the MS-28 mission to the ISS.",
            "spacecraft_config": {
                "id": 38,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/38/?format=api",
                "name": "Soyuz MS",
                "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": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_ms_in_orb_image_20240313130407.jpeg"
            }
        },
        {
            "id": 618,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/618/?format=api",
            "name": "Ship 37",
            "serial_number": "S37",
            "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": "Ship 37 (S37) is the 2nd stage vehicle that was planned to be used for the 10th Starship flight test. It is the 5th \"Block 2\" Starship spacecraft with lengthened propellant tanks and forward flaps with a new design, among other enhancements.",
            "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": 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"
            }
        }
    ]
}