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=-time_in_space
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=610&ordering=-time_in_space",
  "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=590&ordering=-time_in_space",
  "results": [
    {
      "id": 569,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/569/?format=api",
      "name": "Cargo Dragon",
      "serial_number": "TBD",
      "is_placeholder": true,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 0,
      "mission_ends_count": 0,
      "status": {
        "id": 1,
        "name": "Active"
      },
      "description": "The specific spacecraft for this launch is currently unknown.",
      "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": 613,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/613/?format=api",
      "name": "Gaganyaan G3",
      "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": "Third operational Gaganyaan capsule.",
      "spacecraft_config": {
        "id": 29,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/29/?format=api",
        "name": "Gaganyaan",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 1031,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/1031/?format=api",
          "name": "Hindustan Aeronautics Limited",
          "type": "Government"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
      }
    },
    {
      "id": 470,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/470/?format=api",
      "name": "Ship 20",
      "serial_number": "S20",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 0,
      "mission_ends_count": 0,
      "status": {
        "id": 2,
        "name": "Retired"
      },
      "description": "Used for ground testing alongside Booster 4. Ship 20 is now on display at the Starbase Rocket Garden.",
      "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"
      }
    },
    {
      "id": 631,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/631/?format=api",
      "name": "Soyuz MS-30",
      "serial_number": "11F732A48 #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-30 mission to the ISS.",
      "spacecraft_config": {
        "id": 38,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/38/?format=api",
        "name": "Soyuz MS",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "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": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_ms_in_orb_image_20240313130407.jpeg"
      }
    },
    {
      "id": 460,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/460/?format=api",
      "name": "Apollo CSM-012",
      "serial_number": "CSM-012",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 3,
        "name": "Destroyed"
      },
      "description": "CSM-012 was an Apollo Command & Service Module that was planned to be used in the Apollo 1 mission. It was destroyed by a fatal cabin fire during a launch rehearsal on January 27, 1967.",
      "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": 447,
      "url": "https://lldev.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://lldev.thespacedevs.com/2.2.0/config/spacecraft/24/?format=api",
        "name": "Dream Chaser",
        "type": {
          "id": 3,
          "name": "Spaceplane"
        },
        "agency": {
          "id": 1020,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/1020/?format=api",
          "name": "Sierra Nevada Corporation",
          "type": "Commercial"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/dream_chaser_image_20200821084247.jpeg"
      }
    },
    {
      "id": 163,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/163/?format=api",
      "name": "Cygnus CRS Orb-3",
      "serial_number": null,
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 3,
        "name": "Destroyed"
      },
      "description": "Cygnus CRS Orb-3, also known as Orbital Sciences CRS Flight 3 or Orbital 3, was an attempted flight of Cygnus, an automated cargo spacecraft developed by United States-based company Orbital Sciences, on 28 October 2014. This flight, which would have been its fourth to the International Space Station and the fifth of an Antares launch vehicle, resulted in the Antares rocket exploding seconds after liftoff.",
      "spacecraft_config": {
        "id": 5,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/5/?format=api",
        "name": "Cygnus Standard",
        "type": {
          "id": 4,
          "name": "Cargo Resupply"
        },
        "agency": {
          "id": 257,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/257/?format=api",
          "name": "Northrop Grumman Space Systems",
          "type": "Commercial"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/cygnus2520standard_image_20190207032514.jpeg"
      }
    },
    {
      "id": 13,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/13/?format=api",
      "name": "Gemini SC3",
      "serial_number": "3",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Gemini SC3 is the Gemini capsule used for the Gemini 3 mission launched on March 23, 1965 and piloted by astronaut Virgil Il. \"Gus\" Grissom.",
      "spacecraft_config": {
        "id": 12,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/12/?format=api",
        "name": "Gemini",
        "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/gemini_image_20190207032517.jpeg"
      }
    },
    {
      "id": 452,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/452/?format=api",
      "name": "Crew Dragon",
      "serial_number": "TBD",
      "is_placeholder": true,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 0,
      "mission_ends_count": 0,
      "status": {
        "id": 1,
        "name": "Active"
      },
      "description": "The specific spacecraft for this launch is currently unknown.",
      "spacecraft_config": {
        "id": 6,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/6/?format=api",
        "name": "Crew 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/spacex_dm-2_cre_image_20200504065311.jpeg"
      }
    },
    {
      "id": 549,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/549/?format=api",
      "name": "Gaganyaan H1",
      "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": "Fourth operational Gaganyaan capsule. First one to carry crew.",
      "spacecraft_config": {
        "id": 29,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/29/?format=api",
        "name": "Gaganyaan",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 1031,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/1031/?format=api",
          "name": "Hindustan Aeronautics Limited",
          "type": "Government"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
      }
    }
  ]
}