Geocoder.ca

FREE
By eruci
Updated 10 months ago
Tools
3.6/10
Popularity
406ms
Latency
100%
Success Rate

Geocoder.ca API Documentation

Geocoder.ca provides a simple XML interface to do real-time automated geocoding for your application.$

View API Details
GETGeocode
GETGeocode
Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
authQUERY
REQUIREDThe authentication code for unthrottled service. A string up to 30 bytes long. This code identifies you as a premium user and keeps track of the number of lookups you make.
Optional Parameters
stnoSTRING
OPTIONALStreet Number A number.
locateSTRING
OPTIONALOptionally you can specify a location. for example 330 metcalfe ottawa or metcalfe & wellington ottawa This is an optional parameter for your convenience. We will parse out an address or intersection from it.
addresstSTRING
OPTIONALThe name of the street address. A string no longer that 220 bytes.
citySTRING
OPTIONALThe City Name A string no longer that 220 bytes.
provSTRING
OPTIONALThe Two letter Canadian province code or US state abbreviation. (AB,BC,MB,NB,NL,NS,NT,NU,ON,PE,QC,SK,YT)
strictSTRING
OPTIONALOptional Parameter for enabling strict parsing of free form location input.
standardSTRING
OPTIONALReturn the properly formated "standartized" address in the response. This is an optional parameter for address standardization. There is only one valid value: 1
decimalSTRING
OPTIONALAn integer positive number. This is an optional parameter to limit the number of decimal places in the response. (note that a small number will reduce accuracy)
callbackSTRING
OPTIONALCallback string if Output is in JSON format. Optionally you may request data in JSON format. The callback can be any string value.
postalSTRING
OPTIONALA six letter canadian postal code The postal code format should follow the following format ANANAN where N represents a number and A a letter.
topmatchesSTRING
OPTIONALOptionally - If you supply a partial street address and wish to obtain a fixed number of the most likely suggestions, send a value through this parameter. This must be the maximum number of suggestions desired in the response. The topmatches parameter value must be a positive integer.
geoitSTRING
OPTIONALThe output type desired. Only one allowed value: XML
jsonpSTRING
OPTIONALOutput in JSON format. Optionally you may request data in JSON format. Accepted value: 1
idSTRING
OPTIONALoptionally you can include your own transaction id. this will be returned along with the response if provided. a number or string no longer that 15 bytes.
showpostalSTRING
OPTIONALOptionally - If you supply just a street address (or intersection), the showpostal parameter will instruct the algorithm to return the postal code of the location along with the latitude/longitude pair. Only one allowed value: 1
utmSTRING
OPTIONALOutput latitude/longitude pair in The Universal Transverse Mercator (UTM) geographic coordinate system. Optional. Accepted value: 1
strictmodeSTRING
OPTIONALOptionally you can prevent geocoder from making guesses on your input - for example if you enter just a city name without the state or province, instead of geocoder determining the most likely city, it will let you chose from a list of suggestions. Allowed values are Integer 0 or 1.
Code Snippet
Install SDK
null

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication