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&offset=20
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=30",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
    "results": [
        {
            "id": 9,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/9/?format=api",
            "name": "Naro Space Center, South Korea",
            "country_code": "KOR",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_9_20200803142441.jpg",
            "total_launch_count": 8,
            "total_landing_count": 0
        },
        {
            "id": 17,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/17/?format=api",
            "name": "Jiuquan Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
            "total_launch_count": 271,
            "total_landing_count": 1
        },
        {
            "id": 164,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/164/?format=api",
            "name": "Koonibba Test Range, South Australia",
            "country_code": "AUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_koonibba_test_range252c_south_australia_20231114184328.jpg",
            "total_launch_count": 1,
            "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": 3,
            "total_landing_count": 0
        },
        {
            "id": 18,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/18/?format=api",
            "name": "Vostochny Cosmodrome, Siberia, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_18_20200803142401.jpg",
            "total_launch_count": 20,
            "total_landing_count": 0
        },
        {
            "id": 12,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "total_launch_count": 1074,
            "total_landing_count": 70
        },
        {
            "id": 4,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/4/?format=api",
            "name": "Palmachim Airbase, State of Israel",
            "country_code": "ISR",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_4_20200803142418.jpg",
            "total_launch_count": 13,
            "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
        },
        {
            "id": 24,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/24/?format=api",
            "name": "Uchinoura Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_24_20200803142411.jpg",
            "total_launch_count": 43,
            "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
        }
    ]
}