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

{
    "id": 575,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/575/?format=api",
    "name": "Zena Cardman",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "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": "1987-10-26",
    "date_of_death": null,
    "nationality": "American",
    "twitter": "https://twitter.com/zenanaut",
    "instagram": "https://www.instagram.com/zenanaut/",
    "bio": "Zena Maria Cardman is an American marine biologist and a NASA astronaut of the class of 2017.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/zena2520cardman_image_20200110160428.jpeg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185638.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Zena_Cardman",
    "flights": [],
    "landings": [
        {
            "id": 777,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/777/?format=api",
            "destination": "International Space Station",
            "mission_end": null,
            "spacecraft": {
                "id": 452,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/452/?format=api",
                "name": "Crew Dragon",
                "serial_number": "TBD",
                "status": {
                    "id": 1,
                    "name": "Active"
                },
                "description": "The specific spacecraft for this launch is currently unknown.",
                "spacecraft_config": {
                    "id": 6,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/6/?format=api",
                    "name": "Crew Dragon 2",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 121,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                        "name": "SpaceX",
                        "type": "Commercial"
                    },
                    "in_use": true,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_dm-2_cre_image_20200504065311.jpeg"
                }
            },
            "launch": {
                "id": "0102940a-4a60-4686-b34d-ced3fed6c595",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/0102940a-4a60-4686-b34d-ced3fed6c595/?format=api",
                "launch_library_id": null,
                "slug": "falcon-9-block-5-crew-9",
                "name": "Falcon 9 Block 5 | Crew-9",
                "status": {
                    "id": 2,
                    "name": "TBD"
                },
                "net": "2024-08-31T00:00:00Z",
                "window_end": "2024-08-31T00:00:00Z",
                "window_start": "2024-08-31T00:00:00Z",
                "inhold": false,
                "tbdtime": true,
                "tbddate": true,
                "probability": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 121,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "rocket": {
                    "id": 7538,
                    "configuration": {
                        "id": 164,
                        "launch_library_id": 188,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/164/?format=api",
                        "name": "Falcon 9",
                        "family": "Falcon",
                        "full_name": "Falcon 9 Block 5",
                        "variant": "Block 5"
                    }
                },
                "mission": {
                    "id": 5962,
                    "launch_library_id": null,
                    "name": "Crew-9",
                    "description": "SpaceX Crew-9 is the ninth crewed operational flight of a Crew Dragon spacecraft to the International Space Station as part of NASA's Commercial Crew Program.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    }
                },
                "pad": {
                    "id": 72,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/72/?format=api",
                    "agency_id": null,
                    "name": "Unknown Pad",
                    "info_url": null,
                    "wiki_url": "",
                    "map_url": "https://www.google.com/maps?q=28.458,-80.528",
                    "latitude": "28.458",
                    "longitude": "-80.528",
                    "location": {
                        "id": 12,
                        "url": "https://ll.thespacedevs.com/2.0.0/location/12/?format=api",
                        "name": "Cape Canaveral, FL, USA",
                        "country_code": "USA",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
                        "total_launch_count": 949,
                        "total_landing_count": 51
                    },
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_72_20200803143403.jpg",
                    "total_launch_count": 0
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/falcon2520925_image_20220301072106.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 5,
                        "url": "https://ll.thespacedevs.com/2.0.0/program/5/?format=api",
                        "name": "Commercial Crew Program",
                        "description": "The Commercial Crew Program (CCP) is a human spaceflight program operated by NASA, in association with American aerospace manufacturers Boeing and SpaceX. The program conducts rotations between the expeditions of the International Space Station program, transporting crews to and from the International Space Station (ISS) aboard Boeing Starliner and SpaceX Crew Dragon capsules, in the first crewed orbital spaceflights operated by private companies.",
                        "agencies": [
                            {
                                "id": 80,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/80/?format=api",
                                "name": "Boeing",
                                "type": "Commercial"
                            },
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            },
                            {
                                "id": 121,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                                "name": "SpaceX",
                                "type": "Commercial"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/commercial2520_program_20200820201209.png",
                        "start_date": "2011-04-18T00:00:00Z",
                        "end_date": null,
                        "info_url": "https://www.nasa.gov/exploration/commercial/crew/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Commercial_Crew_Program"
                    },
                    {
                        "id": 17,
                        "url": "https://ll.thespacedevs.com/2.0.0/program/17/?format=api",
                        "name": "International Space Station",
                        "description": "The International Space Station programme is tied together by a complex set of legal, political and financial agreements between the sixteen nations involved in the project, governing ownership of the various components, rights to crewing and utilization, and responsibilities for crew rotation and resupply of the International Space Station. It was conceived in 1984 by President Ronald Reagan, during the Space Station Freedom project as it was originally called.",
                        "agencies": [
                            {
                                "id": 16,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/16/?format=api",
                                "name": "Canadian Space Agency",
                                "type": "Government"
                            },
                            {
                                "id": 27,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/27/?format=api",
                                "name": "European Space Agency",
                                "type": "Multinational"
                            },
                            {
                                "id": 37,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/37/?format=api",
                                "name": "Japan Aerospace Exploration Agency",
                                "type": "Government"
                            },
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            },
                            {
                                "id": 63,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/63/?format=api",
                                "name": "Russian Federal Space Agency (ROSCOSMOS)",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/international2_program_20201129184745.png",
                        "start_date": "1998-11-20T06:40:00Z",
                        "end_date": null,
                        "info_url": "https://www.nasa.gov/mission_pages/station/main/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/International_Space_Station_programme"
                    }
                ]
            }
        }
    ],
    "last_flight": null,
    "first_flight": null
}