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=10
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=20",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10",
    "results": [
        {
            "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": 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": 147,
            "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": 82,
            "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": 100,
            "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": 36,
            "total_landing_count": 36
        },
        {
            "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": 147,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/147/?format=api",
            "name": "Interarmy Special Vehicles Test Centre, French Algeria",
            "country_code": "FRA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_147_20240808092142.jpg",
            "total_launch_count": 4,
            "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": 327,
            "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": 60,
            "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
        }
    ]
}