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": 52,
    "next": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=50",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=30",
    "results": [
        {
            "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": 20,
            "total_landing_count": 13
        },
        {
            "id": 145,
            "url": "https://lldev.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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_145_20200803142443.jpg",
            "total_launch_count": 6,
            "total_landing_count": 0
        },
        {
            "id": 153,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/153/?format=api",
            "name": "Tonghae Satellite Launching Ground",
            "country_code": "PRK",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_153_20200803142503.jpg",
            "total_launch_count": 2,
            "total_landing_count": 0
        },
        {
            "id": 178,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/178/?format=api",
            "name": "Esrange Space Center",
            "country_code": "SWE",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_esrange_space_center_20241208021356.jpg",
            "total_launch_count": 0,
            "total_landing_count": 0
        },
        {
            "id": 151,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/151/?format=api",
            "name": "Broglio Space Center, Kenya",
            "country_code": "ITA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_151_20200803142409.jpg",
            "total_launch_count": 9,
            "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": 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": 15,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/15/?format=api",
            "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
            "country_code": "KAZ",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
            "total_launch_count": 1559,
            "total_landing_count": 0
        },
        {
            "id": 16,
            "url": "https://lldev.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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_16_20200803142513.jpg",
            "total_launch_count": 235,
            "total_landing_count": 0
        },
        {
            "id": 142,
            "url": "https://lldev.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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_142_20200803142511.jpg",
            "total_launch_count": 5,
            "total_landing_count": 0
        }
    ]
}