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=20
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=30",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
    "results": [
        {
            "id": 1,
            "url": "https://lldev.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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_1_20200803142427.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 9,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/9/?format=api",
            "name": "Naro Space Center, South Korea",
            "country_code": "KOR",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_9_20200803142441.jpg",
            "total_launch_count": 7,
            "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": 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": 144,
            "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": 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": 20,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/20/?format=api",
            "name": "Air launch to orbit",
            "country_code": "???",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
            "total_launch_count": 51,
            "total_landing_count": 0
        },
        {
            "id": 166,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/166/?format=api",
            "name": "Spaceport Kii, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_space_port_kii252c_japan_20240126073749.jpg",
            "total_launch_count": 2,
            "total_landing_count": 0
        },
        {
            "id": 26,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/26/?format=api",
            "name": "Tanegashima Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_26_20200803142507.jpg",
            "total_launch_count": 95,
            "total_landing_count": 0
        },
        {
            "id": 3,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/3/?format=api",
            "name": "Sea Launch",
            "country_code": "???",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_3_20200803142448.jpg",
            "total_launch_count": 57,
            "total_landing_count": 0
        }
    ]
}