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=10
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=20",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10",
    "results": [
        {
            "id": 26,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/26/?format=api",
            "name": "Tanegashima Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_26_20200803142507.jpg",
            "total_launch_count": 96,
            "total_landing_count": 0
        },
        {
            "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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_8_20200803142445.jpg",
            "total_launch_count": 52,
            "total_landing_count": 0
        },
        {
            "id": 27,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/27/?format=api",
            "name": "Kennedy Space Center, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
            "total_launch_count": 278,
            "total_landing_count": 0
        },
        {
            "id": 156,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/156/?format=api",
            "name": "Whalers Way Orbital Launch Complex, South Australia",
            "country_code": "AUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_whalers_way_orbital_launch_complex_20210910042508.jpg",
            "total_launch_count": 1,
            "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": 83,
            "total_landing_count": 0
        },
        {
            "id": 3,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/3/?format=api",
            "name": "Sea Launch",
            "country_code": "???",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_3_20200803142448.jpg",
            "total_launch_count": 40,
            "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": 147,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/147/?format=api",
            "name": "Interarmy Special Vehicles Test Centre, French Algeria",
            "country_code": "FRA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_147_20240808092142.jpg",
            "total_launch_count": 4,
            "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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_bowen_orbital_spaceport_20250227073649.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 14,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/14/?format=api",
            "name": "Satish Dhawan Space Centre, India",
            "country_code": "IND",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_14_20200803142403.jpg",
            "total_launch_count": 101,
            "total_landing_count": 0
        }
    ]
}