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

{
    "id": 638,
    "url": "https://ll.thespacedevs.com/2.2.0/astronaut/638/?format=api",
    "name": "Starman",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "type": {
        "id": 6,
        "name": "Non-Human"
    },
    "in_space": true,
    "time_in_space": "P2289DT5H54M33S",
    "eva_time": "P0D",
    "agency": {
        "id": 121,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
        "name": "SpaceX",
        "type": "Commercial"
    },
    "age": null,
    "date_of_birth": null,
    "date_of_death": null,
    "nationality": "Earthling",
    "twitter": "https://twitter.com/Tesla_Starman",
    "instagram": "https://www.instagram.com/starman_by_spacex/",
    "bio": "\"Starman\" is a mannequin dressed in a spacesuit occupying the driver's seat of Elon Musk's Tesla Roadster, launched to an heliocentric orbit on Falcon Heavy's inaugural launch.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/starman_image_20190307220126.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190247.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Elon_Musk%27s_Tesla_Roadster",
    "flights": [
        {
            "id": "598af929-31d4-4544-ad77-e0b6f9c8f460",
            "url": "https://ll.thespacedevs.com/2.2.0/launch/598af929-31d4-4544-ad77-e0b6f9c8f460/?format=api",
            "slug": "falcon-heavy-demo-test-flight",
            "name": "Falcon Heavy | Demo (Test Flight)",
            "status": {
                "id": 3,
                "name": "Launch Successful",
                "abbrev": "Success",
                "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
            },
            "last_updated": "2024-03-05T18:22:00Z",
            "net": "2018-02-06T20:45:00Z",
            "window_end": "2018-02-06T21:00:00Z",
            "window_start": "2018-02-06T18:30:00Z",
            "net_precision": null,
            "probability": 90,
            "weather_concerns": null,
            "holdreason": "",
            "failreason": "",
            "hashtag": null,
            "launch_service_provider": {
                "id": 121,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/121/?format=api",
                "name": "SpaceX",
                "type": "Commercial"
            },
            "rocket": {
                "id": 2076,
                "configuration": {
                    "id": 161,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/161/?format=api",
                    "name": "Falcon Heavy",
                    "family": "Falcon",
                    "full_name": "Falcon Heavy",
                    "variant": "Heavy"
                }
            },
            "mission": {
                "id": 490,
                "name": "Demo Flight 1 (Maiden Flight)",
                "description": "This will be the inaugural flight of the Falcon Heavy. The test payload will be SpaceX CEO Elon Musk's midnight cherry Tesla Roadster playing Space Oddity. Destination: An elliptical, heliocentric orbit. Apoapsis: Around Mars' orbital distance.",
                "launch_designator": null,
                "type": "Test Flight",
                "orbit": {
                    "id": 6,
                    "name": "Heliocentric N/A",
                    "abbrev": "Helio-N/A"
                },
                "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/falcon2520heav_image_20230723154051.jpeg",
            "infographic": null,
            "program": [],
            "orbital_launch_attempt_count": 5713,
            "location_launch_attempt_count": 166,
            "pad_launch_attempt_count": 109,
            "agency_launch_attempt_count": 55,
            "orbital_launch_attempt_count_year": 17,
            "location_launch_attempt_count_year": 1,
            "pad_launch_attempt_count_year": 1,
            "agency_launch_attempt_count_year": 3,
            "type": "normal"
        }
    ],
    "landings": [],
    "flights_count": 1,
    "landings_count": 0,
    "spacewalks_count": 0,
    "last_flight": "2018-02-06T20:45:00Z",
    "first_flight": "2018-02-06T20:45:00Z",
    "spacewalks": []
}