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=10&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=20&ordering=-flights_count",
    "previous": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&ordering=-flights_count",
    "results": [
        {
            "id": 278,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/278/?format=api",
            "name": "RSS Jules Verne",
            "serial_number": "1",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT1H6M",
            "time_docked": "P0D",
            "flights_count": 6,
            "mission_ends_count": 6,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "First Blue Origin New Shepard Crew Capsule.",
            "spacecraft_config": {
                "id": 22,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/22/?format=api",
                "name": "Crew Capsule 1",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 141,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/141/?format=api",
                    "name": "Blue Origin",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crew2520capsule25201_image_20190309100308.jpg"
            }
        },
        {
            "id": 289,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/289/?format=api",
            "name": "Crew Dragon Endeavour",
            "serial_number": "C206",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P701DT21H16M35S",
            "time_docked": "P692DT23H37M",
            "flights_count": 5,
            "mission_ends_count": 5,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Crew Dragon 6 is the Crew Dragon spacecraft launched on the SpaceX DM-2 demonstration mission to the ISS.",
            "spacecraft_config": {
                "id": 6,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/6/?format=api",
                "name": "Crew 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/spacex_dm-2_cre_image_20200504065311.jpeg"
            }
        },
        {
            "id": 449,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/449/?format=api",
            "name": "Cargo Dragon C208",
            "serial_number": "C208",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P175DT13H52M12S",
            "time_docked": "P165DT1H39M49S",
            "flights_count": 5,
            "mission_ends_count": 5,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "C208 is the first Cargo Dragon 2 and was launched as part of the CRS-21 mission.",
            "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": 542,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/542/?format=api",
            "name": "Crew Dragon Endurance",
            "serial_number": "C210",
            "is_placeholder": false,
            "in_space": true,
            "time_in_space": "P566DT18H14M15S",
            "time_docked": "P559DT15H36M24S",
            "flights_count": 4,
            "mission_ends_count": 3,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Crew Dragon spacecraft used for the Crew-3 mission to the International Space Station.",
            "spacecraft_config": {
                "id": 6,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/6/?format=api",
                "name": "Crew 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/spacex_dm-2_cre_image_20200504065311.jpeg"
            }
        },
        {
            "id": 559,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/559/?format=api",
            "name": "X-37B 2",
            "serial_number": "2",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P2400DT10H50M",
            "time_docked": "P0D",
            "flights_count": 4,
            "mission_ends_count": 4,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Second X-37B. First flight on March 5, 2011.",
            "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": 551,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/551/?format=api",
            "name": "Crew Dragon Freedom",
            "serial_number": "C212",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P372DT14H50M27S",
            "time_docked": "P365DT4H42M11S",
            "flights_count": 4,
            "mission_ends_count": 4,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Crew Dragon spacecraft first used for Crew-4.",
            "spacecraft_config": {
                "id": 6,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/6/?format=api",
                "name": "Crew 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/spacex_dm-2_cre_image_20200504065311.jpeg"
            }
        },
        {
            "id": 474,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/474/?format=api",
            "name": "Cargo Dragon C209",
            "serial_number": "C209",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P142DT2H7M46S",
            "time_docked": "P131DT22H23S",
            "flights_count": 4,
            "mission_ends_count": 4,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Second 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": 291,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/291/?format=api",
            "name": "Crew Dragon Resilience",
            "serial_number": "C207",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P179DT18H19M30S",
            "time_docked": "P165DT19H56M",
            "flights_count": 4,
            "mission_ends_count": 4,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Crew Dragon Resilience was used for the Crew-1 mission.",
            "spacecraft_config": {
                "id": 6,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/6/?format=api",
                "name": "Crew 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/spacex_dm-2_cre_image_20200504065311.jpeg"
            }
        },
        {
            "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": 560,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/560/?format=api",
            "name": "Chinese reusable experimental spacecraft",
            "serial_number": null,
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P544DT13H48M",
            "time_docked": "P0D",
            "flights_count": 3,
            "mission_ends_count": 3,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "First Chinese reusable spacecraft",
            "spacecraft_config": {
                "id": 31,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/31/?format=api",
                "name": "Chinese reusable spacecraft",
                "type": {
                    "id": 3,
                    "name": "Spaceplane"
                },
                "agency": {
                    "id": 88,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/88/?format=api",
                    "name": "China Aerospace Science and Technology Corporation",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": null
            }
        }
    ]
}