Send a GET request to lookup addresses from geo location.
Required. The License Key issued by Melissa.
Example:id={REPLACE-WITH-YOUR-LICENSE-KEY}
Options - Specify which options to use for the selected action. List of options in <OptionName>:<Parameter> format. Multiple options are delimited with a ,.
For example: OptionName:Parameter,OptionName:Parameter.
IncludeApartments:< On | Off >- This option allows you to include records with a non-null baseMAK. Default ofOffwill not include non-null baseMAK records.IncludeEmptyLots:< On | Off >- This option allows you to specify if you want to include addresses that are empty lots in your search. Default ofOffwill not include empty lots.IncludeUndeliverable:< On | Off >- This option allows you to specify if you want to include addresses we have identified as unable to deliver mail to. Default ofOnwill include undeliverable addresses.
GET
curl -i -X GET \
'https://reversegeo.melissadata.net/v3/web/ReverseGeoCode/doLookup?id=%7BREPLACE-WITH-YOUR-LICENSE-KEY%7D&lat=33.63756710910554&long=-117.60695049134513' \
-H 'Accept: */*' \
-H 'Content-Type: application/json'Successful response
Lists error codes from any errors caused by the most recent request as a whole. For more information, see Reverse GeoCoder Result Codes.
Comma delimited status, error codes, and change codes for the record. For more information, see Reverse GeoCoder Result Codes.
Response
- application/json
- application/xml
{ "Version": "6.2.0.5179", "TransmissionReference": "", "TransmissionResults": "", "Results": "GS07", "TotalRecords": 1, "Records": [ { … } ] }