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=520&ordering=-time_in_space
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "count": 603,
  "next": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=530&ordering=-time_in_space",
  "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=510&ordering=-time_in_space",
  "results": [
    {
      "id": 6,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/6/?format=api",
      "name": "Mercury No.16",
      "serial_number": "16",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT9H12M48S",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Mercury No.16 is the Mercury capsule used for the Mercury-Atlas 8 - callsign \"Sigma 7\" - mission launched on October 3, 1962 and piloted by astronaut Walter M. Schirra Jr.",
      "spacecraft_config": {
        "id": 11,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
        "name": "Mercury",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 44,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
          "name": "National Aeronautics and Space Administration",
          "type": "Government"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg"
      }
    },
    {
      "id": 23,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/23/?format=api",
      "name": "Apollo CSM-017",
      "serial_number": "CSM-017",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT8H36M59S",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "CSM-017 was an Apollo Command & Service Module used in the Apollo 4 mission.",
      "spacecraft_config": {
        "id": 10,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/10/?format=api",
        "name": "Apollo Command/Service Module",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 999,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/999/?format=api",
          "name": "North American Aviation",
          "type": "Commercial"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg"
      }
    },
    {
      "id": 5,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/5/?format=api",
      "name": "Mercury No.18",
      "serial_number": "18",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT4H55M44S",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Mercury No.18 is the Mercury capsule used for the Mercury-Atlas 7  - callsign \"Aurora 7\" - mission launched on May 24, 1962 and piloted by astronaut Scott Carpenter.",
      "spacecraft_config": {
        "id": 11,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
        "name": "Mercury",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 44,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
          "name": "National Aeronautics and Space Administration",
          "type": "Government"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg"
      }
    },
    {
      "id": 4,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/4/?format=api",
      "name": "Mercury No.13",
      "serial_number": "13",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT4H55M21S",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Mercury No.13 is the Mercury capsule used for the Mercury-Atlas 6 - callsign \"Friendship 7\" - mission launched on February 20, 1962 and piloted by astronaut John Glenn.",
      "spacecraft_config": {
        "id": 11,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
        "name": "Mercury",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 44,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
          "name": "National Aeronautics and Space Administration",
          "type": "Government"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg"
      }
    },
    {
      "id": 538,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/538/?format=api",
      "name": "Orion 001",
      "serial_number": "001",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT4H24M",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 2,
        "name": "Retired"
      },
      "description": "First Orion to fly in space. It was used for the Exploration Flight Test-1 mission, without a service module.",
      "spacecraft_config": {
        "id": 4,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/4/?format=api",
        "name": "Orion",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 44,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
          "name": "National Aeronautics and Space Administration",
          "type": "Government"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/orion_image_20231118102035.jpeg"
      }
    },
    {
      "id": 473,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/473/?format=api",
      "name": "VSS Unity",
      "serial_number": "N202VG",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT4H3M43S",
      "time_docked": "P0D",
      "flights_count": 30,
      "mission_ends_count": 30,
      "status": {
        "id": 2,
        "name": "Retired"
      },
      "description": "VSS Unity, previously referred to as VSS Voyager, is a SpaceShipTwo-class suborbital rocket-powered crewed spaceplane. It is the second SpaceShipTwo to be built and will be used as part of the Virgin Galactic fleet.",
      "spacecraft_config": {
        "id": 27,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/27/?format=api",
        "name": "SpaceShipTwo",
        "type": {
          "id": 3,
          "name": "Spaceplane"
        },
        "agency": {
          "id": 1024,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/1024/?format=api",
          "name": "Virgin Galactic",
          "type": "Private"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/spaceshiptwo_image_20210522133744.jpeg"
      }
    },
    {
      "id": 444,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/444/?format=api",
      "name": "X-15-3",
      "serial_number": "56-6672",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT3H51M32S",
      "time_docked": "P0D",
      "flights_count": 11,
      "mission_ends_count": 11,
      "status": {
        "id": 3,
        "name": "Destroyed"
      },
      "description": "Third X-15 experimental rocket plane. Destroyed during flight 191.",
      "spacecraft_config": {
        "id": 13,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/13/?format=api",
        "name": "North American X-15",
        "type": {
          "id": 3,
          "name": "Spaceplane"
        },
        "agency": {
          "id": 44,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
          "name": "National Aeronautics and Space Administration",
          "type": "Government"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/north2520american2520x-15_image_20190207032520.jpeg"
      }
    },
    {
      "id": 537,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/537/?format=api",
      "name": "Buran OK-1K",
      "serial_number": "1.01",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT3H25M23S",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 3,
        "name": "Destroyed"
      },
      "description": "First and only Buran orbiter to fly in space. It was destroyed in 2002 when the hangar it was stored in collapsed.",
      "spacecraft_config": {
        "id": 28,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/28/?format=api",
        "name": "Buran",
        "type": {
          "id": 3,
          "name": "Spaceplane"
        },
        "agency": {
          "id": 63,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/63/?format=api",
          "name": "Russian Federal Space Agency (ROSCOSMOS)",
          "type": "Government"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/buran_image_20210902151254.jpg"
      }
    },
    {
      "id": 487,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/487/?format=api",
      "name": "Mercury No.9",
      "serial_number": "9",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT3H20M59S",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Mercury No.9 is the Mercury capsule used for the Mercury-Atlas 5 mission.",
      "spacecraft_config": {
        "id": 11,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
        "name": "Mercury",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 44,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
          "name": "National Aeronautics and Space Administration",
          "type": "Government"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg"
      }
    },
    {
      "id": 594,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/594/?format=api",
      "name": "Ship 30",
      "serial_number": "S30",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT3H6M",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 3,
        "name": "Destroyed"
      },
      "description": "Ship 30 (S30) is the 2nd stage vehicle used for the fifth Starship integrated flight test. Lost to the ocean after a successful soft splashdown.",
      "spacecraft_config": {
        "id": 26,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/26/?format=api",
        "name": "Starship V1",
        "type": {
          "id": 6,
          "name": "Reuseable Upper Stage"
        },
        "agency": {
          "id": 121,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/121/?format=api",
          "name": "SpaceX",
          "type": "Commercial"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/starship_image_20231116184708.jpeg"
      }
    }
  ]
}