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": 52,
    "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": 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": 24,
            "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": 331,
            "total_landing_count": 0
        },
        {
            "id": 8,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/8/?format=api",
            "name": "Wenchang Space Launch Site, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_8_20200803142445.jpg",
            "total_launch_count": 58,
            "total_landing_count": 0
        },
        {
            "id": 21,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/21/?format=api",
            "name": "Wallops Flight Facility, Virginia, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_21_20200803142423.jpg",
            "total_launch_count": 85,
            "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": 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": 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": 8,
            "total_landing_count": 0
        },
        {
            "id": 144,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/144/?format=api",
            "name": "Air launch to Suborbital flight",
            "country_code": "???",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_144_20200803142439.jpg",
            "total_launch_count": 86,
            "total_landing_count": 0
        },
        {
            "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": 14,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/14/?format=api",
            "name": "Satish Dhawan Space Centre, India",
            "country_code": "IND",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_14_20200803142403.jpg",
            "total_launch_count": 103,
            "total_landing_count": 0
        }
    ]
}