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.0.0/location/?country_code=USA

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

{
  "count": 54,
  "next": "https://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
  "previous": null,
  "results": [
    {
      "id": 159,
      "url": "https://ll.thespacedevs.com/2.0.0/location/159/?format=api",
      "name": "Sutherland Spaceport",
      "country_code": "GBR",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_sutherland_spaceport_20220511180155.jpg",
      "total_launch_count": 0,
      "total_landing_count": 0
    },
    {
      "id": 16,
      "url": "https://ll.thespacedevs.com/2.0.0/location/16/?format=api",
      "name": "Xichang Satellite Launch Center, People's Republic of China",
      "country_code": "CHN",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_16_20200803142513.jpg",
      "total_launch_count": 244,
      "total_landing_count": 0
    },
    {
      "id": 30,
      "url": "https://ll.thespacedevs.com/2.0.0/location/30/?format=api",
      "name": "Kapustin Yar, Russian Federation",
      "country_code": "RUS",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
      "total_launch_count": 101,
      "total_landing_count": 0
    },
    {
      "id": 10,
      "url": "https://ll.thespacedevs.com/2.0.0/location/10/?format=api",
      "name": "Rocket Lab Launch Complex 1, Mahia Peninsula, New Zealand",
      "country_code": "NZL",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_10_20200803142509.jpg",
      "total_launch_count": 88,
      "total_landing_count": 17
    },
    {
      "id": 14,
      "url": "https://ll.thespacedevs.com/2.0.0/location/14/?format=api",
      "name": "Satish Dhawan Space Centre, India",
      "country_code": "IND",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_14_20200803142403.jpg",
      "total_launch_count": 106,
      "total_landing_count": 0
    },
    {
      "id": 162,
      "url": "https://ll.thespacedevs.com/2.0.0/location/162/?format=api",
      "name": "Edwards Air Force Base",
      "country_code": "USA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_edwards_air_force_base_20230422085221.jpg",
      "total_launch_count": 0,
      "total_landing_count": 0
    },
    {
      "id": 8,
      "url": "https://ll.thespacedevs.com/2.0.0/location/8/?format=api",
      "name": "Wenchang Space Launch Site, People's Republic of China",
      "country_code": "CHN",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_8_20200803142445.jpg",
      "total_launch_count": 78,
      "total_landing_count": 0
    },
    {
      "id": 151,
      "url": "https://ll.thespacedevs.com/2.0.0/location/151/?format=api",
      "name": "Broglio Space Center, Kenya",
      "country_code": "ITA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_151_20200803142409.jpg",
      "total_launch_count": 9,
      "total_landing_count": 0
    },
    {
      "id": 187,
      "url": "https://ll.thespacedevs.com/2.0.0/location/187/?format=api",
      "name": "Kulasekarapattinam Spaceport, India",
      "country_code": "IND",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_kulasekarapattinam_spaceport252c_india_20260920052623.jpg",
      "total_launch_count": 0,
      "total_landing_count": 0
    },
    {
      "id": 185,
      "url": "https://ll.thespacedevs.com/2.0.0/location/185/?format=api",
      "name": "Haiyang Oriental Spaceport",
      "country_code": "CHN",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_haiyang_oriental_spaceport_20251128181322.jpg",
      "total_launch_count": 30,
      "total_landing_count": 0
    }
  ]
}