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

{
    "count": 601,
    "next": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=600&ordering=-mission_ends_count",
    "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=580&ordering=-mission_ends_count",
    "results": [
        {
            "id": 611,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/611/?format=api",
            "name": "Tianzhou-9",
            "serial_number": "9",
            "is_placeholder": false,
            "in_space": true,
            "time_in_space": "P145DT4H42M25S",
            "time_docked": "P145DT1H24M48S",
            "flights_count": 1,
            "mission_ends_count": 0,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Ninth operational Tianzhou spacecraft.",
            "spacecraft_config": {
                "id": 25,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/25/?format=api",
                "name": "Tianzhou",
                "type": {
                    "id": 4,
                    "name": "Cargo Resupply"
                },
                "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": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/tianzhou_image_20210513100807.jpg"
            }
        },
        {
            "id": 617,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/617/?format=api",
            "name": "Progress MS-31",
            "serial_number": "MS-31 (No.461)",
            "is_placeholder": false,
            "in_space": true,
            "time_in_space": "P156DT6H44M9S",
            "time_docked": "P154DT4H51M49S",
            "flights_count": 1,
            "mission_ends_count": 0,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Progress MS-31 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": 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": 540,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/540/?format=api",
            "name": "Orion Integrity",
            "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": 443,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/443/?format=api",
            "name": "X-15-2",
            "serial_number": "56-6671",
            "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": "Second X-15 experimental rocket plane.",
            "spacecraft_config": {
                "id": 13,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/13/?format=api",
                "name": "North American X-15",
                "type": {
                    "id": 3,
                    "name": "Spaceplane"
                },
                "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-dev.nyc3.digitaloceanspaces.com/media/images/north2520american2520x-15_image_20190207032520.jpeg"
            }
        },
        {
            "id": 569,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/569/?format=api",
            "name": "Cargo Dragon",
            "serial_number": "TBD",
            "is_placeholder": true,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "The specific spacecraft for this launch is currently unknown.",
            "spacecraft_config": {
                "id": 7,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/7/?format=api",
                "name": "Cargo 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/crs-28_dragon_d_image_20230530191602.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": 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": "P11DT22H5M6S",
            "time_docked": "P11DT18H26M51S",
            "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": 619,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/619/?format=api",
            "name": "Cygnus CRS NG-23 (S.S. William “Willie” C. McCool)",
            "serial_number": null,
            "is_placeholder": false,
            "in_space": true,
            "time_in_space": "P83DT4H5M2S",
            "time_docked": "P79DT14H52M50S",
            "flights_count": 1,
            "mission_ends_count": 0,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "This is the twenty-second flight to the ISS by the Cygnus spacecraft under the CRS program and their eleventh under the CRS-2 program. This is also the 18th 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"
            }
        },
        {
            "id": 548,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/548/?format=api",
            "name": "Gaganyaan G2",
            "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": "Second operational Gaganyaan capsule.",
            "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"
            }
        }
    ]
}