POI Lookup

Platform: API iOS Android

POI Lookup API provides basic information of POI(scenic spot, tide stations, currents stations, etc.)

Interface Code Interface Class
getGeoPoiLookup POI lookup GeoPoiBean


  • location(required)The location to be queried, support text, LocationID, comma-separated longitude and latitude (decimal, up to 2 decimal places), Adcode(Chinese cities only). For example: location=beijing or location=116.41,39.92
  • type(required)Choose to search for a certain type of POI.
    • scenic Scenic Spot
    • CSTA Currents Station
    • TSTA Tide Station
  • citySearch for POI within a given city. The city name can be text or the city’s LocationID.
    The city name is an exact match. It is recommended to use LocaitonID. If the text cannot be matched, the data returned will be empty.
  • numberNumber of the results in response, from 1 to 20, 10 is the default.
  • langMulti-language, default Chinese, if data does not match the language you set, it will return in English or its native language. Language parameter please refer to Language

Sample Code

QWeather.getGeoPoiLookup(Context context, String location, String city, int number, Type type, Lang lang, final OnResultGeoPoiListener listener);

QWeather.getGeoPoiLookup(Context context, String location, Type type, final QWeather.OnResultGeoPoiListener listener);


Properties of GeoPoiBean

Property Description Example
getCode Status code, please refer to Status Code Code
getPoiList City data List<Poi>


Property Description Example
getSourcesList Data source and other statements qweather.com
getLicenseList Data license commercial license


Property Description Example
getName POI name Nanshan District
getId Location ID 101280604
getLon Longitude of the POI 22.53122
getLat Latitude of the POI 113.92942
getAdm2 Name of the superior administrative division of the POI Shenzhen
getAdm1 The first-level administrative region to which the POI belongs Guangdong Province
getCountry Country name of the POI China
getTz Timezone of the POI Asia/Shanghai
getUtcOffset The number of hours offset between local time and UTC time, refer to UTC-Offset +08:00
getIsDst Is the location currently observing Daylight Saving time
1 in daylight saving time
0 not in daylight saving time
getType POI type scenic
getRank Location Rank 10