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/275/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "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": "P2627DT5H30M53S",
    "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",
            "featured": true,
            "type": "Commercial",
            "country_code": "USA",
            "abbrev": "SpX",
            "description": "Space Exploration Technologies Corp., known as SpaceX, is an American aerospace manufacturer and space transport services company headquartered in Hawthorne, California. It was founded in 2002 by entrepreneur Elon Musk with the goal of reducing space transportation costs and enabling the colonization of Mars. SpaceX operates from many pads, on the East Coast of the US they operate from SLC-40 at Cape Canaveral Space Force Station and historic LC-39A at Kennedy Space Center. They also operate from SLC-4E at Vandenberg Space Force Base, California, usually for polar launches. Another launch site is being developed at Boca Chica, Texas.",
            "administrator": "CEO: Elon Musk",
            "founding_year": "2002",
            "launchers": "Falcon | Starship",
            "spacecraft": "Dragon",
            "parent": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spacex_image_20190207032501.jpeg",
            "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spacex_logo_20220826094919.png"
        },
        "in_use": false,
        "capability": "A car in space.",
        "history": "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.",
        "details": "The 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.",
        "maiden_flight": "2018-02-06",
        "height": 4.0,
        "diameter": 1.8,
        "human_rated": false,
        "crew_capacity": 2,
        "payload_capacity": null,
        "payload_return_capacity": null,
        "flight_life": "It is now on an heliocentric orbit with no planned return to Earth.",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tesla2520roadster_image_20190307220553.jpg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Elon_Musk%27s_Tesla_Roadster",
        "info_link": ""
    },
    "flights": [
        {
            "id": 375,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/375/?format=api",
            "destination": "Heliocentric Orbit",
            "mission_end": null,
            "spacecraft": {
                "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": "P2627DT5H30M53S",
                "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://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tesla2520roadster_image_20190307220553.jpg"
                }
            },
            "launch": {
                "id": "598af929-31d4-4544-ad77-e0b6f9c8f460",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/598af929-31d4-4544-ad77-e0b6f9c8f460/?format=api",
                "slug": "falcon-heavy-demo-test-flight",
                "name": "Falcon Heavy | Demo (Test Flight)",
                "status": {
                    "id": 3,
                    "name": "Launch Successful",
                    "abbrev": "Success",
                    "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
                },
                "last_updated": "2024-03-05T18:22:00Z",
                "net": "2018-02-06T20:45:00Z",
                "window_end": "2018-02-06T21:00:00Z",
                "window_start": "2018-02-06T18:30:00Z",
                "net_precision": null,
                "probability": 90,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "rocket": {
                    "id": 2076,
                    "configuration": {
                        "id": 161,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/161/?format=api",
                        "name": "Falcon Heavy",
                        "family": "Falcon",
                        "full_name": "Falcon Heavy",
                        "variant": "Heavy"
                    }
                },
                "mission": {
                    "id": 490,
                    "name": "Demo Flight 1 (Maiden Flight)",
                    "description": "This will be the inaugural flight of the Falcon Heavy. The test payload will be SpaceX CEO Elon Musk's midnight cherry Tesla Roadster playing Space Oddity. Destination: An elliptical, heliocentric orbit. Apoapsis: Around Mars' orbital distance.",
                    "launch_designator": null,
                    "type": "Test Flight",
                    "orbit": {
                        "id": 6,
                        "name": "Heliocentric N/A",
                        "abbrev": "Helio-N/A"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 87,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/87/?format=api",
                    "agency_id": 121,
                    "name": "Launch Complex 39A",
                    "description": "",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39A",
                    "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
                    "latitude": "28.60822681",
                    "longitude": "-80.60428186",
                    "location": {
                        "id": 27,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/27/?format=api",
                        "name": "Kennedy Space Center, FL, USA",
                        "country_code": "USA",
                        "description": "The John F. Kennedy Space Center, located on Merritt Island, Florida, is one of NASA's ten field centers. Since 1968, KSC has been NASA's primary launch center of American spaceflight, research, and technology. Launch operations for the Apollo, Skylab and Space Shuttle programs were carried out from Kennedy Space Center Launch Complex 39 and managed by KSC. Located on the east coast of Florida, KSC is adjacent to Cape Canaveral Space Force Station (CCSFS).",
                        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
                        "timezone_name": "America/New_York",
                        "total_launch_count": 261,
                        "total_landing_count": 0
                    },
                    "country_code": "USA",
                    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_87_20200803143537.jpg",
                    "total_launch_count": 203,
                    "orbital_launch_attempt_count": 202
                },
                "webcast_live": false,
                "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/falcon2520heav_image_20230723154051.jpeg",
                "infographic": null,
                "program": [],
                "orbital_launch_attempt_count": 5723,
                "location_launch_attempt_count": 166,
                "pad_launch_attempt_count": 109,
                "agency_launch_attempt_count": 55,
                "orbital_launch_attempt_count_year": 17,
                "location_launch_attempt_count_year": 1,
                "pad_launch_attempt_count_year": 1,
                "agency_launch_attempt_count_year": 3,
                "type": "normal"
            },
            "landing": null
        }
    ]
}