Skip to content
CityAPI.ORG

SHANGHAI

Shanghai · CHINA (CN) · 31.22°N / 121.46°E

23
ADM1 · ID GeoNames 1,796,236

Shanghai is a city in China with a population of 24,874,500. It sits at 31.22/121.46, runs on Asia/Shanghai, is 1 km from Luwan.

Population 24,874,500
Place Type Regional Capital
Elevation n/a
Timezone Asia/Shanghai

All facts

fields
Country
China
Subdivision
Shanghai
Coords
31.22°N / 121.46°E
UTC offset
+8
DST
Observed

Proximity

nearest 10 · within 50 km
S Luwan Shanghai 0 1.5 km
NE Huangpu Shanghai 504,700 2.6 km
S Xuhui Shanghai 1,109,800 3.1 km
W Changning Shanghai 694,900 3.6 km
W Jing’an Shanghai 936,500 4.0 km
N Zhabei Shanghai 840,000 4.0 km
NE Hongkou Shanghai 687,500 4.3 km
NE Pudong Shanghai 5,681,512 4.5 km
NW Putuo Shanghai 1,239,100 7.3 km
NE Yangpu Shanghai 1,210,800 7.3 km

Air access

nearby

Universities

linked

FAQ

3 questions
What is the population of Shanghai?
24,874,500 people, per GeoNames.
Which timezone is Shanghai in?
Asia/Shanghai.
Which country is Shanghai in?
China (CN).

Get this page as JSON

no auth
cURL 200 OK
$ curl https://api.cityapi.org/v1/cities/1796236

{
  "data": {
    "id": 1796236,
    "name": "Shanghai",
    "ascii_name": "Shanghai",
    "country_code": "CN",
    "population": 24874500,
    "elevation": null,
    "timezone_id": "Asia/Shanghai",
    "feature_class": "P",
    "feature_code": "PPLA",
    "latitude": 31.22222,
    "longitude": 121.45806
  }
}
CITYAPI · STATION BERLIN/DE · DATUM/2026-04-21 · BUILT BY BROTCODE Terms · Privacy · Impressum ·