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": 21,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 144,
            "url": "https://lldev.thespacedevs.com/2.0.0/pad/144/?format=api",
            "agency_id": 88,
            "name": "DeBo 3 mobile launch platform",
            "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": 217,
            "url": "https://lldev.thespacedevs.com/2.0.0/pad/217/?format=api",
            "agency_id": null,
            "name": "Bo Run Jiu Zhou mobile launch platform",
            "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": 3
        },
        {
            "id": 212,
            "url": "https://lldev.thespacedevs.com/2.0.0/pad/212/?format=api",
            "agency_id": 88,
            "name": "Haiyang Spaceport",
            "info_url": null,
            "wiki_url": null,
            "map_url": null,
            "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": 5
        },
        {
            "id": 221,
            "url": "https://lldev.thespacedevs.com/2.0.0/pad/221/?format=api",
            "agency_id": 88,
            "name": "Oriental Spaceport mobile launch ship",
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=35.391667%2C119.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": 89,
            "url": "https://lldev.thespacedevs.com/2.0.0/pad/89/?format=api",
            "agency_id": 88,
            "name": "DeFu-15002 mobile launch platform",
            "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": 2
        },
        {
            "id": 186,
            "url": "https://lldev.thespacedevs.com/2.0.0/pad/186/?format=api",
            "agency_id": 88,
            "name": "Tai Rui mobile launch platform",
            "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": 3
        }
    ]
}