https://api.longdo.com/map/services/address
Request Method: GET/POST
Format: application/x-www-form-urlencoded
string id: Search with Longdo Map ID (
Optional)
number lon: Search with longitude if id isn't provide (
Optional)
number lat: Search with latitude if id isn't provide (
Optional)
LocaleCode locale: Language in ISO 639-1 format (
Default: th)
any noadmin: Don't include geocode/province/district/subdistrict in the response (
Default: Include)
any nopostcode: Don't include postcode in the response (
Default: Include)
any noelevation: Don't include elevation in the response (
Default: Include)
any noroad: Don't include road in the response (
Default: Include)
any noaoi: Don't include area of interest in the response (
Default: Include)
any nowater: Don't include water body in the response (
Default: Include)
string key: Longdo Map API Key
string callback: JSONP Callback function (
Default: Response in JSON)
Response Format: JSON
string geocode: Thailand geocode or ISO 3116-1 alpha-2 / ISO 3166-2
string country: Country
string province: Province or first-level administrative division
string district: District or second-level administrative division
string subdistrict: Subdistrict or third-level administrative division
string moo: Village number, if avaliable
string moo_name: Village name, if avaliable
string house_num: House number, if avaliable
string postcode: Thailand postcode
string aoi: Area of interest, if avaliable
string water: Water body, if exist
number elevation: Elevation in meters, if avaliable
string road: Road name, if exist
number road_lon: Nearest position on road
number road_lat: Nearest position on road
On Error
string error: Error message
Example