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": 52,
    "next": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=40",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=20",
    "results": [
        {
            "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": 36,
            "total_landing_count": 36
        },
        {
            "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": 148,
            "total_landing_count": 0
        },
        {
            "id": 159,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/159/?format=api",
            "name": "Sutherland Spaceport",
            "country_code": "GBR",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_sutherland_spaceport_20220511180155.jpg",
            "total_launch_count": 0,
            "total_landing_count": 0
        },
        {
            "id": 13,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/13/?format=api",
            "name": "Guiana Space Centre, French Guiana",
            "country_code": "GUF",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
            "total_launch_count": 329,
            "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": 162,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/162/?format=api",
            "name": "Edwards Air Force Base",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_edwards_air_force_base_20230422085221.jpg",
            "total_launch_count": 0,
            "total_landing_count": 0
        },
        {
            "id": 6,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/6/?format=api",
            "name": "Plesetsk Cosmodrome, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_6_20200803142434.jpg",
            "total_launch_count": 1679,
            "total_landing_count": 0
        },
        {
            "id": 185,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/185/?format=api",
            "name": "Haiyang Oriental Spaceport",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_haiyang_oriental_spaceport_20251128181322.jpg",
            "total_launch_count": 21,
            "total_landing_count": 0
        },
        {
            "id": 163,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/163/?format=api",
            "name": "El Arenosillo Test Centre",
            "country_code": "ESP",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_163_20240111100612.jpg",
            "total_launch_count": 1,
            "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
        }
    ]
}