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

{
  "count": 612,
  "next": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=30&ordering=-mission_ends_count",
  "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=10&ordering=-mission_ends_count",
  "results": [
    {
      "id": 558,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/558/?format=api",
      "name": "X-37B 1",
      "serial_number": "1",
      "is_placeholder": false,
      "in_space": true,
      "time_in_space": "P2258DT2H55M28S",
      "time_docked": "P0D",
      "flights_count": 4,
      "mission_ends_count": 3,
      "status": {
        "id": 1,
        "name": "Active"
      },
      "description": "First X-37B. First flight on April 22, 2010.",
      "spacecraft_config": {
        "id": 30,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/30/?format=api",
        "name": "X-37B",
        "type": {
          "id": 3,
          "name": "Spaceplane"
        },
        "agency": {
          "id": 80,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/80/?format=api",
          "name": "Boeing",
          "type": "Commercial"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/x-37b_image_20221113134355.jpeg"
      }
    },
    {
      "id": 554,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/554/?format=api",
      "name": "Cargo Dragon C211",
      "serial_number": "C211",
      "is_placeholder": false,
      "in_space": true,
      "time_in_space": "P307DT23H20M10S",
      "time_docked": "P299DT13H49M27S",
      "flights_count": 4,
      "mission_ends_count": 3,
      "status": {
        "id": 1,
        "name": "Active"
      },
      "description": "Third Cargo Dragon 2",
      "spacecraft_config": {
        "id": 7,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/7/?format=api",
        "name": "Cargo Dragon 2",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 121,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/121/?format=api",
          "name": "SpaceX",
          "type": "Commercial"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/crs-28_dragon_d_image_20230530191602.jpeg"
      }
    },
    {
      "id": 221,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/221/?format=api",
      "name": "Dragon C112",
      "serial_number": "C112",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P99DT1H13S",
      "time_docked": "P88DT16H53M",
      "flights_count": 3,
      "mission_ends_count": 3,
      "status": {
        "id": 2,
        "name": "Retired"
      },
      "description": "The C112 capsule was flown on CRS-10, CRS-16 and CRS-20.\r\n\r\nOn CRS-10 the capsule lifted off from the Kennedy Space Center from pad 39A. This was the first flight from this pad since STS-135 left the pad in mid-2011. The vehicle experienced some software issues meaning its berthing was delayed for a day.\r\n\r\nNow on display in Waco, Texas at the Bledsoe-Miller STEAM Center.",
      "spacecraft_config": {
        "id": 3,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/3/?format=api",
        "name": "Dragon 1",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "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/crs-172520dragon2520berthing_image_20190318203226.jpeg"
      }
    },
    {
      "id": 217,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/217/?format=api",
      "name": "Dragon C108",
      "serial_number": "C108",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P98DT18H50M14S",
      "time_docked": "P90DT19H9M",
      "flights_count": 3,
      "mission_ends_count": 3,
      "status": {
        "id": 2,
        "name": "Retired"
      },
      "description": "This capsule flew both CRS-6, CRS-13, and CRS-18\r\n\r\nIt is the first three time flown dragon capsule.\r\n\r\nAs part of CRS-6 the robotic SpaceX Dragon capsule splashed down in the Pacific Ocean on Thursday, 21 May 2015.\r\n\r\nThe CRS-13 mission was the first NASA to fly on a flight-proven Falcon 9.\r\n\r\nNow on display in Los Angeles, California at the California Science Center.",
      "spacecraft_config": {
        "id": 3,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/3/?format=api",
        "name": "Dragon 1",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "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/crs-172520dragon2520berthing_image_20190318203226.jpeg"
      }
    },
    {
      "id": 215,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/215/?format=api",
      "name": "Dragon C106",
      "serial_number": "C106",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P97DT3H2M55S",
      "time_docked": "P89DT34M",
      "flights_count": 3,
      "mission_ends_count": 3,
      "status": {
        "id": 2,
        "name": "Retired"
      },
      "description": "This was the first dragon vehicle to be used for more than one mission.\r\n\r\nThis capsule flew on CRS-4 which carried SpaceX's first living payload in the form of 20 mice. \r\n\r\nIt also flew on CRS-11.",
      "spacecraft_config": {
        "id": 3,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/3/?format=api",
        "name": "Dragon 1",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "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/crs-172520dragon2520berthing_image_20190318203226.jpeg"
      }
    },
    {
      "id": 486,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/486/?format=api",
      "name": "Mercury No.8",
      "serial_number": "8",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT1H57M20S",
      "time_docked": "P0D",
      "flights_count": 2,
      "mission_ends_count": 2,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Mercury No.8 is the Mercury capsule used for the Mercury-Atlas 3 and 4 missions.",
      "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": 485,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/485/?format=api",
      "name": "Mercury No.14",
      "serial_number": "14",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT10M",
      "time_docked": "P0D",
      "flights_count": 2,
      "mission_ends_count": 2,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Mercury No.14 is the Mercury capsule used for the Little Joe 5A 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": 442,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/442/?format=api",
      "name": "X-15-1",
      "serial_number": "56-6670",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT18M",
      "time_docked": "P0D",
      "flights_count": 2,
      "mission_ends_count": 2,
      "status": {
        "id": 2,
        "name": "Retired"
      },
      "description": "First X-15 experimental rocket plane.",
      "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": 288,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/288/?format=api",
      "name": "Starliner Calypso",
      "serial_number": "3",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P95DT14H31M30S",
      "time_docked": "P92DT4H30M",
      "flights_count": 2,
      "mission_ends_count": 2,
      "status": {
        "id": 1,
        "name": "Active"
      },
      "description": "The first CST-100 Starliner capsule to fly.",
      "spacecraft_config": {
        "id": 9,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/9/?format=api",
        "name": "CST-100 Starliner",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 80,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/80/?format=api",
          "name": "Boeing",
          "type": "Commercial"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/boeing_starline_image_20220525180700.jpeg"
      }
    },
    {
      "id": 9,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/9/?format=api",
      "name": "Mercury No.2",
      "serial_number": "2",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT15M",
      "time_docked": "P0D",
      "flights_count": 2,
      "mission_ends_count": 2,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Mercury No.2 is the Mercury capsule used for the Mercury-Redsone 1 mission which failed on launch.",
      "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"
      }
    }
  ]
}