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' Example - /2.0.0/spacecraft/?status=Active

SEARCH EXAMPLE: Example - /2.0.0/spacecraft/?search=Dragon

ORDERING: Fields - 'id' Example - /2.0.0/spacecraft/?order=id

GET /2.0.0/spacecraft/275/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 275,
    "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/275/?format=api",
    "name": "Tesla Roadster",
    "serial_number": "TSLA 10",
    "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.0.0/config/spacecraft/20/?format=api",
        "name": "Tesla Roadster",
        "type": {
            "id": 5,
            "name": "Mass Simulator"
        },
        "agency": {
            "id": 121,
            "url": "https://ll.thespacedevs.com/2.0.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"
        },
        "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,
        "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.0.0/spacecraft/flight/375/?format=api",
            "destination": "Heliocentric Orbit",
            "mission_end": null,
            "spacecraft": {
                "id": 275,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/275/?format=api",
                "name": "Tesla Roadster",
                "serial_number": "TSLA 10",
                "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.0.0/config/spacecraft/20/?format=api",
                    "name": "Tesla Roadster",
                    "type": {
                        "id": 5,
                        "name": "Mass Simulator"
                    },
                    "agency": {
                        "id": 121,
                        "url": "https://ll.thespacedevs.com/2.0.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.0.0/launch/598af929-31d4-4544-ad77-e0b6f9c8f460/?format=api",
                "launch_library_id": 864,
                "slug": "falcon-heavy-demo-test-flight",
                "name": "Falcon Heavy | Demo (Test Flight)",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "2018-02-06T20:45:00Z",
                "window_end": "2018-02-06T21:00:00Z",
                "window_start": "2018-02-06T18:30:00Z",
                "inhold": false,
                "tbdtime": false,
                "tbddate": false,
                "probability": 90,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "rocket": {
                    "id": 2076,
                    "configuration": {
                        "id": 161,
                        "launch_library_id": 58,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/161/?format=api",
                        "name": "Falcon Heavy",
                        "family": "Falcon",
                        "full_name": "Falcon Heavy",
                        "variant": "Heavy"
                    }
                },
                "mission": {
                    "id": 490,
                    "launch_library_id": 628,
                    "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"
                    }
                },
                "pad": {
                    "id": 87,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/87/?format=api",
                    "agency_id": 121,
                    "name": "Launch Complex 39A",
                    "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.0.0/location/27/?format=api",
                        "name": "Kennedy Space Center, FL, USA",
                        "country_code": "USA",
                        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
                        "total_launch_count": 264,
                        "total_landing_count": 0
                    },
                    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_87_20200803143537.jpg",
                    "total_launch_count": 206
                },
                "webcast_live": false,
                "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/falcon2520heav_image_20230723154051.jpeg",
                "infographic": null,
                "program": []
            }
        }
    ]
}