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": 51,
    "next": "https://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
    "previous": null,
    "results": [
        {
            "id": 29,
            "url": "https://ll.thespacedevs.com/2.0.0/location/29/?format=api",
            "name": "Corn Ranch, Van Horn, TX, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_29_20200803142436.jpg",
            "total_launch_count": 34,
            "total_landing_count": 34
        },
        {
            "id": 143,
            "url": "https://ll.thespacedevs.com/2.0.0/location/143/?format=api",
            "name": "SpaceX Starbase, TX, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_143_20200803142438.jpg",
            "total_launch_count": 19,
            "total_landing_count": 13
        },
        {
            "id": 13,
            "url": "https://ll.thespacedevs.com/2.0.0/location/13/?format=api",
            "name": "Guiana Space Centre, French Guiana",
            "country_code": "GUF",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
            "total_launch_count": 327,
            "total_landing_count": 0
        },
        {
            "id": 166,
            "url": "https://ll.thespacedevs.com/2.0.0/location/166/?format=api",
            "name": "Spaceport Kii, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_space_port_kii252c_japan_20240126073749.jpg",
            "total_launch_count": 2,
            "total_landing_count": 0
        },
        {
            "id": 2,
            "url": "https://ll.thespacedevs.com/2.0.0/location/2/?format=api",
            "name": "Semnan Space Center, Islamic Republic of Iran",
            "country_code": "IRN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_2_20200803142458.jpg",
            "total_launch_count": 15,
            "total_landing_count": 0
        },
        {
            "id": 24,
            "url": "https://ll.thespacedevs.com/2.0.0/location/24/?format=api",
            "name": "Uchinoura Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_24_20200803142411.jpg",
            "total_launch_count": 43,
            "total_landing_count": 0
        },
        {
            "id": 8,
            "url": "https://ll.thespacedevs.com/2.0.0/location/8/?format=api",
            "name": "Wenchang Space Launch Site, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_8_20200803142445.jpg",
            "total_launch_count": 45,
            "total_landing_count": 0
        },
        {
            "id": 7,
            "url": "https://ll.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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_7_20200803142414.jpg",
            "total_launch_count": 7,
            "total_landing_count": 0
        },
        {
            "id": 32,
            "url": "https://ll.thespacedevs.com/2.0.0/location/32/?format=api",
            "name": "Hokkaido Spaceport, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_32_20200803142407.jpg",
            "total_launch_count": 7,
            "total_landing_count": 0
        },
        {
            "id": 164,
            "url": "https://ll.thespacedevs.com/2.0.0/location/164/?format=api",
            "name": "Koonibba Test Range, South Australia",
            "country_code": "AUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_koonibba_test_range252c_south_australia_20231114184328.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        }
    ]
}