API endpoint that allows Spacecrafts to be viewed. A Spacecraft is a physically manufactured instance of a Spacecraft Configuration

GET: Return a list of all the existing spacecraft.

FILTERS: Parameters - 'name', 'status', 'spacecraft_config', 'is_placeholder', 'in_space' Example - /2.2.0/spacecraft/?in_space=true

SEARCH EXAMPLE: Example - /2.2.0/spacecraft/?search=Dragon

ORDERING: Fields - 'id', 'time_in_space', 'time_docked', 'flights_count', 'mission_ends_count' Example - /2.2.0/spacecraft/?ordering=id

GET /2.2.0/spacecraft/?format=api&offset=600&ordering=-mission_ends_count
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "count": 603,
  "next": null,
  "previous": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=590&ordering=-mission_ends_count",
  "results": [
    {
      "id": 611,
      "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/611/?format=api",
      "name": "Tianzhou-9",
      "serial_number": "9",
      "is_placeholder": false,
      "in_space": true,
      "time_in_space": "P276DT3H21M46S",
      "time_docked": "P276DT4M9S",
      "flights_count": 1,
      "mission_ends_count": 0,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Ninth operational Tianzhou spacecraft.",
      "spacecraft_config": {
        "id": 25,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/25/?format=api",
        "name": "Tianzhou",
        "type": {
          "id": 4,
          "name": "Cargo Resupply"
        },
        "agency": {
          "id": 88,
          "url": "https://ll.thespacedevs.com/2.2.0/agencies/88/?format=api",
          "name": "China Aerospace Science and Technology Corporation",
          "type": "Government"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tianzhou_image_20210513100807.jpg"
      }
    },
    {
      "id": 623,
      "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/623/?format=api",
      "name": "HTV-X1",
      "serial_number": "HTV-X1",
      "is_placeholder": false,
      "in_space": true,
      "time_in_space": "P173DT55M55S",
      "time_docked": "P127DT21H17M",
      "flights_count": 1,
      "mission_ends_count": 0,
      "status": {
        "id": 1,
        "name": "Active"
      },
      "description": "Spacecraft used for the maiden flight of the HTV-X Cargo Resupply Vehicle.",
      "spacecraft_config": {
        "id": 47,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/47/?format=api",
        "name": "HTV-X",
        "type": {
          "id": 4,
          "name": "Cargo Resupply"
        },
        "agency": {
          "id": 37,
          "url": "https://ll.thespacedevs.com/2.2.0/agencies/37/?format=api",
          "name": "Japan Aerospace Exploration Agency",
          "type": "Government"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/htv-x_in_space__image_20251122191933.jpg"
      }
    },
    {
      "id": 622,
      "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/622/?format=api",
      "name": "Progress MS-32",
      "serial_number": "MS-32 (No.462)",
      "is_placeholder": false,
      "in_space": true,
      "time_in_space": "P217DT9H2M4S",
      "time_docked": "P215DT7H33M10S",
      "flights_count": 1,
      "mission_ends_count": 0,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Progress MS-32 is a Progress spacecraft used by Roscosmos to resupply the International Space Station (ISS).",
      "spacecraft_config": {
        "id": 33,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/33/?format=api",
        "name": "Progress-MS",
        "type": {
          "id": 4,
          "name": "Cargo Resupply"
        },
        "agency": {
          "id": 63,
          "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
          "name": "Russian Federal Space Agency (ROSCOSMOS)",
          "type": "Government"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/progress-ms_image_20231219150735.jpeg"
      }
    }
  ]
}