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=10
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=20",
  "previous": "https://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10",
  "results": [
    {
      "id": 27,
      "url": "https://ll.thespacedevs.com/2.0.0/location/27/?format=api",
      "name": "Kennedy Space Center, FL, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
      "total_launch_count": 283,
      "total_landing_count": 0
    },
    {
      "id": 2,
      "url": "https://ll.thespacedevs.com/2.0.0/location/2/?format=api",
      "name": "Semnan Space Center, Islamic Republic of Iran",
      "country_code": "IRN",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_2_20200803142458.jpg",
      "total_launch_count": 15,
      "total_landing_count": 0
    },
    {
      "id": 12,
      "url": "https://ll.thespacedevs.com/2.0.0/location/12/?format=api",
      "name": "Cape Canaveral SFS, FL, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
      "total_launch_count": 1134,
      "total_landing_count": 84
    },
    {
      "id": 161,
      "url": "https://ll.thespacedevs.com/2.0.0/location/161/?format=api",
      "name": "Andøya Spaceport",
      "country_code": "NOR",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_161_20240109072235.jpg",
      "total_launch_count": 2,
      "total_landing_count": 0
    },
    {
      "id": 31,
      "url": "https://ll.thespacedevs.com/2.0.0/location/31/?format=api",
      "name": "Spaceport America, NM, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_31_20200803142505.jpg",
      "total_launch_count": 4,
      "total_landing_count": 4
    },
    {
      "id": 153,
      "url": "https://ll.thespacedevs.com/2.0.0/location/153/?format=api",
      "name": "Tonghae Satellite Launching Ground",
      "country_code": "PRK",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_153_20200803142503.jpg",
      "total_launch_count": 2,
      "total_landing_count": 0
    },
    {
      "id": 7,
      "url": "https://ll.thespacedevs.com/2.0.0/location/7/?format=api",
      "name": "Sohae Satellite Launching Station,  Cholsan County, North Pyongan Province, Democratic People's Republic of Korea",
      "country_code": "PRK",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_7_20200803142414.jpg",
      "total_launch_count": 7,
      "total_landing_count": 0
    },
    {
      "id": 143,
      "url": "https://ll.thespacedevs.com/2.0.0/location/143/?format=api",
      "name": "SpaceX Starbase, TX, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_143_20200803142438.jpg",
      "total_launch_count": 24,
      "total_landing_count": 14
    },
    {
      "id": 4,
      "url": "https://ll.thespacedevs.com/2.0.0/location/4/?format=api",
      "name": "Palmachim Airbase, State of Israel",
      "country_code": "ISR",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_4_20200803142418.jpg",
      "total_launch_count": 13,
      "total_landing_count": 0
    },
    {
      "id": 24,
      "url": "https://ll.thespacedevs.com/2.0.0/location/24/?format=api",
      "name": "Uchinoura Space Center, Japan",
      "country_code": "JPN",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_24_20200803142411.jpg",
      "total_launch_count": 43,
      "total_landing_count": 0
    }
  ]
}