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

{
  "id": 618,
  "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/618/?format=api",
  "name": "Anousheh Ansari",
  "status": {
    "id": 2,
    "name": "Retired"
  },
  "type": {
    "id": 4,
    "name": "Non-Astronaut Passenger"
  },
  "agency": null,
  "date_of_birth": "1966-09-12",
  "date_of_death": null,
  "nationality": "Iranian",
  "twitter": "https://twitter.com/AnoushehAnsari",
  "instagram": "https://www.instagram.com/anousheh_x/",
  "bio": "Anousheh Ansari (born September 12, 1966) is an Iranian-American engineer. On September 18, 2006, a few days after her 40th birthday, she became the first Iranian in space. Ansari was the fourth overall self-funded space tourist, and the first self-funded woman to fly to the International Space Station.",
  "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/anousheh2520ansari_image_20190211162339.jpeg",
  "profile_image_thumbnail": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190528.jpeg",
  "wiki": "https://en.wikipedia.org/wiki/Anousheh_Ansari",
  "flights": [],
  "landings": [],
  "last_flight": "2006-09-18T04:08:42Z",
  "first_flight": "2006-09-18T04:08:42Z"
}