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

{
    "id": 340,
    "url": "https://ll.thespacedevs.com/2.2.0/astronaut/340/?format=api",
    "name": "Jon McBride",
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "in_space": false,
    "time_in_space": "P8DT5H23M",
    "eva_time": "P0D",
    "agency": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "type": "Government"
    },
    "age": 80,
    "date_of_birth": "1943-08-14",
    "date_of_death": null,
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Jon Andrew McBride is a retired American naval officer and aviator, fighter pilot, test pilot, aeronautical engineer, and a former NASA astronaut.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/jon2520mcbride_image_20181202103017.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185429.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Jon_McBride",
    "flights": [
        {
            "id": "2dd2c4d8-fc1f-43e8-8252-8ff831523083",
            "url": "https://ll.thespacedevs.com/2.2.0/launch/2dd2c4d8-fc1f-43e8-8252-8ff831523083/?format=api",
            "slug": "space-shuttle-challenger-ov-099-sts-41-g",
            "name": "Space Shuttle Challenger / OV-099 | STS-41-G",
            "status": {
                "id": 3,
                "name": "Launch Successful",
                "abbrev": "Success",
                "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
            },
            "last_updated": "2023-06-14T08:54:47Z",
            "net": "1984-10-05T11:03:00Z",
            "window_end": "1984-10-05T11:03:00Z",
            "window_start": "1984-10-05T11:03:00Z",
            "net_precision": null,
            "probability": -1,
            "weather_concerns": null,
            "holdreason": "",
            "failreason": null,
            "hashtag": null,
            "launch_service_provider": {
                "id": 192,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/192/?format=api",
                "name": "Lockheed Space Operations Company",
                "type": "Commercial"
            },
            "rocket": {
                "id": 301,
                "configuration": {
                    "id": 493,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/493/?format=api",
                    "name": "Space Shuttle",
                    "family": "",
                    "full_name": "Space Shuttle",
                    "variant": ""
                }
            },
            "mission": {
                "id": 110,
                "name": "STS-41-G",
                "description": "STS-41-G was the thirteenth flight of the shuttle program and sixth of the Space Shuttle Challenger. It was the second landing made at the Kenendy Space Center. It was the first crew to carry two women, the first American EVA involving a woman, the first Australian Astronaut and first Canadian Astronaut.",
                "launch_designator": null,
                "type": "Earth Science",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                },
                "agencies": [],
                "info_urls": [],
                "vid_urls": []
            },
            "pad": {
                "id": 87,
                "url": "https://ll.thespacedevs.com/2.2.0/pad/87/?format=api",
                "agency_id": 121,
                "name": "Launch Complex 39A",
                "description": null,
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39A",
                "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
                "latitude": "28.60822681",
                "longitude": "-80.60428186",
                "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": 237,
                    "total_landing_count": 0
                },
                "country_code": "USA",
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_87_20200803143537.jpg",
                "total_launch_count": 179,
                "orbital_launch_attempt_count": 178
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/space_shuttle_image_20230422074810.jpeg",
            "infographic": null,
            "program": [
                {
                    "id": 6,
                    "url": "https://ll.thespacedevs.com/2.2.0/program/6/?format=api",
                    "name": "Space Shuttle",
                    "description": "The Space Shuttle program was the fourth human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which accomplished routine transportation for Earth-to-orbit crew and cargo from 1981 to 2011.",
                    "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/space2520shutt_program_20200820202237.png",
                    "start_date": "1981-04-12T12:00:03Z",
                    "end_date": "2011-07-08T15:29:00Z",
                    "info_url": "https://www.nasa.gov/mission_pages/shuttle/main/index.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Space_Shuttle_program",
                    "mission_patches": [],
                    "type": {
                        "id": 2,
                        "name": "Human Spaceflight"
                    }
                }
            ],
            "orbital_launch_attempt_count": 2873,
            "location_launch_attempt_count": 30,
            "pad_launch_attempt_count": 25,
            "agency_launch_attempt_count": 4,
            "orbital_launch_attempt_count_year": 108,
            "location_launch_attempt_count_year": 4,
            "pad_launch_attempt_count_year": 4,
            "agency_launch_attempt_count_year": 4,
            "type": "normal"
        }
    ],
    "landings": [
        {
            "id": 56,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/56/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1984-10-13T16:26:00Z",
            "spacecraft": {
                "id": 37,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/37/?format=api",
                "name": "Space Shuttle Challenger",
                "serial_number": "OV-099",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P62DT6H51M50S",
                "time_docked": "P0D",
                "flights_count": 10,
                "mission_ends_count": 10,
                "status": {
                    "id": 3,
                    "name": "Destroyed"
                },
                "description": "Space Shuttle Challenger (Orbiter Vehicle Designation: OV-099) was the second orbiter of NASA's space shuttle program to be put into service, after Columbia. Challenger was built by Rockwell International's Space Transportation Systems Division, in Downey, California. Its maiden flight, STS-6, began on April 4, 1983. The orbiter was launched and landed nine times before breaking apart 73 seconds into its tenth mission, STS-51-L, on January 28, 1986, resulting in the death of all seven crew members, including a civilian school teacher. It was the first of two shuttles to be destroyed in flight, the other being Columbia, in 2003. The accident led to a two-and-a-half-year grounding of the shuttle fleet; flights resumed in 1988, with STS-26 flown by Discovery. Challenger was replaced by Endeavour, which was built from structural spares ordered by NASA in the construction contracts for Discovery and Atlantis.",
                "spacecraft_config": {
                    "id": 14,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/14/?format=api",
                    "name": "Space Shuttle",
                    "type": {
                        "id": 3,
                        "name": "Spaceplane"
                    },
                    "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": false,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/space2520shuttle_image_20190207032524.jpeg"
                }
            },
            "launch": {
                "id": "2dd2c4d8-fc1f-43e8-8252-8ff831523083",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/2dd2c4d8-fc1f-43e8-8252-8ff831523083/?format=api",
                "slug": "space-shuttle-challenger-ov-099-sts-41-g",
                "name": "Space Shuttle Challenger / OV-099 | STS-41-G",
                "status": {
                    "id": 3,
                    "name": "Launch Successful",
                    "abbrev": "Success",
                    "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
                },
                "last_updated": "2023-06-14T08:54:47Z",
                "net": "1984-10-05T11:03:00Z",
                "window_end": "1984-10-05T11:03:00Z",
                "window_start": "1984-10-05T11:03:00Z",
                "net_precision": null,
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": null,
                "hashtag": null,
                "launch_service_provider": {
                    "id": 192,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/192/?format=api",
                    "name": "Lockheed Space Operations Company",
                    "type": "Commercial"
                },
                "rocket": {
                    "id": 301,
                    "configuration": {
                        "id": 493,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/493/?format=api",
                        "name": "Space Shuttle",
                        "family": "",
                        "full_name": "Space Shuttle",
                        "variant": ""
                    }
                },
                "mission": {
                    "id": 110,
                    "name": "STS-41-G",
                    "description": "STS-41-G was the thirteenth flight of the shuttle program and sixth of the Space Shuttle Challenger. It was the second landing made at the Kenendy Space Center. It was the first crew to carry two women, the first American EVA involving a woman, the first Australian Astronaut and first Canadian Astronaut.",
                    "launch_designator": null,
                    "type": "Earth Science",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 87,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/87/?format=api",
                    "agency_id": 121,
                    "name": "Launch Complex 39A",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39A",
                    "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
                    "latitude": "28.60822681",
                    "longitude": "-80.60428186",
                    "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": 237,
                        "total_landing_count": 0
                    },
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_87_20200803143537.jpg",
                    "total_launch_count": 179,
                    "orbital_launch_attempt_count": 178
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/space_shuttle_image_20230422074810.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 6,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/6/?format=api",
                        "name": "Space Shuttle",
                        "description": "The Space Shuttle program was the fourth human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which accomplished routine transportation for Earth-to-orbit crew and cargo from 1981 to 2011.",
                        "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/space2520shutt_program_20200820202237.png",
                        "start_date": "1981-04-12T12:00:03Z",
                        "end_date": "2011-07-08T15:29:00Z",
                        "info_url": "https://www.nasa.gov/mission_pages/shuttle/main/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Space_Shuttle_program",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 2873,
                "location_launch_attempt_count": 30,
                "pad_launch_attempt_count": 25,
                "agency_launch_attempt_count": 4,
                "orbital_launch_attempt_count_year": 108,
                "location_launch_attempt_count_year": 4,
                "pad_launch_attempt_count_year": 4,
                "agency_launch_attempt_count_year": 4,
                "type": "normal"
            },
            "landing": {
                "id": 945,
                "attempt": true,
                "success": true,
                "description": "Space Shuttle Challenger successfully landed at the Shuttle Landing Facility after this mission.",
                "downrange_distance": null,
                "location": {
                    "id": 24,
                    "name": "Shuttle Landing Facility",
                    "abbrev": "SLF",
                    "description": "Airport used for Space Shuttle landings, part of the Kennedy Space Center.",
                    "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": 237,
                        "total_landing_count": 0
                    },
                    "successful_landings": 0
                },
                "type": {
                    "id": 6,
                    "name": "Horizontal Landing",
                    "abbrev": "HL",
                    "description": "Horizontal landing on a runway or flat surface."
                }
            }
        }
    ],
    "flights_count": 1,
    "landings_count": 1,
    "spacewalks_count": 0,
    "last_flight": "1984-10-05T11:03:00Z",
    "first_flight": "1984-10-05T11:03:00Z",
    "spacewalks": []
}