API endpoint that allows Astronaut to be viewed.

GET:
Return a list of all the existing astronauts.

MODE:
Normal, List, LaunchList and Detailed
/2.0.0/astronaut/?mode=detailed

FILTERS:
Parameters - 'name', 'status', 'nationality', 'agency__name', 'agency__abbrev', 'date_of_birth',
'date_of_death', 'status_ids'
Example - /2.0.0/astronaut/?nationality=American

SEARCH EXAMPLE:
/2.0.0/astronaut/?search=armstrong
Searches through name, nationality and agency name

ORDERING:
Fields - 'name', 'status', 'date_of_birth'
Example - /2.0.0/astronaut/?order=name

GET /2.0.0/astronaut/22/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 22,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/22/?format=api",
    "name": "Deke Slayton",
    "status": {
        "id": 11,
        "name": "Deceased"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "agency": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "type": "Government"
    },
    "date_of_birth": "1924-03-01",
    "date_of_death": "1993-06-13",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Donald Kent \"Deke\" Slayton, was an American World War II pilot, aeronautical engineer, and test pilot who was selected as one of the original NASA Mercury Seven astronauts, and became NASA's first Chief of the Astronaut Office.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/deke2520slayton_image_20190426143649.jpeg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185249.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Deke_Slayton",
    "flights": [
        {
            "id": "9959bda6-fa27-4ed5-8bea-d2f55f7a5b68",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/9959bda6-fa27-4ed5-8bea-d2f55f7a5b68/?format=api",
            "launch_library_id": 972,
            "slug": "saturn-ib-apollo-soyuz-test-project",
            "name": "Saturn IB | Apollo-Soyuz Test Project",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1975-07-15T19:50:00Z",
            "window_end": "1975-07-15T19:50:00Z",
            "window_start": "1975-07-15T19:50:00Z",
            "inhold": false,
            "tbdtime": false,
            "tbddate": false,
            "probability": -1,
            "holdreason": "",
            "failreason": null,
            "hashtag": null,
            "launch_service_provider": {
                "id": 44,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                "name": "National Aeronautics and Space Administration",
                "type": "Government"
            },
            "rocket": {
                "id": 252,
                "configuration": {
                    "id": 163,
                    "launch_library_id": 135,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/163/?format=api",
                    "name": "Saturn IB",
                    "family": "Saturn",
                    "full_name": "Saturn IB",
                    "variant": "IB"
                }
            },
            "mission": {
                "id": 914,
                "launch_library_id": 408,
                "name": "Apollo-Soyuz Test Project",
                "description": "The Apollo-Soyuz Test Project was the first joint US-Soviet space flight and the last crewed US space mission until the Space Shuttle program.\nThe US side of mission began on July 15, 1975, 19:50:00 UTC, launching Commander Thomas P. Stafford, Command Module Pilot Vance D. Brand and Docking Module Pilot Donald K. Slayton into orbit. Two days later, they docked with the Soyuz 19 spacecraft. American and Soviet crews visited each other's spacecrafts, performed docking and redocking maneuvers, conducted joint scientific experiments, exchanged flags and gifts. Crews spent more than 44 hours together, and after final parting of the ships on July 19, Apollo crew spent nine more days in orbit, conducting Earth observation experiments.\nThe Apollo crew returned to Earth on July 24, 1975, 21:18:0 UTC with a splashdown in the Pacific Ocean.",
                "launch_designator": null,
                "type": "Human Exploration",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                }
            },
            "pad": {
                "id": 4,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/4/?format=api",
                "agency_id": 44,
                "name": "Launch Complex 39B",
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39B",
                "map_url": "https://www.google.com/maps?q=28.62711233,-80.62101503",
                "latitude": "28.62711233",
                "longitude": "-80.62101503",
                "location": {
                    "id": 27,
                    "url": "https://ll.thespacedevs.com/2.0.0/location/27/?format=api",
                    "name": "Kennedy Space Center, FL, USA",
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
                    "total_launch_count": 236,
                    "total_landing_count": 0
                },
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_4_20200803143518.jpg",
                "total_launch_count": 58
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520ib_image_20190222030046.jpeg",
            "infographic": null,
            "program": []
        }
    ],
    "landings": [
        {
            "id": 373,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/373/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1975-07-24T21:18:00Z",
            "spacecraft": {
                "id": 32,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/32/?format=api",
                "name": "Apollo CSM-111",
                "serial_number": "CSM-111",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "CSM-111 was an Apollo Command & Service Module used in the Apollo-Soyuz Test Project.",
                "spacecraft_config": {
                    "id": 10,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/10/?format=api",
                    "name": "Apollo Command/Service Module",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 999,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/999/?format=api",
                        "name": "North American Aviation",
                        "type": null
                    },
                    "in_use": false,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg"
                }
            },
            "launch": {
                "id": "9959bda6-fa27-4ed5-8bea-d2f55f7a5b68",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/9959bda6-fa27-4ed5-8bea-d2f55f7a5b68/?format=api",
                "launch_library_id": 972,
                "slug": "saturn-ib-apollo-soyuz-test-project",
                "name": "Saturn IB | Apollo-Soyuz Test Project",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1975-07-15T19:50:00Z",
                "window_end": "1975-07-15T19:50:00Z",
                "window_start": "1975-07-15T19:50:00Z",
                "inhold": false,
                "tbdtime": false,
                "tbddate": false,
                "probability": -1,
                "holdreason": "",
                "failreason": null,
                "hashtag": null,
                "launch_service_provider": {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                },
                "rocket": {
                    "id": 252,
                    "configuration": {
                        "id": 163,
                        "launch_library_id": 135,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/163/?format=api",
                        "name": "Saturn IB",
                        "family": "Saturn",
                        "full_name": "Saturn IB",
                        "variant": "IB"
                    }
                },
                "mission": {
                    "id": 914,
                    "launch_library_id": 408,
                    "name": "Apollo-Soyuz Test Project",
                    "description": "The Apollo-Soyuz Test Project was the first joint US-Soviet space flight and the last crewed US space mission until the Space Shuttle program.\nThe US side of mission began on July 15, 1975, 19:50:00 UTC, launching Commander Thomas P. Stafford, Command Module Pilot Vance D. Brand and Docking Module Pilot Donald K. Slayton into orbit. Two days later, they docked with the Soyuz 19 spacecraft. American and Soviet crews visited each other's spacecrafts, performed docking and redocking maneuvers, conducted joint scientific experiments, exchanged flags and gifts. Crews spent more than 44 hours together, and after final parting of the ships on July 19, Apollo crew spent nine more days in orbit, conducting Earth observation experiments.\nThe Apollo crew returned to Earth on July 24, 1975, 21:18:0 UTC with a splashdown in the Pacific Ocean.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    }
                },
                "pad": {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/4/?format=api",
                    "agency_id": 44,
                    "name": "Launch Complex 39B",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39B",
                    "map_url": "https://www.google.com/maps?q=28.62711233,-80.62101503",
                    "latitude": "28.62711233",
                    "longitude": "-80.62101503",
                    "location": {
                        "id": 27,
                        "url": "https://ll.thespacedevs.com/2.0.0/location/27/?format=api",
                        "name": "Kennedy Space Center, FL, USA",
                        "country_code": "USA",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
                        "total_launch_count": 236,
                        "total_landing_count": 0
                    },
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_4_20200803143518.jpg",
                    "total_launch_count": 58
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520ib_image_20190222030046.jpeg",
                "infographic": null,
                "program": []
            }
        }
    ],
    "last_flight": "1975-07-15T19:50:00Z",
    "first_flight": "1975-07-15T19:50:00Z"
}