Modes

Levels of detail in the response - normal, detailed

Example - /spacecraft/?mode=detailed

Filters

Parameters - in_space, is_placeholder, name, spacecraft_config, status

Example - /spacecraft/?is_placeholder=True

Fields searched - name, spacecraft_config__name

Example - /spacecraft/?search=Endeavour

Ordering

Fields - flights_count, id, mission_ends_count, time_docked, time_in_space

Example - /spacecraft/?ordering=-flights_count

Number of results

Use limit to control the number of objects in the response (max 100)

Example - /spacecraft/?limit=2

Format

Switch to JSON output - /spacecraft/?format=json

Help

Find all the FAQs and support links on the documentation homepage - lldev.thespacedevs.com/docs

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

{
    "response_mode": "detailed",
    "id": 40,
    "url": "https://lldev.thespacedevs.com/2.3.0/spacecraft/40/?format=api",
    "name": "Space Shuttle Endeavour",
    "serial_number": "OV-105",
    "is_placeholder": false,
    "image": {
        "id": 1962,
        "name": "Spaceshuttle Endeavour atop carrier aircraft",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spaceshuttle_en_image_20240309150401.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spaceshuttle_en_image_thumbnail_20240309150402.jpeg",
        "credit": "NASA/Tom Tschida",
        "license": {
            "id": 4,
            "name": "NASA Image and Media Guidelines",
            "priority": 0,
            "link": "https://www.nasa.gov/nasa-brand-center/images-and-media/"
        },
        "single_use": true,
        "variants": []
    },
    "in_space": false,
    "time_in_space": "P296DT5H37M42S",
    "time_docked": "P120DT14H50M45S",
    "flights_count": 25,
    "mission_ends_count": 25,
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "description": "Space Shuttle Endeavour (Orbiter Vehicle Designation: OV-105) is a retired orbiter from NASA's Space Shuttle program and the fifth and final operational shuttle built. It embarked on its first mission, STS-49, in May 1992 and its 25th and final mission, STS-134, in May 2011. STS-134 was expected to be the final mission of the Space Shuttle program, but with the authorization of STS-135, Atlantis became the last shuttle to fly.  The United States Congress approved the construction of Endeavour in 1987 to replace Challenger, which was lost in 1986.  Structural spares built during the construction of Discovery and Atlantis were used in its assembly. NASA chose, on cost grounds, to build Endeavour from spares rather than refitting Enterprise.",
    "spacecraft_config": {
        "response_mode": "detailed",
        "id": 14,
        "url": "https://lldev.thespacedevs.com/2.3.0/spacecraft_configurations/14/?format=api",
        "name": "Space Shuttle",
        "type": {
            "id": 3,
            "name": "Spaceplane"
        },
        "agency": {
            "response_mode": "normal",
            "id": 44,
            "url": "https://lldev.thespacedevs.com/2.3.0/agencies/44/?format=api",
            "name": "National Aeronautics and Space Administration",
            "abbrev": "NASA",
            "type": {
                "id": 1,
                "name": "Government"
            },
            "featured": true,
            "country": [
                {
                    "id": 2,
                    "name": "United States of America",
                    "alpha_2_code": "US",
                    "alpha_3_code": "USA",
                    "nationality_name": "American",
                    "nationality_name_composed": "Americano"
                }
            ],
            "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",
            "parent": null,
            "image": {
                "id": 19,
                "name": "[AUTO] National Aeronautics and Space Administration - image",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305184631.jpeg",
                "credit": null,
                "license": {
                    "id": 1,
                    "name": "Unknown",
                    "priority": 9,
                    "link": null
                },
                "single_use": true,
                "variants": []
            },
            "logo": {
                "id": 161,
                "name": "[AUTO] National Aeronautics and Space Administration - logo",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185043.png",
                "credit": null,
                "license": {
                    "id": 1,
                    "name": "Unknown",
                    "priority": 9,
                    "link": null
                },
                "single_use": true,
                "variants": []
            },
            "social_logo": {
                "id": 76,
                "name": "[AUTO] National Aeronautics and Space Administration - social_logo",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_nation_20230803040809.jpg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305184823.jpeg",
                "credit": null,
                "license": {
                    "id": 1,
                    "name": "Unknown",
                    "priority": 9,
                    "link": null
                },
                "single_use": true,
                "variants": []
            }
        },
        "family": [],
        "in_use": false,
        "image": {
            "id": 1934,
            "name": "[AUTO] Space Shuttle - image",
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/space2520shuttle_image_20190207032524.jpeg",
            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305194159.jpeg",
            "credit": null,
            "license": {
                "id": 1,
                "name": "Unknown",
                "priority": 9,
                "link": null
            },
            "single_use": true,
            "variants": []
        },
        "capability": "Carrying a crew of 7 astronauts along with cargo to Low Earth Orbit.",
        "history": "The Space shuttle was a United States space craft. Following the conclusion of the Apollo program the Space Shuttle intended to lower costs for reliable access to Low Earth Orbit. The program ran from 1981-2011.",
        "details": "The Space Shuttle was a partially reusable LEO spacecraft system operated by the U.S. National Aeronautics and Space Administration (NASA) as part of the Space Shuttle program. Its official program name was Space Transportation System (STS), taken from a 1969 plan for a system of reusable spacecraft of which it was the only item funded for development. The first of four orbital test flights occurred in 1981, leading to operational flights in 1982. In addition to the prototype whose completion was cancelled, five complete Shuttle systems were built and used on a total of 135 missions from 1981 to 2011, launched from the Kennedy Space Center (KSC) in Florida. Operational missions launched numerous satellites, interplanetary probes, and the Hubble Space Telescope (HST); conducted science experiments in orbit; and participated in construction and servicing of the International Space Station. The Shuttle fleet's total mission time was 1322 days, 19 hours, 21 minutes and 23 seconds.",
        "maiden_flight": "1981-04-12",
        "height": 56.1,
        "diameter": 8.7,
        "human_rated": true,
        "crew_capacity": 7,
        "payload_capacity": 27500,
        "payload_return_capacity": null,
        "flight_life": "14 days",
        "wiki_link": "https://en.wikipedia.org/wiki/Space_Shuttle",
        "info_link": "",
        "spacecraft_flown": 5,
        "total_launch_count": 135,
        "successful_launches": 133,
        "failed_launches": 2,
        "attempted_landings": 134,
        "successful_landings": 133,
        "failed_landings": 1,
        "fastest_turnaround": "P50DT7H29M"
    },
    "fastest_turnaround": "P114DT22H3M",
    "flights": []
}