API endpoint that allows Astronaut to be viewed.

GET:
Return a list of all the existing astronauts.

MODE:
Normal, List, LaunchList and Detailed
/2.2.0/astronaut/?mode=detailed

FILTERS:
Parameters - 'name', 'status', 'nationality', 'agency__name', 'agency__abbrev', 'date_of_birth',
'date_of_death', 'status_ids', 'is_human', 'type__id', 'has_flown', 'in_space'
Example - /2.2.0/astronaut/?nationality=American

SEARCH EXAMPLE:
/2.2.0/astronaut/?search=armstrong
Searches through name, nationality and agency name

ORDERING:
Fields - 'name', 'status', 'date_of_birth'
Example - /2.2.0/astronaut/?order=name

GET /2.2.0/astronaut/290/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 290,
    "url": "https://ll.thespacedevs.com/2.2.0/astronaut/290/?format=api",
    "name": "Yang Liwei",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "in_space": false,
    "time_in_space": "PT21H22M45S",
    "eva_time": "P0D",
    "agency": {
        "id": 17,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/17/?format=api",
        "name": "China National Space Administration",
        "type": "Government"
    },
    "age": 58,
    "date_of_birth": "1965-06-21",
    "date_of_death": null,
    "nationality": "Chinese",
    "twitter": null,
    "instagram": null,
    "bio": "Yang Liwei is a major general, military pilot, and China National Space Administration astronaut. In October 2003, he became the first person sent into space by the Chinese space program. This mission, Shenzhou 5, made China the third country to independently send humans into space.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/yang2520liwei_image_20181201225703.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190313.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Yang_Liwei",
    "flights": [
        {
            "id": "cf21fd4a-1f43-4934-80a6-7850c6745630",
            "url": "https://ll.thespacedevs.com/2.2.0/launch/cf21fd4a-1f43-4934-80a6-7850c6745630/?format=api",
            "slug": "long-march-2f-shenzhou-5",
            "name": "Long March 2F | Shenzhou-5",
            "status": {
                "id": 3,
                "name": "Launch Successful",
                "abbrev": "Success",
                "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
            },
            "last_updated": "2023-06-14T15:48:19Z",
            "net": "2003-10-15T01:00:03Z",
            "window_end": "2003-10-15T01:00:03Z",
            "window_start": "2003-10-15T01:00:03Z",
            "net_precision": null,
            "probability": -1,
            "weather_concerns": null,
            "holdreason": "",
            "failreason": null,
            "hashtag": null,
            "launch_service_provider": {
                "id": 88,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/88/?format=api",
                "name": "China Aerospace Science and Technology Corporation",
                "type": "Government"
            },
            "rocket": {
                "id": 499,
                "configuration": {
                    "id": 79,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/79/?format=api",
                    "name": "Long March 2F",
                    "family": "Long March",
                    "full_name": "Long March 2F",
                    "variant": "F"
                }
            },
            "mission": {
                "id": 280,
                "name": "Shenzhou-5",
                "description": "This is the first crewed mission for China's Shenzhou program. Launched in 15 October, it carried the only astronaut aborad, Yang Liwei, on an 21 hour flight. Shenzhou 5 completed 14 orbits, followed by a safe landing back on Earth on the evening of 15 October.",
                "launch_designator": null,
                "type": "Human Exploration",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                },
                "agencies": [],
                "info_urls": [],
                "vid_urls": []
            },
            "pad": {
                "id": 37,
                "url": "https://ll.thespacedevs.com/2.2.0/pad/37/?format=api",
                "agency_id": null,
                "name": "Launch Area 4 (SLS-1 / 921)",
                "description": null,
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Jiuquan_Launch_Area_4",
                "map_url": "https://www.google.com/maps?q=40.957893,100.290944",
                "latitude": "40.957893",
                "longitude": "100.290944",
                "location": {
                    "id": 17,
                    "url": "https://ll.thespacedevs.com/2.2.0/location/17/?format=api",
                    "name": "Jiuquan Satellite Launch Center, People's Republic of China",
                    "country_code": "CHN",
                    "description": "",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_17_20200803142429.jpg",
                    "timezone_name": "Asia/Shanghai",
                    "total_launch_count": 225,
                    "total_landing_count": 0
                },
                "country_code": "CHN",
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_37_20200803143603.jpg",
                "total_launch_count": 23,
                "orbital_launch_attempt_count": 23
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/long_march_2_image_20210908195835.jpeg",
            "infographic": null,
            "program": [
                {
                    "id": 7,
                    "url": "https://ll.thespacedevs.com/2.2.0/program/7/?format=api",
                    "name": "Shenzhou",
                    "description": "The Shenzhou program is a crewed spaceflight initiative by China. The program put the first Chinese citizen, Yang Liwei, into orbit on 15 October 2003.",
                    "agencies": [
                        {
                            "id": 17,
                            "url": "https://ll.thespacedevs.com/2.2.0/agencies/17/?format=api",
                            "name": "China National Space Administration",
                            "type": "Government"
                        }
                    ],
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/shenzhou_program_20200820204745.PNG",
                    "start_date": "1993-01-01T00:00:00Z",
                    "end_date": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Shenzhou_program",
                    "mission_patches": [],
                    "type": {
                        "id": 2,
                        "name": "Human Spaceflight"
                    }
                }
            ],
            "orbital_launch_attempt_count": 4612,
            "location_launch_attempt_count": 33,
            "pad_launch_attempt_count": 5,
            "agency_launch_attempt_count": 16,
            "orbital_launch_attempt_count_year": 46,
            "location_launch_attempt_count_year": 1,
            "pad_launch_attempt_count_year": 1,
            "agency_launch_attempt_count_year": 3,
            "type": "normal"
        }
    ],
    "landings": [
        {
            "id": 441,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/441/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "2003-10-15T22:22:48Z",
            "spacecraft": {
                "id": 422,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/422/?format=api",
                "name": "Shenzhou 5",
                "serial_number": "5",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "PT21H22M45S",
                "time_docked": "P0D",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Shenzhou 5 was the first human spaceflight mission of the Chinese space program, launched on 15 October 2003. The Shenzhou spacecraft was launched on a Long March 2F launch vehicle.",
                "spacecraft_config": {
                    "id": 2,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/2/?format=api",
                    "name": "Shenzhou",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 17,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/17/?format=api",
                        "name": "China National Space Administration",
                        "type": "Government"
                    },
                    "in_use": true,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/shenzhou_image_20190207032522.jpeg"
                }
            },
            "launch": {
                "id": "cf21fd4a-1f43-4934-80a6-7850c6745630",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/cf21fd4a-1f43-4934-80a6-7850c6745630/?format=api",
                "slug": "long-march-2f-shenzhou-5",
                "name": "Long March 2F | Shenzhou-5",
                "status": {
                    "id": 3,
                    "name": "Launch Successful",
                    "abbrev": "Success",
                    "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
                },
                "last_updated": "2023-06-14T15:48:19Z",
                "net": "2003-10-15T01:00:03Z",
                "window_end": "2003-10-15T01:00:03Z",
                "window_start": "2003-10-15T01:00:03Z",
                "net_precision": null,
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": null,
                "hashtag": null,
                "launch_service_provider": {
                    "id": 88,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/88/?format=api",
                    "name": "China Aerospace Science and Technology Corporation",
                    "type": "Government"
                },
                "rocket": {
                    "id": 499,
                    "configuration": {
                        "id": 79,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/79/?format=api",
                        "name": "Long March 2F",
                        "family": "Long March",
                        "full_name": "Long March 2F",
                        "variant": "F"
                    }
                },
                "mission": {
                    "id": 280,
                    "name": "Shenzhou-5",
                    "description": "This is the first crewed mission for China's Shenzhou program. Launched in 15 October, it carried the only astronaut aborad, Yang Liwei, on an 21 hour flight. Shenzhou 5 completed 14 orbits, followed by a safe landing back on Earth on the evening of 15 October.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 37,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/37/?format=api",
                    "agency_id": null,
                    "name": "Launch Area 4 (SLS-1 / 921)",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Jiuquan_Launch_Area_4",
                    "map_url": "https://www.google.com/maps?q=40.957893,100.290944",
                    "latitude": "40.957893",
                    "longitude": "100.290944",
                    "location": {
                        "id": 17,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/17/?format=api",
                        "name": "Jiuquan Satellite Launch Center, People's Republic of China",
                        "country_code": "CHN",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_17_20200803142429.jpg",
                        "timezone_name": "Asia/Shanghai",
                        "total_launch_count": 225,
                        "total_landing_count": 0
                    },
                    "country_code": "CHN",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_37_20200803143603.jpg",
                    "total_launch_count": 23,
                    "orbital_launch_attempt_count": 23
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/long_march_2_image_20210908195835.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 7,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/7/?format=api",
                        "name": "Shenzhou",
                        "description": "The Shenzhou program is a crewed spaceflight initiative by China. The program put the first Chinese citizen, Yang Liwei, into orbit on 15 October 2003.",
                        "agencies": [
                            {
                                "id": 17,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/17/?format=api",
                                "name": "China National Space Administration",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/shenzhou_program_20200820204745.PNG",
                        "start_date": "1993-01-01T00:00:00Z",
                        "end_date": null,
                        "info_url": null,
                        "wiki_url": "https://en.wikipedia.org/wiki/Shenzhou_program",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 4612,
                "location_launch_attempt_count": 33,
                "pad_launch_attempt_count": 5,
                "agency_launch_attempt_count": 16,
                "orbital_launch_attempt_count_year": 46,
                "location_launch_attempt_count_year": 1,
                "pad_launch_attempt_count_year": 1,
                "agency_launch_attempt_count_year": 3,
                "type": "normal"
            },
            "landing": {
                "id": 712,
                "attempt": true,
                "success": true,
                "description": "The Shenzhou 5 spacecraft landed in the Dorbnod Banner in Inner Mongolia, China.",
                "downrange_distance": null,
                "location": {
                    "id": 21,
                    "name": "Dorbod Banner",
                    "abbrev": "DB",
                    "description": "Dorbod Banner in Ulanqab, Inner Mongolia, China, bordering Mongolia's Dornogovi Province to the northwest.",
                    "location": null,
                    "successful_landings": 0
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ],
    "flights_count": 1,
    "landings_count": 1,
    "spacewalks_count": 0,
    "last_flight": "2003-10-15T01:00:03Z",
    "first_flight": "2003-10-15T01:00:03Z",
    "spacewalks": []
}