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

{
    "id": 99,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/99/?format=api",
    "name": "Soyuz TM-31",
    "serial_number": "Soyuz TM 11F732A51 #205",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P186DT23H59M13S",
    "time_docked": "P184DT16H10M32S",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "Soyuz TM-31 was a Soyuz spacecraft which launched on 31 October 2003 07:52 UTC. It transported three members of the Expedition 1 crew to the International Space Station. The crew consisted of Yuri Gidzenko, Sergei Krikalev, and William Shepherd.",
    "spacecraft_config": {
        "id": 41,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/41/?format=api",
        "name": "Soyuz TM",
        "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)",
            "featured": true,
            "type": "Government",
            "country_code": "RUS",
            "abbrev": "RFSA",
            "description": "The Roscosmos State Corporation for Space Activities, commonly known as Roscosmos, is the governmental body responsible for the space science program of the Russian Federation and general aerospace research. Soyuz has many launch locations the Russian sites are Baikonur, Plesetsk and Vostochny however Ariane also purchases the vehicle and launches it from French Guiana.",
            "administrator": "Administrator: Yuri Borisov",
            "founding_year": "1992",
            "launchers": "Soyuz",
            "spacecraft": "Soyuz",
            "parent": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_image_20190207032459.jpeg",
            "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_logo_20190207032459.png"
        },
        "in_use": false,
        "capability": "Manned and Cargo ISS & Mir Logistics, Lifeboat",
        "history": "The Soyuz-TM crew transports were fourth generation Soyuz spacecraft, and were used from 1986 to 2002 for ferry flights to Mir and the International Space Statio",
        "details": "Soyuz is a series of spacecraft designed for the Soviet space programme by the Korolyov Design Bureau (now RKK Energia) in the 1960s that remains in service today. The Soyuz succeeded the Voskhod spacecraft and was originally built as part of the Soviet Manned Lunar programme. The Soyuz spacecraft is launched on a Soyuz rocket, the most frequently used and most reliable launch vehicle in the world to date. The Soyuz rocket design is based on the Vostok launcher, which in turn was based on the 8K74 or R-7A Semyorka, a Soviet intercontinental ballistic missile. All Soyuz spacecraft are launched from the Baikonur Cosmodrome in Kazakhstan.",
        "maiden_flight": "1986-05-21",
        "height": 7.48,
        "diameter": 2.72,
        "human_rated": true,
        "crew_capacity": 3,
        "payload_capacity": null,
        "payload_return_capacity": null,
        "flight_life": "180 days while docked",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz_tm_image_20231228130713.jpeg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Soyuz-TM",
        "info_link": ""
    },
    "flights": [
        {
            "id": 230,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/230/?format=api",
            "destination": "International Space Station",
            "mission_end": "2001-05-06T07:52:00Z",
            "spacecraft": {
                "id": 99,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/99/?format=api",
                "name": "Soyuz TM-31",
                "serial_number": "Soyuz TM 11F732A51 #205",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P186DT23H59M13S",
                "time_docked": "P184DT16H10M32S",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Soyuz TM-31 was a Soyuz spacecraft which launched on 31 October 2003 07:52 UTC. It transported three members of the Expedition 1 crew to the International Space Station. The crew consisted of Yuri Gidzenko, Sergei Krikalev, and William Shepherd.",
                "spacecraft_config": {
                    "id": 41,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/41/?format=api",
                    "name": "Soyuz TM",
                    "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz_tm_image_20231228130713.jpeg"
                }
            },
            "launch": {
                "id": "63559835-4eac-4f61-a551-056bc3927cba",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/63559835-4eac-4f61-a551-056bc3927cba/?format=api",
                "slug": "soyuz-u-soyuz-tm-31",
                "name": "Soyuz-U | Soyuz TM-31",
                "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-14T08:47:30Z",
                "net": "2000-10-31T07:52:47Z",
                "window_end": "2000-10-31T07:52:47Z",
                "window_start": "2000-10-31T07:52:47Z",
                "net_precision": null,
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": null,
                "hashtag": null,
                "launch_service_provider": {
                    "id": 63,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                "rocket": {
                    "id": 459,
                    "configuration": {
                        "id": 37,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/37/?format=api",
                        "name": "Soyuz U",
                        "family": "Soyuz",
                        "full_name": "Soyuz U",
                        "variant": ""
                    }
                },
                "mission": {
                    "id": 924,
                    "name": "Soyuz TM-31",
                    "description": "Soyuz TM-31 began Expedition 1 by carrying 3 cosmonauts and astronauts to the International Space Station. \nRussian Commander, cosmonaut Yuri Gidzenko alongside Flight Engineer, Sergei Krikalev and Flight Engineer/Spaceflight Participant William Shepherd launched aboard the Soyuz spacecraft on October 31, 2000, 07:52:47 UTC. They docked with the station two days later. During their stay there, crew performed first maintenance and repair works, carried out first experiments and conducted several EVAs. They were also visited by several Progress resupply spacecrafts and STS-97 and STS-98 crews, and welcomed aboart STS-102 with the next expedition crew.\nExpedition 1 returned with STS-102, landing safely back on Earth on 21 March 2001, 07:33:06 UTC.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 32,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/32/?format=api",
                    "agency_id": null,
                    "name": "1/5",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "",
                    "map_url": "https://www.google.com/maps?q=45.92,63.342",
                    "latitude": "45.92",
                    "longitude": "63.342",
                    "location": {
                        "id": 15,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/15/?format=api",
                        "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
                        "country_code": "KAZ",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_15_20200803142517.jpg",
                        "timezone_name": "Asia/Qyzylorda",
                        "total_launch_count": 1548,
                        "total_landing_count": 0
                    },
                    "country_code": "KAZ",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_32_20200803143513.jpg",
                    "total_launch_count": 487,
                    "orbital_launch_attempt_count": 487
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz2520u_image_20190222031023.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 8,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/8/?format=api",
                        "name": "Soyuz",
                        "description": "The Soyuz programme is a human spaceflight programme initiated by the Soviet Union in the early 1960s. The Soyuz spacecraft was originally part of a Moon landing project intended to put a Soviet cosmonaut on the Moon. It was the third Soviet human spaceflight programme after the Vostok and Voskhod programmes.",
                        "agencies": [
                            {
                                "id": 63,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                                "name": "Russian Federal Space Agency (ROSCOSMOS)",
                                "type": "Government"
                            },
                            {
                                "id": 66,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/66/?format=api",
                                "name": "Soviet Space Program",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz_program_20201129185543.png",
                        "start_date": "1966-11-28T11:02:00Z",
                        "end_date": null,
                        "info_url": null,
                        "wiki_url": "https://en.wikipedia.org/wiki/Soyuz_programme",
                        "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://spacelaunchnow-prod-east.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": 4429,
                "location_launch_attempt_count": 1168,
                "pad_launch_attempt_count": 367,
                "agency_launch_attempt_count": 109,
                "orbital_launch_attempt_count_year": 72,
                "location_launch_attempt_count_year": 28,
                "pad_launch_attempt_count_year": 7,
                "agency_launch_attempt_count_year": 14,
                "type": "normal"
            },
            "landing": {
                "id": 859,
                "attempt": true,
                "success": true,
                "description": "The Soyuz spacecraft safely landed in Kazakhstan.",
                "downrange_distance": null,
                "location": {
                    "id": 19,
                    "name": "Kazakhstan",
                    "abbrev": "KAZ",
                    "description": "Deserts of Kazakhstan in Central Asia",
                    "location": null,
                    "successful_landings": 0
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ]
}