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

{
    "id": 295,
    "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/295/?format=api",
    "name": "Sergei Zalyotin",
    "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": 199,
        "name": "[AUTO] Sergei Zalyotin - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/sergei2520zalyotin_image_20181201232209.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185207.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": "P83DT16H35M40S",
    "eva_time": "PT4H52M",
    "age": 62,
    "date_of_birth": "1962-04-21",
    "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": "Sergei Viktorovich Zalyotin is a Russian cosmonaut and a veteran of two space missions.\r\n\r\nZalyotin was born in Tula and attended the Borisoglebsk Higher Military School before becoming a fighter pilot in the Russian Air Force. He also holds a degree in ecological management. Zalyotin was selected as a cosmonaut candidate in 1990. In 2000, Zalyotin was a member of the final resident crew aboard the Mir space station. He briefly visited the International Space Station aboard Soyuz TMA-1 in 2002.",
    "wiki": "https://en.wikipedia.org/wiki/Sergei_Zalyotin",
    "last_flight": "2002-10-30T03:11:11Z",
    "first_flight": "2000-04-04T05:01:29Z",
    "social_media_links": [],
    "flights_count": 2,
    "landings_count": 2,
    "spacewalks_count": 1,
    "flights": [],
    "landings": [],
    "spacewalks": [
        {
            "response_mode": "list",
            "id": 134,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/134/?format=api",
            "name": "PE-28 EVA",
            "start": "2000-05-12T10:44:00Z",
            "end": "2000-05-12T15:36:00Z",
            "duration": "PT4H52M",
            "location": "Mir",
            "crew": [
                {
                    "id": 4035,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 295,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/295/?format=api",
                        "name": "Sergei Zalyotin",
                        "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": 199,
                            "name": "[AUTO] Sergei Zalyotin - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/sergei2520zalyotin_image_20181201232209.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185207.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": "P83DT16H35M40S",
                        "eva_time": "PT4H52M",
                        "age": 62,
                        "date_of_birth": "1962-04-21",
                        "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": "Sergei Viktorovich Zalyotin is a Russian cosmonaut and a veteran of two space missions.\r\n\r\nZalyotin was born in Tula and attended the Borisoglebsk Higher Military School before becoming a fighter pilot in the Russian Air Force. He also holds a degree in ecological management. Zalyotin was selected as a cosmonaut candidate in 1990. In 2000, Zalyotin was a member of the final resident crew aboard the Mir space station. He briefly visited the International Space Station aboard Soyuz TMA-1 in 2002.",
                        "wiki": "https://en.wikipedia.org/wiki/Sergei_Zalyotin",
                        "last_flight": "2002-10-30T03:11:11Z",
                        "first_flight": "2000-04-04T05:01:29Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 4036,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 160,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/160/?format=api",
                        "name": "Aleksandr Kaleri",
                        "status": {
                            "id": 1,
                            "name": "Active"
                        },
                        "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": 718,
                            "name": "[AUTO] Aleksandr Kaleri - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/aleksandr2520kaleri_image_20181129232134.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190613.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": "P769DT6H35M",
                        "eva_time": "PT23H23M",
                        "age": 68,
                        "date_of_birth": "1956-05-13",
                        "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 Yuriyevich \"Sasha\" Kaleri (Russian: Александр Юрьевич Калери; born Jūrmala, Latvian SSR, USSR, 13 May 1956) is a Russian cosmonaut and veteran of extended stays on the Mir Space Station and the International Space Station (ISS). Kaleri has most recently been in space aboard the ISS serving as a flight engineer for the long duration Expedition 25/26 missions. He has spent the fourth-longest time in space of any person, the longest time in space of any currently active cosmonaut, and the longest time in space of any person not born in what is now Russia.",
                        "wiki": "https://en.wikipedia.org/wiki/Aleksandr_Kaleri",
                        "last_flight": "2010-10-07T23:10:55Z",
                        "first_flight": "1992-03-17T10:54:30Z",
                        "social_media_links": []
                    }
                }
            ]
        }
    ]
}