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=30
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "count": 51,
    "next": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=40",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=20",
    "results": [
        {
            "id": 11,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/11/?format=api",
            "name": "Vandenberg SFB, CA, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
            "total_launch_count": 816,
            "total_landing_count": 26
        },
        {
            "id": 1,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/1/?format=api",
            "name": "Pacific Missile Range Facility, Barking Sands, HI, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_1_20200803142427.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 161,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/161/?format=api",
            "name": "Andøya Spaceport",
            "country_code": "NOR",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_161_20240109072235.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 2,
            "url": "https://lldev.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": 32,
            "url": "https://lldev.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": 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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_152_20200803142502.jpg",
            "total_launch_count": 6,
            "total_landing_count": 0
        },
        {
            "id": 6,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/6/?format=api",
            "name": "Plesetsk Cosmodrome, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_6_20200803142434.jpg",
            "total_launch_count": 1676,
            "total_landing_count": 0
        },
        {
            "id": 29,
            "url": "https://lldev.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": 33,
            "total_landing_count": 33
        },
        {
            "id": 8,
            "url": "https://lldev.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": 39,
            "total_landing_count": 0
        },
        {
            "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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_4_20200803142418.jpg",
            "total_launch_count": 12,
            "total_landing_count": 0
        }
    ]
}