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": 150,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/150/?format=api",
            "name": "Alcântara Space Center, Federative Republic of Brazil",
            "country_code": "BRA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_150_20200803142405.jpg",
            "total_launch_count": 2,
            "total_landing_count": 0
        },
        {
            "id": 31,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/31/?format=api",
            "name": "Spaceport America, NM, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_31_20200803142505.jpg",
            "total_launch_count": 4,
            "total_landing_count": 4
        },
        {
            "id": 151,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/151/?format=api",
            "name": "Broglio Space Center, Kenya",
            "country_code": "ITA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_151_20200803142409.jpg",
            "total_launch_count": 9,
            "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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
            "total_launch_count": 142,
            "total_landing_count": 0
        },
        {
            "id": 24,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/24/?format=api",
            "name": "Uchinoura Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_24_20200803142411.jpg",
            "total_launch_count": 43,
            "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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "total_launch_count": 1038,
            "total_landing_count": 65
        },
        {
            "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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
            "total_launch_count": 325,
            "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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_18_20200803142401.jpg",
            "total_launch_count": 19,
            "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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_147_20240808092142.jpg",
            "total_launch_count": 4,
            "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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_sutherland_spaceport_20220511180155.jpg",
            "total_launch_count": 0,
            "total_landing_count": 0
        }
    ]
}