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

{
    "id": 28,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/28/?format=api",
    "name": "James McDivitt",
    "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": "1929-06-10",
    "date_of_death": "2022-10-13",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "James Alton \"Jim\" McDivitt was an American former test pilot, United States Air Force pilot, aeronautical engineer, and NASA astronaut who flew in the Gemini and Apollo programs. He commanded the Gemini 4 flight during which Ed White performed the first U.S. spacewalk, and later the Apollo 9 flight which was the first manned flight test of the Lunar Module and the complete set of Apollo flight hardware. He later became Manager of Lunar Landing Operations and was the Apollo Spacecraft Program Manager from 1969 to 1972.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/james2520mcdivitt_image_20181128142425.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185502.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/James_McDivitt",
    "flights": [
        {
            "id": "144c083a-8aa3-49df-be2d-9445305dedea",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/144c083a-8aa3-49df-be2d-9445305dedea/?format=api",
            "launch_library_id": 1000,
            "slug": "saturn-v-apollo-9",
            "name": "Saturn V | Apollo 9",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1969-03-03T16:00:00Z",
            "window_end": "1969-03-03T16:00:00Z",
            "window_start": "1969-03-03T16:00: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": 220,
                "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": 141,
                "launch_library_id": 222,
                "name": "Apollo 9",
                "description": "Apollo 9 was commanded by James McDivitt, Command Module Pilot Dave Scott and Lunar Module Pilot Rusty Schweickart. The mission tested the LM engines, backpack life support systems, navigation systems, and docking maneuvers.",
                "launch_designator": null,
                "type": "Human Exploration",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                }
            },
            "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"
                }
            ]
        },
        {
            "id": "6202a9c0-c5be-4be3-bd55-bb924bf92b84",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/6202a9c0-c5be-4be3-bd55-bb924bf92b84/?format=api",
            "launch_library_id": 1015,
            "slug": "titan-ii-glv-gemini-iv",
            "name": "Titan II GLV | Gemini IV",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "1965-06-03T15:15:59Z",
            "window_end": "1965-06-03T15:15:59Z",
            "window_start": "1965-06-03T15:15:59Z",
            "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": 202,
                "configuration": {
                    "id": 98,
                    "launch_library_id": 137,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/98/?format=api",
                    "name": "Titan II",
                    "family": "Titan",
                    "full_name": "Titan II GLV",
                    "variant": "GLV"
                }
            },
            "mission": {
                "id": 180,
                "launch_library_id": 256,
                "name": "Gemini IV (Gemini 4)",
                "description": "Gemini 4 was the second crewed mission of the NASA's Project Gemini. The mission was commanded by Command Pilot James A. McDivitt and Pilot Edward H. White II. On the mission, White became the first American to perform a spacewalk. The mission began on June 3, 1965, 15:15:59 UTC and ended on June 7, 1965, 17:12:11 UTC.",
                "launch_designator": null,
                "type": "Human Exploration",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                }
            },
            "pad": {
                "id": 18,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/18/?format=api",
                "agency_id": null,
                "name": "Launch Complex 19",
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_19",
                "map_url": "https://www.google.com/maps?q=28.506898,-80.554169",
                "latitude": "28.506898",
                "longitude": "-80.554169",
                "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": 951,
                    "total_landing_count": 51
                },
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_18_20200803143356.jpg",
                "total_launch_count": 12
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/titan2520ii_image_20190222030027.jpeg",
            "infographic": null,
            "program": [
                {
                    "id": 3,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/3/?format=api",
                    "name": "Gemini",
                    "description": "Project Gemini was NASA's second human spaceflight program. Conducted between projects Mercury and Apollo, Gemini started in 1961 and concluded in 1966.",
                    "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/project2520gem_program_20200820195350.png",
                    "start_date": "1961-12-07T00:00:00Z",
                    "end_date": "1966-11-15T19:21:04Z",
                    "info_url": "https://www.nasa.gov/mission_pages/gemini/index.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Project_Gemini"
                }
            ]
        }
    ],
    "landings": [
        {
            "id": 103,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/103/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1969-03-13T17:00:00Z",
            "spacecraft": {
                "id": 27,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/27/?format=api",
                "name": "Apollo Gumdrop CSM-104",
                "serial_number": "CSM-104",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "CSM-104 \"Gumdrop\" was an Apollo Command & Service Module used in the Apollo 9 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": "144c083a-8aa3-49df-be2d-9445305dedea",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/144c083a-8aa3-49df-be2d-9445305dedea/?format=api",
                "launch_library_id": 1000,
                "slug": "saturn-v-apollo-9",
                "name": "Saturn V | Apollo 9",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1969-03-03T16:00:00Z",
                "window_end": "1969-03-03T16:00:00Z",
                "window_start": "1969-03-03T16:00: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": 220,
                    "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": 141,
                    "launch_library_id": 222,
                    "name": "Apollo 9",
                    "description": "Apollo 9 was commanded by James McDivitt, Command Module Pilot Dave Scott and Lunar Module Pilot Rusty Schweickart. The mission tested the LM engines, backpack life support systems, navigation systems, and docking maneuvers.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    }
                },
                "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"
                    }
                ]
            }
        },
        {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/12/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1965-06-07T15:15:00Z",
            "spacecraft": {
                "id": 14,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/14/?format=api",
                "name": "Gemini SC4",
                "serial_number": "4",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Gemini SC4 is the Gemini capsule used for the Gemini 4 mission launched on June 3, 1965 and crewed by astronauts James McDivitt (command pilot) and Ed White (pilot).",
                "spacecraft_config": {
                    "id": 12,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/12/?format=api",
                    "name": "Gemini",
                    "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/gemini_image_20190207032517.jpeg"
                }
            },
            "launch": {
                "id": "6202a9c0-c5be-4be3-bd55-bb924bf92b84",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/6202a9c0-c5be-4be3-bd55-bb924bf92b84/?format=api",
                "launch_library_id": 1015,
                "slug": "titan-ii-glv-gemini-iv",
                "name": "Titan II GLV | Gemini IV",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "1965-06-03T15:15:59Z",
                "window_end": "1965-06-03T15:15:59Z",
                "window_start": "1965-06-03T15:15:59Z",
                "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": 202,
                    "configuration": {
                        "id": 98,
                        "launch_library_id": 137,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/98/?format=api",
                        "name": "Titan II",
                        "family": "Titan",
                        "full_name": "Titan II GLV",
                        "variant": "GLV"
                    }
                },
                "mission": {
                    "id": 180,
                    "launch_library_id": 256,
                    "name": "Gemini IV (Gemini 4)",
                    "description": "Gemini 4 was the second crewed mission of the NASA's Project Gemini. The mission was commanded by Command Pilot James A. McDivitt and Pilot Edward H. White II. On the mission, White became the first American to perform a spacewalk. The mission began on June 3, 1965, 15:15:59 UTC and ended on June 7, 1965, 17:12:11 UTC.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    }
                },
                "pad": {
                    "id": 18,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/18/?format=api",
                    "agency_id": null,
                    "name": "Launch Complex 19",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_19",
                    "map_url": "https://www.google.com/maps?q=28.506898,-80.554169",
                    "latitude": "28.506898",
                    "longitude": "-80.554169",
                    "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": 951,
                        "total_landing_count": 51
                    },
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_18_20200803143356.jpg",
                    "total_launch_count": 12
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/titan2520ii_image_20190222030027.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 3,
                        "url": "https://ll.thespacedevs.com/2.0.0/program/3/?format=api",
                        "name": "Gemini",
                        "description": "Project Gemini was NASA's second human spaceflight program. Conducted between projects Mercury and Apollo, Gemini started in 1961 and concluded in 1966.",
                        "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/project2520gem_program_20200820195350.png",
                        "start_date": "1961-12-07T00:00:00Z",
                        "end_date": "1966-11-15T19:21:04Z",
                        "info_url": "https://www.nasa.gov/mission_pages/gemini/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Project_Gemini"
                    }
                ]
            }
        }
    ],
    "last_flight": "1969-03-03T16:00:00Z",
    "first_flight": "1965-06-03T15:15:59Z"
}