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 - ll.thespacedevs.com/docs

GET /2.3.0/astronauts/?format=api&offset=810&ordering=status
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "count": 813,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.3.0/astronauts/?format=api&limit=10&offset=800&ordering=status",
    "results": [
        {
            "id": 790,
            "url": "https://ll.thespacedevs.com/2.3.0/astronauts/790/?format=api",
            "name": "Edward Joseph Dwight Jr",
            "status": {
                "id": 14,
                "name": "Occasional Spaceflight"
            },
            "agency": {
                "response_mode": "list",
                "id": 141,
                "url": "https://ll.thespacedevs.com/2.3.0/agencies/141/?format=api",
                "name": "Blue Origin",
                "abbrev": "BO",
                "type": {
                    "id": 3,
                    "name": "Commercial"
                }
            },
            "image": null,
            "response_mode": "normal",
            "type": {
                "id": 3,
                "name": "Private"
            },
            "in_space": false,
            "time_in_space": "PT9M53S",
            "eva_time": "P0D",
            "age": 91,
            "date_of_birth": "1933-09-09",
            "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": "In 1961, Ed was chosen by President John F. Kennedy to enter training at the Aerospace Research Pilot School (ARPS), an elite U.S. Air Force flight training program known as a pathway for entering the NASA Astronaut Corps. In 1963, after successfully completing the ARPS program, Ed was recommended by the U.S. Air Force for the NASA Astronaut Corps but ultimately was not among those selected. He entered private life in 1966 and spent a decade as an entrepreneur before dedicating his life’s work to using sculpture as a medium to tell the story of Black history. He’s spent the last five decades creating large-scale monuments of iconic Black figures, including Dr. Martin Luther King Jr., Frederick Douglass, and Harriet Tubman and the Underground Railroad, among many others. His more than 130 public works are installed in museums and public spaces across the U.S. and Canada. Ed was born in 1933 and raised in Kansas City, KS.",
            "wiki": "https://en.wikipedia.org/wiki/Ed_Dwight",
            "last_flight": "2024-05-19T14:35:09Z",
            "first_flight": "2024-05-19T14:35:09Z",
            "social_media_links": [
                {
                    "id": 212,
                    "social_media": {
                        "id": 3,
                        "name": "Homepage",
                        "url": null,
                        "logo": null
                    },
                    "url": "https://www.eddwight.com/"
                }
            ],
            "flights_count": 1,
            "landings_count": 1,
            "spacewalks_count": 0
        },
        {
            "id": 661,
            "url": "https://ll.thespacedevs.com/2.3.0/astronauts/661/?format=api",
            "name": "Chris Sembroski",
            "status": {
                "id": 14,
                "name": "Occasional Spaceflight"
            },
            "agency": {
                "response_mode": "list",
                "id": 121,
                "url": "https://ll.thespacedevs.com/2.3.0/agencies/121/?format=api",
                "name": "SpaceX",
                "abbrev": "SpX",
                "type": {
                    "id": 3,
                    "name": "Commercial"
                }
            },
            "image": {
                "id": 429,
                "name": "[AUTO] Chris Sembroski - image",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/chris_sembroski_image_20210914154201.jpeg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185829.jpeg",
                "credit": null,
                "license": {
                    "id": 1,
                    "name": "Unknown",
                    "priority": 9,
                    "link": null
                },
                "single_use": true,
                "variants": []
            },
            "response_mode": "normal",
            "type": {
                "id": 3,
                "name": "Private"
            },
            "in_space": false,
            "time_in_space": "P3DT23H4M4S",
            "eva_time": "P0D",
            "age": 45,
            "date_of_birth": "1979-08-28",
            "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": "Chris Sembroski is an aerospace worker at Lockheed Martin who used to work on Minuteman missiles in the Air Force.\r\n\r\nBirth date is unknown.",
            "wiki": "https://en.wikipedia.org/wiki/Christopher_Sembroski",
            "last_flight": "2021-09-16T00:02:56Z",
            "first_flight": "2021-09-16T00:02:56Z",
            "social_media_links": [
                {
                    "id": 154,
                    "social_media": {
                        "id": 1,
                        "name": "X",
                        "url": "https://x.com",
                        "logo": {
                            "id": 2320,
                            "name": "X logo",
                            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/x_logo_image_20250211191027.jpg",
                            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/x_logo_image_thumbnail_20250211191027.jpeg",
                            "credit": "X",
                            "license": {
                                "id": 1,
                                "name": "Unknown",
                                "priority": 9,
                                "link": null
                            },
                            "single_use": true,
                            "variants": []
                        }
                    },
                    "url": "https://twitter.com/epathctocs"
                }
            ],
            "flights_count": 1,
            "landings_count": 1,
            "spacewalks_count": 0
        },
        {
            "id": 827,
            "url": "https://ll.thespacedevs.com/2.3.0/astronauts/827/?format=api",
            "name": "Russel Wilson",
            "status": {
                "id": 14,
                "name": "Occasional Spaceflight"
            },
            "agency": {
                "response_mode": "list",
                "id": 141,
                "url": "https://ll.thespacedevs.com/2.3.0/agencies/141/?format=api",
                "name": "Blue Origin",
                "abbrev": "BO",
                "type": {
                    "id": 3,
                    "name": "Commercial"
                }
            },
            "image": null,
            "response_mode": "normal",
            "type": {
                "id": 3,
                "name": "Private"
            },
            "in_space": false,
            "time_in_space": "PT10M8S",
            "eva_time": "P0D",
            "age": null,
            "date_of_birth": null,
            "date_of_death": null,
            "nationality": [
                {
                    "id": 34,
                    "name": "Australia",
                    "alpha_2_code": "AU",
                    "alpha_3_code": "AUS",
                    "nationality_name": "Australian",
                    "nationality_name_composed": "Australo"
                }
            ],
            "bio": "Cryptocurrencies entrepreneur",
            "wiki": null,
            "last_flight": "2025-02-25T15:49:11Z",
            "first_flight": "2025-02-25T15:49:11Z",
            "social_media_links": [],
            "flights_count": 1,
            "landings_count": 1,
            "spacewalks_count": 0
        }
    ]
}