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

{
    "id": 213,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/213/?format=api",
    "name": "Dragon C104",
    "serial_number": "C104",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P25DT1H23M47S",
    "time_docked": "P22DT18H14M",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "description": "First launch of Dragon using trunk section to carry cargo. Launch was successful, but anomalies occurred with the spacecraft's thrusters shortly after liftoff. Thruster function was later restored and orbit corrections were made, but the spacecraft's rendezvous with the ISS was delayed from its planned date of 2 March until 3 March, when it was successfully berthed with the Harmony module. Dragon splashed down safely in the Pacific Ocean on 26 March.",
    "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",
            "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": "ISS Logistics",
        "history": "Dragon, also known as Dragon 1 or Cargo Dragon, was a class of fourteen partially reusable cargo spacecraft developed by SpaceX, an American private space transportation company.\r\n\r\nIt flew 23 missions between 2010 and 2020.\r\n\r\nDuring its maiden flight in December 2010, Dragon became the first commercially built and operated spacecraft to be recovered successfully from orbit.",
        "details": "The Dragon spacecraft consists of a nose-cone cap, a conventional blunt-cone ballistic capsule, and an unpressurized cargo-carrier trunk equipped with two solar arrays. Dragon was launched into orbit by the company's Falcon 9 launch vehicle to resupply the International Space Station (ISS).",
        "maiden_flight": "2010-12-08",
        "height": 6.1,
        "diameter": 3.7,
        "human_rated": false,
        "crew_capacity": null,
        "payload_capacity": 6000,
        "payload_return_capacity": 3000,
        "flight_life": "One week free flight, up to two years while berthed to the International Space Station.",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crs-172520dragon2520berthing_image_20190318203226.jpeg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Dragon_(spacecraft)",
        "info_link": "https://www.spacex.com/dragon"
    },
    "flights": [
        {
            "id": 297,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/297/?format=api",
            "destination": "International Space Station",
            "mission_end": "2013-03-26T16:34:00Z",
            "spacecraft": {
                "id": 213,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/213/?format=api",
                "name": "Dragon C104",
                "serial_number": "C104",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P25DT1H23M47S",
                "time_docked": "P22DT18H14M",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 2,
                    "name": "Retired"
                },
                "description": "First launch of Dragon using trunk section to carry cargo. Launch was successful, but anomalies occurred with the spacecraft's thrusters shortly after liftoff. Thruster function was later restored and orbit corrections were made, but the spacecraft's rendezvous with the ISS was delayed from its planned date of 2 March until 3 March, when it was successfully berthed with the Harmony module. Dragon splashed down safely in the Pacific Ocean on 26 March.",
                "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"
                }
            },
            "launch": {
                "id": "6c70bbf3-cbf2-4a4f-8eda-500c230707f0",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/6c70bbf3-cbf2-4a4f-8eda-500c230707f0/?format=api",
                "slug": "falcon-9-v10-spx-crs-2",
                "name": "Falcon 9 v1.0 | SpX CRS-2",
                "status": {
                    "id": 3,
                    "name": "Launch Successful",
                    "abbrev": "Success",
                    "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
                },
                "last_updated": "2023-06-14T17:41:18Z",
                "net": "2013-03-01T15:10:13Z",
                "window_end": "2013-03-01T15:10:13Z",
                "window_start": "2013-03-01T15:10:13Z",
                "net_precision": null,
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": null,
                "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": 1664,
                    "configuration": {
                        "id": 169,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/169/?format=api",
                        "name": "Falcon 9",
                        "family": "Falcon",
                        "full_name": "Falcon 9 v1.0",
                        "variant": "v1.0"
                    }
                },
                "mission": {
                    "id": 480,
                    "name": "SpX CRS-2",
                    "description": "This was the fourth flight for SpaceX's uncrewed Dragon cargo spacecraft, the fifth and final flight for the company's two-stage Falcon 9 v1.0 launch vehicle, and the second SpaceX operational mission contracted to NASA under a Commercial Resupply Services contract. The launch occurred on March 1, 2013. A minor technical issue on the Dragon spacecraft involving the RCS thruster pods occurred upon reaching orbit, but it was recoverable. The vehicle was released, splashed down, and recovered by SpaceX.",
                    "launch_designator": null,
                    "type": "Resupply",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "featured": true,
                            "type": "Government",
                            "country_code": "USA",
                            "abbrev": "NASA",
                            "description": "The National Aeronautics and Space Administration is an independent agency of the executive branch of the United States federal government responsible for the civilian space program, as well as aeronautics and aerospace research. NASA have many launch facilities but most are inactive. The most commonly used pad will be LC-39B at Kennedy Space Center in Florida.",
                            "administrator": "Acting Administrator:  James Free",
                            "founding_year": "1958",
                            "launchers": "Space Shuttle | SLS",
                            "spacecraft": "Orion",
                            "launch_library_url": null,
                            "total_launch_count": 141,
                            "consecutive_successful_launches": 11,
                            "successful_launches": 121,
                            "failed_launches": 20,
                            "pending_launches": 6,
                            "consecutive_successful_landings": 0,
                            "successful_landings": 0,
                            "failed_landings": 0,
                            "attempted_landings": 0,
                            "info_url": "http://www.nasa.gov",
                            "wiki_url": "http://en.wikipedia.org/wiki/National_Aeronautics_and_Space_Administration",
                            "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
                            "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_nation_20230803040809.jpg"
                        }
                    ],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 80,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/80/?format=api",
                    "agency_id": 121,
                    "name": "Space Launch Complex 40",
                    "description": "",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_40",
                    "map_url": "https://www.google.com/maps?q=28.56194122,-80.57735736",
                    "latitude": "28.56194122",
                    "longitude": "-80.57735736",
                    "location": {
                        "id": 12,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
                        "name": "Cape Canaveral SFS, FL, USA",
                        "country_code": "USA",
                        "description": "Cape Canaveral Space Force Station (CCSFS) is an installation of the United States Space Force's Space Launch Delta 45, located on Cape Canaveral in Brevard County, Florida.",
                        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
                        "timezone_name": "America/New_York",
                        "total_launch_count": 1015,
                        "total_landing_count": 62
                    },
                    "country_code": "USA",
                    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_80_20200803143323.jpg",
                    "total_launch_count": 300,
                    "orbital_launch_attempt_count": 300
                },
                "webcast_live": false,
                "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/falcon252092520v1.0_image_20190222030703.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 11,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/11/?format=api",
                        "name": "Commercial Resupply Services",
                        "description": "Commercial Resupply Services (CRS) are a series of flights awarded by NASA for the delivery of cargo and supplies to the International Space Station.The first CRS contracts were signed in 2008 and awarded $1.6 billion to SpaceX for twelve cargo Dragon and $1.9 billion to Orbital Sciences for eight Cygnus flights, covering deliveries to 2016. The Falcon 9 and Antares rockets were also developed under the CRS program to deliver cargo spacecraft to the ISS.",
                        "agencies": [
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            },
                            {
                                "id": 257,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/257/?format=api",
                                "name": "Northrop Grumman Space Systems",
                                "type": "Commercial"
                            },
                            {
                                "id": 1020,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/1020/?format=api",
                                "name": "Sierra Nevada Corporation",
                                "type": "Commercial"
                            },
                            {
                                "id": 121,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                                "name": "SpaceX",
                                "type": "Commercial"
                            }
                        ],
                        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/commercial2520_program_20201129212219.png",
                        "start_date": "2008-12-23T00:00:00Z",
                        "end_date": null,
                        "info_url": null,
                        "wiki_url": "https://en.wikipedia.org/wiki/Commercial_Resupply_Services#Commercial_Resupply_Services",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    },
                    {
                        "id": 17,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/17/?format=api",
                        "name": "International Space Station",
                        "description": "The International Space Station programme is tied together by a complex set of legal, political and financial agreements between the sixteen nations involved in the project, governing ownership of the various components, rights to crewing and utilization, and responsibilities for crew rotation and resupply of the International Space Station. It was conceived in 1984 by President Ronald Reagan, during the Space Station Freedom project as it was originally called.",
                        "agencies": [
                            {
                                "id": 16,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/16/?format=api",
                                "name": "Canadian Space Agency",
                                "type": "Government"
                            },
                            {
                                "id": 27,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/?format=api",
                                "name": "European Space Agency",
                                "type": "Multinational"
                            },
                            {
                                "id": 37,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/37/?format=api",
                                "name": "Japan Aerospace Exploration Agency",
                                "type": "Government"
                            },
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            },
                            {
                                "id": 63,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                                "name": "Russian Federal Space Agency (ROSCOSMOS)",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/international2_program_20201129184745.png",
                        "start_date": "1998-11-20T06:40:00Z",
                        "end_date": null,
                        "info_url": "https://www.nasa.gov/mission_pages/station/main/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/International_Space_Station_programme",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 5279,
                "location_launch_attempt_count": 695,
                "pad_launch_attempt_count": 60,
                "agency_launch_attempt_count": 10,
                "orbital_launch_attempt_count_year": 11,
                "location_launch_attempt_count_year": 2,
                "pad_launch_attempt_count_year": 1,
                "agency_launch_attempt_count_year": 1,
                "type": "normal"
            },
            "landing": {
                "id": 431,
                "attempt": true,
                "success": true,
                "description": "The Dragon spacecraft successfully splashed down in the Pacific Ocean carrying scientific research and station hardware.",
                "downrange_distance": null,
                "location": {
                    "id": 18,
                    "name": "Pacific Ocean",
                    "abbrev": "PAC",
                    "description": "Pacific Ocean",
                    "location": null,
                    "successful_landings": 46
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PCL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ]
}