GET https://api.geocodxyz.rebuscando.info/public/getCoords
Parameters:
apikey (mandatory)
postaladdress (mandatory)
city (optional)
state (optional)
country (optional)
Example 1:
REQUEST:
GET https://https://api.geocodxyz.rebuscando.info/public/getCoords?apikey=453bdad2-1f8a-4960-b750-e2b9a834cf37&postaladdress=130 High St, Smethwick B66 3AP, UK
RESPONSE:
{
“postaladdress”: “130 high st, smethwick b66 3ap, uk”,
“lat”: 52.4891839,
“lon”: -1.9660309
}
Example 2:
REQUEST:
GET https://api.geocodxyz.rebuscando.info/public/getCoords?apikey=453bdad2-1f8a-4960-b750-e2b9a834cf37&city=Smethwick &country=UK&postaladdress=130 High St &zipcode=B66 3AP
RESPONSE:
{
“postaladdress”: “130 high st”,
“zipcode”: “b66 3ap”,
“city”: “smethwick”,
“country”: “uk”,
“lat”: 52.4891839,
“lon”: -1.9660309
}
If GeoCod can’t geocode your request you will get an empty response (status 200).