API endpoint that allows Astronaut to be viewed.

GET:
Return a list of all the existing astronauts.

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

FILTERS:
Parameters - 'name', 'status', 'nationality', 'agency__name', 'agency__abbrev', 'date_of_birth',
'date_of_death', 'status_ids'
Example - /2.0.0/astronaut/?nationality=American

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

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

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

{
    "id": 390,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/390/?format=api",
    "name": "Sonny Carter",
    "status": {
        "id": 6,
        "name": "Died While In Active Service"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "agency": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "type": "Government"
    },
    "date_of_birth": "1947-08-15",
    "date_of_death": "1991-04-05",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Manley Lanier \"Sonny\" Carter Jr., M.D. was an American chemist, physician, professional soccer player, naval officer and aviator, test pilot, and NASA astronaut who flew on STS-33.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/sonny2520carter_image_20181202134100.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190815.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Sonny_Carter",
    "flights": [
        {
            "id": "beab7536-c83f-4279-8473-7507757ff9a0",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/beab7536-c83f-4279-8473-7507757ff9a0/?format=api",
            "launch_library_id": 376,
            "slug": "space-shuttle-discovery-ov-103-sts-33",
            "name": "Space Shuttle Discovery / OV-103 | STS-33",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1989-11-23T00:23:30Z",
            "window_end": "1989-11-23T00:23:30Z",
            "window_start": "1989-11-23T00:23:30Z",
            "inhold": false,
            "tbdtime": false,
            "tbddate": false,
            "probability": -1,
            "holdreason": "",
            "failreason": "",
            "hashtag": null,
            "launch_service_provider": {
                "id": 192,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/192/?format=api",
                "name": "Lockheed Space Operations Company",
                "type": "Commercial"
            },
            "rocket": {
                "id": 330,
                "configuration": {
                    "id": 493,
                    "launch_library_id": null,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/493/?format=api",
                    "name": "Space Shuttle",
                    "family": "",
                    "full_name": "Space Shuttle",
                    "variant": ""
                }
            },
            "mission": {
                "id": 690,
                "launch_library_id": 928,
                "name": "STS-33",
                "description": "STS-33 was the thirty-second shuttle mission and the ninth of Space Shuttle Discovery. It was the fifth shuttle mission in support of the Department of Defence.",
                "launch_designator": null,
                "type": "Government/Top Secret",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                }
            },
            "pad": {
                "id": 4,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/4/?format=api",
                "agency_id": 44,
                "name": "Launch Complex 39B",
                "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.0.0/location/27/?format=api",
                    "name": "Kennedy Space Center, FL, USA",
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
                    "total_launch_count": 237,
                    "total_landing_count": 0
                },
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_4_20200803143518.jpg",
                "total_launch_count": 58
            },
            "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.0.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.0.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"
                }
            ]
        }
    ],
    "landings": [
        {
            "id": 75,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/75/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1989-11-28T00:30:00Z",
            "spacecraft": {
                "id": 38,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/38/?format=api",
                "name": "Space Shuttle Discovery",
                "serial_number": "OV-103",
                "status": {
                    "id": 2,
                    "name": "Retired"
                },
                "description": "Space Shuttle Discovery (Orbiter Vehicle Designation: OV-103) is one of the orbiters from NASA's Space Shuttle program and the third of five fully operational orbiters to be built. Its first mission, STS-41-D, flew from August 30 to September 5, 1984. Over 27 years of service it launched and landed 39 times, gathering more spaceflights than any other spacecraft to date. Discovery became the third operational orbiter to enter service, preceded by Columbia and Challenger. It embarked on its last mission, STS-133, on February 24, 2011 and touched down for the final time at Kennedy Space Center on March 9, having spent a cumulative total of almost a full year in space. Discovery performed both research and International Space Station (ISS) assembly missions. It also carried the Hubble Space Telescope into orbit. Discovery was the first operational shuttle to be retired, followed by Endeavour and then Atlantis.",
                "spacecraft_config": {
                    "id": 14,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/14/?format=api",
                    "name": "Space Shuttle",
                    "type": {
                        "id": 3,
                        "name": "Spaceplane"
                    },
                    "agency": {
                        "id": 44,
                        "url": "https://ll.thespacedevs.com/2.0.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": "beab7536-c83f-4279-8473-7507757ff9a0",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/beab7536-c83f-4279-8473-7507757ff9a0/?format=api",
                "launch_library_id": 376,
                "slug": "space-shuttle-discovery-ov-103-sts-33",
                "name": "Space Shuttle Discovery / OV-103 | STS-33",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1989-11-23T00:23:30Z",
                "window_end": "1989-11-23T00:23:30Z",
                "window_start": "1989-11-23T00:23:30Z",
                "inhold": false,
                "tbdtime": false,
                "tbddate": false,
                "probability": -1,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 192,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/192/?format=api",
                    "name": "Lockheed Space Operations Company",
                    "type": "Commercial"
                },
                "rocket": {
                    "id": 330,
                    "configuration": {
                        "id": 493,
                        "launch_library_id": null,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/493/?format=api",
                        "name": "Space Shuttle",
                        "family": "",
                        "full_name": "Space Shuttle",
                        "variant": ""
                    }
                },
                "mission": {
                    "id": 690,
                    "launch_library_id": 928,
                    "name": "STS-33",
                    "description": "STS-33 was the thirty-second shuttle mission and the ninth of Space Shuttle Discovery. It was the fifth shuttle mission in support of the Department of Defence.",
                    "launch_designator": null,
                    "type": "Government/Top Secret",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    }
                },
                "pad": {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/4/?format=api",
                    "agency_id": 44,
                    "name": "Launch Complex 39B",
                    "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.0.0/location/27/?format=api",
                        "name": "Kennedy Space Center, FL, USA",
                        "country_code": "USA",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
                        "total_launch_count": 237,
                        "total_landing_count": 0
                    },
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_4_20200803143518.jpg",
                    "total_launch_count": 58
                },
                "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.0.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.0.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"
                    }
                ]
            }
        }
    ],
    "last_flight": "1989-11-23T00:23:30Z",
    "first_flight": "1989-11-23T00:23:30Z"
}