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

{
    "id": 695,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/695/?format=api",
    "name": "John B. McKay",
    "status": {
        "id": 11,
        "name": "Deceased"
    },
    "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": "1922-12-08",
    "date_of_death": "1975-04-27",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "John Barron McKay was an American naval officer, World War II pilot, aeronautical engineer, test pilot, and astronaut. He flew the X-15 experimental spaceplane to over 50 miles in altitude on Flight 150.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/john_b._mckay_image_20210801073638.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185811.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/John_B._McKay",
    "flights": [
        {
            "id": "64a43bcc-f080-4121-91da-90731c46dc82",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/64a43bcc-f080-4121-91da-90731c46dc82/?format=api",
            "launch_library_id": null,
            "slug": "x-15-flight-150",
            "name": "X-15 | Flight 150",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1965-09-28T18:08:00Z",
            "window_end": "1965-09-28T18:20:00Z",
            "window_start": "1965-09-28T18:08:00Z",
            "inhold": false,
            "tbdtime": false,
            "tbddate": false,
            "probability": null,
            "holdreason": "",
            "failreason": "",
            "hashtag": null,
            "launch_service_provider": {
                "id": 161,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/161/?format=api",
                "name": "United States Air Force",
                "type": "Government"
            },
            "rocket": {
                "id": 2987,
                "configuration": {
                    "id": 209,
                    "launch_library_id": null,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/209/?format=api",
                    "name": "North American X-15",
                    "family": "",
                    "full_name": "North American X-15",
                    "variant": ""
                }
            },
            "mission": {
                "id": 1412,
                "launch_library_id": null,
                "name": "Flight 150",
                "description": "Flight 150 of the North American X-15 was a test flight conducted by NASA and the US Air Force in 1965. Piloted by John B. McKay it reached an altitude of 90.0 km.",
                "launch_designator": null,
                "type": "Test Flight",
                "orbit": {
                    "id": 15,
                    "name": "Suborbital",
                    "abbrev": "Sub"
                }
            },
            "pad": {
                "id": 112,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/112/?format=api",
                "agency_id": null,
                "name": "Edwards Air Force Base",
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Edwards_Air_Force_Base",
                "map_url": "https://www.google.com/maps?q=34.905556,-117.883611",
                "latitude": "34.905556",
                "longitude": "-117.883611",
                "location": {
                    "id": 144,
                    "url": "https://ll.thespacedevs.com/2.0.0/location/144/?format=api",
                    "name": "Air launch to Suborbital flight",
                    "country_code": "",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_144_20200803142439.jpg",
                    "total_launch_count": 85,
                    "total_landing_count": 0
                },
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_112_20200803143214.jpg",
                "total_launch_count": 13
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/north_american__image_20210813101104.png",
            "infographic": null,
            "program": [
                {
                    "id": 20,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/20/?format=api",
                    "name": "X-15",
                    "description": "Experimental hypersonic rocket-powered aircraft.",
                    "agencies": [
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        },
                        {
                            "id": 161,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/161/?format=api",
                            "name": "United States Air Force",
                            "type": "Government"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/x-15_program_20210809102752.jpeg",
                    "start_date": "1959-03-10T00:00:00Z",
                    "end_date": "1968-12-12T00:00:00Z",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/North_American_X-15"
                }
            ]
        }
    ],
    "landings": [
        {
            "id": 683,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/683/?format=api",
            "destination": "Suborbital",
            "mission_end": "1965-09-28T18:20:00Z",
            "spacecraft": {
                "id": 444,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/444/?format=api",
                "name": "X-15-3",
                "serial_number": "56-6672",
                "status": {
                    "id": 3,
                    "name": "Destroyed"
                },
                "description": "Third X-15 experimental rocket plane. Destroyed during flight 191.",
                "spacecraft_config": {
                    "id": 13,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/13/?format=api",
                    "name": "North American X-15",
                    "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/north2520american2520x-15_image_20190207032520.jpeg"
                }
            },
            "launch": {
                "id": "64a43bcc-f080-4121-91da-90731c46dc82",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/64a43bcc-f080-4121-91da-90731c46dc82/?format=api",
                "launch_library_id": null,
                "slug": "x-15-flight-150",
                "name": "X-15 | Flight 150",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1965-09-28T18:08:00Z",
                "window_end": "1965-09-28T18:20:00Z",
                "window_start": "1965-09-28T18:08:00Z",
                "inhold": false,
                "tbdtime": false,
                "tbddate": false,
                "probability": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 161,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/161/?format=api",
                    "name": "United States Air Force",
                    "type": "Government"
                },
                "rocket": {
                    "id": 2987,
                    "configuration": {
                        "id": 209,
                        "launch_library_id": null,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/209/?format=api",
                        "name": "North American X-15",
                        "family": "",
                        "full_name": "North American X-15",
                        "variant": ""
                    }
                },
                "mission": {
                    "id": 1412,
                    "launch_library_id": null,
                    "name": "Flight 150",
                    "description": "Flight 150 of the North American X-15 was a test flight conducted by NASA and the US Air Force in 1965. Piloted by John B. McKay it reached an altitude of 90.0 km.",
                    "launch_designator": null,
                    "type": "Test Flight",
                    "orbit": {
                        "id": 15,
                        "name": "Suborbital",
                        "abbrev": "Sub"
                    }
                },
                "pad": {
                    "id": 112,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/112/?format=api",
                    "agency_id": null,
                    "name": "Edwards Air Force Base",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Edwards_Air_Force_Base",
                    "map_url": "https://www.google.com/maps?q=34.905556,-117.883611",
                    "latitude": "34.905556",
                    "longitude": "-117.883611",
                    "location": {
                        "id": 144,
                        "url": "https://ll.thespacedevs.com/2.0.0/location/144/?format=api",
                        "name": "Air launch to Suborbital flight",
                        "country_code": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_144_20200803142439.jpg",
                        "total_launch_count": 85,
                        "total_landing_count": 0
                    },
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_112_20200803143214.jpg",
                    "total_launch_count": 13
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/north_american__image_20210813101104.png",
                "infographic": null,
                "program": [
                    {
                        "id": 20,
                        "url": "https://ll.thespacedevs.com/2.0.0/program/20/?format=api",
                        "name": "X-15",
                        "description": "Experimental hypersonic rocket-powered aircraft.",
                        "agencies": [
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            },
                            {
                                "id": 161,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/161/?format=api",
                                "name": "United States Air Force",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/x-15_program_20210809102752.jpeg",
                        "start_date": "1959-03-10T00:00:00Z",
                        "end_date": "1968-12-12T00:00:00Z",
                        "info_url": null,
                        "wiki_url": "https://en.wikipedia.org/wiki/North_American_X-15"
                    }
                ]
            }
        }
    ],
    "last_flight": "1965-09-28T18:08:00Z",
    "first_flight": "1965-09-28T18:08:00Z"
}