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://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
  "previous": null,
  "results": [
    {
      "id": 6,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/6/?format=api",
      "name": "Plesetsk Cosmodrome, Russian Federation",
      "country_code": "RUS",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_6_20200803142434.jpg",
      "total_launch_count": 1688,
      "total_landing_count": 0
    },
    {
      "id": 31,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/31/?format=api",
      "name": "Spaceport America, NM, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_31_20200803142505.jpg",
      "total_launch_count": 4,
      "total_landing_count": 4
    },
    {
      "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": 300,
      "total_landing_count": 3
    },
    {
      "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": 922,
      "total_landing_count": 37
    },
    {
      "id": 19,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/19/?format=api",
      "name": "Taiyuan Satellite Launch Center, People's Republic of China",
      "country_code": "CHN",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
      "total_launch_count": 163,
      "total_landing_count": 0
    },
    {
      "id": 161,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/161/?format=api",
      "name": "Andøya Spaceport",
      "country_code": "NOR",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_161_20240109072235.jpg",
      "total_launch_count": 2,
      "total_landing_count": 0
    },
    {
      "id": 30,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/30/?format=api",
      "name": "Kapustin Yar, Russian Federation",
      "country_code": "RUS",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
      "total_launch_count": 101,
      "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": 76,
      "total_landing_count": 0
    },
    {
      "id": 13,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/13/?format=api",
      "name": "Guiana Space Centre, French Guiana",
      "country_code": "GUF",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
      "total_launch_count": 336,
      "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
    }
  ]
}