API endpoint that allows Location instances to be viewed.

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

FILTERS: Parameters - 'name', 'country_code', 'id' Example - /2.2.0/location/?country_code=USA

GET /2.2.0/location/?format=api&offset=50
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "count": 52,
  "next": null,
  "previous": "https://ll.thespacedevs.com/2.2.0/location/?format=api&limit=10&offset=40",
  "results": [
    {
      "id": 164,
      "url": "https://ll.thespacedevs.com/2.2.0/location/164/?format=api",
      "name": "Koonibba Test Range, South Australia",
      "country_code": "AUS",
      "description": "The Koonibba Test Range is a rocket test range site near the township of Koonibba in the far west of South Australia. Rockets are launched to the north over a clear area – the Yumbarra Conservation Park and Yellabinna Wilderness Protection Area – for 145 kilometres (90 mi).",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_koonibba_test_range252c_south_australia_20231114184328.jpg",
      "timezone_name": "Australia/Adelaide",
      "total_launch_count": 1,
      "total_landing_count": 0
    },
    {
      "id": 178,
      "url": "https://ll.thespacedevs.com/2.2.0/location/178/?format=api",
      "name": "Esrange Space Center",
      "country_code": "SWE",
      "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.",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_esrange_space_center_20241208021356.jpg",
      "timezone_name": "Europe/Stockholm",
      "total_launch_count": 0,
      "total_landing_count": 0
    }
  ]
}