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.2.0/location/?country_code=USA

GET /2.2.0/location/8/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 8,
    "name": "Wenchang Space Launch Site, People's Republic of China",
    "country_code": "CHN",
    "description": "The Wenchang Space Launch Site is a rocket launch site located in Wenchang on the island of Hainan, in China.\r\n\r\nFormally a suborbital test center, it currently serves as China's southernmost spaceport. The site was selected for its low latitude, 19° north of the equator, allowing for larger payloads to be launched. It is capable of launching the Long March 5, the heaviest Chinese rocket. Unlike launch facilities on the mainland, Wenchang uses its seaport for deliveries.",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_8_20200803142445.jpg",
    "timezone_name": "Asia/Shanghai",
    "total_launch_count": 51,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 241,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/241/?format=api",
            "agency_id": null,
            "name": "301",
            "description": "Launch pad for the Long March 10 and 10A rockets for future Chinese crew missions to the lunar surface and Low Earth Orbit space station.",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Space_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.610019,110.944443",
            "latitude": 19.610019,
            "longitude": 110.944443,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_301_20251128182017.jpg",
            "total_launch_count": 0
        },
        {
            "id": 176,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/176/?format=api",
            "agency_id": null,
            "name": "201",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Spacecraft_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.618452,110.955356",
            "latitude": 19.618452,
            "longitude": 110.955356,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_176_20200803143412.jpg",
            "total_launch_count": 27
        },
        {
            "id": 218,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/218/?format=api",
            "agency_id": null,
            "name": "Commercial LC-1",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Commercial_Space_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.597275,110.930753",
            "latitude": 19.597275,
            "longitude": 110.930753,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_commercial_lc-1_20231225074041.jpg",
            "total_launch_count": 5
        },
        {
            "id": 175,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/175/?format=api",
            "agency_id": null,
            "name": "101",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Spacecraft_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.614334,110.951011",
            "latitude": 19.614334,
            "longitude": 110.951011,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_175_20200803143424.jpg",
            "total_launch_count": 16
        },
        {
            "id": 222,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/222/?format=api",
            "agency_id": null,
            "name": "Commercial LC-3",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Commercial_Space_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.58914,110.91883",
            "latitude": 19.58914,
            "longitude": 110.91883,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_222_20251128181727.jpg",
            "total_launch_count": 0
        },
        {
            "id": 78,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/78/?format=api",
            "agency_id": null,
            "name": "Unknown Pad",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=19.614354,110.951057",
            "latitude": 19.614354,
            "longitude": 110.951057,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_78_20200803143548.jpg",
            "total_launch_count": 0
        },
        {
            "id": 242,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/242/?format=api",
            "agency_id": null,
            "name": "Commercial LC-4",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Commercial_Space_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.58394,110.91531",
            "latitude": 19.58394,
            "longitude": 110.91531,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_commercial_lc-4_20251128182247.jpg",
            "total_launch_count": 0
        },
        {
            "id": 219,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/219/?format=api",
            "agency_id": null,
            "name": "Commercial LC-2",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Commercial_Space_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.59755,110.936481",
            "latitude": 19.59755,
            "longitude": 110.936481,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_commercial_lc-2_20231225074048.jpg",
            "total_launch_count": 3
        }
    ]
}