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

{
    "count": 596,
    "next": null,
    "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=580&ordering=-time_in_space",
    "results": [
        {
            "id": 489,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/489/?format=api",
            "name": "Soyuz 7K-OK No.1",
            "serial_number": "Soyuz 7K-OK (P) 11F615 #1",
            "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": "First generation Soyuz meant to be used for a test flight.",
            "spacecraft_config": {
                "id": 1,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/1/?format=api",
                "name": "Soyuz",
                "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": false,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 608,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/608/?format=api",
            "name": "Unknown RSS",
            "serial_number": "TBD",
            "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": "The specific spacecraft for this launch is currently unknown.",
            "spacecraft_config": {
                "id": 21,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/21/?format=api",
                "name": "Crew Capsule 2.0",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 141,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/141/?format=api",
                    "name": "Blue Origin",
                    "type": "Commercial"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/crew2520capsule25202.0_image_20190309095011.jpeg"
            }
        },
        {
            "id": 482,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/482/?format=api",
            "name": "Mercury No.4",
            "serial_number": "4",
            "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": "Mercury No.4 is the Mercury capsule used for the Mercury-Atlas 1 flight.",
            "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": 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": 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": 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"
            }
        }
    ]
}