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&offset=20
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "count": 54,
  "next": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=30",
  "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
  "results": [
    {
      "id": 155,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/155/?format=api",
      "name": "White Sands Missile Range",
      "country_code": "USA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_white_sands_missile_range_20210901072636.jpg",
      "total_launch_count": 5,
      "total_landing_count": 0
    },
    {
      "id": 153,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/153/?format=api",
      "name": "Tonghae Satellite Launching Ground",
      "country_code": "PRK",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_153_20200803142503.jpg",
      "total_launch_count": 2,
      "total_landing_count": 0
    },
    {
      "id": 27,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/27/?format=api",
      "name": "Kennedy Space Center, FL, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
      "total_launch_count": 283,
      "total_landing_count": 0
    },
    {
      "id": 162,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/162/?format=api",
      "name": "Edwards Air Force Base",
      "country_code": "USA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_edwards_air_force_base_20230422085221.jpg",
      "total_launch_count": 0,
      "total_landing_count": 0
    },
    {
      "id": 29,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/29/?format=api",
      "name": "Corn Ranch, Van Horn, TX, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_29_20200803142436.jpg",
      "total_launch_count": 38,
      "total_landing_count": 38
    },
    {
      "id": 187,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/187/?format=api",
      "name": "Kulasekarapattinam Spaceport, India",
      "country_code": "IND",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_kulasekarapattinam_spaceport252c_india_20260920052623.jpg",
      "total_launch_count": 0,
      "total_landing_count": 0
    },
    {
      "id": 143,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/143/?format=api",
      "name": "SpaceX Starbase, TX, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_143_20200803142438.jpg",
      "total_launch_count": 23,
      "total_landing_count": 13
    },
    {
      "id": 145,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/145/?format=api",
      "name": "Shahrud Missile Test Site, Islamic Republic of Iran",
      "country_code": "IRN",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_145_20200803142443.jpg",
      "total_launch_count": 6,
      "total_landing_count": 0
    },
    {
      "id": 151,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/151/?format=api",
      "name": "Broglio Space Center, Kenya",
      "country_code": "ITA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_151_20200803142409.jpg",
      "total_launch_count": 9,
      "total_landing_count": 0
    },
    {
      "id": 185,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/185/?format=api",
      "name": "Haiyang Oriental Spaceport",
      "country_code": "CHN",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_haiyang_oriental_spaceport_20251128181322.jpg",
      "total_launch_count": 29,
      "total_landing_count": 0
    }
  ]
}