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=530&ordering=-time_docked
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=540&ordering=-time_docked",
    "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=520&ordering=-time_docked",
    "results": [
        {
            "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": 452,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/452/?format=api",
            "name": "Crew 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": 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": 106,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/106/?format=api",
            "name": "Soyuz TM-24",
            "serial_number": "Soyuz TM 11F732A51 #73",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P196DT17H25M57S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Soyuz TM-24 was a Soyuz spacecraft which launched on 17 August 1996 13:18 UTC. It transported two members of the Expedition 22 and a French astronaut to Mir. The Expedition 22 crew consisted of Valery Korzun and Aleksandr Kaleri. The ESA astronaut was Claudie André-Deshays.",
            "spacecraft_config": {
                "id": 41,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/41/?format=api",
                "name": "Soyuz TM",
                "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_tm_image_20231228130713.jpeg"
            }
        },
        {
            "id": 195,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/195/?format=api",
            "name": "Soyuz 12",
            "serial_number": "Soyuz 7K-T 11F615A8 #37",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P1DT23H15M32S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Soyuz 12 was a Soyuz spacecraft which launched on 27 September 1973 12:18 UTC. It launched two cosmonauts to orbit for spacecraft testing purposes. The crew was Vasili Lazarev and Oleg Makarov.",
            "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": 204,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/204/?format=api",
            "name": "Soyuz 3",
            "serial_number": "Soyuz 7K-OK (A) 11F615 #10",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P3DT22H50M45S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Soyuz 3 was a Soyuz spacecraft which launched on 26 October 1968 08:34 UTC. It launched one cosmonaut for a joint mission with Soyuz 2. The crew was Georgy Beregovoy.",
            "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": 24,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/24/?format=api",
            "name": "Apollo CSM-020",
            "serial_number": "CSM-020",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT9H56M59S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "CSM-020 was an Apollo Command & Service Module used in the Apollo 6 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": 505,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/505/?format=api",
            "name": "Soyuz 7K-L1 No.4",
            "serial_number": "Soyuz 7K-L1 #4",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT1M37S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "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": 547,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/547/?format=api",
            "name": "Gaganyaan G1",
            "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": "First 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": 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": 515,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/515/?format=api",
            "name": "Soyuz 7K-L1S No.1",
            "serial_number": "Soyuz 7K-L1S",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT11M53S",
            "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"
            }
        }
    ]
}