An HTTP POST is issued with the "ContentType" header specifying the format of the request and the "Accept" header specifying the format of the response.
The service requires at least one of the following input combinations:
Set A - Latitude, Longitude
Set B - MelissaAddressKey (Request Level Parameter)
Required. The License Key issued by Melissa.
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.
- Reverse GeoCoder Serverhttps://reversegeo.melissadata.net/v3/web/ReverseGeoCode/doLookupFromList
curl -i -X POST \
https://reversegeo.melissadata.net/v3/web/ReverseGeoCode/doLookupFromList \
-H 'Accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"CustomerId": "{REPLACE-WITH-YOUR-LICENSE-KEY}",
"Latitude": "33.63756710910554",
"Longitude": "-117.60695049134513",
"MaxDistance": "10",
"MaxRecords": "",
"Options": "",
"Records": [
{
"MelissaAddressKey": "8008006245",
"RecordID": "1"
},
{
"MelissaAddressKey": "5328287925",
"RecordID": "2"
}
],
"TransmissionReference": "Reverse Geo LookupFromList Test"
}'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.
{ "Version": "6.2.0.5179", "TransmissionReference": "Test", "TransmissionResults": "", "Results": "GS07", "TotalRecords": 1, "Records": [ { … } ] }