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/178/?format=api
https://lldev.thespacedevs.com/2.3.0/locations/178/?format=api", "name": "Esrange Space Center", "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": 7129, "successful_launches": 6587, "failed_launches": 542, "total_attempted_landings": 1089, "successful_landings": 1046, "failed_landings": 43 }, "active": true, "country": { "id": 15, "name": "Sweden", "alpha_2_code": "SE", "alpha_3_code": "SWE", "nationality_name": "Swedish", "nationality_name_composed": "Swedo" }, "description": "Esrange Space Center is a rocket range and research centre located about 40 kilometers east of the town of Kiruna in northern Sweden. It is a base for scientific research with high-altitude balloons, investigation of the aurora borealis, sounding rocket launches, and satellite tracking. Built in 1964 by ESRO, one of the predecessors of the European Space Agency, the site is currently operated by the Swedish Space Corporation. An orbital launch complex, LC-3, has been built in the early 2020s.", "image": null, "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_esrange_space_center_20241208021356.jpg", "longitude": 21.106944, "latitude": 67.893889, "timezone_name": "Europe/Stockholm", "total_launch_count": 0, "total_landing_count": 0, "pads": [ { "id": 236, "url": "https://lldev.thespacedevs.com/2.3.0/pads/236/?format=api", "active": true, "agencies": [], "name": "Launch Complex 3C", "image": null, "description": "Launch complex for the United States launch service provider Firefly Aerospace's Alpha launch vehicle at Esrange.", "info_url": null, "wiki_url": "https://en.wikipedia.org/wiki/Esrange#Satellite_launch_capability", "map_url": "https://www.google.com/maps?q=67.876724,21.166866", "latitude": 67.876724, "longitude": 21.166866, "country": { "id": 15, "name": "Sweden", "alpha_2_code": "SE", "alpha_3_code": "SWE", "nationality_name": "Swedish", "nationality_name_composed": "Swedo" }, "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_complex_3c_20241208021831.jpg", "total_launch_count": 0, "orbital_launch_attempt_count": 0, "fastest_turnaround": null } ] }{ "response_mode": "detailed", "id": 178, "url": "