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

{
  "id": 116,
  "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/116/?format=api",
  "name": "Georgy Grechko",
  "status": {
    "id": 11,
    "name": "Deceased"
  },
  "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": 754,
    "name": "[AUTO] Georgy Grechko - image",
    "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/georgy2520grechko_image_20181128233337.jpg",
    "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190708.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": "P134DT20H32M58S",
  "eva_time": "PT1H28M",
  "age": 85,
  "date_of_birth": "1931-05-25",
  "date_of_death": "2017-04-08",
  "nationality": [
    {
      "id": 5,
      "name": "Russia",
      "alpha_2_code": "RU",
      "alpha_3_code": "RUS",
      "nationality_name": "Russian",
      "nationality_name_composed": "Russo"
    }
  ],
  "bio": "Georgy Mikhaylovich Grechko (Russian: Георгий Михайлович Гречко; 25 May 1931 – 8 April 2017) was a Soviet cosmonaut who flew on several space flights including Soyuz 17, Soyuz 26, and Soyuz T-14.",
  "wiki": "https://en.wikipedia.org/wiki/Georgy_Grechko",
  "last_flight": "1985-09-17T12:38:52Z",
  "first_flight": "1975-01-10T21:43:37Z",
  "social_media_links": [],
  "flights_count": 3,
  "landings_count": 3,
  "spacewalks_count": 1,
  "flights": [],
  "landings": [],
  "spacewalks": [
    {
      "response_mode": "list",
      "id": 41,
      "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/41/?format=api",
      "name": "PE-1 EVA",
      "start": "1977-12-19T21:36:00Z",
      "end": "1977-12-19T23:04:00Z",
      "duration": "PT1H28M",
      "location": "Salyut 6",
      "crew": [
        {
          "id": 3849,
          "role": {
            "id": 33,
            "role": "EV1",
            "priority": 0
          },
          "astronaut": {
            "id": 234,
            "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/234/?format=api",
            "name": "Yury Romanenko",
            "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": 326,
              "name": "[AUTO] Yury Romanenko - image",
              "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/yury2520romanenko_image_20181201213833.jpeg",
              "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185547.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": "P430DT18H21M30S",
            "eva_time": "PT10H16M",
            "age": 82,
            "date_of_birth": "1944-08-01",
            "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": "Yury Viktorovich Romanenko (Russian: Ю́рий Ви́кторович Романе́нко, Jurij Viktorovič Romanenko; born August 1, 1944) is a former Soviet cosmonaut, twice Hero of the Soviet Union (March 16, 1978 and September 26, 1980). Over his career, Yury Romanenko spent a total of 430 days 20 hours 21 minutes 30 seconds in space and 18 hours in space walks. In 1987 he was a resident of the Mir space station, launching on Soyuz TM-2 and landing aboard Soyuz TM-3. He remained on Mir for 326 days that was the longest stay in space at that time. His son, Roman Romanenko is also a cosmonaut, and has become the third second-generation space traveler on Soyuz TMA-15 in May 2009.",
            "wiki": "https://en.wikipedia.org/wiki/Yury_Romanenko",
            "last_flight": "1987-02-05T21:38:16Z",
            "first_flight": "1977-12-10T01:18:40Z",
            "social_media_links": []
          }
        },
        {
          "id": 3850,
          "role": {
            "id": 34,
            "role": "EV2",
            "priority": 1
          },
          "astronaut": {
            "id": 116,
            "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/116/?format=api",
            "name": "Georgy Grechko",
            "status": {
              "id": 11,
              "name": "Deceased"
            },
            "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": 754,
              "name": "[AUTO] Georgy Grechko - image",
              "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/georgy2520grechko_image_20181128233337.jpg",
              "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190708.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": "P134DT20H32M58S",
            "eva_time": "PT1H28M",
            "age": 85,
            "date_of_birth": "1931-05-25",
            "date_of_death": "2017-04-08",
            "nationality": [
              {
                "id": 5,
                "name": "Russia",
                "alpha_2_code": "RU",
                "alpha_3_code": "RUS",
                "nationality_name": "Russian",
                "nationality_name_composed": "Russo"
              }
            ],
            "bio": "Georgy Mikhaylovich Grechko (Russian: Георгий Михайлович Гречко; 25 May 1931 – 8 April 2017) was a Soviet cosmonaut who flew on several space flights including Soyuz 17, Soyuz 26, and Soyuz T-14.",
            "wiki": "https://en.wikipedia.org/wiki/Georgy_Grechko",
            "last_flight": "1985-09-17T12:38:52Z",
            "first_flight": "1975-01-10T21:43:37Z",
            "social_media_links": []
          }
        }
      ]
    }
  ]
}