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

{
    "count": 603,
    "next": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=600&ordering=-time_in_space",
    "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=580&ordering=-time_in_space",
    "results": [
        {
            "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"
            }
        },
        {
            "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": 13,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/13/?format=api",
            "name": "Gemini SC3",
            "serial_number": "3",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Gemini SC3 is the Gemini capsule used for the Gemini 3 mission launched on March 23, 1965 and piloted by astronaut Virgil Il. \"Gus\" Grissom.",
            "spacecraft_config": {
                "id": 12,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/12/?format=api",
                "name": "Gemini",
                "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-dev.nyc3.digitaloceanspaces.com/media/images/gemini_image_20190207032517.jpeg"
            }
        },
        {
            "id": 210,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/210/?format=api",
            "name": "Dragon C101",
            "serial_number": "C101",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "First Dragon mission, second Falcon 9 launch. Mission tested the orbital maneuvering and reentry of the Dragon capsule. After recovery, the capsule was put on display at SpaceX's headquarters.",
            "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": 509,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/509/?format=api",
            "name": "Soyuz 7K-L1 No.8",
            "serial_number": "Soyuz 7K-L1 #8",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "The Soyuz 7K-L1 \"Zond\" spacecraft was designed to launch men from the Earth to circle the Moon without going into lunar orbit in the context of the Soviet crewed Moon-flyby program in the Moon race. It was based on the Soyuz 7K-OK.",
            "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": 460,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/460/?format=api",
            "name": "Apollo CSM-012",
            "serial_number": "CSM-012",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "CSM-012 was an Apollo Command & Service Module that was planned to be used in the Apollo 1 mission. It was destroyed by a fatal cabin fire during a launch rehearsal on January 27, 1967.",
            "spacecraft_config": {
                "id": 10,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/10/?format=api",
                "name": "Apollo Command/Service Module",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 999,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/999/?format=api",
                    "name": "North American Aviation",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.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": 35,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/35/?format=api",
            "name": "Apollo America CSM-114",
            "serial_number": "CSM-114",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P4DT11H32M2S",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "CSM-114 \"America\" was an Apollo Command & Service Module used in the Apollo 17 mission.",
            "spacecraft_config": {
                "id": 10,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/10/?format=api",
                "name": "Apollo Command/Service Module",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 999,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/999/?format=api",
                    "name": "North American Aviation",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg"
            }
        },
        {
            "id": 541,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/541/?format=api",
            "name": "Orion 004",
            "serial_number": "004",
            "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 3.",
            "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"
            }
        }
    ]
}