Sri Lanka

Names and codes: GeoNames, CC BY 4.0 · Boundary: Natural Earth, public domain · Refresh date not recorded · Sources and licenses

Codes and identifiers

ISO alpha-2
LK
ISO alpha-3
LKA
ISO numeric
144
FIPS 10-4
CE
GeoNames ID
1227603

Key facts

Capital
Colombo
Area
65,610 km²
Population
21,670,000
Currency
Rupee (LKR)
Calling code
+94
Top-level domain
.lk
Official languages
si,ta,en

Continent

Name
Asia
Code
AS
In this dataset
51 countries

Asia in the country atlas

Location

Latitude
7.75
Longitude
80.75
Min latitude
5.923732815000051
Min longitude
79.65577233200008
Max latitude
9.829575914000088
Max longitude
81.89031009200005

Boundary

Sri Lanka

The API call behind this page

Request

curl -H "X-API-Key: YOUR_KEY" \
  "https://geosearch.dev/v1/countries/LK?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"

Response

{
  "data": {
    "area_sq_km": 65610,
    "capital": "Colombo",
    "continent_code": "AS",
    "currency_code": "LKR",
    "iso3_code": "LKA",
    "iso_code": "LK",
    "name": "Sri Lanka",
    "population": 21670000
  }
}

Formatted for reading. The API returns the same JSON on one line.

Other endpoints for this country

  • /v1/countries/LK/regions
  • /v1/cities?country=LK
  • /v1/postal-codes?country=LK
  • /v1/timezones?country=LK
Get a free API key

Name in other languages

Arabic
سريلانكا
Chinese
斯里兰卡
English
Sri Lanka
French
Sri Lanka
German
Sri Lanka
Hindi
श्रीलंका
Italian
Sri Lanka
Japanese
スリランカ
Korean
스리랑카
Portuguese
Sri Lanka
Russian
Шри-Ланка
Spanish
Sri Lanka
Total language variants
126

The API returns any of them with ?lang=.

Time zones

IANA ID UTC offset DST offset
Asia/Colombo UTC+05:30 UTC+05:30

Postal code format

Format
#####
Pattern
^(\d{5})$

First-level administrative regions

  • Western Province
  • Central Province
  • Southern Province
  • North Western Province
  • Sabaragamuwa Province
  • Eastern Province
  • Province of Uva
  • North Central Province
  • Northern Province

9 of 9 shown, largest first

Largest cities

City Population
Colombo 648,034
Dehiwala-Mount Lavinia 219,827
Maharagama 195,355
Jaffna 169,102
Moratuwa 168,280
Negombo 137,223
Pita Kotte 118,179
Sri Jayewardenepura Kotte 115,826
Kandy 111,701
Trincomalee 108,420

Coverage in this dataset

Cities
17,855
First-level regions
9
Postal codes
1,837
Name languages
126
Boundary polygon
Yes

What GeoSearch holds for this country in the current dataset. Counts change with each refresh.

Query this data yourself

The free tier includes every endpoint: 5,000 requests a month, no card.