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/183/?format=api
https://lldev.thespacedevs.com/2.3.0/locations/183/?format=api", "name": "Mons Mouton", "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": true, "country": null, "description": "Mons Mouton is the Moon's tallest mountain that has been officially named. The base to peak height of this flat-topped mountain is 6 km per altimetry data from the Lunar Reconnaissance Orbiter. It lies between the craters Nobile and Malapert, within 6° of the lunar South Pole on the Moon's near-side. This is a region of special interest because of the presence of Permanently Shadowed Regions (PSRs) that could be cold traps for water, together with areas of extended solar illumination in their proximity.", "image": { "id": 2339, "name": "Mons Mouton from LRO", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/mons_mouton_fro_image_20250227085908.jpg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/mons_mouton_fro_image_thumbnail_20250227085908.jpeg", "credit": "NASA/Arizona State University", "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": [] }, "map_image": null, "longitude": -31.0, "latitude": -84.6, "timezone_name": "", "total_launch_count": 0, "total_landing_count": 0, "pads": [] }{ "response_mode": "detailed", "id": 183, "url": "