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": 10,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/10/?format=api",
            "name": "Rocket Lab Launch Complex 1, Mahia Peninsula, New Zealand",
            "country_code": "NZL",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_10_20200803142509.jpg",
            "total_launch_count": 62,
            "total_landing_count": 17
        },
        {
            "id": 3,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/3/?format=api",
            "name": "Sea Launch",
            "country_code": "???",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_3_20200803142448.jpg",
            "total_launch_count": 56,
            "total_landing_count": 0
        },
        {
            "id": 181,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/181/?format=api",
            "name": "Bowen Orbital Spaceport",
            "country_code": "AUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_bowen_orbital_spaceport_20250227073649.jpg",
            "total_launch_count": 0,
            "total_landing_count": 0
        },
        {
            "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": 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": 162,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/162/?format=api",
            "name": "Edwards Air Force Base",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_edwards_air_force_base_20230422085221.jpg",
            "total_launch_count": 0,
            "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": 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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_9_20200803142441.jpg",
            "total_launch_count": 7,
            "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": 143,
            "url": "https://lldev.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": 18,
            "total_landing_count": 13
        }
    ]
}