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=-flights_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=-flights_count",
  "results": [
    {
      "id": 548,
      "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/548/?format=api",
      "name": "Gaganyaan G2",
      "serial_number": null,
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 0,
      "mission_ends_count": 0,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Second operational Gaganyaan capsule.",
      "spacecraft_config": {
        "id": 29,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/29/?format=api",
        "name": "Gaganyaan",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 1031,
          "url": "https://ll.thespacedevs.com/2.2.0/agencies/1031/?format=api",
          "name": "Hindustan Aeronautics Limited",
          "type": "Government"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
      }
    },
    {
      "id": 447,
      "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/447/?format=api",
      "name": "Dream Chaser Tenacity",
      "serial_number": null,
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 0,
      "mission_ends_count": 0,
      "status": {
        "id": 1,
        "name": "Active"
      },
      "description": "First operational Dream Chaser.",
      "spacecraft_config": {
        "id": 24,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/24/?format=api",
        "name": "Dream Chaser",
        "type": {
          "id": 3,
          "name": "Spaceplane"
        },
        "agency": {
          "id": 1020,
          "url": "https://ll.thespacedevs.com/2.2.0/agencies/1020/?format=api",
          "name": "Sierra Nevada Corporation",
          "type": "Commercial"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/dream_chaser_image_20200821084247.jpeg"
      }
    },
    {
      "id": 616,
      "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/616/?format=api",
      "name": "Soyuz MS-29",
      "serial_number": "11F732 #760",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 0,
      "mission_ends_count": 0,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Soyuz capsule for the MS-29 mission to the ISS.",
      "spacecraft_config": {
        "id": 38,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/38/?format=api",
        "name": "Soyuz MS",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "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/soyuz_ms_in_orb_image_20240313130407.jpeg"
      }
    }
  ]
}