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://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=40",
    "previous": "https://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=20",
    "results": [
        {
            "id": 20,
            "url": "https://ll.thespacedevs.com/2.0.0/location/20/?format=api",
            "name": "Air launch to orbit",
            "country_code": "???",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
            "total_launch_count": 51,
            "total_landing_count": 0
        },
        {
            "id": 26,
            "url": "https://ll.thespacedevs.com/2.0.0/location/26/?format=api",
            "name": "Tanegashima Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_26_20200803142507.jpg",
            "total_launch_count": 94,
            "total_landing_count": 0
        },
        {
            "id": 29,
            "url": "https://ll.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": 31,
            "total_landing_count": 31
        },
        {
            "id": 159,
            "url": "https://ll.thespacedevs.com/2.0.0/location/159/?format=api",
            "name": "Sutherland Spaceport",
            "country_code": "GBR",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_sutherland_spaceport_20220511180155.jpg",
            "total_launch_count": 0,
            "total_landing_count": 0
        },
        {
            "id": 181,
            "url": "https://ll.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": 162,
            "url": "https://ll.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": 1,
            "url": "https://ll.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": 2,
            "url": "https://ll.thespacedevs.com/2.0.0/location/2/?format=api",
            "name": "Semnan Space Center, Islamic Republic of Iran",
            "country_code": "IRN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_2_20200803142458.jpg",
            "total_launch_count": 15,
            "total_landing_count": 0
        },
        {
            "id": 152,
            "url": "https://ll.thespacedevs.com/2.0.0/location/152/?format=api",
            "name": "RAAF Woomera Range Complex",
            "country_code": "AUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_152_20200803142502.jpg",
            "total_launch_count": 6,
            "total_landing_count": 0
        },
        {
            "id": 157,
            "url": "https://ll.thespacedevs.com/2.0.0/location/157/?format=api",
            "name": "SaxaVord Spaceport",
            "country_code": "GBR",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_saxavord_spaceport_20211102161146.jpg",
            "total_launch_count": 0,
            "total_landing_count": 0
        }
    ]
}