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

{
    "id": 25,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/25/?format=api",
    "name": "John Glenn",
    "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": "1921-07-18",
    "date_of_death": "2016-12-08",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Colonel John Herschel Glenn Jr. was a United States Marine Corps aviator, engineer, astronaut, businessman, and politician. He was the first American to orbit the Earth, circling it three times in 1962. Following his retirement from NASA, he served from 1974 to 1999 as a Democratic United States Senator from Ohio.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/john2520glenn_image_20181128141704.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190045.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/John_Glenn",
    "flights": [
        {
            "id": "ef68f324-c31b-471c-b401-2ce64aaa229c",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/ef68f324-c31b-471c-b401-2ce64aaa229c/?format=api",
            "launch_library_id": 1026,
            "slug": "atlas-lv-3b-mercury-atlas-6",
            "name": "Atlas LV-3B | Mercury-Atlas 6",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1962-02-20T14:47:39Z",
            "window_end": "1962-02-20T14:47:39Z",
            "window_start": "1962-02-20T14:47:39Z",
            "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": 191,
                "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": 757,
                "launch_library_id": 238,
                "name": "Mercury-Atlas 6",
                "description": "Mercury-Atlas 6 was the third crewed spaceflight for the United States. The spacecraft, named Friendship 7, completed three orbits making John Glenn the first United States astronaut to orbit Earth. The mission lasted for 4 hours, 55 minutes & 23seconds.",
                "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"
                }
            ]
        },
        {
            "id": "5cdb37c0-a396-4cdd-9ff8-9ccfc33a06e8",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/5cdb37c0-a396-4cdd-9ff8-9ccfc33a06e8/?format=api",
            "launch_library_id": 440,
            "slug": "space-shuttle-discovery-ov-103-sts-95",
            "name": "Space Shuttle Discovery / OV-103 | STS-95",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1998-10-29T19:19:34Z",
            "window_end": "1998-10-29T19:19:34Z",
            "window_start": "1998-10-29T19:19:34Z",
            "inhold": false,
            "tbdtime": false,
            "tbddate": false,
            "probability": -1,
            "holdreason": "",
            "failreason": null,
            "hashtag": null,
            "launch_service_provider": {
                "id": 192,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/192/?format=api",
                "name": "Lockheed Space Operations Company",
                "type": "Commercial"
            },
            "rocket": {
                "id": 438,
                "configuration": {
                    "id": 493,
                    "launch_library_id": null,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/493/?format=api",
                    "name": "Space Shuttle",
                    "family": "Space Shuttle",
                    "full_name": "Space Shuttle",
                    "variant": ""
                }
            },
            "mission": {
                "id": 235,
                "launch_library_id": 988,
                "name": "STS-95",
                "description": "STS-95 was a Space Shuttle mission launched from Kennedy Space Center, Florida on 29 October 1998, using the orbiter Discovery. It was the 25th flight of Discovery and the 92nd mission flown since the start of the Space Shuttle program in April 1981. It was a highly publicized mission due to former Project Mercury astronaut and United States Senator John H. Glenn, Jr.'s return to space for his second space flight. At age 77, Glenn became the oldest person, to date, to go into space. This mission is also noted for inaugurating ATSC HDTV broadcasting in the U.S., with live coast-to-coast coverage of the launch. In another first, Pedro Duque became the first Spaniard in space.",
                "launch_designator": null,
                "type": "",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                }
            },
            "pad": {
                "id": 4,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/4/?format=api",
                "agency_id": 44,
                "name": "Launch Complex 39B",
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39B",
                "map_url": "https://www.google.com/maps?q=28.62711233,-80.62101503",
                "latitude": "28.62711233",
                "longitude": "-80.62101503",
                "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": 235,
                    "total_landing_count": 0
                },
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_4_20200803143518.jpg",
                "total_launch_count": 58
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/space_shuttle_image_20230422074810.jpeg",
            "infographic": null,
            "program": [
                {
                    "id": 6,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/6/?format=api",
                    "name": "Space Shuttle",
                    "description": "The Space Shuttle program was the fourth human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which accomplished routine transportation for Earth-to-orbit crew and cargo from 1981 to 2011.",
                    "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/space2520shutt_program_20200820202237.png",
                    "start_date": "1981-04-12T12:00:03Z",
                    "end_date": "2011-07-08T15:29:00Z",
                    "info_url": "https://www.nasa.gov/mission_pages/shuttle/main/index.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Space_Shuttle_program"
                }
            ]
        }
    ],
    "landings": [
        {
            "id": 2,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/2/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1962-02-20T19:43:00Z",
            "spacecraft": {
                "id": 4,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/4/?format=api",
                "name": "Mercury No.13",
                "serial_number": "13",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Mercury No.13 is the Mercury capsule used for the Mercury-Atlas 6 - callsign \"Friendship 7\" - mission launched on February 20, 1962 and piloted by astronaut John Glenn.",
                "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": "ef68f324-c31b-471c-b401-2ce64aaa229c",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/ef68f324-c31b-471c-b401-2ce64aaa229c/?format=api",
                "launch_library_id": 1026,
                "slug": "atlas-lv-3b-mercury-atlas-6",
                "name": "Atlas LV-3B | Mercury-Atlas 6",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1962-02-20T14:47:39Z",
                "window_end": "1962-02-20T14:47:39Z",
                "window_start": "1962-02-20T14:47:39Z",
                "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": 191,
                    "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": 757,
                    "launch_library_id": 238,
                    "name": "Mercury-Atlas 6",
                    "description": "Mercury-Atlas 6 was the third crewed spaceflight for the United States. The spacecraft, named Friendship 7, completed three orbits making John Glenn the first United States astronaut to orbit Earth. The mission lasted for 4 hours, 55 minutes & 23seconds.",
                    "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"
                    }
                ]
            }
        },
        {
            "id": 137,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/137/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1998-11-07T17:04:00Z",
            "spacecraft": {
                "id": 38,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/38/?format=api",
                "name": "Space Shuttle Discovery",
                "serial_number": "OV-103",
                "status": {
                    "id": 2,
                    "name": "Retired"
                },
                "description": "Space Shuttle Discovery (Orbiter Vehicle Designation: OV-103) is one of the orbiters from NASA's Space Shuttle program and the third of five fully operational orbiters to be built. Its first mission, STS-41-D, flew from August 30 to September 5, 1984. Over 27 years of service it launched and landed 39 times, gathering more spaceflights than any other spacecraft to date. Discovery became the third operational orbiter to enter service, preceded by Columbia and Challenger. It embarked on its last mission, STS-133, on February 24, 2011 and touched down for the final time at Kennedy Space Center on March 9, having spent a cumulative total of almost a full year in space. Discovery performed both research and International Space Station (ISS) assembly missions. It also carried the Hubble Space Telescope into orbit. Discovery was the first operational shuttle to be retired, followed by Endeavour and then Atlantis.",
                "spacecraft_config": {
                    "id": 14,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/14/?format=api",
                    "name": "Space Shuttle",
                    "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/space2520shuttle_image_20190207032524.jpeg"
                }
            },
            "launch": {
                "id": "5cdb37c0-a396-4cdd-9ff8-9ccfc33a06e8",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/5cdb37c0-a396-4cdd-9ff8-9ccfc33a06e8/?format=api",
                "launch_library_id": 440,
                "slug": "space-shuttle-discovery-ov-103-sts-95",
                "name": "Space Shuttle Discovery / OV-103 | STS-95",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1998-10-29T19:19:34Z",
                "window_end": "1998-10-29T19:19:34Z",
                "window_start": "1998-10-29T19:19:34Z",
                "inhold": false,
                "tbdtime": false,
                "tbddate": false,
                "probability": -1,
                "holdreason": "",
                "failreason": null,
                "hashtag": null,
                "launch_service_provider": {
                    "id": 192,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/192/?format=api",
                    "name": "Lockheed Space Operations Company",
                    "type": "Commercial"
                },
                "rocket": {
                    "id": 438,
                    "configuration": {
                        "id": 493,
                        "launch_library_id": null,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/493/?format=api",
                        "name": "Space Shuttle",
                        "family": "Space Shuttle",
                        "full_name": "Space Shuttle",
                        "variant": ""
                    }
                },
                "mission": {
                    "id": 235,
                    "launch_library_id": 988,
                    "name": "STS-95",
                    "description": "STS-95 was a Space Shuttle mission launched from Kennedy Space Center, Florida on 29 October 1998, using the orbiter Discovery. It was the 25th flight of Discovery and the 92nd mission flown since the start of the Space Shuttle program in April 1981. It was a highly publicized mission due to former Project Mercury astronaut and United States Senator John H. Glenn, Jr.'s return to space for his second space flight. At age 77, Glenn became the oldest person, to date, to go into space. This mission is also noted for inaugurating ATSC HDTV broadcasting in the U.S., with live coast-to-coast coverage of the launch. In another first, Pedro Duque became the first Spaniard in space.",
                    "launch_designator": null,
                    "type": "",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    }
                },
                "pad": {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/4/?format=api",
                    "agency_id": 44,
                    "name": "Launch Complex 39B",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39B",
                    "map_url": "https://www.google.com/maps?q=28.62711233,-80.62101503",
                    "latitude": "28.62711233",
                    "longitude": "-80.62101503",
                    "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": 235,
                        "total_landing_count": 0
                    },
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_4_20200803143518.jpg",
                    "total_launch_count": 58
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/space_shuttle_image_20230422074810.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 6,
                        "url": "https://ll.thespacedevs.com/2.0.0/program/6/?format=api",
                        "name": "Space Shuttle",
                        "description": "The Space Shuttle program was the fourth human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which accomplished routine transportation for Earth-to-orbit crew and cargo from 1981 to 2011.",
                        "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/space2520shutt_program_20200820202237.png",
                        "start_date": "1981-04-12T12:00:03Z",
                        "end_date": "2011-07-08T15:29:00Z",
                        "info_url": "https://www.nasa.gov/mission_pages/shuttle/main/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Space_Shuttle_program"
                    }
                ]
            }
        }
    ],
    "last_flight": "1998-10-29T19:19:34Z",
    "first_flight": "1962-02-20T14:47:39Z"
}