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=40
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=50",
  "previous": "https://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=30",
  "results": [
    {
      "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": 22,
      "total_landing_count": 0
    },
    {
      "id": 142,
      "url": "https://ll.thespacedevs.com/2.0.0/location/142/?format=api",
      "name": "Ronald Reagan Ballistic Missile Defense Test Site, Kwajalein Atoll, Marshall Islands",
      "country_code": "MHL",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_142_20200803142511.jpg",
      "total_launch_count": 5,
      "total_landing_count": 0
    },
    {
      "id": 1,
      "url": "https://ll.thespacedevs.com/2.0.0/location/1/?format=api",
      "name": "Pacific Missile Range Facility, Barking Sands, HI, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_1_20200803142427.jpg",
      "total_launch_count": 1,
      "total_landing_count": 0
    },
    {
      "id": 181,
      "url": "https://ll.thespacedevs.com/2.0.0/location/181/?format=api",
      "name": "Bowen Orbital Spaceport",
      "country_code": "AUS",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_bowen_orbital_spaceport_20250227073649.jpg",
      "total_launch_count": 1,
      "total_landing_count": 0
    },
    {
      "id": 15,
      "url": "https://ll.thespacedevs.com/2.0.0/location/15/?format=api",
      "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
      "country_code": "KAZ",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
      "total_launch_count": 1566,
      "total_landing_count": 0
    },
    {
      "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": 146,
      "url": "https://ll.thespacedevs.com/2.0.0/location/146/?format=api",
      "name": "Svobodny Cosmodrome, Russian Federation",
      "country_code": "RUS",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_146_20200803142450.jpg",
      "total_launch_count": 5,
      "total_landing_count": 0
    },
    {
      "id": 147,
      "url": "https://ll.thespacedevs.com/2.0.0/location/147/?format=api",
      "name": "Interarmy Special Vehicles Test Centre, French Algeria",
      "country_code": "FRA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_147_20240808092142.jpg",
      "total_launch_count": 4,
      "total_landing_count": 0
    },
    {
      "id": 150,
      "url": "https://ll.thespacedevs.com/2.0.0/location/150/?format=api",
      "name": "Alcântara Space Center, Federative Republic of Brazil",
      "country_code": "BRA",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_150_20200803142405.jpg",
      "total_launch_count": 4,
      "total_landing_count": 0
    },
    {
      "id": 156,
      "url": "https://ll.thespacedevs.com/2.0.0/location/156/?format=api",
      "name": "Whalers Way Orbital Launch Complex, South Australia",
      "country_code": "AUS",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_whalers_way_orbital_launch_complex_20210910042508.jpg",
      "total_launch_count": 1,
      "total_landing_count": 0
    }
  ]
}