API endpoint that allows Location instances to be viewed.

GET: Return a list of all the existing location instances.

FILTERS: Parameters - 'name', 'location' Example - /2.0.0/pad/?location=12

GET /2.0.0/pad/246/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": 246,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/246/?format=api",
  "agency_id": 1021,
  "name": "Pallas-1 Launch Pad",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Pallas-1",
  "map_url": "https://www.google.com/maps?q=40.775962,100.107214",
  "latitude": "40.775962",
  "longitude": "100.107214",
  "location": {
    "id": 17,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/17/?format=api",
    "name": "Jiuquan Satellite Launch Center, People's Republic of China",
    "country_code": "CHN",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
    "total_launch_count": 283,
    "total_landing_count": 2
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_pallas-1_launch_pad_20251128223637.jpg",
  "total_launch_count": 0
}