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/BG/?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/BG/?format=api",
    "code": "BG",
    "name": "Bulgaria",
    "super_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/EU/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/151/?format=api"
    ],
    "sub_territories": [],
    "territorywritingsystem_set": [],
    "territory_type": "Country",
    "gdp": 123300000000,
    "population": 6924720,
    "literacyPercent": 98.4
}