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": 599,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=580&ordering=-time_in_space",
    "results": [
        {
            "id": 548,
            "url": "https://ll.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://ll.thespacedevs.com/2.2.0/config/spacecraft/29/?format=api",
                "name": "Gaganyaan",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 1031,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/1031/?format=api",
                    "name": "Hindustan Aeronautics Limited",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
            }
        },
        {
            "id": 549,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/549/?format=api",
            "name": "Gaganyaan H1",
            "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": "Fourth operational Gaganyaan capsule. First one to carry crew.",
            "spacecraft_config": {
                "id": 29,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/29/?format=api",
                "name": "Gaganyaan",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 1031,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/1031/?format=api",
                    "name": "Hindustan Aeronautics Limited",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
            }
        },
        {
            "id": 210,
            "url": "https://ll.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://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": 533,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/533/?format=api",
            "name": "Vostok-1K No.4",
            "serial_number": "Vostok-1K No.4",
            "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": "Vostok spacecraft used for test flights before the first human spaceflight.",
            "spacecraft_config": {
                "id": 15,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/15/?format=api",
                "name": "Vostok",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 63,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/vostok-3ka_image_20190207032525.jpeg"
            }
        },
        {
            "id": 612,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/612/?format=api",
            "name": "Soyuz MS-28",
            "serial_number": "11F732 #759",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Soyuz capsule for the MS-28 mission to the ISS.",
            "spacecraft_config": {
                "id": 38,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/38/?format=api",
                "name": "Soyuz MS",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 63,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_ms_in_orb_image_20240313130407.jpeg"
            }
        },
        {
            "id": 603,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/603/?format=api",
            "name": "Space Rider",
            "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": 5,
                "name": "Under construction"
            },
            "description": "European reusable spaceplane",
            "spacecraft_config": {
                "id": 44,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/44/?format=api",
                "name": "Space Rider",
                "type": {
                    "id": 3,
                    "name": "Spaceplane"
                },
                "agency": {
                    "id": 27,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/?format=api",
                    "name": "European Space Agency",
                    "type": "Multinational"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/space_rider_in__image_20241109112332.png"
            }
        },
        {
            "id": 489,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/489/?format=api",
            "name": "Soyuz 7K-OK No.1",
            "serial_number": "Soyuz 7K-OK (P) 11F615 #1",
            "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": "First generation Soyuz meant to be used for a test flight.",
            "spacecraft_config": {
                "id": 1,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/1/?format=api",
                "name": "Soyuz",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 63,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 482,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/482/?format=api",
            "name": "Mercury No.4",
            "serial_number": "4",
            "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": "Mercury No.4 is the Mercury capsule used for the Mercury-Atlas 1 flight.",
            "spacecraft_config": {
                "id": 11,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                "name": "Mercury",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "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/mercury_image_20190207032519.jpeg"
            }
        },
        {
            "id": 509,
            "url": "https://ll.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://ll.thespacedevs.com/2.2.0/config/spacecraft/1/?format=api",
                "name": "Soyuz",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 63,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        }
    ]
}