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

{
  "id": 626,
  "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/626/?format=api",
  "name": "Jean-Pierre Haigneré",
  "status": {
    "id": 2,
    "name": "Retired"
  },
  "type": {
    "id": 2,
    "name": "Government"
  },
  "in_space": false,
  "time_in_space": "P209DT12H24M21S",
  "eva_time": "PT6H19M",
  "agency": {
    "id": 46,
    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/46/?format=api",
    "name": "National Center of Space Research",
    "type": "Government"
  },
  "age": 78,
  "date_of_birth": "1948-05-19",
  "date_of_death": null,
  "nationality": "French",
  "twitter": null,
  "instagram": null,
  "bio": "Jean-Pierre Haigneré (born 19 May 1948) is a French Air Force officer and a former CNES spationaut.\r\n\r\nHe flew on two missions to the Mir space station in 1993 and 1999. The Mir Altair long-duration mission (186 days) in 1993 also included an EVA.",
  "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/jean-pierre2520haigner25c325a9_image_20181229032141.jfif",
  "profile_image_thumbnail": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185641.jpeg",
  "wiki": "https://en.wikipedia.org/wiki/Jean-Pierre_Haigner%C3%A9",
  "flights": [],
  "landings": [],
  "flights_count": 2,
  "landings_count": 2,
  "spacewalks_count": 1,
  "last_flight": "1999-02-20T04:18:01Z",
  "first_flight": "1993-07-01T14:32:58Z",
  "spacewalks": [
    {
      "id": 131,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacewalks/131/?format=api",
      "name": "PE-27 EVA 1",
      "start": "1999-04-16T04:37:00Z",
      "end": "1999-04-16T10:56:00Z",
      "duration": "PT6H19M",
      "location": "Mir",
      "crew": [
        {
          "id": 4029,
          "role": {
            "id": 33,
            "role": "EV1",
            "priority": 0
          },
          "astronaut": {
            "id": 56,
            "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/56/?format=api",
            "name": "Viktor Afanasyev",
            "type": {
              "id": 2,
              "name": "Government"
            },
            "in_space": false,
            "time_in_space": "P555DT18H34M26S",
            "status": {
              "id": 2,
              "name": "Retired"
            },
            "agency": {
              "id": 63,
              "url": "https://lldev.thespacedevs.com/2.2.0/agencies/63/?format=api",
              "name": "Russian Federal Space Agency (ROSCOSMOS)",
              "type": "Government"
            },
            "date_of_birth": "1948-12-31",
            "date_of_death": null,
            "nationality": "Russian",
            "twitter": null,
            "instagram": null,
            "bio": "Viktor Mikhailovich Afanasyev Russian: Виктор Михайлович Афанасьев; born 31 December 1948) is a colonel in the Russian Air Force and a test cosmonaut of the Yu. A. Gagarin Cosmonaut Training Center.",
            "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/viktor2520afanasyev_image_20181128215901.jpeg",
            "wiki": "https://en.wikipedia.org/wiki/Viktor_Afanasyev_(cosmonaut)",
            "last_flight": "2001-10-21T08:59:35Z",
            "first_flight": "1990-12-02T08:13:32Z"
          }
        },
        {
          "id": 4030,
          "role": {
            "id": 34,
            "role": "EV2",
            "priority": 1
          },
          "astronaut": {
            "id": 626,
            "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/626/?format=api",
            "name": "Jean-Pierre Haigneré",
            "type": {
              "id": 2,
              "name": "Government"
            },
            "in_space": false,
            "time_in_space": "P209DT12H24M21S",
            "status": {
              "id": 2,
              "name": "Retired"
            },
            "agency": {
              "id": 46,
              "url": "https://lldev.thespacedevs.com/2.2.0/agencies/46/?format=api",
              "name": "National Center of Space Research",
              "type": "Government"
            },
            "date_of_birth": "1948-05-19",
            "date_of_death": null,
            "nationality": "French",
            "twitter": null,
            "instagram": null,
            "bio": "Jean-Pierre Haigneré (born 19 May 1948) is a French Air Force officer and a former CNES spationaut.\r\n\r\nHe flew on two missions to the Mir space station in 1993 and 1999. The Mir Altair long-duration mission (186 days) in 1993 also included an EVA.",
            "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/jean-pierre2520haigner25c325a9_image_20181229032141.jfif",
            "wiki": "https://en.wikipedia.org/wiki/Jean-Pierre_Haigner%C3%A9",
            "last_flight": "1999-02-20T04:18:01Z",
            "first_flight": "1993-07-01T14:32:58Z"
          }
        }
      ]
    }
  ]
}