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
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=10",
    "previous": null,
    "results": [
        {
            "id": 19,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/19/?format=api",
            "name": "Taiyuan Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
            "total_launch_count": 145,
            "total_landing_count": 0
        },
        {
            "id": 29,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/29/?format=api",
            "name": "Corn Ranch, Van Horn, TX, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_29_20200803142436.jpg",
            "total_launch_count": 34,
            "total_landing_count": 34
        },
        {
            "id": 32,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/32/?format=api",
            "name": "Hokkaido Spaceport, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_32_20200803142407.jpg",
            "total_launch_count": 7,
            "total_landing_count": 0
        },
        {
            "id": 160,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/160/?format=api",
            "name": "Arnhem Space Centre",
            "country_code": "AUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_arnhem_space_centre_20220622160552.jpg",
            "total_launch_count": 3,
            "total_landing_count": 0
        },
        {
            "id": 12,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "total_launch_count": 1052,
            "total_landing_count": 68
        },
        {
            "id": 155,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/155/?format=api",
            "name": "White Sands Missile Range",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_white_sands_missile_range_20210901072636.jpg",
            "total_launch_count": 5,
            "total_landing_count": 0
        },
        {
            "id": 27,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/27/?format=api",
            "name": "Kennedy Space Center, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
            "total_launch_count": 272,
            "total_landing_count": 0
        },
        {
            "id": 2,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/2/?format=api",
            "name": "Semnan Space Center, Islamic Republic of Iran",
            "country_code": "IRN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_2_20200803142458.jpg",
            "total_launch_count": 15,
            "total_landing_count": 0
        },
        {
            "id": 18,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/18/?format=api",
            "name": "Vostochny Cosmodrome, Siberia, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_18_20200803142401.jpg",
            "total_launch_count": 20,
            "total_landing_count": 0
        },
        {
            "id": 25,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/25/?format=api",
            "name": "Pacific Spaceport Complex, Alaska, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_25_20200803142500.jpg",
            "total_launch_count": 9,
            "total_landing_count": 0
        }
    ]
}