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 - ll.thespacedevs.com/docs

GET /2.3.0/spacecraft/?format=api&offset=590&ordering=flights_count
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "count": 591,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.3.0/spacecraft/?format=api&limit=10&offset=580&ordering=flights_count",
    "results": [
        {
            "response_mode": "normal",
            "id": 38,
            "url": "https://ll.thespacedevs.com/2.3.0/spacecraft/38/?format=api",
            "name": "Space Shuttle Discovery",
            "serial_number": "OV-103",
            "is_placeholder": false,
            "image": {
                "id": 1964,
                "name": "Spaceshuttle Endeavour in orbit",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spaceshuttle_en_image_20240309151027.jpeg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spaceshuttle_en_image_thumbnail_20240309151027.jpeg",
                "credit": "NASA",
                "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": "P365DT2H20M51S",
            "time_docked": "P123DT15H12M",
            "flights_count": 39,
            "mission_ends_count": 39,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "Space Shuttle Discovery (Orbiter Vehicle Designation: OV-103) is one of the orbiters from NASA's Space Shuttle program and the third of five fully operational orbiters to be built. Its first mission, STS-41-D, flew from August 30 to September 5, 1984. Over 27 years of service it launched and landed 39 times, gathering more spaceflights than any other spacecraft to date. Discovery became the third operational orbiter to enter service, preceded by Columbia and Challenger. It embarked on its last mission, STS-133, on February 24, 2011 and touched down for the final time at Kennedy Space Center on March 9, having spent a cumulative total of almost a full year in space. Discovery performed both research and International Space Station (ISS) assembly missions. It also carried the Hubble Space Telescope into orbit. Discovery was the first operational shuttle to be retired, followed by Endeavour and then Atlantis.",
            "spacecraft_config": {
                "response_mode": "normal",
                "id": 14,
                "url": "https://ll.thespacedevs.com/2.3.0/spacecraft_configurations/14/?format=api",
                "name": "Space Shuttle",
                "type": {
                    "id": 3,
                    "name": "Spaceplane"
                },
                "agency": {
                    "response_mode": "list",
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.3.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "abbrev": "NASA",
                    "type": {
                        "id": 1,
                        "name": "Government"
                    }
                },
                "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": []
                }
            },
            "fastest_turnaround": "P58DT21H38M32S"
        }
    ]
}