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

{
    "id": 125,
    "url": "https://ll.thespacedevs.com/2.2.0/astronaut/125/?format=api",
    "name": "Jeremy Hansen",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "in_space": false,
    "time_in_space": "P0D",
    "eva_time": "P0D",
    "agency": {
        "id": 16,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/16/?format=api",
        "name": "Canadian Space Agency",
        "type": "Government"
    },
    "age": 48,
    "date_of_birth": "1976-01-27",
    "date_of_death": null,
    "nationality": "Canadian",
    "twitter": "https://twitter.com/Astro_Jeremy",
    "instagram": null,
    "bio": "Jeremy Roger Hansen  is a Canadian astronaut with the Canadian Space Agency (CSA). He was selected to join the CSA in the 2009 CSA selection.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/jeremy2520hansen_image_20181129202847.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190535.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Jeremy_Hansen",
    "flights": [],
    "landings": [
        {
            "id": 759,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/759/?format=api",
            "destination": "Circumlunar flyby",
            "mission_end": null,
            "spacecraft": {
                "id": 540,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/540/?format=api",
                "name": "Orion 003",
                "serial_number": "003",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P0D",
                "time_docked": "P0D",
                "flights_count": 0,
                "mission_ends_count": 0,
                "status": {
                    "id": 5,
                    "name": "Under construction"
                },
                "description": "Orion spacecraft used for Artemis 2.",
                "spacecraft_config": {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/4/?format=api",
                    "name": "Orion",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 44,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                        "name": "National Aeronautics and Space Administration",
                        "type": "Government"
                    },
                    "in_use": true,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/orion_image_20231118102035.jpeg"
                }
            },
            "launch": {
                "id": "41699701-2ef4-4b0c-ac9d-6757820cde87",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/41699701-2ef4-4b0c-ac9d-6757820cde87/?format=api",
                "slug": "sls-block-1-artemis-ii",
                "name": "SLS Block 1 | Artemis II",
                "status": {
                    "id": 2,
                    "name": "To Be Determined",
                    "abbrev": "TBD",
                    "description": "Current date is a placeholder or rough estimation based on unreliable or interpreted sources."
                },
                "last_updated": "2024-01-09T18:53:11Z",
                "net": "2025-09-30T00:00:00Z",
                "window_end": "2025-09-30T00:00:00Z",
                "window_start": "2025-09-30T00:00:00Z",
                "net_precision": {
                    "id": 7,
                    "name": "Month",
                    "abbrev": "M",
                    "description": "The T-0 is expected in the given month."
                },
                "probability": null,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                },
                "rocket": {
                    "id": 187,
                    "configuration": {
                        "id": 143,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/143/?format=api",
                        "name": "Space Launch System (SLS)",
                        "family": "Space Launch System",
                        "full_name": "Space Launch System Block 1",
                        "variant": "Block 1"
                    }
                },
                "mission": {
                    "id": 6343,
                    "name": "Artemis II",
                    "description": "Artemis II is the first crewed mission as part of the Artemis program. Artemis II will send a crew of 4 - 3 Americans and 1 Canadian around the moon and return them back to Earth.\r\n\r\nThe mission will test the core systems of NASA's Orion spacecraft including the critical life support system, among other systems which could not be tested during Artemis I due to the lack of crew onboard.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 9,
                        "name": "Lunar flyby",
                        "abbrev": "Lunar flyby"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/4/?format=api",
                    "agency_id": 44,
                    "name": "Launch Complex 39B",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39B",
                    "map_url": "https://www.google.com/maps?q=28.62711233,-80.62101503",
                    "latitude": "28.62711233",
                    "longitude": "-80.62101503",
                    "location": {
                        "id": 27,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/27/?format=api",
                        "name": "Kennedy Space Center, FL, USA",
                        "country_code": "USA",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
                        "timezone_name": "America/New_York",
                        "total_launch_count": 235,
                        "total_landing_count": 0
                    },
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_4_20200803143518.jpg",
                    "total_launch_count": 58,
                    "orbital_launch_attempt_count": 57
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/space_launch_sy_image_20220331082429.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 15,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/15/?format=api",
                        "name": "Artemis",
                        "description": "The Artemis program is a US government-funded crewed spaceflight program that has the goal of landing \"the first woman and the next man\" on the Moon, specifically at the lunar south pole region by 2024.",
                        "agencies": [
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/artemis_program_20220827100930.png",
                        "start_date": "2017-12-11T00:00:00Z",
                        "end_date": null,
                        "info_url": "https://www.nasa.gov/specials/artemis/",
                        "wiki_url": "https://en.wikipedia.org/wiki/Artemis_program",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 6834,
                "location_launch_attempt_count": 244,
                "pad_launch_attempt_count": 59,
                "agency_launch_attempt_count": 136,
                "orbital_launch_attempt_count_year": 28,
                "location_launch_attempt_count_year": 1,
                "pad_launch_attempt_count_year": 1,
                "agency_launch_attempt_count_year": 1,
                "type": "normal"
            },
            "landing": {
                "id": 499,
                "attempt": true,
                "success": null,
                "description": "The Orion spacecraft will splash down in the Pacific Ocean.",
                "downrange_distance": null,
                "location": {
                    "id": 18,
                    "name": "Pacific Ocean",
                    "abbrev": "PAC",
                    "description": "Pacific Ocean",
                    "location": null,
                    "successful_landings": 3
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ],
    "flights_count": 0,
    "landings_count": 0,
    "spacewalks_count": 0,
    "last_flight": null,
    "first_flight": null,
    "spacewalks": []
}