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": 52,
  "next": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
  "previous": null,
  "results": [
    {
      "id": 7,
      "url": "https://lldev.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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_7_20200803142414.jpg",
      "total_launch_count": 7,
      "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": 17,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/17/?format=api",
      "name": "Jiuquan Satellite Launch Center, People's Republic of China",
      "country_code": "CHN",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
      "total_launch_count": 290,
      "total_landing_count": 2
    },
    {
      "id": 2,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/2/?format=api",
      "name": "Semnan Space Center, Islamic Republic of Iran",
      "country_code": "IRN",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_2_20200803142458.jpg",
      "total_launch_count": 15,
      "total_landing_count": 0
    },
    {
      "id": 8,
      "url": "https://lldev.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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_8_20200803142445.jpg",
      "total_launch_count": 65,
      "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": 21,
      "total_landing_count": 13
    },
    {
      "id": 11,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/11/?format=api",
      "name": "Vandenberg SFB, CA, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
      "total_launch_count": 892,
      "total_landing_count": 35
    },
    {
      "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": 160,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/160/?format=api",
      "name": "Arnhem Space Centre",
      "country_code": "AUS",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_arnhem_space_centre_20220622160552.jpg",
      "total_launch_count": 3,
      "total_landing_count": 0
    },
    {
      "id": 4,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/4/?format=api",
      "name": "Palmachim Airbase, State of Israel",
      "country_code": "ISR",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_4_20200803142418.jpg",
      "total_launch_count": 13,
      "total_landing_count": 0
    }
  ]
}