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

{
    "id": 544,
    "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/544/?format=api",
    "name": "Michael Barratt",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "agency": {
        "response_mode": "list",
        "id": 44,
        "url": "https://lldev.thespacedevs.com/2.3.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "abbrev": "NASA",
        "type": {
            "id": 1,
            "name": "Government"
        }
    },
    "image": {
        "id": 860,
        "name": "[AUTO] Michael Barratt - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/michael_barratt_image_20220911034324.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190953.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": "P446DT15H22M42S",
    "eva_time": "PT5H37M",
    "age": 65,
    "date_of_birth": "1959-04-16",
    "date_of_death": null,
    "nationality": [
        {
            "id": 2,
            "name": "United States of America",
            "alpha_2_code": "US",
            "alpha_3_code": "USA",
            "nationality_name": "American",
            "nationality_name_composed": "Americano"
        }
    ],
    "bio": "Michael Reed Barratt is an American physician and a NASA astronaut. Specializing in aerospace medicine, he served as a flight surgeon for NASA before his selection as an astronaut, and has played a role in developing NASA's space medicine programs for both the Shuttle-Mir Program and International Space Station. His first spaceflight was a long-duration mission to the International Space Station, as a Flight Engineer in the Expedition 19 and 20 crew. In March 2011, Barratt completed his second spaceflight as a crew member of STS-133.",
    "wiki": "https://en.wikipedia.org/wiki/Michael_Barratt_(astronaut)",
    "last_flight": "2024-03-04T03:53:38Z",
    "first_flight": "2009-03-26T11:49:18Z",
    "social_media_links": [],
    "flights_count": 3,
    "landings_count": 3,
    "spacewalks_count": 3,
    "flights": [],
    "landings": [],
    "spacewalks": [
        {
            "response_mode": "list",
            "id": 337,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/337/?format=api",
            "name": "Expedition 20 EVA 1",
            "start": "2009-06-05T07:52:00Z",
            "end": "2009-06-05T12:46:00Z",
            "duration": "PT4H54M",
            "location": "International Space Station",
            "crew": [
                {
                    "id": 4442,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 217,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/217/?format=api",
                        "name": "Gennady Padalka",
                        "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": 811,
                            "name": "[AUTO] Gennady Padalka - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/gennady2520padalka_image_20181201185148.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190835.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": "P878DT11H29M11S",
                        "eva_time": "P1DT14H37M",
                        "age": 66,
                        "date_of_birth": "1958-06-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": "Gennady Ivanovich Padalka (Russian: Гeннадий Иванович Падалка; born 21 June 1958 in Krasnodar, Russia) is a Russian Air Force officer and an RKA cosmonaut. Padalka currently has the world record for the most time spent in space, having spent 879 days in space, more than any other person. He worked on both Mir and the International Space Station.",
                        "wiki": "https://en.wikipedia.org/wiki/Gennady_Padalka",
                        "last_flight": "2015-03-27T19:42:57Z",
                        "first_flight": "1998-08-13T09:43:11Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 4443,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 544,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/544/?format=api",
                        "name": "Michael Barratt",
                        "status": {
                            "id": 1,
                            "name": "Active"
                        },
                        "agency": {
                            "response_mode": "list",
                            "id": 44,
                            "url": "https://lldev.thespacedevs.com/2.3.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "abbrev": "NASA",
                            "type": {
                                "id": 1,
                                "name": "Government"
                            }
                        },
                        "image": {
                            "id": 860,
                            "name": "[AUTO] Michael Barratt - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/michael_barratt_image_20220911034324.jpeg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190953.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": "P446DT15H22M42S",
                        "eva_time": "PT5H37M",
                        "age": 65,
                        "date_of_birth": "1959-04-16",
                        "date_of_death": null,
                        "nationality": [
                            {
                                "id": 2,
                                "name": "United States of America",
                                "alpha_2_code": "US",
                                "alpha_3_code": "USA",
                                "nationality_name": "American",
                                "nationality_name_composed": "Americano"
                            }
                        ],
                        "bio": "Michael Reed Barratt is an American physician and a NASA astronaut. Specializing in aerospace medicine, he served as a flight surgeon for NASA before his selection as an astronaut, and has played a role in developing NASA's space medicine programs for both the Shuttle-Mir Program and International Space Station. His first spaceflight was a long-duration mission to the International Space Station, as a Flight Engineer in the Expedition 19 and 20 crew. In March 2011, Barratt completed his second spaceflight as a crew member of STS-133.",
                        "wiki": "https://en.wikipedia.org/wiki/Michael_Barratt_(astronaut)",
                        "last_flight": "2024-03-04T03:53:38Z",
                        "first_flight": "2009-03-26T11:49:18Z",
                        "social_media_links": []
                    }
                }
            ]
        },
        {
            "response_mode": "list",
            "id": 338,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/338/?format=api",
            "name": "Expedition 20 EVA 2",
            "start": "2009-06-10T06:55:00Z",
            "end": "2009-06-10T07:07:00Z",
            "duration": "PT12M",
            "location": "International Space Station",
            "crew": [
                {
                    "id": 4444,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 217,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/217/?format=api",
                        "name": "Gennady Padalka",
                        "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": 811,
                            "name": "[AUTO] Gennady Padalka - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/gennady2520padalka_image_20181201185148.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190835.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": "P878DT11H29M11S",
                        "eva_time": "P1DT14H37M",
                        "age": 66,
                        "date_of_birth": "1958-06-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": "Gennady Ivanovich Padalka (Russian: Гeннадий Иванович Падалка; born 21 June 1958 in Krasnodar, Russia) is a Russian Air Force officer and an RKA cosmonaut. Padalka currently has the world record for the most time spent in space, having spent 879 days in space, more than any other person. He worked on both Mir and the International Space Station.",
                        "wiki": "https://en.wikipedia.org/wiki/Gennady_Padalka",
                        "last_flight": "2015-03-27T19:42:57Z",
                        "first_flight": "1998-08-13T09:43:11Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 4445,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 544,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/544/?format=api",
                        "name": "Michael Barratt",
                        "status": {
                            "id": 1,
                            "name": "Active"
                        },
                        "agency": {
                            "response_mode": "list",
                            "id": 44,
                            "url": "https://lldev.thespacedevs.com/2.3.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "abbrev": "NASA",
                            "type": {
                                "id": 1,
                                "name": "Government"
                            }
                        },
                        "image": {
                            "id": 860,
                            "name": "[AUTO] Michael Barratt - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/michael_barratt_image_20220911034324.jpeg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190953.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": "P446DT15H22M42S",
                        "eva_time": "PT5H37M",
                        "age": 65,
                        "date_of_birth": "1959-04-16",
                        "date_of_death": null,
                        "nationality": [
                            {
                                "id": 2,
                                "name": "United States of America",
                                "alpha_2_code": "US",
                                "alpha_3_code": "USA",
                                "nationality_name": "American",
                                "nationality_name_composed": "Americano"
                            }
                        ],
                        "bio": "Michael Reed Barratt is an American physician and a NASA astronaut. Specializing in aerospace medicine, he served as a flight surgeon for NASA before his selection as an astronaut, and has played a role in developing NASA's space medicine programs for both the Shuttle-Mir Program and International Space Station. His first spaceflight was a long-duration mission to the International Space Station, as a Flight Engineer in the Expedition 19 and 20 crew. In March 2011, Barratt completed his second spaceflight as a crew member of STS-133.",
                        "wiki": "https://en.wikipedia.org/wiki/Michael_Barratt_(astronaut)",
                        "last_flight": "2024-03-04T03:53:38Z",
                        "first_flight": "2009-03-26T11:49:18Z",
                        "social_media_links": []
                    }
                }
            ]
        },
        {
            "response_mode": "list",
            "id": 476,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/476/?format=api",
            "name": "Expedition 71 EVA 2",
            "start": "2024-06-24T12:46:00Z",
            "end": "2024-06-24T13:17:00Z",
            "duration": "PT31M",
            "location": "International Space Station",
            "crew": [
                {
                    "id": 4922,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 524,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/524/?format=api",
                        "name": "Tracy Caldwell Dyson",
                        "status": {
                            "id": 1,
                            "name": "Active"
                        },
                        "agency": {
                            "response_mode": "list",
                            "id": 44,
                            "url": "https://lldev.thespacedevs.com/2.3.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "abbrev": "NASA",
                            "type": {
                                "id": 1,
                                "name": "Government"
                            }
                        },
                        "image": {
                            "id": 596,
                            "name": "[AUTO] Tracy Caldwell Dyson - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tracy_caldwell__image_20220911033954.jpeg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190252.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": "P372DT18H37M35S",
                        "eva_time": "PT23H20M",
                        "age": 55,
                        "date_of_birth": "1969-08-14",
                        "date_of_death": null,
                        "nationality": [
                            {
                                "id": 2,
                                "name": "United States of America",
                                "alpha_2_code": "US",
                                "alpha_3_code": "USA",
                                "nationality_name": "American",
                                "nationality_name_composed": "Americano"
                            }
                        ],
                        "bio": "Tracy Caldwell Dyson is an American chemist and NASA astronaut. Caldwell Dyson was a Mission Specialist on Space Shuttle Endeavour flight STS-118 in August 2007. She was part of the Expedition 24 crew on the International Space Station between April 4, 2010 and September 25, 2010. She has completed three spacewalks, logging more than 22 hrs of EVA including work to replace a malfunctioning coolant pump.",
                        "wiki": "https://en.wikipedia.org/wiki/Tracy_Caldwell_Dyson",
                        "last_flight": "2024-03-23T12:36:10Z",
                        "first_flight": "2007-08-08T22:36:42Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 4923,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 544,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/544/?format=api",
                        "name": "Michael Barratt",
                        "status": {
                            "id": 1,
                            "name": "Active"
                        },
                        "agency": {
                            "response_mode": "list",
                            "id": 44,
                            "url": "https://lldev.thespacedevs.com/2.3.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "abbrev": "NASA",
                            "type": {
                                "id": 1,
                                "name": "Government"
                            }
                        },
                        "image": {
                            "id": 860,
                            "name": "[AUTO] Michael Barratt - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/michael_barratt_image_20220911034324.jpeg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190953.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": "P446DT15H22M42S",
                        "eva_time": "PT5H37M",
                        "age": 65,
                        "date_of_birth": "1959-04-16",
                        "date_of_death": null,
                        "nationality": [
                            {
                                "id": 2,
                                "name": "United States of America",
                                "alpha_2_code": "US",
                                "alpha_3_code": "USA",
                                "nationality_name": "American",
                                "nationality_name_composed": "Americano"
                            }
                        ],
                        "bio": "Michael Reed Barratt is an American physician and a NASA astronaut. Specializing in aerospace medicine, he served as a flight surgeon for NASA before his selection as an astronaut, and has played a role in developing NASA's space medicine programs for both the Shuttle-Mir Program and International Space Station. His first spaceflight was a long-duration mission to the International Space Station, as a Flight Engineer in the Expedition 19 and 20 crew. In March 2011, Barratt completed his second spaceflight as a crew member of STS-133.",
                        "wiki": "https://en.wikipedia.org/wiki/Michael_Barratt_(astronaut)",
                        "last_flight": "2024-03-04T03:53:38Z",
                        "first_flight": "2009-03-26T11:49:18Z",
                        "social_media_links": []
                    }
                }
            ]
        }
    ]
}