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

{
    "id": 486,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/486/?format=api",
    "name": "Mercury No.8",
    "serial_number": "8",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "PT1H57M20S",
    "time_docked": "P0D",
    "flights_count": 2,
    "mission_ends_count": 2,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "Mercury No.8 is the Mercury capsule used for the Mercury-Atlas 3 and 4 missions.",
    "spacecraft_config": {
        "id": 11,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
        "name": "Mercury",
        "type": {
            "id": 2,
            "name": "Capsule"
        },
        "agency": {
            "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": "Administrator: Bill Nelson",
            "founding_year": "1958",
            "launchers": "Space Shuttle | SLS",
            "spacecraft": "Orion",
            "parent": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
            "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png"
        },
        "in_use": false,
        "capability": "Human transportation to upper Earth atmosphere and low Earth orbit.",
        "history": "The Mercury spacecraft was the manned capsule used for suborbital and orbital launches during the Project Mercury, the first human spaceflight program of the United States, from 1958 through 1963.",
        "details": "The Mercury spacecraft's principal designer was Maxime Faget, who started research for manned spaceflight during the time of the NACA. With 100 cubic feet (2.8 m3) of habitable volume, the capsule was just large enough for a single crew member. Inside were 120 controls: 55 electrical switches, 30 fuses and 35 mechanical levers. The heaviest spacecraft, Mercury-Atlas 9, weighed 3,000 pounds (1,400 kg) fully loaded. Its outer skin was made of René 41, a nickel alloy able to withstand high temperatures.",
        "maiden_flight": "1961-05-05",
        "height": 3.3,
        "diameter": 1.8,
        "human_rated": true,
        "crew_capacity": 1,
        "payload_capacity": null,
        "payload_return_capacity": null,
        "flight_life": "Between 15 minutes and 3 days.",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Project_Mercury#Spacecraft",
        "info_link": ""
    },
    "flights": [
        {
            "id": 702,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/702/?format=api",
            "destination": "Suborbital",
            "mission_end": "1961-09-13T15:53:36Z",
            "spacecraft": {
                "id": 486,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/486/?format=api",
                "name": "Mercury No.8",
                "serial_number": "8",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "PT1H57M20S",
                "time_docked": "P0D",
                "flights_count": 2,
                "mission_ends_count": 2,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Mercury No.8 is the Mercury capsule used for the Mercury-Atlas 3 and 4 missions.",
                "spacecraft_config": {
                    "id": 11,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                    "name": "Mercury",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "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/mercury_image_20190207032519.jpeg"
                }
            },
            "launch": {
                "id": "c65cb588-b553-4cdd-a9ce-ba7878d45495",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/c65cb588-b553-4cdd-a9ce-ba7878d45495/?format=api",
                "slug": "atlas-lv-3b-mercury-atlas-4",
                "name": "Atlas LV-3B | Mercury-Atlas 4",
                "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:42:44Z",
                "net": "1961-09-13T14:04:16Z",
                "window_end": "1961-09-13T14:04:16Z",
                "window_start": "1961-09-13T14:04:16Z",
                "net_precision": null,
                "probability": 0,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                },
                "rocket": {
                    "id": 2393,
                    "configuration": {
                        "id": 162,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/162/?format=api",
                        "name": "Atlas LV-3B",
                        "family": "Atlas",
                        "full_name": "Atlas LV-3B",
                        "variant": "LV-3B"
                    }
                },
                "mission": {
                    "id": 5833,
                    "name": "Mercury-Atlas 4",
                    "description": "Mercury-Atlas 4 was an uncrewed suborbital test flight of the Mercury program.",
                    "launch_designator": null,
                    "type": "Test Flight",
                    "orbit": {
                        "id": 15,
                        "name": "Suborbital",
                        "abbrev": "Sub"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 17,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/17/?format=api",
                    "agency_id": 1048,
                    "name": "Space Launch Complex 14",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_14",
                    "map_url": "https://www.google.com/maps?q=28.49103,-80.54687",
                    "latitude": "28.49103",
                    "longitude": "-80.54687",
                    "location": {
                        "id": 12,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
                        "name": "Cape Canaveral, FL, USA",
                        "country_code": "USA",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
                        "timezone_name": "America/New_York",
                        "total_launch_count": 951,
                        "total_landing_count": 51
                    },
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_17_20200803143405.jpg",
                    "total_launch_count": 20,
                    "orbital_launch_attempt_count": 15
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/atlas_image_20190222030015.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 2,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/2/?format=api",
                        "name": "Mercury",
                        "description": "Project Mercury was the first human spaceflight program of the United States, running from 1958 through 1963.",
                        "agencies": [
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/project2520mer_program_20200820194755.png",
                        "start_date": "1958-10-07T00:00:00Z",
                        "end_date": "1963-05-16T23:24:02Z",
                        "info_url": "https://www.nasa.gov/mission_pages/mercury/missions/program-toc.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Project_Mercury",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": null,
                "location_launch_attempt_count": 67,
                "pad_launch_attempt_count": 8,
                "agency_launch_attempt_count": 32,
                "orbital_launch_attempt_count_year": 0,
                "location_launch_attempt_count_year": 17,
                "pad_launch_attempt_count_year": 3,
                "agency_launch_attempt_count_year": 13,
                "type": "normal"
            },
            "landing": {
                "id": 495,
                "attempt": true,
                "success": true,
                "description": "The Mercury spacecraft safely splashed down in the Atlantic Ocean.",
                "downrange_distance": null,
                "location": {
                    "id": 6,
                    "name": "Atlantic Ocean",
                    "abbrev": "ATL",
                    "description": "Atlantic Ocean",
                    "location": null,
                    "successful_landings": 0
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        },
        {
            "id": 700,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/700/?format=api",
            "destination": "Suborbital",
            "mission_end": "1961-04-25T16:23:00Z",
            "spacecraft": {
                "id": 486,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/486/?format=api",
                "name": "Mercury No.8",
                "serial_number": "8",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "PT1H57M20S",
                "time_docked": "P0D",
                "flights_count": 2,
                "mission_ends_count": 2,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Mercury No.8 is the Mercury capsule used for the Mercury-Atlas 3 and 4 missions.",
                "spacecraft_config": {
                    "id": 11,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                    "name": "Mercury",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "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/mercury_image_20190207032519.jpeg"
                }
            },
            "launch": {
                "id": "e1e4a144-47f8-489d-88ee-c41ae09cd0b7",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/e1e4a144-47f8-489d-88ee-c41ae09cd0b7/?format=api",
                "slug": "atlas-lv-3b-mercury-atlas-3",
                "name": "Atlas LV-3B | Mercury-Atlas 3",
                "status": {
                    "id": 4,
                    "name": "Launch Failure",
                    "abbrev": "Failure",
                    "description": "Either the launch vehicle did not reach orbit, or the payload(s) failed to separate."
                },
                "last_updated": "2023-06-14T17:42:42Z",
                "net": "1961-04-25T16:15:00Z",
                "window_end": "1961-04-25T16:15:00Z",
                "window_start": "1961-04-25T16:15:00Z",
                "net_precision": null,
                "probability": 0,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "Pitch and roll sequence failed to initiate.",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                },
                "rocket": {
                    "id": 2375,
                    "configuration": {
                        "id": 162,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/162/?format=api",
                        "name": "Atlas LV-3B",
                        "family": "Atlas",
                        "full_name": "Atlas LV-3B",
                        "variant": "LV-3B"
                    }
                },
                "mission": {
                    "id": 5831,
                    "name": "Mercury-Atlas 3",
                    "description": "Uncrewed test flight of the Mercury program. The launch proceeded normally until about T+20 seconds when the pitch and roll sequence failed to initiate and the vehicle instead just continued flying straight upward, requiring early termination of the flight.",
                    "launch_designator": null,
                    "type": "Test Flight",
                    "orbit": {
                        "id": 15,
                        "name": "Suborbital",
                        "abbrev": "Sub"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 17,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/17/?format=api",
                    "agency_id": 1048,
                    "name": "Space Launch Complex 14",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_14",
                    "map_url": "https://www.google.com/maps?q=28.49103,-80.54687",
                    "latitude": "28.49103",
                    "longitude": "-80.54687",
                    "location": {
                        "id": 12,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
                        "name": "Cape Canaveral, FL, USA",
                        "country_code": "USA",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
                        "timezone_name": "America/New_York",
                        "total_launch_count": 951,
                        "total_landing_count": 51
                    },
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_17_20200803143405.jpg",
                    "total_launch_count": 20,
                    "orbital_launch_attempt_count": 15
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/atlas_image_20190222030015.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 2,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/2/?format=api",
                        "name": "Mercury",
                        "description": "Project Mercury was the first human spaceflight program of the United States, running from 1958 through 1963.",
                        "agencies": [
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/project2520mer_program_20200820194755.png",
                        "start_date": "1958-10-07T00:00:00Z",
                        "end_date": "1963-05-16T23:24:02Z",
                        "info_url": "https://www.nasa.gov/mission_pages/mercury/missions/program-toc.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Project_Mercury",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": null,
                "location_launch_attempt_count": 57,
                "pad_launch_attempt_count": 7,
                "agency_launch_attempt_count": 26,
                "orbital_launch_attempt_count_year": 0,
                "location_launch_attempt_count_year": 7,
                "pad_launch_attempt_count_year": 2,
                "agency_launch_attempt_count_year": 7,
                "type": "normal"
            },
            "landing": {
                "id": 494,
                "attempt": true,
                "success": true,
                "description": "The Mercury spacecraft safely splashed down in the Atlantic Ocean after the launch escape system was triggered due to a launch vehicle failure.",
                "downrange_distance": null,
                "location": {
                    "id": 6,
                    "name": "Atlantic Ocean",
                    "abbrev": "ATL",
                    "description": "Atlantic Ocean",
                    "location": null,
                    "successful_landings": 0
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ]
}