API endpoint that allows Astronaut to be viewed.

GET: Return a list of all the existing astronauts.

MODE: Normal, List, LaunchList and Detailed /2.2.0/astronaut/?mode=detailed

FILTERS: Parameters - 'name', 'status', 'nationality', 'agency__name', 'agency__abbrev', 'date_of_birth', 'date_of_death', 'status_ids', 'is_human', 'type__id', 'has_flown', 'in_space' Example - /2.2.0/astronaut/?nationality=American

SEARCH EXAMPLE: /2.2.0/astronaut/?search=armstrong Searches through name, nationality and agency name

ORDERING: Fields - 'name', 'status', 'date_of_birth' Example - /2.2.0/astronaut/?order=name

GET /2.2.0/astronaut/3/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 3,
    "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/3/?format=api",
    "name": "Tim Peake",
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "in_space": false,
    "time_in_space": "P185DT22H11M51S",
    "eva_time": "PT4H43M",
    "agency": {
        "id": 27,
        "url": "https://lldev.thespacedevs.com/2.2.0/agencies/27/?format=api",
        "name": "European Space Agency",
        "type": "Multinational"
    },
    "age": 53,
    "date_of_birth": "1972-04-07",
    "date_of_death": null,
    "nationality": "British",
    "twitter": "https://twitter.com/astro_timpeake",
    "instagram": "https://www.instagram.com/astro_timpeake/",
    "bio": "Major Timothy Nigel Peake CMG is a British Army Air Corps officer, former European Space Agency astronaut and International Space Station (ISS) crew member.  He is the first British ESA astronaut, the second astronaut to bear a flag of the United Kingdom patch, the sixth person born in the United Kingdom to go on board the International Space Station and the seventh UK-born person in space. He began the ESA's intensive astronaut basic training course in September 2009 and graduated on 22 November 2010",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tim_peake_image_20230120154350.jpg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185843.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Tim_Peake",
    "flights": [],
    "landings": [],
    "flights_count": 1,
    "landings_count": 1,
    "spacewalks_count": 1,
    "last_flight": "2015-12-15T11:03:09Z",
    "first_flight": "2015-12-15T11:03:09Z",
    "spacewalks": [
        {
            "id": 379,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacewalks/379/?format=api",
            "name": "Expedition 46 EVA 2",
            "start": "2016-01-15T13:48:00Z",
            "end": "2016-01-15T18:31:00Z",
            "duration": "PT4H43M",
            "location": "International Space Station",
            "crew": [
                {
                    "id": 4526,
                    "role": {
                        "id": 33,
                        "role": "EV1",
                        "priority": 0
                    },
                    "astronaut": {
                        "id": 549,
                        "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/549/?format=api",
                        "name": "Timothy Kopra",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "in_space": false,
                        "time_in_space": "P244DT1H1M41S",
                        "status": {
                            "id": 2,
                            "name": "Retired"
                        },
                        "agency": {
                            "id": 44,
                            "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        "date_of_birth": "1963-04-09",
                        "date_of_death": null,
                        "nationality": "American",
                        "twitter": null,
                        "instagram": null,
                        "bio": "Timothy Lennart \"Tim\" Kopra is an engineer, a Colonel in the United States Army and a retired NASA astronaut. He served aboard the International Space Station as a flight engineer for Expedition 20, returning to Earth aboard Space Shuttle Discovery on the STS-128 mission on September 11, 2009. He returned to the ISS for the second time in December 2015, as part of Expedition 46 and as the Commander of 47.",
                        "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/timothy_kopra_image_20220911033908.jpeg",
                        "wiki": "https://en.wikipedia.org/wiki/Timothy_Kopra",
                        "last_flight": "2015-12-15T11:03:09Z",
                        "first_flight": "2009-07-15T22:03:10Z"
                    }
                },
                {
                    "id": 4527,
                    "role": {
                        "id": 34,
                        "role": "EV2",
                        "priority": 1
                    },
                    "astronaut": {
                        "id": 3,
                        "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/3/?format=api",
                        "name": "Tim Peake",
                        "type": {
                            "id": 2,
                            "name": "Government"
                        },
                        "in_space": false,
                        "time_in_space": "P185DT22H11M51S",
                        "status": {
                            "id": 2,
                            "name": "Retired"
                        },
                        "agency": {
                            "id": 27,
                            "url": "https://lldev.thespacedevs.com/2.2.0/agencies/27/?format=api",
                            "name": "European Space Agency",
                            "type": "Multinational"
                        },
                        "date_of_birth": "1972-04-07",
                        "date_of_death": null,
                        "nationality": "British",
                        "twitter": "https://twitter.com/astro_timpeake",
                        "instagram": "https://www.instagram.com/astro_timpeake/",
                        "bio": "Major Timothy Nigel Peake CMG is a British Army Air Corps officer, former European Space Agency astronaut and International Space Station (ISS) crew member.  He is the first British ESA astronaut, the second astronaut to bear a flag of the United Kingdom patch, the sixth person born in the United Kingdom to go on board the International Space Station and the seventh UK-born person in space. He began the ESA's intensive astronaut basic training course in September 2009 and graduated on 22 November 2010",
                        "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tim_peake_image_20230120154350.jpg",
                        "wiki": "https://en.wikipedia.org/wiki/Tim_Peake",
                        "last_flight": "2015-12-15T11:03:09Z",
                        "first_flight": "2015-12-15T11:03:09Z"
                    }
                }
            ]
        }
    ]
}