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
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=10",
    "previous": null,
    "results": [
        {
            "id": 153,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/153/?format=api",
            "name": "Tonghae Satellite Launching Ground",
            "country_code": "PRK",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_153_20200803142503.jpg",
            "total_launch_count": 2,
            "total_landing_count": 0
        },
        {
            "id": 19,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/19/?format=api",
            "name": "Taiyuan Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
            "total_launch_count": 150,
            "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": 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": 2,
            "total_landing_count": 0
        },
        {
            "id": 21,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/21/?format=api",
            "name": "Wallops Flight Facility, Virginia, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_21_20200803142423.jpg",
            "total_launch_count": 84,
            "total_landing_count": 0
        },
        {
            "id": 25,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/25/?format=api",
            "name": "Pacific Spaceport Complex, Alaska, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_25_20200803142500.jpg",
            "total_launch_count": 9,
            "total_landing_count": 0
        },
        {
            "id": 13,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/13/?format=api",
            "name": "Guiana Space Centre, French Guiana",
            "country_code": "GUF",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
            "total_launch_count": 331,
            "total_landing_count": 0
        },
        {
            "id": 178,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/178/?format=api",
            "name": "Esrange Space Center",
            "country_code": "SWE",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_esrange_space_center_20241208021356.jpg",
            "total_launch_count": 0,
            "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": 7,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/7/?format=api",
            "name": "Sohae Satellite Launching Station,  Cholsan County, North Pyongan Province, Democratic People's Republic of Korea",
            "country_code": "PRK",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_7_20200803142414.jpg",
            "total_launch_count": 7,
            "total_landing_count": 0
        }
    ]
}