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

{
    "id": 23,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/23/?format=api",
    "name": "Scott Carpenter",
    "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": "1925-05-01",
    "date_of_death": "2013-10-10",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Malcolm Scott Carpenter, was an American naval officer and aviator, test pilot, aeronautical engineer, astronaut, and aquanaut. He was one of the original seven astronauts selected for NASA's Project Mercury in April 1959. Carpenter was the second American (after John Glenn) to orbit the Earth and the fourth American in space, following Alan Shepard, Gus Grissom, and Glenn.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/scott2520carpenter_image_20190426143651.jpeg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185921.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Scott_Carpenter",
    "flights": [
        {
            "id": "bb844564-1ae0-4af2-b2a1-f3a28195ea0f",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/bb844564-1ae0-4af2-b2a1-f3a28195ea0f/?format=api",
            "launch_library_id": 1025,
            "slug": "atlas-lv-3b-mercury-atlas-7",
            "name": "Atlas LV-3B | Mercury-Atlas 7",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1962-05-24T12:45:16Z",
            "window_end": "1962-05-24T12:45:16Z",
            "window_start": "1962-05-24T12:45:16Z",
            "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": 192,
                "configuration": {
                    "id": 162,
                    "launch_library_id": 140,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/162/?format=api",
                    "name": "Atlas LV-3B",
                    "family": "Atlas",
                    "full_name": "Atlas LV-3B",
                    "variant": "LV-3B"
                }
            },
            "mission": {
                "id": 170,
                "launch_library_id": 239,
                "name": "Mercury-Atlas 7",
                "description": "Mercury-Atlas 7 was the fourth crewed spaceflight for the United States. The spacecraft, named Aurora 7, carried the astronaut Scott Carpenter to orbit where it completed three orbits before returning to Earth. The mission lasted for 4 hours, 56 minutes & 5 seconds. Due to a targeting error during reentry the spacecraft splashed about 400 km off-course delaying the recovery efforts.",
                "launch_designator": null,
                "type": "Human Exploration",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                }
            },
            "pad": {
                "id": 17,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/17/?format=api",
                "agency_id": 1048,
                "name": "Space Launch Complex 14",
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_14",
                "map_url": "https://www.google.com/maps?q=28.49103,-80.54687",
                "latitude": "28.49103",
                "longitude": "-80.54687",
                "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": 948,
                    "total_landing_count": 51
                },
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_17_20200803143405.jpg",
                "total_launch_count": 20
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/atlas_image_20190222030015.jpeg",
            "infographic": null,
            "program": [
                {
                    "id": 2,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/2/?format=api",
                    "name": "Mercury",
                    "description": "Project Mercury was the first human spaceflight program of the United States, running from 1958 through 1963.",
                    "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/project2520mer_program_20200820194755.png",
                    "start_date": "1958-10-07T00:00:00Z",
                    "end_date": "1963-05-16T23:24:02Z",
                    "info_url": "https://www.nasa.gov/mission_pages/mercury/missions/program-toc.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Project_Mercury"
                }
            ]
        }
    ],
    "landings": [
        {
            "id": 3,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/3/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1962-05-24T17:41:00Z",
            "spacecraft": {
                "id": 5,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/5/?format=api",
                "name": "Mercury No.18",
                "serial_number": "18",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Mercury No.18 is the Mercury capsule used for the Mercury-Atlas 7  - callsign \"Aurora 7\" - mission launched on May 24, 1962 and piloted by astronaut Scott Carpenter.",
                "spacecraft_config": {
                    "id": 11,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/11/?format=api",
                    "name": "Mercury",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "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/mercury_image_20190207032519.jpeg"
                }
            },
            "launch": {
                "id": "bb844564-1ae0-4af2-b2a1-f3a28195ea0f",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/bb844564-1ae0-4af2-b2a1-f3a28195ea0f/?format=api",
                "launch_library_id": 1025,
                "slug": "atlas-lv-3b-mercury-atlas-7",
                "name": "Atlas LV-3B | Mercury-Atlas 7",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1962-05-24T12:45:16Z",
                "window_end": "1962-05-24T12:45:16Z",
                "window_start": "1962-05-24T12:45:16Z",
                "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": 192,
                    "configuration": {
                        "id": 162,
                        "launch_library_id": 140,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/162/?format=api",
                        "name": "Atlas LV-3B",
                        "family": "Atlas",
                        "full_name": "Atlas LV-3B",
                        "variant": "LV-3B"
                    }
                },
                "mission": {
                    "id": 170,
                    "launch_library_id": 239,
                    "name": "Mercury-Atlas 7",
                    "description": "Mercury-Atlas 7 was the fourth crewed spaceflight for the United States. The spacecraft, named Aurora 7, carried the astronaut Scott Carpenter to orbit where it completed three orbits before returning to Earth. The mission lasted for 4 hours, 56 minutes & 5 seconds. Due to a targeting error during reentry the spacecraft splashed about 400 km off-course delaying the recovery efforts.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    }
                },
                "pad": {
                    "id": 17,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/17/?format=api",
                    "agency_id": 1048,
                    "name": "Space Launch Complex 14",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_14",
                    "map_url": "https://www.google.com/maps?q=28.49103,-80.54687",
                    "latitude": "28.49103",
                    "longitude": "-80.54687",
                    "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": 948,
                        "total_landing_count": 51
                    },
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_17_20200803143405.jpg",
                    "total_launch_count": 20
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/atlas_image_20190222030015.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 2,
                        "url": "https://ll.thespacedevs.com/2.0.0/program/2/?format=api",
                        "name": "Mercury",
                        "description": "Project Mercury was the first human spaceflight program of the United States, running from 1958 through 1963.",
                        "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/project2520mer_program_20200820194755.png",
                        "start_date": "1958-10-07T00:00:00Z",
                        "end_date": "1963-05-16T23:24:02Z",
                        "info_url": "https://www.nasa.gov/mission_pages/mercury/missions/program-toc.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Project_Mercury"
                    }
                ]
            }
        }
    ],
    "last_flight": "1962-05-24T12:45:16Z",
    "first_flight": "1962-05-24T12:45:16Z"
}