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://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=30",
    "previous": "https://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
    "results": [
        {
            "id": 143,
            "url": "https://ll.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": 17,
            "total_landing_count": 13
        },
        {
            "id": 163,
            "url": "https://ll.thespacedevs.com/2.0.0/location/163/?format=api",
            "name": "El Arenosillo Test Centre",
            "country_code": "ESP",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_163_20240111100612.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 24,
            "url": "https://ll.thespacedevs.com/2.0.0/location/24/?format=api",
            "name": "Uchinoura Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_24_20200803142411.jpg",
            "total_launch_count": 43,
            "total_landing_count": 0
        },
        {
            "id": 31,
            "url": "https://ll.thespacedevs.com/2.0.0/location/31/?format=api",
            "name": "Spaceport America, NM, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_31_20200803142505.jpg",
            "total_launch_count": 4,
            "total_landing_count": 4
        },
        {
            "id": 32,
            "url": "https://ll.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": 150,
            "url": "https://ll.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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_150_20200803142405.jpg",
            "total_launch_count": 2,
            "total_landing_count": 0
        },
        {
            "id": 13,
            "url": "https://ll.thespacedevs.com/2.0.0/location/13/?format=api",
            "name": "Guiana Space Centre, French Guiana",
            "country_code": "GUF",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
            "total_launch_count": 325,
            "total_landing_count": 0
        },
        {
            "id": 17,
            "url": "https://ll.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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
            "total_launch_count": 248,
            "total_landing_count": 0
        },
        {
            "id": 145,
            "url": "https://ll.thespacedevs.com/2.0.0/location/145/?format=api",
            "name": "Shahrud Missile Test Site, Islamic Republic of Iran",
            "country_code": "IRN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_145_20200803142443.jpg",
            "total_launch_count": 6,
            "total_landing_count": 0
        },
        {
            "id": 6,
            "url": "https://ll.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": 1674,
            "total_landing_count": 0
        }
    ]
}