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

{
    "count": 593,
    "next": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=100&ordering=time_docked",
    "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=80&ordering=time_docked",
    "results": [
        {
            "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-prod.nyc3.digitaloceanspaces.com/media/images/starship_image_20231116184708.jpeg"
            }
        },
        {
            "id": 484,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/484/?format=api",
            "name": "Mercury No.6",
            "serial_number": "6",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT18M",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Mercury No.6 is the Mercury capsule used for the Mercury-Atlas 2 mission.",
            "spacecraft_config": {
                "id": 11,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                "name": "Mercury",
                "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": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg"
            }
        },
        {
            "id": 558,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/558/?format=api",
            "name": "X-37B 1",
            "serial_number": "1",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P1808DT4H53M",
            "time_docked": "P0D",
            "flights_count": 3,
            "mission_ends_count": 3,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "First X-37B. First flight on April 22, 2010.",
            "spacecraft_config": {
                "id": 30,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/30/?format=api",
                "name": "X-37B",
                "type": {
                    "id": 3,
                    "name": "Spaceplane"
                },
                "agency": {
                    "id": 80,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/80/?format=api",
                    "name": "Boeing",
                    "type": "Commercial"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/x-37b_image_20221113134355.jpeg"
            }
        },
        {
            "id": 500,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/500/?format=api",
            "name": "Soyuz 7K-TM No.71",
            "serial_number": "Soyuz 7K-TM 11F615A12 #71",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P9DT16H30M",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Apollo–Soyuz Test Project version of the Soyuz spacecraft",
            "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-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 473,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/473/?format=api",
            "name": "VSS Unity",
            "serial_number": "N202VG",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT4H3M43S",
            "time_docked": "P0D",
            "flights_count": 30,
            "mission_ends_count": 30,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "VSS Unity, previously referred to as VSS Voyager, is a SpaceShipTwo-class suborbital rocket-powered crewed spaceplane. It is the second SpaceShipTwo to be built and will be used as part of the Virgin Galactic fleet.",
            "spacecraft_config": {
                "id": 27,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/27/?format=api",
                "name": "SpaceShipTwo",
                "type": {
                    "id": 3,
                    "name": "Spaceplane"
                },
                "agency": {
                    "id": 1024,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/1024/?format=api",
                    "name": "Virgin Galactic",
                    "type": "Private"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spaceshiptwo_image_20210522133744.jpeg"
            }
        },
        {
            "id": 487,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/487/?format=api",
            "name": "Mercury No.9",
            "serial_number": "9",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT3H20M59S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Mercury No.9 is the Mercury capsule used for the Mercury-Atlas 5 mission.",
            "spacecraft_config": {
                "id": 11,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                "name": "Mercury",
                "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": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg"
            }
        },
        {
            "id": 490,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/490/?format=api",
            "name": "Soyuz 7K-OK No.3",
            "serial_number": "Soyuz 7K-OK (P) 11F615 #3",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P1DT20H40M",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "First generation Soyuz used for a test flight.",
            "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-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 493,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/493/?format=api",
            "name": "Soyuz 7K-OK No.8",
            "serial_number": "Soyuz 7K-OK (A) 11F615 #8",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P4DT14H",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "First generation Soyuz used for a test flight.",
            "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-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 494,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/494/?format=api",
            "name": "Soyuz 7K-OK No.7",
            "serial_number": "Soyuz 7K-OK (P) 11F615 #7",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P4DT14H25M42S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "First generation Soyuz used for a test flight.",
            "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-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 182,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/182/?format=api",
            "name": "Soyuz 25",
            "serial_number": "Soyuz 7K-T 11F615A8 #42",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P2DT44M45S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Soyuz 25 was a Soyuz spacecraft which launched on 9 October 1977 02:40 UTC. It  transported two cosmonauts to Salyut 6. Soyuz 25 was the first flight to the new Salyut 6 Space Station, but the craft failed to dock. The crew was Vladimir Kovalyonok and Valery Ryumin.",
            "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-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        }
    ]
}