Modes

Levels of detail in the response - list, normal, detailed

Example - /astronauts/?mode=list

Filters

Parameters - age, age__gt, age__gte, age__lt, age__lte, agency_ids, date_of_birth, date_of_birth__gt, date_of_birth__gte, date_of_birth__lt, date_of_birth__lte, date_of_death, date_of_death__gt, date_of_death__gte, date_of_death__lt, date_of_death__lte, first_flight, first_flight__gt, first_flight__gte, first_flight__lt, first_flight__lte, flights_count, flights_count__gt, flights_count__gte, flights_count__lt, flights_count__lte, has_flown, in_space, is_human, landings_count, landings_count__gt, landings_count__gte, landings_count__lt, landings_count__lte, last_flight, last_flight__gt, last_flight__gte, last_flight__lt, last_flight__lte, nationality, status_ids, type__id

Example - /astronauts/?has_flown=true

Fields searched - agency__abbrev, agency__name, name, nationality__nationality_name

Example - /astronauts/?search=Pesquet

Ordering

Fields - age, date_of_birth, eva_time, flights_count, id, landings_count, last_flight, name, spacewalks_count, status, time_in_space

Example - /astronauts/?ordering=-time_in_space

Number of results

Use limit to control the number of objects in the response (max 100)

Example - /astronauts/?limit=2

Format

Switch to JSON output - /astronauts/?format=json

Help

Find all the FAQs and support links on the documentation homepage - lldev.thespacedevs.com/docs

GET /2.3.0/astronauts/153/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": 153,
  "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/153/?format=api",
  "name": "Aleksandr Ivanchenkov",
  "status": {
    "id": 2,
    "name": "Retired"
  },
  "agency": {
    "response_mode": "list",
    "id": 63,
    "url": "https://lldev.thespacedevs.com/2.3.0/agencies/63/?format=api",
    "name": "Russian Federal Space Agency (ROSCOSMOS)",
    "abbrev": "RFSA",
    "type": {
      "id": 1,
      "name": "Government"
    }
  },
  "image": {
    "id": 522,
    "name": "[AUTO] Aleksandr Ivanchenkov - image",
    "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/aleksandr2520ivanchenkov_image_20181129231158.jpg",
    "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190053.jpeg",
    "credit": null,
    "license": {
      "id": 1,
      "name": "Unknown",
      "priority": 9,
      "link": null
    },
    "single_use": true,
    "variants": []
  },
  "response_mode": "detailed",
  "type": {
    "id": 2,
    "name": "Government"
  },
  "in_space": false,
  "time_in_space": "P147DT12H38M24S",
  "eva_time": "PT2H20M",
  "age": 86,
  "date_of_birth": "1940-09-28",
  "date_of_death": null,
  "nationality": [
    {
      "id": 5,
      "name": "Russia",
      "alpha_2_code": "RU",
      "alpha_3_code": "RUS",
      "nationality_name": "Russian",
      "nationality_name_composed": "Russo"
    }
  ],
  "bio": "Aleksandr Sergeyevich Ivanchenkov (Russian: Алекса́ндр Серге́евич Иванче́нков; born 28 September 1940 ) is a retired Soviet cosmonaut who flew as Flight Engineer on Soyuz 29 and Soyuz T-6, he spent 147 days, 12 hours and 37 minutes in space.",
  "wiki": "https://en.wikipedia.org/wiki/Aleksandr_Ivanchenkov",
  "last_flight": "1982-06-24T16:29:48Z",
  "first_flight": "1978-06-15T20:16:45Z",
  "social_media_links": [],
  "flights_count": 2,
  "landings_count": 2,
  "spacewalks_count": 1,
  "flights": [],
  "landings": [],
  "spacewalks": [
    {
      "response_mode": "list",
      "id": 42,
      "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/42/?format=api",
      "name": "PE-2 EVA",
      "start": "1978-07-29T04:00:00Z",
      "end": "1978-07-29T06:20:00Z",
      "duration": "PT2H20M",
      "location": "Salyut 6",
      "crew": [
        {
          "id": 3851,
          "role": {
            "id": 33,
            "role": "EV1",
            "priority": 0
          },
          "astronaut": {
            "id": 172,
            "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/172/?format=api",
            "name": "Vladimir Kovalyonok",
            "status": {
              "id": 2,
              "name": "Retired"
            },
            "agency": {
              "response_mode": "list",
              "id": 63,
              "url": "https://lldev.thespacedevs.com/2.3.0/agencies/63/?format=api",
              "name": "Russian Federal Space Agency (ROSCOSMOS)",
              "abbrev": "RFSA",
              "type": {
                "id": 1,
                "name": "Government"
              }
            },
            "image": {
              "id": 519,
              "name": "[AUTO] Vladimir Kovalyonok - image",
              "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/vladimir2520kovalyonok_image_20181129233907.jpg",
              "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190049.jpeg",
              "credit": null,
              "license": {
                "id": 1,
                "name": "Unknown",
                "priority": 9,
                "link": null
              },
              "single_use": true,
              "variants": []
            },
            "response_mode": "list",
            "type": {
              "id": 2,
              "name": "Government"
            },
            "in_space": false,
            "time_in_space": "P216DT9H9M40S",
            "eva_time": "PT2H20M",
            "age": 83,
            "date_of_birth": "1943-03-03",
            "date_of_death": null,
            "nationality": [
              {
                "id": 5,
                "name": "Russia",
                "alpha_2_code": "RU",
                "alpha_3_code": "RUS",
                "nationality_name": "Russian",
                "nationality_name_composed": "Russo"
              }
            ],
            "bio": "Vladimir Vasiliyevich Kovalyonok (Belarusian: Уладзі́мір Васі́льевіч Кавалёнак; Russian: Влади́мир Васи́льевич Ковалёнок; born March 3, 1942 in Beloye, Minsk Oblast, Belorussian SSR, is a retired Soviet cosmonaut.\r\n\r\nHe entered the Soviet space programme on July 5, 1967 and was commander of three missions. He retired from the cosmonaut team on June 23, 1984.",
            "wiki": "https://en.wikipedia.org/wiki/Vladimir_Kovalyonok",
            "last_flight": "1981-03-12T19:00:11Z",
            "first_flight": "1977-10-09T02:40:35Z",
            "social_media_links": []
          }
        },
        {
          "id": 3852,
          "role": {
            "id": 34,
            "role": "EV2",
            "priority": 1
          },
          "astronaut": {
            "id": 153,
            "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/153/?format=api",
            "name": "Aleksandr Ivanchenkov",
            "status": {
              "id": 2,
              "name": "Retired"
            },
            "agency": {
              "response_mode": "list",
              "id": 63,
              "url": "https://lldev.thespacedevs.com/2.3.0/agencies/63/?format=api",
              "name": "Russian Federal Space Agency (ROSCOSMOS)",
              "abbrev": "RFSA",
              "type": {
                "id": 1,
                "name": "Government"
              }
            },
            "image": {
              "id": 522,
              "name": "[AUTO] Aleksandr Ivanchenkov - image",
              "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/aleksandr2520ivanchenkov_image_20181129231158.jpg",
              "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190053.jpeg",
              "credit": null,
              "license": {
                "id": 1,
                "name": "Unknown",
                "priority": 9,
                "link": null
              },
              "single_use": true,
              "variants": []
            },
            "response_mode": "list",
            "type": {
              "id": 2,
              "name": "Government"
            },
            "in_space": false,
            "time_in_space": "P147DT12H38M24S",
            "eva_time": "PT2H20M",
            "age": 86,
            "date_of_birth": "1940-09-28",
            "date_of_death": null,
            "nationality": [
              {
                "id": 5,
                "name": "Russia",
                "alpha_2_code": "RU",
                "alpha_3_code": "RUS",
                "nationality_name": "Russian",
                "nationality_name_composed": "Russo"
              }
            ],
            "bio": "Aleksandr Sergeyevich Ivanchenkov (Russian: Алекса́ндр Серге́евич Иванче́нков; born 28 September 1940 ) is a retired Soviet cosmonaut who flew as Flight Engineer on Soyuz 29 and Soyuz T-6, he spent 147 days, 12 hours and 37 minutes in space.",
            "wiki": "https://en.wikipedia.org/wiki/Aleksandr_Ivanchenkov",
            "last_flight": "1982-06-24T16:29:48Z",
            "first_flight": "1978-06-15T20:16:45Z",
            "social_media_links": []
          }
        }
      ]
    }
  ]
}