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

{
    "count": 596,
    "next": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=90&ordering=time_docked",
    "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=70&ordering=time_docked",
    "results": [
        {
            "id": 502,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/502/?format=api",
            "name": "Soyuz 7K-TM No.72",
            "serial_number": "Soyuz 7K-TM 11F615A12 #72",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P5DT17H34M58S",
            "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-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 499,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/499/?format=api",
            "name": "Soyuz 7K-T No.34A",
            "serial_number": "Soyuz 7K-T 11F615A8 #34A",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P60DT9M",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Second 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-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 522,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/522/?format=api",
            "name": "Soyuz 7K-S No.2",
            "serial_number": "Soyuz 7K-S 11F732 #2",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P3DT23H55M",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Military version of the Soyuz 7K 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-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "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-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 510,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/510/?format=api",
            "name": "Soyuz 7K-L1 No.9",
            "serial_number": "Soyuz 7K-L1 #9",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P6DT18H25M49S",
            "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": 555,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/555/?format=api",
            "name": "Ship 24",
            "serial_number": "S24",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT3M51S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "Ship 24 (S24) used for the first integrated flight test. Lost in a launch failure.",
            "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": 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": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "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": 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": 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": 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-dev.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg"
            }
        }
    ]
}