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": 52,
  "next": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=50",
  "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=30",
  "results": [
    {
      "id": 32,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/32/?format=api",
      "name": "Hokkaido Spaceport, Japan",
      "country_code": "JPN",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_32_20200803142407.jpg",
      "total_launch_count": 7,
      "total_landing_count": 0
    },
    {
      "id": 146,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/146/?format=api",
      "name": "Svobodny Cosmodrome, Russian Federation",
      "country_code": "RUS",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_146_20200803142450.jpg",
      "total_launch_count": 5,
      "total_landing_count": 0
    },
    {
      "id": 181,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/181/?format=api",
      "name": "Bowen Orbital Spaceport",
      "country_code": "AUS",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_bowen_orbital_spaceport_20250227073649.jpg",
      "total_launch_count": 1,
      "total_landing_count": 0
    },
    {
      "id": 147,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/147/?format=api",
      "name": "Interarmy Special Vehicles Test Centre, French Algeria",
      "country_code": "FRA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_147_20240808092142.jpg",
      "total_launch_count": 4,
      "total_landing_count": 0
    },
    {
      "id": 150,
      "url": "https://lldev.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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_150_20200803142405.jpg",
      "total_launch_count": 4,
      "total_landing_count": 0
    },
    {
      "id": 152,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/152/?format=api",
      "name": "RAAF Woomera Range Complex",
      "country_code": "AUS",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_152_20200803142502.jpg",
      "total_launch_count": 6,
      "total_landing_count": 0
    },
    {
      "id": 156,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/156/?format=api",
      "name": "Whalers Way Orbital Launch Complex, South Australia",
      "country_code": "AUS",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_whalers_way_orbital_launch_complex_20210910042508.jpg",
      "total_launch_count": 1,
      "total_landing_count": 0
    },
    {
      "id": 157,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/157/?format=api",
      "name": "SaxaVord Spaceport",
      "country_code": "GBR",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_saxavord_spaceport_20211102161146.jpg",
      "total_launch_count": 0,
      "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": 1,
      "total_landing_count": 0
    },
    {
      "id": 166,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/166/?format=api",
      "name": "Spaceport Kii, Japan",
      "country_code": "JPN",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_space_port_kii252c_japan_20240126073749.jpg",
      "total_launch_count": 3,
      "total_landing_count": 0
    }
  ]
}