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=40
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=50",
    "previous": "https://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=30",
    "results": [
        {
            "id": 4,
            "url": "https://ll.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
        },
        {
            "id": 9,
            "url": "https://ll.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": 14,
            "url": "https://ll.thespacedevs.com/2.0.0/location/14/?format=api",
            "name": "Satish Dhawan Space Centre, India",
            "country_code": "IND",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_14_20200803142403.jpg",
            "total_launch_count": 98,
            "total_landing_count": 0
        },
        {
            "id": 153,
            "url": "https://ll.thespacedevs.com/2.0.0/location/153/?format=api",
            "name": "Tonghae Satellite Launching Ground",
            "country_code": "PRK",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_153_20200803142503.jpg",
            "total_launch_count": 2,
            "total_landing_count": 0
        },
        {
            "id": 30,
            "url": "https://ll.thespacedevs.com/2.0.0/location/30/?format=api",
            "name": "Kapustin Yar, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
            "total_launch_count": 101,
            "total_landing_count": 0
        },
        {
            "id": 178,
            "url": "https://ll.thespacedevs.com/2.0.0/location/178/?format=api",
            "name": "Esrange Space Center",
            "country_code": "SWE",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_esrange_space_center_20241208021356.jpg",
            "total_launch_count": 0,
            "total_landing_count": 0
        },
        {
            "id": 15,
            "url": "https://ll.thespacedevs.com/2.0.0/location/15/?format=api",
            "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
            "country_code": "KAZ",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
            "total_launch_count": 1555,
            "total_landing_count": 0
        },
        {
            "id": 16,
            "url": "https://ll.thespacedevs.com/2.0.0/location/16/?format=api",
            "name": "Xichang Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_16_20200803142513.jpg",
            "total_launch_count": 224,
            "total_landing_count": 0
        },
        {
            "id": 142,
            "url": "https://ll.thespacedevs.com/2.0.0/location/142/?format=api",
            "name": "Ronald Reagan Ballistic Missile Defense Test Site, Kwajalein Atoll, Marshall Islands",
            "country_code": "MHL",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_142_20200803142511.jpg",
            "total_launch_count": 5,
            "total_landing_count": 0
        },
        {
            "id": 5,
            "url": "https://ll.thespacedevs.com/2.0.0/location/5/?format=api",
            "name": "Dombarovskiy, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_5_20200803142425.jpg",
            "total_launch_count": 10,
            "total_landing_count": 0
        }
    ]
}