Address
Find a location by an address
Address
GET https://api.fatos.biz/onemap/api/search/POSTAL
Returns search results based on address search queries and coordinate settings Example API Call: https://api.fatos.biz/onemap/api/search/POSTAL?key=YOUR_API_KEY&kwd=323038383532&stype=1&cy=37.4823953&cx=126.89619959999999&sy=1.306670612&sx=103.85641650000001&pno=1&pgcnt=10
Query Parameters
Name
Type
Description
key
string
Your API Key.
kwd
string
Search word (string to hex encoding) {Ogeumno182} to {ec98a4eab888eba19c313832}
stype
string
Search type: 1 (for postal search) 2 (for address search)
cx
string
User's current location X coordinate (wgs84) (Longitude)
cy
string
User's current location Y coordinate (wgs84) (Latitude)
{
"pgno":1,
"cnt":4,
"totalCnt":4,
"totalpg":1,
"items":[
{
"name":"CENTRAL 65 HOSTEL & CAFE",
"addr":"134A JALAN BESAR CENTRAL 65 HOSTEL & CAFE SINGAPORE 208852",
"posx":103.8564012,
"posy":1.306686455,
"postal":"208852",
"dist":4015375
},
{
"name":"CENTRAL 65 HOSTEL & CAFE",
"addr":"134C JALAN BESAR CENTRAL 65 HOSTEL & CAFE SINGAPORE 208852",
"posx":103.8564012,
"posy":1.306686455,
"postal":"208852",
"dist":4015375
},
{
"name":"CENTRAL 65 HOSTEL & CAFE",
"addr":"134 JALAN BESAR CENTRAL 65 HOSTEL & CAFE SINGAPORE 208852",
"posx":103.85641650000001,
"posy":1.306670612,
"postal":"208852",
"dist":4015377
},
{
"name":"CENTRAL 65 HOSTEL & CAFE",
"addr":"134B JALAN BESAR CENTRAL 65 HOSTEL & CAFE SINGAPORE 208852",
"posx":103.8564012,
"posy":1.306686455,
"postal":"208852",
"dist":4015375
}
]
}Last updated
Was this helpful?