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": 52,
  "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": 145,
      "url": "https://ll.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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_145_20200803142443.jpg",
      "total_launch_count": 6,
      "total_landing_count": 0
    },
    {
      "id": 164,
      "url": "https://ll.thespacedevs.com/2.0.0/location/164/?format=api",
      "name": "Koonibba Test Range, South Australia",
      "country_code": "AUS",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_koonibba_test_range252c_south_australia_20231114184328.jpg",
      "total_launch_count": 1,
      "total_landing_count": 0
    },
    {
      "id": 19,
      "url": "https://ll.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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
      "total_launch_count": 153,
      "total_landing_count": 0
    },
    {
      "id": 29,
      "url": "https://ll.thespacedevs.com/2.0.0/location/29/?format=api",
      "name": "Corn Ranch, Van Horn, TX, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_29_20200803142436.jpg",
      "total_launch_count": 38,
      "total_landing_count": 38
    },
    {
      "id": 32,
      "url": "https://ll.thespacedevs.com/2.0.0/location/32/?format=api",
      "name": "Hokkaido Spaceport, Japan",
      "country_code": "JPN",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_32_20200803142407.jpg",
      "total_launch_count": 7,
      "total_landing_count": 0
    },
    {
      "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": 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": 18,
      "url": "https://ll.thespacedevs.com/2.0.0/location/18/?format=api",
      "name": "Vostochny Cosmodrome, Siberia, Russian Federation",
      "country_code": "RUS",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_18_20200803142401.jpg",
      "total_launch_count": 21,
      "total_landing_count": 0
    },
    {
      "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": 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": 20,
      "total_landing_count": 13
    }
  ]
}