Astronaut Instance
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
Search
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/638/?format=api
https://ll.thespacedevs.com/2.3.0/astronauts/638/?format=api", "name": "Starman", "status": { "id": 1, "name": "Active" }, "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": 593, "name": "[AUTO] Starman - image", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/starman_image_20190307220126.jpg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190247.jpeg", "credit": null, "license": { "id": 1, "name": "Unknown", "priority": 9, "link": null }, "single_use": true, "variants": [] }, "response_mode": "detailed", "type": { "id": 6, "name": "Non-Human" }, "in_space": true, "time_in_space": "P2637DT5H24M33S", "eva_time": "P0D", "age": null, "date_of_birth": null, "date_of_death": null, "nationality": [ { "id": 17, "name": "Unknown", "alpha_2_code": "??", "alpha_3_code": "???", "nationality_name": "Earthling", "nationality_name_composed": "Earthling" } ], "bio": "\"Starman\" is a mannequin dressed in a spacesuit occupying the driver's seat of Elon Musk's Tesla Roadster, launched to an heliocentric orbit on Falcon Heavy's inaugural launch.", "wiki": "https://en.wikipedia.org/wiki/Elon_Musk%27s_Tesla_Roadster", "last_flight": "2018-02-06T20:45:00Z", "first_flight": "2018-02-06T20:45:00Z", "social_media_links": [ { "id": 95, "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/Tesla_Starman" }, { "id": 96, "social_media": { "id": 2, "name": "Instagram", "url": "https://instagram.com", "logo": { "id": 2322, "name": "Instagram logo", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/instagram_logo_image_20250211191139.png", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/instagram_logo_image_thumbnail_20250211191139.png", "credit": "Instagram", "license": { "id": 1, "name": "Unknown", "priority": 9, "link": null }, "single_use": true, "variants": [] } }, "url": "https://www.instagram.com/starman_by_spacex/" } ], "flights_count": 1, "landings_count": 0, "spacewalks_count": 0, "flights": [ { "id": "598af929-31d4-4544-ad77-e0b6f9c8f460", "url": "https://ll.thespacedevs.com/2.3.0/launches/598af929-31d4-4544-ad77-e0b6f9c8f460/?format=api", "name": "Falcon Heavy | Demo (Test Flight)", "response_mode": "normal", "slug": "falcon-heavy-demo-test-flight", "launch_designator": "2018-017", "status": { "id": 3, "name": "Launch Successful", "abbrev": "Success", "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)." }, "last_updated": "2024-03-05T18:22:00Z", "net": "2018-02-06T20:45:00Z", "net_precision": null, "window_end": "2018-02-06T21:00:00Z", "window_start": "2018-02-06T18:30:00Z", "image": { "id": 1419, "name": "[AUTO] Falcon Heavy | Demo (Test Flight) - image", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/falcon2520heav_image_20230723154051.jpeg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305192714.jpeg", "credit": null, "license": { "id": 1, "name": "Unknown", "priority": 9, "link": null }, "single_use": true, "variants": [] }, "infographic": null, "probability": 90, "weather_concerns": null, "failreason": "", "hashtag": null, "launch_service_provider": { "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" } }, "rocket": { "id": 2076, "configuration": { "response_mode": "list", "id": 161, "url": "https://ll.thespacedevs.com/2.3.0/launcher_configurations/161/?format=api", "name": "Falcon Heavy", "families": [ { "response_mode": "list", "id": 1, "name": "Falcon" } ], "full_name": "Falcon Heavy", "variant": "Heavy" } }, "mission": { "id": 490, "name": "Demo Flight 1 (Maiden Flight)", "type": "Test Flight", "description": "This will be the inaugural flight of the Falcon Heavy. The test payload will be SpaceX CEO Elon Musk's midnight cherry Tesla Roadster playing Space Oddity. Destination: An elliptical, heliocentric orbit. Apoapsis: Around Mars' orbital distance.", "image": null, "orbit": { "id": 6, "name": "Heliocentric N/A", "abbrev": "Helio-N/A", "celestial_body": { "response_mode": "list", "id": 1, "name": "Earth" } }, "agencies": [], "info_urls": [], "vid_urls": [] }, "pad": { "id": 87, "url": "https://ll.thespacedevs.com/2.3.0/pads/87/?format=api", "active": true, "agencies": [ { "response_mode": "normal", "id": 121, "url": "https://ll.thespacedevs.com/2.3.0/agencies/121/?format=api", "name": "SpaceX", "abbrev": "SpX", "type": { "id": 3, "name": "Commercial" }, "featured": true, "country": [ { "id": 2, "name": "United States of America", "alpha_2_code": "US", "alpha_3_code": "USA", "nationality_name": "American", "nationality_name_composed": "Americano" } ], "description": "Space Exploration Technologies Corp., known as SpaceX, is an American aerospace manufacturer and space transport services company headquartered in Hawthorne, California. It was founded in 2002 by entrepreneur Elon Musk with the goal of reducing space transportation costs and enabling the colonization of Mars. SpaceX operates from many pads, on the East Coast of the US they operate from SLC-40 at Cape Canaveral Space Force Station and historic LC-39A at Kennedy Space Center. They also operate from SLC-4E at Vandenberg Space Force Base, California, usually for polar launches. Another launch site is being developed at Boca Chica, Texas.", "administrator": "CEO: Elon Musk", "founding_year": 2002, "launchers": "Falcon | Starship", "spacecraft": "Dragon", "parent": null, "image": { "id": 29, "name": "[AUTO] SpaceX - image", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spacex_image_20190207032501.jpeg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305184704.jpeg", "credit": null, "license": { "id": 1, "name": "Unknown", "priority": 9, "link": null }, "single_use": true, "variants": [] }, "logo": { "id": 186, "name": "[AUTO] SpaceX - logo", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spacex_logo_20220826094919.png", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185138.png", "credit": null, "license": { "id": 1, "name": "Unknown", "priority": 9, "link": null }, "single_use": true, "variants": [] }, "social_logo": { "id": 94, "name": "[AUTO] SpaceX - social_logo", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spacex_nation_20230531064544.jpg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305184848.jpeg", "credit": null, "license": { "id": 1, "name": "Unknown", "priority": 9, "link": null }, "single_use": true, "variants": [] } } ], "name": "Launch Complex 39A", "image": { "id": 2119, "name": "FH liftoff from LC-39A (GOES-U)", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/fh_liftoff_from_image_20240626200232.jpeg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/fh_liftoff_from_image_thumbnail_20240626200233.jpeg", "credit": "SpaceX", "license": { "id": 5, "name": "CC BY-NC 2.0", "priority": 1, "link": "https://creativecommons.org/licenses/by-nc/2.0/" }, "single_use": true, "variants": [] }, "description": "", "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, "country": { "id": 2, "name": "United States of America", "alpha_2_code": "US", "alpha_3_code": "USA", "nationality_name": "American", "nationality_name_composed": "Americano" }, "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_87_20200803143537.jpg", "total_launch_count": 204, "orbital_launch_attempt_count": 203, "fastest_turnaround": "P5DT7H9M30S", "location": { "response_mode": "normal", "id": 27, "url": "https://ll.thespacedevs.com/2.3.0/locations/27/?format=api", "name": "Kennedy Space Center, FL, USA", "celestial_body": { "response_mode": "normal", "id": 1, "name": "Earth", "type": { "id": 1, "name": "Planet" }, "diameter": 12742000.0, "mass": 5.972168e+24, "gravity": 9.80655, "length_of_day": "1 00:00:00", "atmosphere": true, "image": { "id": 2040, "name": "Earth (Apollo 17)", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/earth_2528apol_image_20240402194304.jpeg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/earth_2528apol_image_thumbnail_20240402194305.jpeg", "credit": "NASA", "license": { "id": 4, "name": "NASA Image and Media Guidelines", "priority": 0, "link": "https://www.nasa.gov/nasa-brand-center/images-and-media/" }, "single_use": true, "variants": [] }, "description": "Earth is the third planet from the Sun and the only astronomical object known to harbor life.", "wiki_url": "https://en.wikipedia.org/wiki/Earth", "total_attempted_launches": 7140, "successful_launches": 6598, "failed_launches": 542, "total_attempted_landings": 1098, "successful_landings": 1055, "failed_landings": 43 }, "active": true, "country": { "id": 2, "name": "United States of America", "alpha_2_code": "US", "alpha_3_code": "USA", "nationality_name": "American", "nationality_name_composed": "Americano" }, "description": "The John F. Kennedy Space Center, located on Merritt Island, Florida, is one of NASA's ten field centers. Since 1968, KSC has been NASA's primary launch center of American spaceflight, research, and technology. Launch operations for the Apollo, Skylab and Space Shuttle programs were carried out from Kennedy Space Center Launch Complex 39 and managed by KSC. Located on the east coast of Florida, KSC is adjacent to Cape Canaveral Space Force Station (CCSFS).", "image": { "id": 2200, "name": "Cape Canaveral & KSC seen from orbit (STS-43)", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/cape_canaveral__image_20240918151615.jpg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/cape_canaveral__image_thumbnail_20240918151616.jpeg", "credit": "NASA", "license": { "id": 4, "name": "NASA Image and Media Guidelines", "priority": 0, "link": "https://www.nasa.gov/nasa-brand-center/images-and-media/" }, "single_use": true, "variants": [] }, "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg", "longitude": -80.650833, "latitude": 28.524167, "timezone_name": "America/New_York", "total_launch_count": 262, "total_landing_count": 0 } }, "webcast_live": false, "program": [], "orbital_launch_attempt_count": 5723, "location_launch_attempt_count": 166, "pad_launch_attempt_count": 109, "agency_launch_attempt_count": 55, "orbital_launch_attempt_count_year": 17, "location_launch_attempt_count_year": 1, "pad_launch_attempt_count_year": 1, "agency_launch_attempt_count_year": 3 } ], "landings": [], "spacewalks": [] }{ "id": 638, "url": "