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": 51,
    "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": 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": 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": 80,
            "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": 45,
            "total_landing_count": 0
        },
        {
            "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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_143_20200803142438.jpg",
            "total_launch_count": 19,
            "total_landing_count": 13
        },
        {
            "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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_152_20200803142502.jpg",
            "total_launch_count": 6,
            "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": 157,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/157/?format=api",
            "name": "SaxaVord Spaceport",
            "country_code": "GBR",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_saxavord_spaceport_20211102161146.jpg",
            "total_launch_count": 0,
            "total_landing_count": 0
        },
        {
            "id": 31,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/31/?format=api",
            "name": "Spaceport America, NM, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_31_20200803142505.jpg",
            "total_launch_count": 4,
            "total_landing_count": 4
        },
        {
            "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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_161_20240109072235.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": 2,
            "total_landing_count": 0
        }
    ]
}