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": 210,
            "url": "https://ll.thespacedevs.com/2.3.0/spacecraft/210/?format=api",
            "name": "Dragon C101",
            "serial_number": "C101",
            "is_placeholder": false,
            "image": {
                "id": 1245,
                "name": "Dragon 1 in orbit",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crs-172520dragon2520berthing_image_20190318203226.jpeg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305192134.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": false,
                "variants": []
            },
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 2,
                "name": "Retired"
            },
            "description": "First Dragon mission, second Falcon 9 launch. Mission tested the orbital maneuvering and reentry of the Dragon capsule. After recovery, the capsule was put on display at SpaceX's headquarters.",
            "spacecraft_config": {
                "response_mode": "normal",
                "id": 3,
                "url": "https://ll.thespacedevs.com/2.3.0/spacecraft_configurations/3/?format=api",
                "name": "Dragon 1",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "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": [
                    {
                        "response_mode": "normal",
                        "id": 6,
                        "name": "Dragon",
                        "description": "Dragon is a family of spacecraft developed and produced by American private space transportation company SpaceX.",
                        "manufacturer": {
                            "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"
                            }
                        },
                        "parent": null,
                        "maiden_flight": "2010-12-08"
                    }
                ],
                "in_use": false,
                "image": {
                    "id": 1245,
                    "name": "Dragon 1 in orbit",
                    "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/crs-172520dragon2520berthing_image_20190318203226.jpeg",
                    "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305192134.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": false,
                    "variants": []
                }
            },
            "fastest_turnaround": null
        }
    ]
}