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=time_in_space
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=time_in_space",
    "results": [
        {
            "response_mode": "normal",
            "id": 275,
            "url": "https://ll.thespacedevs.com/2.3.0/spacecraft/275/?format=api",
            "name": "Tesla Roadster",
            "serial_number": "TSLA 10",
            "is_placeholder": false,
            "image": {
                "id": 1936,
                "name": "Tesla Roadster and Starman",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tesla2520roadster_image_20190307220553.jpg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305194202.jpeg",
                "credit": "SpaceX",
                "license": {
                    "id": 5,
                    "name": "CC BY-NC 2.0",
                    "priority": 1,
                    "link": "https://creativecommons.org/licenses/by-nc/2.0/"
                },
                "single_use": true,
                "variants": []
            },
            "in_space": true,
            "time_in_space": "P2645DT5H15M39S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 0,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Elon Musk's Tesla Roadster is an electric sports car that served as the dummy payload for the February 2018 Falcon Heavy test flight and became an artificial satellite of the Sun. \"Starman\", a mannequin dressed in a spacesuit, occupies the driver's seat. The car and rocket are products of Tesla and SpaceX, respectively, both companies founded by Elon Musk. The 2008-model Roadster was previously used by Musk for commuting to work, and is the only production car in space.\r\n\r\nThe car, mounted on the rocket's second stage, acquired enough velocity to escape Earth's gravity and enter an elliptical heliocentric orbit crossing the orbit of Mars. The orbit reaches a maximum distance from the Sun at aphelion of 1.66 astronomical units (au). During the early portion of the voyage outside the Earth's atmosphere, live video was transmitted back to the mission control center and live-streamed for slightly over four hours.",
            "spacecraft_config": {
                "response_mode": "normal",
                "id": 20,
                "url": "https://ll.thespacedevs.com/2.3.0/spacecraft_configurations/20/?format=api",
                "name": "Tesla Roadster",
                "type": {
                    "id": 5,
                    "name": "Mass Simulator"
                },
                "agency": {
                    "response_mode": "list",
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.3.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "abbrev": "SpX",
                    "type": {
                        "id": 3,
                        "name": "Commercial"
                    }
                },
                "family": [],
                "in_use": false,
                "image": {
                    "id": 1936,
                    "name": "Tesla Roadster and Starman",
                    "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tesla2520roadster_image_20190307220553.jpg",
                    "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305194202.jpeg",
                    "credit": "SpaceX",
                    "license": {
                        "id": 5,
                        "name": "CC BY-NC 2.0",
                        "priority": 1,
                        "link": "https://creativecommons.org/licenses/by-nc/2.0/"
                    },
                    "single_use": true,
                    "variants": []
                }
            },
            "fastest_turnaround": null
        }
    ]
}