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

{
  "id": 579,
  "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/579/?format=api",
  "name": "Jasmin Moghbeli",
  "status": {
    "id": 1,
    "name": "Active"
  },
  "type": {
    "id": 2,
    "name": "Government"
  },
  "in_space": false,
  "time_in_space": "P199DT2H19M33S",
  "eva_time": "PT6H42M",
  "agency": {
    "id": 44,
    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
    "name": "National Aeronautics and Space Administration",
    "type": "Government"
  },
  "age": 43,
  "date_of_birth": "1983-06-24",
  "date_of_death": null,
  "nationality": "American",
  "twitter": "https://twitter.com/AstroJaws",
  "instagram": "https://www.instagram.com/astrojaws/",
  "bio": "Jasmin Moghbeli is an Iranian-American Marine Corps test pilot and NASA astronaut of the class of 2017. She is a graduate of the Massachusetts Institute of Technology, Naval Postgraduate School, and U.S. Naval Test Pilot School, and has over 1,600 hours of flight time and 150 combat missions.",
  "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/jasmin_moghbeli_image_20230826072835.jpg",
  "profile_image_thumbnail": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185215.jpeg",
  "wiki": "https://en.wikipedia.org/wiki/Jasmin_Moghbeli",
  "flights": [],
  "landings": [],
  "flights_count": 1,
  "landings_count": 1,
  "spacewalks_count": 1,
  "last_flight": "2023-08-26T07:27:27Z",
  "first_flight": "2023-08-26T07:27:27Z",
  "spacewalks": [
    {
      "id": 469,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacewalks/469/?format=api",
      "name": "Expedition 70 EVA 2",
      "start": "2023-11-01T12:05:00Z",
      "end": "2023-11-01T18:47:00Z",
      "duration": "PT6H42M",
      "location": "International Space Station",
      "crew": [
        {
          "id": 4824,
          "role": {
            "id": 33,
            "role": "EV1",
            "priority": 0
          },
          "astronaut": {
            "id": 579,
            "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/579/?format=api",
            "name": "Jasmin Moghbeli",
            "type": {
              "id": 2,
              "name": "Government"
            },
            "in_space": false,
            "time_in_space": "P199DT2H19M33S",
            "status": {
              "id": 1,
              "name": "Active"
            },
            "agency": {
              "id": 44,
              "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
              "name": "National Aeronautics and Space Administration",
              "type": "Government"
            },
            "date_of_birth": "1983-06-24",
            "date_of_death": null,
            "nationality": "American",
            "twitter": "https://twitter.com/AstroJaws",
            "instagram": "https://www.instagram.com/astrojaws/",
            "bio": "Jasmin Moghbeli is an Iranian-American Marine Corps test pilot and NASA astronaut of the class of 2017. She is a graduate of the Massachusetts Institute of Technology, Naval Postgraduate School, and U.S. Naval Test Pilot School, and has over 1,600 hours of flight time and 150 combat missions.",
            "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/jasmin_moghbeli_image_20230826072835.jpg",
            "wiki": "https://en.wikipedia.org/wiki/Jasmin_Moghbeli",
            "last_flight": "2023-08-26T07:27:27Z",
            "first_flight": "2023-08-26T07:27:27Z"
          }
        },
        {
          "id": 4825,
          "role": {
            "id": 34,
            "role": "EV2",
            "priority": 1
          },
          "astronaut": {
            "id": 580,
            "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/580/?format=api",
            "name": "Loral O'Hara",
            "type": {
              "id": 2,
              "name": "Government"
            },
            "in_space": false,
            "time_in_space": "P203DT15H32M25S",
            "status": {
              "id": 1,
              "name": "Active"
            },
            "agency": {
              "id": 44,
              "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
              "name": "National Aeronautics and Space Administration",
              "type": "Government"
            },
            "date_of_birth": "1983-05-03",
            "date_of_death": null,
            "nationality": "American",
            "twitter": "https://twitter.com/lunarloral",
            "instagram": null,
            "bio": "Loral O'Hara is an American engineer and NASA astronaut of the class of 2017.",
            "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/loral2520o2527hara_image_20200110161443.jpeg",
            "wiki": "https://en.wikipedia.org/wiki/Loral_O%27Hara",
            "last_flight": "2023-09-15T15:44:35Z",
            "first_flight": "2023-09-15T15:44:35Z"
          }
        }
      ]
    }
  ]
}