Location Instance
Modes
Levels of detail in the response - normal
, detailed
Example - /locations/?mode=detailed
Filters
Parameters - active
, country_code
, id
, name
, name__contains
, total_landing_count
, total_landing_count__gt
, total_landing_count__gte
, total_landing_count__lt
, total_landing_count__lte
, total_launch_count
, total_launch_count__gt
, total_launch_count__gte
, total_launch_count__lt
, total_launch_count__lte
Example - /locations/?country_code=NZL
Search
Fields searched - country__alpha_3_code
, name
Example - /locations/?search=Cape Canaveral
Ordering
Fields - total_landing_count
, total_launch_count
Example - /locations/?ordering=-total_launch_count
Number of results
Use limit
to control the number of objects in the response (max 100)
Example - /locations/?limit=2
Format
Switch to JSON output - /locations/?format=json
Help
Find all the FAQs and support links on the documentation homepage - lldev.thespacedevs.com/docs
GET /2.3.0/locations/177/?format=api
https://lldev.thespacedevs.com/2.3.0/locations/177/?format=api", "name": "Apollo crater, Moon", "celestial_body": { "response_mode": "normal", "id": 2, "name": "Moon", "type": { "id": 2, "name": "Moon" }, "diameter": 3474800.0, "mass": 7.342e+22, "gravity": 1.622, "length_of_day": "27 07:43:12", "atmosphere": false, "image": { "id": 2041, "name": "Moon (Apollo 11)", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/moon_2528apoll_image_20240402195408.jpg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/moon_2528apoll_image_thumbnail_20240402195408.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": false, "variants": [] }, "description": "The Moon is Earth's only natural satellite.", "wiki_url": "https://en.wikipedia.org/wiki/Moon", "total_attempted_launches": 11, "successful_launches": 11, "failed_launches": 0, "total_attempted_landings": 16, "successful_landings": 14, "failed_landings": 2 }, "active": false, "country": null, "description": "Apollo, also called the Apollo basin, is an enormous impact crater located in the southern hemisphere on the far side of the Moon. This formation dwarfs the large crater Oppenheimer that is located next to the western rim. The crater Barringer lies across the northern wall. To the southeast is the crater Anders, and Kleymenov is just to the east of the rim.", "image": { "id": 2169, "name": "Apollo Crater", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/apollo_crater_image_20240813081303.jpg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/apollo_crater_image_thumbnail_20240813081303.jpeg", "credit": "James Stuby, NASA", "license": { "id": 25, "name": "CC0 1.0", "priority": 3, "link": "https://creativecommons.org/publicdomain/zero/1.0/deed.en" }, "single_use": true, "variants": [] }, "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_chang25e225802599e_6_landing_site252c_apollo_basin252c_moon_20240813035211.jpg", "longitude": -151.8, "latitude": -36.1, "timezone_name": "", "total_launch_count": 1, "total_landing_count": 0, "pads": [ { "id": 233, "url": "https://lldev.thespacedevs.com/2.3.0/pads/233/?format=api", "active": false, "agencies": [ { "response_mode": "list", "id": 17, "url": "https://lldev.thespacedevs.com/2.3.0/agencies/17/?format=api", "name": "China National Space Administration", "abbrev": "CNSA", "type": { "id": 1, "name": "Government" } } ], "name": "Chang’e 6 landing site", "image": { "id": 2170, "name": "Chang'e 6 on the lunar surface", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/chang2527e_6_o_image_20240813081610.jpg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/chang2527e_6_o_image_thumbnail_20240813081611.jpeg", "credit": "CNSA", "license": { "id": 1, "name": "Unknown", "priority": 9, "link": null }, "single_use": false, "variants": [] }, "description": "Landing site of the Chinese lunar sample return mission Chang’e 6 on 1 June 2024.", "info_url": null, "wiki_url": "https://en.wikipedia.org/wiki/Chang'e_6", "map_url": null, "latitude": -41.6385, "longitude": -153.9852, "country": null, "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_chang25e225802599e_6_landing_site_20240813041009.jpg", "total_launch_count": 1, "orbital_launch_attempt_count": 1, "fastest_turnaround": null } ] }{ "response_mode": "detailed", "id": 177, "url": "