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

{
    "id": 638,
    "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/638/?format=api",
    "name": "Starman",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "type": {
        "id": 6,
        "name": "Non-Human"
    },
    "agency": {
        "id": 121,
        "url": "https://lldev.thespacedevs.com/2.0.0/agencies/121/?format=api",
        "name": "SpaceX",
        "type": "Commercial"
    },
    "date_of_birth": null,
    "date_of_death": null,
    "nationality": "Earthling",
    "twitter": "https://twitter.com/Tesla_Starman",
    "instagram": "https://www.instagram.com/starman_by_spacex/",
    "bio": "\"Starman\" is a mannequin dressed in a spacesuit occupying the driver's seat of Elon Musk's Tesla Roadster, launched to an heliocentric orbit on Falcon Heavy's inaugural launch.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/starman_image_20190307220126.jpg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190247.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Elon_Musk%27s_Tesla_Roadster",
    "flights": [],
    "landings": [],
    "last_flight": "2018-02-06T20:45:00Z",
    "first_flight": "2018-02-06T20:45:00Z"
}