API endpoint that allows Astronaut to be viewed.

GET: Return a list of all the existing astronauts.

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

FILTERS: Parameters - 'name', 'status', 'nationality', 'agency__name', 'agency__abbrev', 'date_of_birth', 'date_of_death', 'status_ids', 'is_human', 'type__id', 'has_flown', 'in_space' Example - /2.2.0/astronaut/?nationality=American

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

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

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

{
  "id": 351,
  "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/351/?format=api",
  "name": "Dale Gardner",
  "status": {
    "id": 11,
    "name": "Deceased"
  },
  "type": {
    "id": 2,
    "name": "Government"
  },
  "in_space": false,
  "time_in_space": "P14DT52M",
  "eva_time": "PT11H42M",
  "agency": {
    "id": 44,
    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
    "name": "National Aeronautics and Space Administration",
    "type": "Government"
  },
  "age": 65,
  "date_of_birth": "1948-11-08",
  "date_of_death": "2014-02-19",
  "nationality": "American",
  "twitter": null,
  "instagram": null,
  "bio": "Dale Allan Gardner was a NASA astronaut who flew two Space Shuttle missions during the early 1980s.",
  "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/dale2520gardner_image_20181202104138.jpg",
  "profile_image_thumbnail": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190948.jpeg",
  "wiki": "https://en.wikipedia.org/wiki/Dale_Gardner",
  "flights": [],
  "landings": [],
  "flights_count": 2,
  "landings_count": 2,
  "spacewalks_count": 2,
  "last_flight": "1984-11-08T12:15:00Z",
  "first_flight": "1983-08-30T06:32:00Z",
  "spacewalks": []
}