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/304/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 304,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/304/?format=api",
    "name": "Charles Duke",
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "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": "1935-10-03",
    "date_of_death": null,
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Charles Moss \"Charlie\" Duke Jr. is an American former astronaut, retired U.S. Air Force officer and test pilot. As Lunar Module Pilot for Apollo 16 in 1972, he became the tenth and youngest person to walk on the Moon.\r\n\r\nDuke has logged 4,147 hours flying time, which includes 3,632 hours in jet aircraft; and 265 hours in space, plus 20 hours and 15 minutes of extravehicular activity.\r\n\r\nA resident of New Braunfels, Texas, he is currently chairman of the board of directors of the Astronaut Scholarship Foundation.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/charles_duke_image_20220911033709.jpeg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185910.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Charles_Duke",
    "flights": [
        {
            "id": "d9e2152f-94f3-46b3-b7cb-be0a923f0e25",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/d9e2152f-94f3-46b3-b7cb-be0a923f0e25/?format=api",
            "launch_library_id": 985,
            "slug": "saturn-v-apollo-16",
            "name": "Saturn V | Apollo 16",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1972-04-16T17:54:00Z",
            "window_end": "1972-04-16T17:54:00Z",
            "window_start": "1972-04-16T17:54: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": 235,
                "configuration": {
                    "id": 93,
                    "launch_library_id": 136,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/93/?format=api",
                    "name": "Saturn V",
                    "family": "Saturn",
                    "full_name": "Saturn V",
                    "variant": "V"
                }
            },
            "mission": {
                "id": 160,
                "launch_library_id": 246,
                "name": "Apollo 16",
                "description": "Apollo 16 was the 10th crewed launch of the Apollo program. The craft was crewed by Commander John Young, Command Module Pilot  Ken Mattingly & Lunar Module Pilot Charles Duke. The mission duration was 11 days, 1 hour, 51 minutes & 5 seconds during which time Young and Duke spent 71 hours on the surface of the Moon spending a total of 20 hours and 14 minutes on moonwalks while Mattingly spend 126 hours or 64 orbits in lunar orbit. While conducting moonwalks, Young and Duke collected 95.8Kg of lunar samples.  During return trip to Earth Mattingly performed an EVA to collect film cassettes from the exterior of the service module.",
                "launch_designator": null,
                "type": "Human Exploration",
                "orbit": {
                    "id": 11,
                    "name": "Lunar Orbit",
                    "abbrev": "LO"
                }
            },
            "pad": {
                "id": 87,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/87/?format=api",
                "agency_id": 121,
                "name": "Launch Complex 39A",
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39A",
                "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
                "latitude": "28.60822681",
                "longitude": "-80.60428186",
                "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": 235,
                    "total_landing_count": 0
                },
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_87_20200803143537.jpg",
                "total_launch_count": 177
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520v_image_20190222030036.jpeg",
            "infographic": null,
            "program": [
                {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/4/?format=api",
                    "name": "Apollo",
                    "description": "The Apollo program was the third United States human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which succeeded in landing the first humans on the Moon from 1969 to 1972.",
                    "agencies": [
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/apollo_program_20200820200202.png",
                    "start_date": "1966-11-16T00:00:00Z",
                    "end_date": "1972-12-19T19:24:59Z",
                    "info_url": "https://www.nasa.gov/mission_pages/apollo/index.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Apollo_program"
                }
            ]
        }
    ],
    "landings": [
        {
            "id": 32,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/32/?format=api",
            "destination": "Lunar Orbit where the LM would detach and land on the Moon.",
            "mission_end": "1972-04-27T17:54:00Z",
            "spacecraft": {
                "id": 34,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/34/?format=api",
                "name": "Apollo Casper CSM-113",
                "serial_number": "CSM-113",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "CSM-113 \"Casper\" was an Apollo Command & Service Module used in the Apollo 16 mission.",
                "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": "d9e2152f-94f3-46b3-b7cb-be0a923f0e25",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/d9e2152f-94f3-46b3-b7cb-be0a923f0e25/?format=api",
                "launch_library_id": 985,
                "slug": "saturn-v-apollo-16",
                "name": "Saturn V | Apollo 16",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1972-04-16T17:54:00Z",
                "window_end": "1972-04-16T17:54:00Z",
                "window_start": "1972-04-16T17:54: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": 235,
                    "configuration": {
                        "id": 93,
                        "launch_library_id": 136,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/93/?format=api",
                        "name": "Saturn V",
                        "family": "Saturn",
                        "full_name": "Saturn V",
                        "variant": "V"
                    }
                },
                "mission": {
                    "id": 160,
                    "launch_library_id": 246,
                    "name": "Apollo 16",
                    "description": "Apollo 16 was the 10th crewed launch of the Apollo program. The craft was crewed by Commander John Young, Command Module Pilot  Ken Mattingly & Lunar Module Pilot Charles Duke. The mission duration was 11 days, 1 hour, 51 minutes & 5 seconds during which time Young and Duke spent 71 hours on the surface of the Moon spending a total of 20 hours and 14 minutes on moonwalks while Mattingly spend 126 hours or 64 orbits in lunar orbit. While conducting moonwalks, Young and Duke collected 95.8Kg of lunar samples.  During return trip to Earth Mattingly performed an EVA to collect film cassettes from the exterior of the service module.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 11,
                        "name": "Lunar Orbit",
                        "abbrev": "LO"
                    }
                },
                "pad": {
                    "id": 87,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/87/?format=api",
                    "agency_id": 121,
                    "name": "Launch Complex 39A",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39A",
                    "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
                    "latitude": "28.60822681",
                    "longitude": "-80.60428186",
                    "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": 235,
                        "total_landing_count": 0
                    },
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_87_20200803143537.jpg",
                    "total_launch_count": 177
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520v_image_20190222030036.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 4,
                        "url": "https://ll.thespacedevs.com/2.0.0/program/4/?format=api",
                        "name": "Apollo",
                        "description": "The Apollo program was the third United States human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which succeeded in landing the first humans on the Moon from 1969 to 1972.",
                        "agencies": [
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/apollo_program_20200820200202.png",
                        "start_date": "1966-11-16T00:00:00Z",
                        "end_date": "1972-12-19T19:24:59Z",
                        "info_url": "https://www.nasa.gov/mission_pages/apollo/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Apollo_program"
                    }
                ]
            }
        }
    ],
    "last_flight": "1972-04-16T17:54:00Z",
    "first_flight": "1972-04-16T17:54:00Z"
}