API endpoint that allows Location instances to be viewed.

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

FILTERS: Parameters - 'id', 'agency_id', 'name', 'name__contains', 'latitude', 'latitude__contains', 'longitude', 'longitude__contains', 'location__name', 'location__name__contains', 'location__id', 'orbital_launch_attempt_count', 'total_launch_count'

ORDERING: Fields - 'id', 'name', 'location__id', 'location__name', 'orbital_launch_attempt_count', 'total_launch_count'

Example - /2.2.0/pad/?ordering=location__name

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

{
  "id": 258,
  "url": "https://lldev.thespacedevs.com/2.2.0/pad/258/?format=api",
  "agency_id": 31,
  "name": "SSLV Launch Complex",
  "description": "The Kulasekarapattinam Spaceport in Thoothukudi district, Tamil Nadu, India is the second spaceport of the Indian Space Research Organisation (ISRO), designed to allow their Small Satellite launch Vehicle (SSLV) to launch towards polar orbits without the need for a dogleg maneuver to avoid Sri Lanka.",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/SSLV_Launch_Complex",
  "map_url": "https://www.google.com/maps?q=8.3588887,78.0182402",
  "latitude": "8.3588887",
  "longitude": "78.0182402",
  "location": {
    "id": 187,
    "url": "https://lldev.thespacedevs.com/2.2.0/location/187/?format=api",
    "name": "Kulasekarapattinam Spaceport, India",
    "country_code": "IND",
    "description": "The Kulasekarapattinam Spaceport in Thoothukudi district, Tamil Nadu, India is the second spaceport of the Indian Space Research Organisation (ISRO), designed to allow their Small Satellite launch Vehicle (SSLV) to launch towards polar orbits without the need for a dogleg maneuver to avoid Sri Lanka.",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_kulasekarapattinam_spaceport252c_india_20260920052623.jpg",
    "timezone_name": "Asia/Kolkata",
    "total_launch_count": 0,
    "total_landing_count": 0
  },
  "country_code": "IND",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_sslv_launch_complex_20260920052940.jpg",
  "total_launch_count": 0,
  "orbital_launch_attempt_count": 0
}