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

{
  "id": 221,
  "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/221/?format=api",
  "name": "Philippe Perrin",
  "status": {
    "id": 2,
    "name": "Retired"
  },
  "type": {
    "id": 2,
    "name": "Government"
  },
  "in_space": false,
  "time_in_space": "P13DT20H35M56S",
  "eva_time": "PT21H45M",
  "agency": {
    "id": 46,
    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/46/?format=api",
    "name": "National Center of Space Research",
    "type": "Government"
  },
  "age": 63,
  "date_of_birth": "1963-01-06",
  "date_of_death": null,
  "nationality": "French",
  "twitter": null,
  "instagram": null,
  "bio": "Philippe Perrin (Colonel, French Air Force) (born January 6, 1963) is a French test pilot and former CNES and European Space Agency astronaut.\r\nHe served as a mission specialist on the STS-111 mission in 2002 and logged over 332 hours in space, including 19 hours and 31 minutes in three spacewalks, performed with Franklin Chang-Diaz.",
  "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/philippe2520perrin_image_20181201190321.jpg",
  "profile_image_thumbnail": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190149.jpeg",
  "wiki": "https://en.wikipedia.org/wiki/Philippe_Perrin",
  "flights": [],
  "landings": [],
  "flights_count": 1,
  "landings_count": 1,
  "spacewalks_count": 3,
  "last_flight": "2002-06-05T21:22:49Z",
  "first_flight": "2002-06-05T21:22:49Z",
  "spacewalks": []
}