Modes

Levels of detail in the response - list, normal, detailed

Example - /astronauts/?mode=list

Filters

Parameters - age, age__gt, age__gte, age__lt, age__lte, agency_ids, date_of_birth, date_of_birth__gt, date_of_birth__gte, date_of_birth__lt, date_of_birth__lte, date_of_death, date_of_death__gt, date_of_death__gte, date_of_death__lt, date_of_death__lte, first_flight, first_flight__gt, first_flight__gte, first_flight__lt, first_flight__lte, flights_count, flights_count__gt, flights_count__gte, flights_count__lt, flights_count__lte, has_flown, in_space, is_human, landings_count, landings_count__gt, landings_count__gte, landings_count__lt, landings_count__lte, last_flight, last_flight__gt, last_flight__gte, last_flight__lt, last_flight__lte, nationality, status_ids, type__id

Example - /astronauts/?has_flown=true

Fields searched - agency__abbrev, agency__name, name, nationality__nationality_name

Example - /astronauts/?search=Pesquet

Ordering

Fields - age, date_of_birth, eva_time, flights_count, id, landings_count, last_flight, name, spacewalks_count, status, time_in_space

Example - /astronauts/?ordering=-time_in_space

Number of results

Use limit to control the number of objects in the response (max 100)

Example - /astronauts/?limit=2

Format

Switch to JSON output - /astronauts/?format=json

Help

Find all the FAQs and support links on the documentation homepage - lldev.thespacedevs.com/docs

GET /2.3.0/astronauts/477/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 477,
    "url": "https://lldev.thespacedevs.com/2.3.0/astronauts/477/?format=api",
    "name": "Robert Curbeam",
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "agency": {
        "response_mode": "list",
        "id": 44,
        "url": "https://lldev.thespacedevs.com/2.3.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "abbrev": "NASA",
        "type": {
            "id": 1,
            "name": "Government"
        }
    },
    "image": {
        "id": 823,
        "name": "[AUTO] Robert Curbeam - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/robert_curbeam_image_20220911033512.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190854.jpeg",
        "credit": null,
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": true,
        "variants": []
    },
    "response_mode": "detailed",
    "type": {
        "id": 2,
        "name": "Government"
    },
    "in_space": false,
    "time_in_space": "P37DT14H31M23S",
    "eva_time": "P1DT21H35M",
    "age": 63,
    "date_of_birth": "1962-03-05",
    "date_of_death": null,
    "nationality": [
        {
            "id": 2,
            "name": "United States of America",
            "alpha_2_code": "US",
            "alpha_3_code": "USA",
            "nationality_name": "American",
            "nationality_name_composed": "Americano"
        }
    ],
    "bio": "Robert Lee Curbeam, Jr. is a former NASA astronaut and captain in the United States Navy.\r\n\r\nCurbeam graduated from Woodlawn High School, Baltimore County, Maryland in 1980. He earned a Bachelor of Science degree in Aerospace Engineering from the United States Naval Academy in 1984, a Master of Science degree in Aeronautical Engineering from the Naval Postgraduate School in 1990, and a master's degree in Astronautical Engineering from the Naval Postgraduate School in 1991.\r\n\r\nHe is a member of the U.S. Naval Academy Alumni Association and the Association of Old Crows.\r\n\r\nCurbeam was named Fighter Wing One Radar Intercept Officer of the Year in 1989 and received the U.S. Naval Test Pilot School Best Developmental Thesis (DT-II) Award.\r\n\r\nHe currently holds the record for the most spacewalks during a single spaceflight. During the STS-116 mission, Curbeam completed four spacewalks.",
    "wiki": "https://en.wikipedia.org/wiki/Robert_Curbeam",
    "last_flight": "2006-12-10T01:47:35Z",
    "first_flight": "1997-08-07T14:41:00Z",
    "social_media_links": [],
    "flights_count": 3,
    "landings_count": 3,
    "spacewalks_count": 7,
    "flights": [],
    "landings": [],
    "spacewalks": []
}