> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.wynncraft.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.wynncraft.com/_mcp/server.

# List territories

GET https://api.wynncraft.com/v3/guild/list/territory

This endpoint is cached for 10 seconds in the SHARED cache source.   See [Caching](/welcome#caching).  This endpoint belongs to the GUILD rate-limit bucket. See [Throttling and Rate Limits](/welcome#throttling-and-rate-limits).

The `resources` field is refreshed every 1 minute. All other territory fields continue to refresh every 10 seconds.

Reference: https://docs.wynncraft.com/modules/guild/list-guild-territories

## Response

### 200

Territory ownership map keyed by territory name.

- `map from string to Territory`

## Errors

### 500 Internal Server Error

Territory list cache could not be loaded.

- `error` (string, required)
- `detail` (string, required)
- `code` (integer, required)

## Types

### Territory

- `guild` (TerritoryGuildReference, required)
- `acquired` (datetime, required)
- `hq` (boolean, required) — Whether this territory is currently a headquarters.
- `resources` (list of TerritoryResource, required)
- `links` (list of string, required) — Connected territory names for the current territory.
- `treasury` (enum, required)
  - Allowed values: `VERY_LOW`, `LOW`, `MEDIUM`, `HIGH`, `VERY_HIGH`
- `defences` (enum, required)
  - Allowed values: `VERY_LOW`, `LOW`, `MEDIUM`, `HIGH`, `VERY_HIGH`
- `location` (TerritoryLocation, required)

### TerritoryGuildReference

- `uuid` (string, required)
- `name` (string, required)
- `prefix` (string, required)
- `hq` (string, required) — Territory name of the current headquarters for the owning guild.

### TerritoryResource

- `type` (enum, required)
  - Allowed values: `EMERALD`, `ORE`, `WOOD`, `FISH`, `CROP`
- `generation` (integer, required) — Amount generated per hour.
- `stored` (integer, required) — Amount currently stored.
- `limit` (integer, required) — Maximum amount the territory can hold.

### TerritoryLocation

- `start` (list of any, required)
- `end` (list of any, required)

## Examples

**Response**

```json
{
  "Ragni": {
    "guild": {
      "uuid": "adb5f0b5-5289-439c-9293-a29d220e7152",
      "name": "Spectral Cabbage",
      "prefix": "SPC",
      "hq": "Detlas"
    },
    "acquired": "2026-04-23T14:33:23.733000Z",
    "hq": false,
    "resources": [
      {
        "type": "EMERALD",
        "generation": 3600,
        "stored": 1800,
        "limit": 9000
      },
      {
        "type": "ORE",
        "generation": 900,
        "stored": 450,
        "limit": 2400
      }
    ],
    "links": [
      "Katoa Ranch",
      "Maltic"
    ],
    "treasury": "MEDIUM",
    "defences": "HIGH",
    "location": {
      "start": [
        -955,
        -1415
      ],
      "end": [
        -756,
        -1748
      ]
    }
  }
}
```

**SDK Code**

```python Territory ownership keyed by territory name
import requests

url = "https://api.wynncraft.com/v3/guild/list/territory"

response = requests.get(url)

print(response.json())
```

```javascript Territory ownership keyed by territory name
const url = 'https://api.wynncraft.com/v3/guild/list/territory';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Territory ownership keyed by territory name
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.wynncraft.com/v3/guild/list/territory"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Territory ownership keyed by territory name
require 'uri'
require 'net/http'

url = URI("https://api.wynncraft.com/v3/guild/list/territory")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java Territory ownership keyed by territory name
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.wynncraft.com/v3/guild/list/territory")
  .asString();
```

```php Territory ownership keyed by territory name
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.wynncraft.com/v3/guild/list/territory');

echo $response->getBody();
```

```csharp Territory ownership keyed by territory name
using RestSharp;

var client = new RestClient("https://api.wynncraft.com/v3/guild/list/territory");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift Territory ownership keyed by territory name
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.wynncraft.com/v3/guild/list/territory")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```