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/185/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": 185,
  "name": "Haiyang Oriental Spaceport",
  "country_code": "CHN",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_haiyang_oriental_spaceport_20251128181322.jpg",
  "total_launch_count": 25,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 250,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/250/?format=api",
      "agency_id": 88,
      "name": "South China Sea (launch location 2)",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=21.566667,112.033333",
      "latitude": 21.566667,
      "longitude": 112.033333,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_south_china_sea_2528launch_location_22529_20260116130455.jpg",
      "total_launch_count": 1
    },
    {
      "id": 251,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/251/?format=api",
      "agency_id": 88,
      "name": "South China Sea (launch location 3)",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=21.366667,112.116667",
      "latitude": 21.366667,
      "longitude": 112.116667,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_south_china_sea_2528launch_location_32529_20260116130538.jpg",
      "total_launch_count": 2
    },
    {
      "id": 252,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/252/?format=api",
      "agency_id": 88,
      "name": "Land Launch Pad 1",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=36.664312,121.188333",
      "latitude": 36.664312,
      "longitude": 121.188333,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_land_launch_pad_1_20260405193202.jpg",
      "total_launch_count": 0
    },
    {
      "id": 144,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/144/?format=api",
      "agency_id": 88,
      "name": "Yellow Sea (launch location 2)",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=34.311667,123.761111",
      "latitude": 34.311667,
      "longitude": 123.761111,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_144_20200803143251.jpg",
      "total_launch_count": 1
    },
    {
      "id": 212,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/212/?format=api",
      "agency_id": 88,
      "name": "Unknown launch location",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=36.676794,121.235103",
      "latitude": 36.676794,
      "longitude": 121.235103,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_haiyang_spaceport_20230827174240.jpg",
      "total_launch_count": 0
    },
    {
      "id": 217,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/217/?format=api",
      "agency_id": 88,
      "name": "South China Sea (launch location 1)",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=21.283333,112.0",
      "latitude": 21.283333,
      "longitude": 112.0,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_bo_run_jiu_zhou_mobile_launch_platform_20231206001303.jpg",
      "total_launch_count": 2
    },
    {
      "id": 221,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/221/?format=api",
      "agency_id": 88,
      "name": "Rizhao offshore launch location",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=35.391667,119.598667",
      "latitude": 35.391667,
      "longitude": 119.598667,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_oriental_spaceport_mobile_launch_ship_20240529085416.jpg",
      "total_launch_count": 7
    },
    {
      "id": 248,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/248/?format=api",
      "agency_id": 88,
      "name": "Yellow Sea (launch location 3)",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=32.183333,123.8",
      "latitude": 32.183333,
      "longitude": 123.8,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_yellow_sea_2528launch_location_32529_20260116130314.jpg",
      "total_launch_count": 1
    },
    {
      "id": 249,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/249/?format=api",
      "agency_id": 88,
      "name": "Yellow Sea (launch location 4)",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=37.3395,123.7115",
      "latitude": 37.3395,
      "longitude": 123.7115,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_yellow_sea_2528launch_location_42529_20260116130402.jpg",
      "total_launch_count": 1
    },
    {
      "id": 186,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/186/?format=api",
      "agency_id": 88,
      "name": "Yellow Sea (launch location 1)",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=34.899444,121.190278",
      "latitude": 34.899444,
      "longitude": 121.190278,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_long_march_11_launch_platform_20200901183938.jpg",
      "total_launch_count": 1
    },
    {
      "id": 89,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/89/?format=api",
      "agency_id": 88,
      "name": "Haiyang offshore launch location",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=36.631333,121.198361",
      "latitude": 36.631333,
      "longitude": 121.198361,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_89_20200803143242.jpg",
      "total_launch_count": 9
    }
  ]
}