Afghanistan

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
AF
ISO alpha-3
AFG
ISO numeric
004
FIPS 10-4
AF
GeoNames ID
1149361

Key facts

Capital
Kabul
Area
647,500 km²
Population
37,172,386
Currency
Afghani (AFN)
Calling code
+93
Top-level domain
.af
Official languages
fa-AF,ps,uz-AF,tk

Continent

Name
Asia
Code
AS
In this dataset
51 countries

Asia in the country atlas

Location

Latitude
33
Longitude
66
Min latitude
29.386605326000037
Min longitude
60.48677779100012
Max latitude
38.47367340200013
Max longitude
74.89230676300008

Boundary

Afghanistan

The API call behind this page

Request

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

Response

{
  "data": {
    "area_sq_km": 647500,
    "capital": "Kabul",
    "continent_code": "AS",
    "currency_code": "AFN",
    "iso3_code": "AFG",
    "iso_code": "AF",
    "name": "Afghanistan",
    "population": 37172386
  }
}

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

Other endpoints for this country

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

Name in other languages

Arabic
أفغانستان
Chinese
阿富汗
English
Afghanistan
French
Afghanistan
German
Afghanistan
Hindi
अफ़गानिस्तान
Italian
Afghanistan
Japanese
アフガニスタン
Korean
아프가니스탄
Portuguese
Afeganistão
Russian
Афганистан
Spanish
Afganistán
Total language variants
185

The API returns any of them with ?lang=.

Time zones

IANA ID UTC offset DST offset
Asia/Kabul UTC+04:30 UTC+04:30

First-level administrative regions

  • Wilāyat-e Kābul
  • Herāt
  • Nangarhār
  • Helmand
  • Kandahār
  • Wilāyat-e Ghaznī
  • Balkh
  • Kunduz
  • Faryab Province
  • Wilāyat-e Takhār
  • Badakhshān
  • Wilāyat-e Baghlān
  • Wilāyat-e Paktīkā
  • Wilāyat-e Ghōr
  • Parwān
  • Wardak
  • Velāyat-e Khowst
  • Sar-e Pul
  • Wilāyat-e Paktiyā
  • Wilāyat-e Jowzjān
  • Farāh
  • Bādghīs
  • Daykundi Province
  • Wilāyat-e Kunaṟ

24 of 34 shown, largest first

Largest cities

City Population
Kabul 4,434,550
Herāt 574,300
Kandahār 523,300
Mazār-e Sharīf 523,300
Jalālābād 271,900
Kunduz 161,902
Ghazni 141,000
Balkh 114,883
Baghlān 108,449
Gardez 103,601

Coverage in this dataset

Cities
32,574
First-level regions
34
Postal codes
0
Name languages
185
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.