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

{
    "id": 241,
    "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/241/?format=api",
    "name": "Sultan bin Salman Al Saud",
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "type": {
        "id": 4,
        "name": "Non-Astronaut Passenger"
    },
    "agency": {
        "id": 70,
        "url": "https://lldev.thespacedevs.com/2.0.0/agencies/70/?format=api",
        "name": "Space Research Institute of Saudi Arabia",
        "type": "Government"
    },
    "date_of_birth": "1956-06-27",
    "date_of_death": null,
    "nationality": "Saudi",
    "twitter": null,
    "instagram": null,
    "bio": "Sultan bin Salman bin Abdulaziz Al Saud (born 27 June 1956) is a former Royal Saudi Air Force pilot who flew aboard the American STS-51-G Space Shuttle mission as a payload specialist, and a member of the House of Saud. He is thus the first member of a royal family to be an astronaut, and the first Arab and Muslim to fly in space.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/sultan2520bin2520salman2520al2520saud_image_20190211162403.jpeg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185916.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Sultan_bin_Salman_Al_Saud",
    "flights": [],
    "landings": [],
    "last_flight": "1985-06-17T11:33:00Z",
    "first_flight": "1985-06-17T11:33:00Z"
}