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

{
    "id": 300,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/300/?format=api",
    "name": "Alfred Worden",
    "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": "1932-02-07",
    "date_of_death": "2020-03-18",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Alfred Merrill \"Al\" Worden is an American astronaut and engineer who was the Command Module Pilot for the Apollo 15 lunar mission in 1971. He is one of only 24 people to have flown to the Moon.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/alfred2520worden_image_20181202090203.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185759.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Alfred_Worden",
    "flights": [
        {
            "id": "71e73ae3-834d-4d9f-a9a8-e88d4fdacddb",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/71e73ae3-834d-4d9f-a9a8-e88d4fdacddb/?format=api",
            "launch_library_id": 986,
            "slug": "saturn-v-apollo-15",
            "name": "Saturn V | Apollo 15",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1971-07-26T13:34:00Z",
            "window_end": "1971-07-26T13:34:00Z",
            "window_start": "1971-07-26T13:34:00Z",
            "inhold": false,
            "tbdtime": false,
            "tbddate": false,
            "probability": -1,
            "holdreason": "",
            "failreason": null,
            "hashtag": null,
            "launch_service_provider": {
                "id": 44,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                "name": "National Aeronautics and Space Administration",
                "type": "Government"
            },
            "rocket": {
                "id": 234,
                "configuration": {
                    "id": 93,
                    "launch_library_id": 136,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/93/?format=api",
                    "name": "Saturn V",
                    "family": "Saturn",
                    "full_name": "Saturn V",
                    "variant": "V"
                }
            },
            "mission": {
                "id": 166,
                "launch_library_id": 237,
                "name": "Apollo 15",
                "description": "Apollo 15 was the 9th manned mission in the Apollo program and 4th to land on the moon. It was a successful mission although controversial  as the astronauts carried unauthorized postage stamps which they planned to sell. Commander David Scott, Lunar Module Pilot James Irwin and Command Module Pilot Alfred Worden were on board. The Mission lasted 12 days 7 hours, which included 1 cislunar EVA and 4 lunar surface EVA's. This was also the first mission the lunar rover was used.",
                "launch_designator": null,
                "type": "Human Exploration",
                "orbit": {
                    "id": 11,
                    "name": "Lunar Orbit",
                    "abbrev": "LO"
                }
            },
            "pad": {
                "id": 87,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/87/?format=api",
                "agency_id": 121,
                "name": "Launch Complex 39A",
                "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.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_87_20200803143537.jpg",
                "total_launch_count": 179
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520v_image_20190222030036.jpeg",
            "infographic": null,
            "program": [
                {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.0.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.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/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"
                }
            ]
        }
    ],
    "landings": [
        {
            "id": 31,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/31/?format=api",
            "destination": "Lunar Orbit where the LM would detach and land on the Moon.",
            "mission_end": "1971-08-07T13:34:00Z",
            "spacecraft": {
                "id": 33,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/33/?format=api",
                "name": "Apollo Endeavour CSM-112",
                "serial_number": "CSM-112",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "CSM-112 \"Endeavour\" was an Apollo Command & Service Module used in the Apollo 15 mission.",
                "spacecraft_config": {
                    "id": 10,
                    "url": "https://ll.thespacedevs.com/2.0.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.0.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": "71e73ae3-834d-4d9f-a9a8-e88d4fdacddb",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/71e73ae3-834d-4d9f-a9a8-e88d4fdacddb/?format=api",
                "launch_library_id": 986,
                "slug": "saturn-v-apollo-15",
                "name": "Saturn V | Apollo 15",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1971-07-26T13:34:00Z",
                "window_end": "1971-07-26T13:34:00Z",
                "window_start": "1971-07-26T13:34:00Z",
                "inhold": false,
                "tbdtime": false,
                "tbddate": false,
                "probability": -1,
                "holdreason": "",
                "failreason": null,
                "hashtag": null,
                "launch_service_provider": {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                },
                "rocket": {
                    "id": 234,
                    "configuration": {
                        "id": 93,
                        "launch_library_id": 136,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/93/?format=api",
                        "name": "Saturn V",
                        "family": "Saturn",
                        "full_name": "Saturn V",
                        "variant": "V"
                    }
                },
                "mission": {
                    "id": 166,
                    "launch_library_id": 237,
                    "name": "Apollo 15",
                    "description": "Apollo 15 was the 9th manned mission in the Apollo program and 4th to land on the moon. It was a successful mission although controversial  as the astronauts carried unauthorized postage stamps which they planned to sell. Commander David Scott, Lunar Module Pilot James Irwin and Command Module Pilot Alfred Worden were on board. The Mission lasted 12 days 7 hours, which included 1 cislunar EVA and 4 lunar surface EVA's. This was also the first mission the lunar rover was used.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 11,
                        "name": "Lunar Orbit",
                        "abbrev": "LO"
                    }
                },
                "pad": {
                    "id": 87,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/87/?format=api",
                    "agency_id": 121,
                    "name": "Launch Complex 39A",
                    "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.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_87_20200803143537.jpg",
                    "total_launch_count": 179
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520v_image_20190222030036.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 4,
                        "url": "https://ll.thespacedevs.com/2.0.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.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/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"
                    }
                ]
            }
        }
    ],
    "last_flight": "1971-07-26T13:34:00Z",
    "first_flight": "1971-07-26T13:34:00Z"
}