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/256/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": 256,
  "url": "https://ll.thespacedevs.com/2.0.0/pad/256/?format=api",
  "agency_id": 147,
  "name": "Rocket Lab Launch Complex 4 (Launch Pad 3D)",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Pacific_Spaceport_Complex_%E2%80%93_Alaska",
  "map_url": "https://www.google.com/maps?q=57.430853%2C-152.358201",
  "latitude": "57.430853",
  "longitude": "-152.358201",
  "location": {
    "id": 25,
    "url": "https://ll.thespacedevs.com/2.0.0/location/25/?format=api",
    "name": "Pacific Spaceport Complex, Alaska, USA",
    "country_code": "USA",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_25_20200803142500.jpg",
    "total_launch_count": 9,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_rocket_lab_launch_complex_4_2528launch_pad_3d2529_20260731003528.jpg",
  "total_launch_count": 0
}