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

{
    "id": 451,
    "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/451/?format=api",
    "name": "Jerry M. Linenger",
    "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": 360,
        "name": "[AUTO] Jerry M. Linenger - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/jerry2520m.2520linenger_image_20181202145028.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185643.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": "P143DT2H48M44S",
    "eva_time": "PT4H59M",
    "age": 70,
    "date_of_birth": "1955-01-09",
    "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": "Jerry Michael Linenger is a retired Captain in the United States Navy Medical Corps, and a former NASA astronaut who flew on the Space Shuttle and Space Station Mir.",
    "wiki": "https://en.wikipedia.org/wiki/Jerry_M._Linenger",
    "last_flight": "1997-01-12T09:27:23Z",
    "first_flight": "1994-09-09T22:22:53Z",
    "social_media_links": [
        {
            "id": 124,
            "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/Linenger"
        }
    ],
    "flights_count": 2,
    "landings_count": 2,
    "spacewalks_count": 1,
    "flights": [],
    "landings": [],
    "spacewalks": [
        {
            "response_mode": "list",
            "id": 116,
            "url": "https://lldev.thespacedevs.com/2.3.0/spacewalks/116/?format=api",
            "name": "PE-23 EVA",
            "start": "1997-04-29T05:10:00Z",
            "end": "1997-04-29T10:09:00Z",
            "duration": "PT4H59M",
            "location": "Mir",
            "crew": [
                {
                    "id": 3999,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 272,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/272/?format=api",
                        "name": "Vasily Tsibliyev",
                        "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": 395,
                            "name": "[AUTO] Vasily Tsibliyev - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/vasily2520tsibliyev_image_20181201223334.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185737.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": "P381DT15H52M32S",
                        "eva_time": "PT19H12M50S",
                        "age": 71,
                        "date_of_birth": "1954-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": "Vasily Vasiliyevich Tsibliyev (Russian: Василий Василиевич Циблиев); born on February 20, 1954) is a Russian cosmonaut.\r\n\r\nHe was selected as a cosmonaut on March 26, 1987. Tsibliyev flew as Commander on Soyuz TM-17 from July 1, 1993 to January 14, 1994 and on Soyuz TM-25 from February 2, 1997 to August 14 of the same year. He retired on June 19, 1998. Tsibliyev is currently Chief of the Yuri Gagarin Cosmonauts Training Center at Star City, Russia.\r\n\r\nTsibliyev was the commander in charge of Mir when it was hit by a Progress spacecraft in 1997.",
                        "wiki": "https://en.wikipedia.org/wiki/Vasily_Tsibliyev",
                        "last_flight": "1997-02-10T14:09:30Z",
                        "first_flight": "1993-07-01T14:32:58Z",
                        "social_media_links": []
                    }
                },
                {
                    "id": 4000,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 451,
                        "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/451/?format=api",
                        "name": "Jerry M. Linenger",
                        "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": 360,
                            "name": "[AUTO] Jerry M. Linenger - image",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/jerry2520m.2520linenger_image_20181202145028.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185643.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": "P143DT2H48M44S",
                        "eva_time": "PT4H59M",
                        "age": 70,
                        "date_of_birth": "1955-01-09",
                        "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": "Jerry Michael Linenger is a retired Captain in the United States Navy Medical Corps, and a former NASA astronaut who flew on the Space Shuttle and Space Station Mir.",
                        "wiki": "https://en.wikipedia.org/wiki/Jerry_M._Linenger",
                        "last_flight": "1997-01-12T09:27:23Z",
                        "first_flight": "1994-09-09T22:22:53Z",
                        "social_media_links": [
                            {
                                "id": 124,
                                "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/Linenger"
                            }
                        ]
                    }
                }
            ]
        }
    ]
}