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

{
    "count": 571,
    "next": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=10&ordering=mission_ends_count",
    "previous": null,
    "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
            }
        },
        {
            "id": 547,
            "url": "https://ll.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://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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
            }
        },
        {
            "id": 586,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/586/?format=api",
            "name": "LM Snoopy",
            "serial_number": "LM-4",
            "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": "Flown on Apollo 10.\r\n\r\nDescent stage may have hit the Moon, ascent stage in heliocentric orbit. Snoopy is the only flown LM ascent stage known to have survived intact (possibly asteroid 2018 AV2).",
            "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/lunar_module_on_image_20240505074251.jpeg"
            }
        },
        {
            "id": 591,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/591/?format=api",
            "name": "LM Falcon",
            "serial_number": "LM-10",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "Flown on Apollo 15.\r\n\r\nDescent stage on lunar surface at Hadley–Apennine, 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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/lunar_module_on_image_20240505074251.jpeg"
            }
        },
        {
            "id": 576,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/576/?format=api",
            "name": "Progress MS-25",
            "serial_number": "MS-25 (No.455)",
            "is_placeholder": false,
            "in_space": true,
            "time_in_space": "P162DT17H19M7S",
            "time_docked": "P160DT15H25M47S",
            "flights_count": 1,
            "mission_ends_count": 0,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Progress MS-25 is a Progress spacecraft used by Roscosmos to resupply the International Space Station (ISS).",
            "spacecraft_config": {
                "id": 33,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/33/?format=api",
                "name": "Progress-MS",
                "type": {
                    "id": 4,
                    "name": "Cargo Resupply"
                },
                "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/progress-ms_image_20231219150735.jpeg"
            }
        },
        {
            "id": 452,
            "url": "https://ll.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://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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_dm-2_cre_image_20200504065311.jpeg"
            }
        },
        {
            "id": 581,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/581/?format=api",
            "name": "Progress-MS 27",
            "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": 1,
                "name": "Active"
            },
            "description": "Progress-MS 27 is a Progress spacecraft used by Roscosmos to resupply the International Space Station (ISS).",
            "spacecraft_config": {
                "id": 33,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/33/?format=api",
                "name": "Progress-MS",
                "type": {
                    "id": 4,
                    "name": "Cargo Resupply"
                },
                "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/progress-ms_image_20231219150735.jpeg"
            }
        },
        {
            "id": 275,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/275/?format=api",
            "name": "Tesla Roadster",
            "serial_number": "TSLA 10",
            "is_placeholder": false,
            "in_space": true,
            "time_in_space": "P2286DT5H56M25S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 0,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Elon Musk's Tesla Roadster is an electric sports car that served as the dummy payload for the February 2018 Falcon Heavy test flight and became an artificial satellite of the Sun. \"Starman\", a mannequin dressed in a spacesuit, occupies the driver's seat. The car and rocket are products of Tesla and SpaceX, respectively, both companies founded by Elon Musk. The 2008-model Roadster was previously used by Musk for commuting to work, and is the only production car in space.\r\n\r\nThe car, mounted on the rocket's second stage, acquired enough velocity to escape Earth's gravity and enter an elliptical heliocentric orbit crossing the orbit of Mars. The orbit reaches a maximum distance from the Sun at aphelion of 1.66 astronomical units (au). During the early portion of the voyage outside the Earth's atmosphere, live video was transmitted back to the mission control center and live-streamed for slightly over four hours.",
            "spacecraft_config": {
                "id": 20,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/20/?format=api",
                "name": "Tesla Roadster",
                "type": {
                    "id": 5,
                    "name": "Mass Simulator"
                },
                "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/tesla2520roadster_image_20190307220553.jpg"
            }
        },
        {
            "id": 589,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/589/?format=api",
            "name": "LM Aquarius",
            "serial_number": "LM-7",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "Flown on Apollo 13\r\n\r\nRe-entered Earth's atmosphere.",
            "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/lunar_module_on_image_20240505074251.jpeg"
            }
        },
        {
            "id": 593,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/593/?format=api",
            "name": "LM Challenger",
            "serial_number": "LM-12",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 0,
            "mission_ends_count": 0,
            "status": {
                "id": 3,
                "name": "Destroyed"
            },
            "description": "Flown on Apollo 17.\r\n\r\nDescent stage on lunar surface at Taurus-Littrow, 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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/lunar_module_on_image_20240505074251.jpeg"
            }
        }
    ]
}