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_docked
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_docked",
    "results": [
        {
            "response_mode": "normal",
            "id": 495,
            "url": "https://ll.thespacedevs.com/2.3.0/spacecraft/495/?format=api",
            "name": "Soyuz 7K-OK No.9",
            "serial_number": "Soyuz 7K-OK 11F615 #9",
            "is_placeholder": false,
            "image": {
                "id": 1927,
                "name": "[AUTO] Soyuz - image",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305194147.jpeg",
                "credit": null,
                "license": {
                    "id": 1,
                    "name": "Unknown",
                    "priority": 9,
                    "link": null
                },
                "single_use": true,
                "variants": []
            },
            "in_space": false,
            "time_in_space": "P3DT23H3M",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "First generation Soyuz used for a test flight.",
            "spacecraft_config": {
                "response_mode": "normal",
                "id": 1,
                "url": "https://ll.thespacedevs.com/2.3.0/spacecraft_configurations/1/?format=api",
                "name": "Soyuz",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "response_mode": "list",
                    "id": 63,
                    "url": "https://ll.thespacedevs.com/2.3.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "abbrev": "RFSA",
                    "type": {
                        "id": 1,
                        "name": "Government"
                    }
                },
                "family": [
                    {
                        "response_mode": "normal",
                        "id": 1,
                        "name": "Soyuz",
                        "description": "Soyuz is a series of spacecraft which has been in service since the 1960s, having made more than 140 flights. It was designed for the Soviet space program by the Korolev Design Bureau (now Energia).",
                        "manufacturer": {
                            "response_mode": "list",
                            "id": 1000,
                            "url": "https://ll.thespacedevs.com/2.3.0/agencies/1000/?format=api",
                            "name": "Energia",
                            "abbrev": "OKB-1",
                            "type": {
                                "id": 1,
                                "name": "Government"
                            }
                        },
                        "parent": null,
                        "maiden_flight": "1966-11-28"
                    }
                ],
                "in_use": false,
                "image": {
                    "id": 1927,
                    "name": "[AUTO] Soyuz - image",
                    "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg",
                    "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305194147.jpeg",
                    "credit": null,
                    "license": {
                        "id": 1,
                        "name": "Unknown",
                        "priority": 9,
                        "link": null
                    },
                    "single_use": true,
                    "variants": []
                }
            },
            "fastest_turnaround": null
        }
    ]
}