API Documentation

API endpoint that allows details of a Territory to be viewed.

Test the API

Make a GET request (json)

Make a GET request (api)

Request

GET /tools/api/v1.0/localisation/territory/EU/?format=api

Response

HTTP 200 OK
      Allow: GET, HEAD, OPTIONS
      Content-Type: application/json
      Vary: Accept
      {
    "url": "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/EU/?format=api",
    "code": "EU",
    "name": "European Union",
    "super_territories": [],
    "sub_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/RO/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/BG/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SK/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SI/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/PT/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/PL/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/NL/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/MT/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/LV/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/LU/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/LT/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/IT/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/IE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/HU/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/HR/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GR/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GB/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/FR/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/FI/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/ES/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/EE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/DK/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/DE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/CZ/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/CY/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/BE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/AT/?format=api"
    ],
    "territorywritingsystem_set": [],
    "territory_type": "Country",
    "gdp": 0,
    "population": 0,
    "literacyPercent": 0.0
}