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

{
    "id": 187,
    "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/187/?format=api",
    "name": "Vladimir Lyakhov",
    "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": 306,
        "name": "[AUTO] Vladimir Lyakhov - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/vladimir2520lyakhov_image_20181130000114.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185507.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": "P333DT7H47M46S",
    "eva_time": "PT7H7M",
    "age": 76,
    "date_of_birth": "1941-07-20",
    "date_of_death": "2018-04-19",
    "nationality": [
        {
            "id": 5,
            "name": "Russia",
            "alpha_2_code": "RU",
            "alpha_3_code": "RUS",
            "nationality_name": "Russian",
            "nationality_name_composed": "Russo"
        }
    ],
    "bio": "Vladimir Afanasyevich Lyakhov (Russian: Влади́мир Афана́сьевич Ля́хов; 20 July 1941 – 19 April 2018) was a Russian Soviet cosmonaut.\r\n\r\nHe was selected as cosmonaut on 5 May 1967, and retired on 7 September 1994. Lyakhov was the Commander on Soyuz 32, Soyuz T-9, and Soyuz TM-6, and spent 333 days, 7 hours, 47 minutes in space.",
    "wiki": "https://en.wikipedia.org/wiki/Vladimir_Lyakhov",
    "last_flight": "1988-08-29T04:23:11Z",
    "first_flight": "1979-02-25T11:53:49Z",
    "social_media_links": [],
    "flights_count": 3,
    "landings_count": 3,
    "spacewalks_count": 3,
    "flights": [],
    "landings": [],
    "spacewalks": [
        {
            "response_mode": "list",
            "id": 43,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/43/?format=api",
            "name": "PE-3 EVA",
            "start": "1979-08-15T14:16:00Z",
            "end": "1979-08-15T15:39:00Z",
            "duration": "PT1H23M",
            "location": "Salyut 6",
            "crew": [
                {
                    "id": 3853,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 238,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/238/?format=api",
                        "name": "Valery Ryumin",
                        "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": 594,
                            "name": "[AUTO] Valery Ryumin - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/valery2520ryumin_image_20181201214505.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190248.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": "P371DT17H25M33S",
                        "eva_time": "PT1H23M",
                        "age": 85,
                        "date_of_birth": "1939-08-16",
                        "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": "Valery Victorovich Ryumin (born August 16, 1939 in Komsomolsk-on-Amur) is a former Soviet cosmonaut.\r\nIn 1973, he joined the RSC Energia cosmonaut corps. A veteran of three space flights, Ryumin has logged a total of 362 days in space. In 1977, he spent 2 days aboard Soyuz-25, in 1979, he spent 175 days aboard Soyuz vehicles and the Salyut-6 space station, and in 1980, he spent 185 days aboard Soyuz vehicles and the Salyut-6 space station.\r\nIn January 1998, NASA announced Ryumin's selection to the crew of STS-91. Ryumin served aboard STS-91 Discovery (June 2–12, 1998) the 9th and final Shuttle-Mir docking mission, concluding the joint U.S./Russian Phase I Program. The STS-91 mission was accomplished in 154 Earth orbits, traveling 3.8 million miles in 235 hours and 54 seconds.",
                        "wiki": "https://en.wikipedia.org/wiki/Valery_Ryumin",
                        "last_flight": "1998-06-02T22:06:24Z",
                        "first_flight": "1977-10-09T02:40:35Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 3854,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 187,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/187/?format=api",
                        "name": "Vladimir Lyakhov",
                        "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": 306,
                            "name": "[AUTO] Vladimir Lyakhov - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/vladimir2520lyakhov_image_20181130000114.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185507.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": "P333DT7H47M46S",
                        "eva_time": "PT7H7M",
                        "age": 76,
                        "date_of_birth": "1941-07-20",
                        "date_of_death": "2018-04-19",
                        "nationality": [
                            {
                                "id": 5,
                                "name": "Russia",
                                "alpha_2_code": "RU",
                                "alpha_3_code": "RUS",
                                "nationality_name": "Russian",
                                "nationality_name_composed": "Russo"
                            }
                        ],
                        "bio": "Vladimir Afanasyevich Lyakhov (Russian: Влади́мир Афана́сьевич Ля́хов; 20 July 1941 – 19 April 2018) was a Russian Soviet cosmonaut.\r\n\r\nHe was selected as cosmonaut on 5 May 1967, and retired on 7 September 1994. Lyakhov was the Commander on Soyuz 32, Soyuz T-9, and Soyuz TM-6, and spent 333 days, 7 hours, 47 minutes in space.",
                        "wiki": "https://en.wikipedia.org/wiki/Vladimir_Lyakhov",
                        "last_flight": "1988-08-29T04:23:11Z",
                        "first_flight": "1979-02-25T11:53:49Z",
                        "social_media_links": []
                    }
                }
            ]
        },
        {
            "response_mode": "list",
            "id": 45,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/45/?format=api",
            "name": "PE-2 EVA 1",
            "start": "1983-11-01T04:47:00Z",
            "end": "1983-11-01T07:36:00Z",
            "duration": "PT2H49M",
            "location": "Salyut 7",
            "crew": [
                {
                    "id": 3857,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 187,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/187/?format=api",
                        "name": "Vladimir Lyakhov",
                        "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": 306,
                            "name": "[AUTO] Vladimir Lyakhov - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/vladimir2520lyakhov_image_20181130000114.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185507.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": "P333DT7H47M46S",
                        "eva_time": "PT7H7M",
                        "age": 76,
                        "date_of_birth": "1941-07-20",
                        "date_of_death": "2018-04-19",
                        "nationality": [
                            {
                                "id": 5,
                                "name": "Russia",
                                "alpha_2_code": "RU",
                                "alpha_3_code": "RUS",
                                "nationality_name": "Russian",
                                "nationality_name_composed": "Russo"
                            }
                        ],
                        "bio": "Vladimir Afanasyevich Lyakhov (Russian: Влади́мир Афана́сьевич Ля́хов; 20 July 1941 – 19 April 2018) was a Russian Soviet cosmonaut.\r\n\r\nHe was selected as cosmonaut on 5 May 1967, and retired on 7 September 1994. Lyakhov was the Commander on Soyuz 32, Soyuz T-9, and Soyuz TM-6, and spent 333 days, 7 hours, 47 minutes in space.",
                        "wiki": "https://en.wikipedia.org/wiki/Vladimir_Lyakhov",
                        "last_flight": "1988-08-29T04:23:11Z",
                        "first_flight": "1979-02-25T11:53:49Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 3858,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 60,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/60/?format=api",
                        "name": "Aleksandr Pavlovich Aleksandrov",
                        "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": 371,
                            "name": "[AUTO] Aleksandr Pavlovich Aleksandrov - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/aleksandr2520pavlovich2520aleksandrov_image_20181128215144.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185700.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": "P309DT18H2M40S",
                        "eva_time": "PT5H44M",
                        "age": 82,
                        "date_of_birth": "1943-02-20",
                        "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 Pavlovich Aleksandrov (Russian: Александр Павлович Александров; born February 20, 1943) is a former Soviet cosmonaut and twice Hero of the Soviet Union (November 23, 1983, and December 29, 1987).\r\n\r\nHe was selected as cosmonaut on December 1, 1978. For his first spaceflight, he flew as Flight Engineer on Soyuz T-9, which lasted from June to November 1983. For his second spaceflight, he replaced one of the long-duration crew members of Mir EO-2. For the spaceflight, he was launched with the spacecraft Soyuz TM-3 in July 1987, and landed with the same spacecraft in December 1987. All together he spent 309 days, 18 hours, 2 minutes in space. He served as backup for Soyuz T-8, Soyuz T-13, and Soyuz T-15.",
                        "wiki": "https://en.wikipedia.org/wiki/Aleksandr_Pavlovich_Aleksandrov",
                        "last_flight": "1987-07-22T01:59:17Z",
                        "first_flight": "1983-06-27T09:12:18Z",
                        "social_media_links": []
                    }
                }
            ]
        },
        {
            "response_mode": "list",
            "id": 46,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/46/?format=api",
            "name": "PE-2 EVA 2",
            "start": "1983-11-03T03:47:00Z",
            "end": "1983-11-03T06:42:00Z",
            "duration": "PT2H55M",
            "location": "Salyut 7",
            "crew": [
                {
                    "id": 3859,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 187,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/187/?format=api",
                        "name": "Vladimir Lyakhov",
                        "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": 306,
                            "name": "[AUTO] Vladimir Lyakhov - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/vladimir2520lyakhov_image_20181130000114.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185507.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": "P333DT7H47M46S",
                        "eva_time": "PT7H7M",
                        "age": 76,
                        "date_of_birth": "1941-07-20",
                        "date_of_death": "2018-04-19",
                        "nationality": [
                            {
                                "id": 5,
                                "name": "Russia",
                                "alpha_2_code": "RU",
                                "alpha_3_code": "RUS",
                                "nationality_name": "Russian",
                                "nationality_name_composed": "Russo"
                            }
                        ],
                        "bio": "Vladimir Afanasyevich Lyakhov (Russian: Влади́мир Афана́сьевич Ля́хов; 20 July 1941 – 19 April 2018) was a Russian Soviet cosmonaut.\r\n\r\nHe was selected as cosmonaut on 5 May 1967, and retired on 7 September 1994. Lyakhov was the Commander on Soyuz 32, Soyuz T-9, and Soyuz TM-6, and spent 333 days, 7 hours, 47 minutes in space.",
                        "wiki": "https://en.wikipedia.org/wiki/Vladimir_Lyakhov",
                        "last_flight": "1988-08-29T04:23:11Z",
                        "first_flight": "1979-02-25T11:53:49Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 3860,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 60,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/60/?format=api",
                        "name": "Aleksandr Pavlovich Aleksandrov",
                        "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": 371,
                            "name": "[AUTO] Aleksandr Pavlovich Aleksandrov - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/aleksandr2520pavlovich2520aleksandrov_image_20181128215144.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185700.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": "P309DT18H2M40S",
                        "eva_time": "PT5H44M",
                        "age": 82,
                        "date_of_birth": "1943-02-20",
                        "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 Pavlovich Aleksandrov (Russian: Александр Павлович Александров; born February 20, 1943) is a former Soviet cosmonaut and twice Hero of the Soviet Union (November 23, 1983, and December 29, 1987).\r\n\r\nHe was selected as cosmonaut on December 1, 1978. For his first spaceflight, he flew as Flight Engineer on Soyuz T-9, which lasted from June to November 1983. For his second spaceflight, he replaced one of the long-duration crew members of Mir EO-2. For the spaceflight, he was launched with the spacecraft Soyuz TM-3 in July 1987, and landed with the same spacecraft in December 1987. All together he spent 309 days, 18 hours, 2 minutes in space. He served as backup for Soyuz T-8, Soyuz T-13, and Soyuz T-15.",
                        "wiki": "https://en.wikipedia.org/wiki/Aleksandr_Pavlovich_Aleksandrov",
                        "last_flight": "1987-07-22T01:59:17Z",
                        "first_flight": "1983-06-27T09:12:18Z",
                        "social_media_links": []
                    }
                }
            ]
        }
    ]
}