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

{
    "id": 409,
    "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/409/?format=api",
    "name": "Ken Bowersox",
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "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": 788,
        "name": "[AUTO] Ken Bowersox - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/ken_bowersox_image_20220911034246.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190759.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": "P211DT14H10M33S",
    "eva_time": "PT13H17M",
    "age": 68,
    "date_of_birth": "1956-11-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": "Kenneth Dwane \"Sox\" Bowersox is a United States Navy officer, and a former NASA astronaut. He is a veteran of five Space Shuttle launches and an extended stay aboard the International Space Station. When he launched on STS-73 at the age of 38 years and 11 months, he became the youngest person ever to command a Space Shuttle vehicle.",
    "wiki": "https://en.wikipedia.org/wiki/Ken_Bowersox",
    "last_flight": "2002-11-24T00:49:47Z",
    "first_flight": "1992-06-25T16:12:23Z",
    "social_media_links": [],
    "flights_count": 5,
    "landings_count": 5,
    "spacewalks_count": 2,
    "flights": [],
    "landings": [],
    "spacewalks": [
        {
            "response_mode": "list",
            "id": 307,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/307/?format=api",
            "name": "Expedition 6 EVA 1",
            "start": "2003-01-15T12:50:00Z",
            "end": "2003-01-15T19:41:00Z",
            "duration": "PT6H51M",
            "location": "International Space Station",
            "crew": [
                {
                    "id": 4382,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 409,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/409/?format=api",
                        "name": "Ken Bowersox",
                        "status": {
                            "id": 2,
                            "name": "Retired"
                        },
                        "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": 788,
                            "name": "[AUTO] Ken Bowersox - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/ken_bowersox_image_20220911034246.jpeg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190759.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": "P211DT14H10M33S",
                        "eva_time": "PT13H17M",
                        "age": 68,
                        "date_of_birth": "1956-11-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": "Kenneth Dwane \"Sox\" Bowersox is a United States Navy officer, and a former NASA astronaut. He is a veteran of five Space Shuttle launches and an extended stay aboard the International Space Station. When he launched on STS-73 at the age of 38 years and 11 months, he became the youngest person ever to command a Space Shuttle vehicle.",
                        "wiki": "https://en.wikipedia.org/wiki/Ken_Bowersox",
                        "last_flight": "2002-11-24T00:49:47Z",
                        "first_flight": "1992-06-25T16:12:23Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 4383,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 505,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/505/?format=api",
                        "name": "Donald Pettit",
                        "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": 865,
                            "name": "[AUTO] Donald Pettit - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/donald2520pettit_image_20181203160928.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191002.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": true,
                        "time_in_space": "P583DT2H57M43S",
                        "eva_time": "PT13H17M",
                        "age": 69,
                        "date_of_birth": "1955-04-20",
                        "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": "Donald Roy Pettit is an American chemical engineer and a NASA astronaut. He is a veteran of two long-duration stays aboard the International Space Station, one space shuttle mission and a six-week expedition to find meteorites in Antarctica. As of 2018, at age 63, he is NASA's oldest active astronaut.",
                        "wiki": "https://en.wikipedia.org/wiki/Donald_Pettit",
                        "last_flight": "2024-09-11T16:23:12Z",
                        "first_flight": "2002-11-24T00:49:47Z",
                        "social_media_links": [
                            {
                                "id": 173,
                                "social_media": {
                                    "id": 1,
                                    "name": "X",
                                    "url": "https://x.com",
                                    "logo": {
                                        "id": 2320,
                                        "name": "X logo",
                                        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/x_logo_image_20250211191027.jpg",
                                        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/x_logo_image_thumbnail_20250211191027.jpeg",
                                        "credit": "X",
                                        "license": {
                                            "id": 1,
                                            "name": "Unknown",
                                            "priority": 9,
                                            "link": null
                                        },
                                        "single_use": true,
                                        "variants": []
                                    }
                                },
                                "url": "https://twitter.com/PettitDonald"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "response_mode": "list",
            "id": 308,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/308/?format=api",
            "name": "Expedition 6 EVA 2",
            "start": "2003-04-08T12:40:00Z",
            "end": "2003-04-08T19:06:00Z",
            "duration": "PT6H26M",
            "location": "International Space Station",
            "crew": [
                {
                    "id": 4384,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 409,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/409/?format=api",
                        "name": "Ken Bowersox",
                        "status": {
                            "id": 2,
                            "name": "Retired"
                        },
                        "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": 788,
                            "name": "[AUTO] Ken Bowersox - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/ken_bowersox_image_20220911034246.jpeg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190759.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": "P211DT14H10M33S",
                        "eva_time": "PT13H17M",
                        "age": 68,
                        "date_of_birth": "1956-11-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": "Kenneth Dwane \"Sox\" Bowersox is a United States Navy officer, and a former NASA astronaut. He is a veteran of five Space Shuttle launches and an extended stay aboard the International Space Station. When he launched on STS-73 at the age of 38 years and 11 months, he became the youngest person ever to command a Space Shuttle vehicle.",
                        "wiki": "https://en.wikipedia.org/wiki/Ken_Bowersox",
                        "last_flight": "2002-11-24T00:49:47Z",
                        "first_flight": "1992-06-25T16:12:23Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 4385,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 505,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/505/?format=api",
                        "name": "Donald Pettit",
                        "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": 865,
                            "name": "[AUTO] Donald Pettit - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/donald2520pettit_image_20181203160928.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191002.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": true,
                        "time_in_space": "P583DT2H57M43S",
                        "eva_time": "PT13H17M",
                        "age": 69,
                        "date_of_birth": "1955-04-20",
                        "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": "Donald Roy Pettit is an American chemical engineer and a NASA astronaut. He is a veteran of two long-duration stays aboard the International Space Station, one space shuttle mission and a six-week expedition to find meteorites in Antarctica. As of 2018, at age 63, he is NASA's oldest active astronaut.",
                        "wiki": "https://en.wikipedia.org/wiki/Donald_Pettit",
                        "last_flight": "2024-09-11T16:23:12Z",
                        "first_flight": "2002-11-24T00:49:47Z",
                        "social_media_links": [
                            {
                                "id": 173,
                                "social_media": {
                                    "id": 1,
                                    "name": "X",
                                    "url": "https://x.com",
                                    "logo": {
                                        "id": 2320,
                                        "name": "X logo",
                                        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/x_logo_image_20250211191027.jpg",
                                        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/x_logo_image_thumbnail_20250211191027.jpeg",
                                        "credit": "X",
                                        "license": {
                                            "id": 1,
                                            "name": "Unknown",
                                            "priority": 9,
                                            "link": null
                                        },
                                        "single_use": true,
                                        "variants": []
                                    }
                                },
                                "url": "https://twitter.com/PettitDonald"
                            }
                        ]
                    }
                }
            ]
        }
    ]
}