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

{
    "id": 664,
    "url": "https://ll.thespacedevs.com/2.2.0/astronaut/664/?format=api",
    "name": "Roger B. Chaffee",
    "status": {
        "id": 5,
        "name": "Lost In Training"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "in_space": false,
    "time_in_space": "P0D",
    "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": 31,
    "date_of_birth": "1935-02-15",
    "date_of_death": "1967-01-27",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Roger Bruce Chaffee was an American naval officer, aviator, and aeronautical engineer who was a NASA astronaut in the Apollo program. Along with thirteen other pilots, Chaffee was selected to be an astronaut as part of NASA Astronaut Group 3 in 1963. He served as capsule communicator (CAPCOM) for the Gemini 3 and Gemini 4 missions and received his first spaceflight assignment in 1966 as the third-ranking pilot on Apollo 1. In 1967, he died in a fire along with fellow astronauts Virgil \"Gus\" Grissom and Ed White during a pre-launch test for the mission at what was then the Cape Kennedy Air Force Station Launch Complex 34, Florida. He was posthumously awarded the Congressional Space Medal of Honor and a second Air Medal.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/roger_b._chaffe_image_20210509184925.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190510.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Roger_B._Chaffee",
    "flights": [
        {
            "id": "a49d791b-3c7f-4ee9-8917-14596a2a1a25",
            "url": "https://ll.thespacedevs.com/2.2.0/launch/a49d791b-3c7f-4ee9-8917-14596a2a1a25/?format=api",
            "slug": "saturn-ib-apollo-1-failure-before-launch",
            "name": "Saturn IB | Apollo 1 (Failure before launch)",
            "status": {
                "id": 4,
                "name": "Launch Failure",
                "abbrev": "Failure",
                "description": "Either the launch vehicle did not reach orbit, or the payload(s) failed to separate."
            },
            "last_updated": "2023-06-14T17:42:44Z",
            "net": "1967-01-27T23:31:19Z",
            "window_end": "1967-01-27T23:31:19Z",
            "window_start": "1967-01-27T23:31:19Z",
            "net_precision": {
                "id": 0,
                "name": "Second",
                "abbrev": "SEC",
                "description": "The T-0 is accurate to the second."
            },
            "probability": null,
            "weather_concerns": null,
            "holdreason": "",
            "failreason": "Crew and spacecraft lost due to a cabin fire that occurred during a launch rehearsal at Cape Kennedy Air Force Station Launch Complex 34 on January 27, 1967.",
            "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": 2880,
                "configuration": {
                    "id": 163,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/163/?format=api",
                    "name": "Saturn IB",
                    "family": "Saturn",
                    "full_name": "Saturn IB",
                    "variant": "IB"
                }
            },
            "mission": {
                "id": 1296,
                "name": "Apollo 1",
                "description": "Apollo 1, initially designated AS-204, was the first crewed mission of the United States Apollo program, the undertaking to land the first man on the Moon. It was planned to launch on February 21, 1967, as the first low Earth orbital test of the Apollo command and service module. The mission never flew; a cabin fire during a launch rehearsal test at Cape Kennedy Air Force Station Launch Complex 34 on January 27 killed all three crew members—Command Pilot Gus Grissom, Senior Pilot Ed White, and Pilot Roger B. Chaffee—and destroyed the command module (CM). The name Apollo 1, chosen by the crew, was made official by NASA in their honor after the fire.",
                "launch_designator": null,
                "type": "Human Exploration",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                },
                "agencies": [],
                "info_urls": [],
                "vid_urls": []
            },
            "pad": {
                "id": 19,
                "url": "https://ll.thespacedevs.com/2.2.0/pad/19/?format=api",
                "agency_id": null,
                "name": "Launch Complex 34",
                "description": null,
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_34",
                "map_url": "https://www.google.com/maps?q=28.521811,-80.56113",
                "latitude": "28.521811",
                "longitude": "-80.56113",
                "location": {
                    "id": 12,
                    "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
                    "name": "Cape Canaveral, FL, USA",
                    "country_code": "USA",
                    "description": "",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
                    "timezone_name": "America/New_York",
                    "total_launch_count": 952,
                    "total_landing_count": 51
                },
                "country_code": "USA",
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_19_20200803143428.jpg",
                "total_launch_count": 9,
                "orbital_launch_attempt_count": 3
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520ib_image_20190222030046.jpeg",
            "infographic": null,
            "program": [
                {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.2.0/program/4/?format=api",
                    "name": "Apollo",
                    "description": "The Apollo program was the third United States human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which succeeded in landing the first humans on the Moon from 1969 to 1972.",
                    "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/apollo_program_20200820200202.png",
                    "start_date": "1966-11-16T00:00:00Z",
                    "end_date": "1972-12-19T19:24:59Z",
                    "info_url": "https://www.nasa.gov/mission_pages/apollo/index.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Apollo_program",
                    "mission_patches": [],
                    "type": {
                        "id": 2,
                        "name": "Human Spaceflight"
                    }
                }
            ],
            "orbital_launch_attempt_count": 654,
            "location_launch_attempt_count": 195,
            "pad_launch_attempt_count": 7,
            "agency_launch_attempt_count": 87,
            "orbital_launch_attempt_count_year": 7,
            "location_launch_attempt_count_year": 3,
            "pad_launch_attempt_count_year": 1,
            "agency_launch_attempt_count_year": 1,
            "type": "normal"
        }
    ],
    "landings": [
        {
            "id": 598,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/598/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1967-01-27T23:31:19Z",
            "spacecraft": {
                "id": 460,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/460/?format=api",
                "name": "Apollo CSM-012",
                "serial_number": "CSM-012",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P0D",
                "time_docked": "P0D",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 3,
                    "name": "Destroyed"
                },
                "description": "CSM-012 was an Apollo Command & Service Module that was planned to be used in the Apollo 1 mission. It was destroyed by a fatal cabin fire during a launch rehearsal on January 27, 1967.",
                "spacecraft_config": {
                    "id": 10,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/10/?format=api",
                    "name": "Apollo Command/Service Module",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 999,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/999/?format=api",
                        "name": "North American Aviation",
                        "type": "Commercial"
                    },
                    "in_use": false,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg"
                }
            },
            "launch": {
                "id": "a49d791b-3c7f-4ee9-8917-14596a2a1a25",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/a49d791b-3c7f-4ee9-8917-14596a2a1a25/?format=api",
                "slug": "saturn-ib-apollo-1-failure-before-launch",
                "name": "Saturn IB | Apollo 1 (Failure before launch)",
                "status": {
                    "id": 4,
                    "name": "Launch Failure",
                    "abbrev": "Failure",
                    "description": "Either the launch vehicle did not reach orbit, or the payload(s) failed to separate."
                },
                "last_updated": "2023-06-14T17:42:44Z",
                "net": "1967-01-27T23:31:19Z",
                "window_end": "1967-01-27T23:31:19Z",
                "window_start": "1967-01-27T23:31:19Z",
                "net_precision": {
                    "id": 0,
                    "name": "Second",
                    "abbrev": "SEC",
                    "description": "The T-0 is accurate to the second."
                },
                "probability": null,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "Crew and spacecraft lost due to a cabin fire that occurred during a launch rehearsal at Cape Kennedy Air Force Station Launch Complex 34 on January 27, 1967.",
                "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": 2880,
                    "configuration": {
                        "id": 163,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/163/?format=api",
                        "name": "Saturn IB",
                        "family": "Saturn",
                        "full_name": "Saturn IB",
                        "variant": "IB"
                    }
                },
                "mission": {
                    "id": 1296,
                    "name": "Apollo 1",
                    "description": "Apollo 1, initially designated AS-204, was the first crewed mission of the United States Apollo program, the undertaking to land the first man on the Moon. It was planned to launch on February 21, 1967, as the first low Earth orbital test of the Apollo command and service module. The mission never flew; a cabin fire during a launch rehearsal test at Cape Kennedy Air Force Station Launch Complex 34 on January 27 killed all three crew members—Command Pilot Gus Grissom, Senior Pilot Ed White, and Pilot Roger B. Chaffee—and destroyed the command module (CM). The name Apollo 1, chosen by the crew, was made official by NASA in their honor after the fire.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 19,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/19/?format=api",
                    "agency_id": null,
                    "name": "Launch Complex 34",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_34",
                    "map_url": "https://www.google.com/maps?q=28.521811,-80.56113",
                    "latitude": "28.521811",
                    "longitude": "-80.56113",
                    "location": {
                        "id": 12,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
                        "name": "Cape Canaveral, FL, USA",
                        "country_code": "USA",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
                        "timezone_name": "America/New_York",
                        "total_launch_count": 952,
                        "total_landing_count": 51
                    },
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_19_20200803143428.jpg",
                    "total_launch_count": 9,
                    "orbital_launch_attempt_count": 3
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520ib_image_20190222030046.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 4,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/4/?format=api",
                        "name": "Apollo",
                        "description": "The Apollo program was the third United States human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which succeeded in landing the first humans on the Moon from 1969 to 1972.",
                        "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/apollo_program_20200820200202.png",
                        "start_date": "1966-11-16T00:00:00Z",
                        "end_date": "1972-12-19T19:24:59Z",
                        "info_url": "https://www.nasa.gov/mission_pages/apollo/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Apollo_program",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 654,
                "location_launch_attempt_count": 195,
                "pad_launch_attempt_count": 7,
                "agency_launch_attempt_count": 87,
                "orbital_launch_attempt_count_year": 7,
                "location_launch_attempt_count_year": 3,
                "pad_launch_attempt_count_year": 1,
                "agency_launch_attempt_count_year": 1,
                "type": "normal"
            },
            "landing": {
                "id": 373,
                "attempt": false,
                "success": null,
                "description": "The Apollo 1 spacecraft was destroyed in a cabin on the ground fire during a launch dress rehearsal.",
                "downrange_distance": null,
                "location": null,
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ],
    "flights_count": 1,
    "landings_count": 1,
    "spacewalks_count": 0,
    "last_flight": "1967-01-27T23:31:19Z",
    "first_flight": "1967-01-27T23:31:19Z",
    "spacewalks": []
}