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

{
    "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": "detailed",
    "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": [],
    "flights_count": 2,
    "landings_count": 2,
    "spacewalks_count": 2,
    "flights": [],
    "landings": [],
    "spacewalks": [
        {
            "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": []
                    }
                }
            ]
        }
    ]
}