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://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": 4,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/4/?format=api",
            "name": "Palmachim Airbase, State of Israel",
            "country_code": "ISR",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_4_20200803142418.jpg",
            "total_launch_count": 13,
            "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": 17,
            "url": "https://lldev.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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
            "total_launch_count": 259,
            "total_landing_count": 0
        },
        {
            "id": 30,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/30/?format=api",
            "name": "Kapustin Yar, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
            "total_launch_count": 101,
            "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
        },
        {
            "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": 1558,
            "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": 232,
            "total_landing_count": 0
        },
        {
            "id": 146,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/146/?format=api",
            "name": "Svobodny Cosmodrome, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_146_20200803142450.jpg",
            "total_launch_count": 5,
            "total_landing_count": 0
        }
    ]
}