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

{
    "count": 590,
    "next": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=30&ordering=-flights_count",
    "previous": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=10&ordering=-flights_count",
    "results": [
        {
            "id": 221,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/221/?format=api",
            "name": "Dragon C112",
            "serial_number": "C112",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P99DT1H13S",
            "time_docked": "P88DT16H53M",
            "flights_count": 3,
            "mission_ends_count": 3,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "The C112 capsule was flown on CRS-10, CRS-16 and CRS-20.\r\n\r\nOn CRS-10 the capsule lifted off from the Kennedy Space Center from pad 39A. This was the first flight from this pad since STS-135 left the pad in mid-2011. The vehicle experienced some software issues meaning its berthing was delayed for a day.",
            "spacecraft_config": {
                "id": 3,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/3/?format=api",
                "name": "Dragon 1",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crs-172520dragon2520berthing_image_20190318203226.jpeg"
            }
        },
        {
            "id": 558,
            "url": "https://ll.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://ll.thespacedevs.com/2.2.0/config/spacecraft/30/?format=api",
                "name": "X-37B",
                "type": {
                    "id": 3,
                    "name": "Spaceplane"
                },
                "agency": {
                    "id": 80,
                    "url": "https://ll.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": 217,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/217/?format=api",
            "name": "Dragon C108",
            "serial_number": "C108",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P98DT18H50M14S",
            "time_docked": "P90DT19H9M",
            "flights_count": 3,
            "mission_ends_count": 3,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "This capsule flew both CRS-6, CRS-13, and CRS-18\r\n\r\nIt is the first three time flown dragon capsule.\r\n\r\nAs part of CRS-6 the robotic SpaceX Dragon capsule splashed down in the Pacific Ocean on Thursday, 21 May 2015.\r\n\r\nThe CRS-13 mission was the first NASA to fly on a flight-proven Falcon 9.",
            "spacecraft_config": {
                "id": 3,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/3/?format=api",
                "name": "Dragon 1",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crs-172520dragon2520berthing_image_20190318203226.jpeg"
            }
        },
        {
            "id": 554,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/554/?format=api",
            "name": "Cargo Dragon C211",
            "serial_number": "C211",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P88DT7H3M3S",
            "time_docked": "P83DT20H24M",
            "flights_count": 2,
            "mission_ends_count": 2,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Third Cargo Dragon 2",
            "spacecraft_config": {
                "id": 7,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/7/?format=api",
                "name": "Cargo Dragon 2",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 121,
                    "url": "https://ll.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/crs-28_dragon_d_image_20230530191602.jpeg"
            }
        },
        {
            "id": 220,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/220/?format=api",
            "name": "Dragon C111",
            "serial_number": "C111",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P74DT23H35M50S",
            "time_docked": "P68DT9H45M",
            "flights_count": 2,
            "mission_ends_count": 2,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "The C111 capsule was flown on CRS-9 and CRS-15. \r\n\r\nOn CRS-9 the mission carried IDA-2 to modify the ISS docking port for commercial crew spacecraft.",
            "spacecraft_config": {
                "id": 3,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/3/?format=api",
                "name": "Dragon 1",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crs-172520dragon2520berthing_image_20190318203226.jpeg"
            }
        },
        {
            "id": 219,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/219/?format=api",
            "name": "Dragon C110",
            "serial_number": "C110",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P65DT20H19M50S",
            "time_docked": "P61DT23H45M",
            "flights_count": 2,
            "mission_ends_count": 2,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "This capsule was used on both CRS-8 and CRS-14. \r\nOn CRS-8 this vehicle delivered the Bigelow BEAM module in its unpressurized cargo trunk. It was also used to carry Scott Kellys biological samples back to Earth.",
            "spacecraft_config": {
                "id": 3,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/3/?format=api",
                "name": "Dragon 1",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crs-172520dragon2520berthing_image_20190318203226.jpeg"
            }
        },
        {
            "id": 442,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/442/?format=api",
            "name": "X-15-1",
            "serial_number": "56-6670",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT18M",
            "time_docked": "P0D",
            "flights_count": 2,
            "mission_ends_count": 2,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "First X-15 experimental rocket plane.",
            "spacecraft_config": {
                "id": 13,
                "url": "https://ll.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://ll.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/north2520american2520x-15_image_20190207032520.jpeg"
            }
        },
        {
            "id": 288,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/288/?format=api",
            "name": "Starliner Calypso",
            "serial_number": "3",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P95DT14H31M30S",
            "time_docked": "P92DT4H30M",
            "flights_count": 2,
            "mission_ends_count": 2,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "The first CST-100 Starliner capsule to fly.",
            "spacecraft_config": {
                "id": 9,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/9/?format=api",
                "name": "CST-100 Starliner",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 80,
                    "url": "https://ll.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/boeing_starline_image_20220525180700.jpeg"
            }
        },
        {
            "id": 588,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/588/?format=api",
            "name": "LM Intrepid",
            "serial_number": "LM-6",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P4DT20H28M19S",
            "time_docked": "P4DT10H50M20S",
            "flights_count": 2,
            "mission_ends_count": 2,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "Flown on Apollo 12.\r\n\r\nDescent stage on lunar surface at Ocean of Storms, ascent stage deliberately crashed into Moon.",
            "spacecraft_config": {
                "id": 43,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/43/?format=api",
                "name": "Apollo Lunar Module",
                "type": {
                    "id": 7,
                    "name": "Lander"
                },
                "agency": {
                    "id": 44,
                    "url": "https://ll.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/lunar_module_on_image_20240505074251.jpeg"
            }
        },
        {
            "id": 222,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/222/?format=api",
            "name": "Dragon C113",
            "serial_number": "C113",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P64DT12H41M25S",
            "time_docked": "P60DT33M",
            "flights_count": 2,
            "mission_ends_count": 2,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "Capsule C113 was the last new Dragon 1 spacecraft manufactured. \r\n\r\nIt was used on CRS-12",
            "spacecraft_config": {
                "id": 3,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/3/?format=api",
                "name": "Dragon 1",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crs-172520dragon2520berthing_image_20190318203226.jpeg"
            }
        }
    ]
}