Use this endpoint to verify global addresses.
Global Address Verification
Global Address Verification is a real time address validation and correction service. Covering over 240+ different countries and territories around the world, this service allows you to ensure your address data is clean and accurate. Additionally, you can also parse the data and append latitude and longitude.
You can use Global Address Verification to:
- Verify and correct addresses.
- Return the address parsed into individual components.
- Append latitude and longitude.
- Transliterate the address from or into the native language of the input country.
- Get the address formatted for mailing labels.
Documentation
Useful Resources
Product Page
Support Center
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.
CountryOfOrigin:<ISO2, ISO3, or ISO#>- This is used to determine whether or not to include the country name as the last line in FormattedAddress.DeliveryLines:< On | Off >- This options allows you to specify if the Address Lines 1-8 should contain just the delivery address or the entire address. Default ofoffhas Address Lines 1-8 return the entire address.DetailedResults:< ON | OFF >- This is for users that have experience or code using Address Object and would like to have those codes alongside the Global Address result codes. Default ofOFFwill not return extra result codes.ExtendedDateTime:< ON | OFF >- Additional information related to time zone names and UTC information for both standard and daylight savings will be made available in the Extras section. Default ofOFFwill not provide additional output information.GBExtras:< ON | OFF >- Allows you to choose to add the UPRN output. Default ofOFFwill not provide additional output information.IncludeRemnant:< ON | OFF >- In cases where Global Address identifies a piece of the input as extra information, we label this as Remnant and can append it to the beginning of the address lines. Default ofONwill append remnant (extra information) to the beginning of the address lines.LineSeparator:< SEMICOLON | PIPE | CR | LF | CRLF | TAB | BR>- This is the line separator used for the FormattedAddress result. Default ofSEMICOLONuses a semicolon (;).MelissaCityKeys:< ON | OFF >- When this option is enabled, ID fields representing a unique combination of ZIP Code, City, County, State, and Country will be appended to the Extras section. Currently available for the US. Default ofOFFwill not provide additional output information.OriginDateTime:< String with UTC data >- (BETA) A string DateTime value with UTC data to use in the calculation of the local date time. For example: OriginDateTime:2022-01-13 18:33:16 (UTC-8:00).OutputGeo:< ON | OFF >- Allows you to specify if you want geocoding output in the response. Default ofONwill return latitude and longitude when available.OutputScript:< NOCHANGE | LATIN | NATIVE >- This is the script type used for all applicable fields. Default ofNOCHANGEwill return the same script that is sent in.Suggestion:< ON | OFF >- (BETA) Available only for single-record requests and currently supports addresses in the US, CA, and GB. In cases where Global Address cannot fully verify an address, alternate suggestions may be returned in the Suggestions response field. Default ofOFFwill not provide alternate address suggestions.USExtras:< ON | OFF >- These are additional US only output will that can be made available in the Extras section. These outputs are related to Census, County, and School information. Default ofOFFwill not provide additional output information.USPreferredCityNames:< ON | OFF >Allows you to override the city name and return only the USPS preferred city name. Default ofOFFwill leave valid vanity city names as preferred by the USPS.USStandardizationType:< Auto | Short | Long >Allows you to specify the standardization of the address abbreviation. Default ofShortwill leave the US address in short abbreviated form as preferred by the USPS.
Transmission Reference - Serves as a unique identifier for this set of records.
Address Line 1 - The input field for the address. This should contain the delivery address information (house number, thoroughfare, building, suite, etc.) but should not contain locality information (locality, administrative area, postal code, etc.) which have their own inputs.
Administrative Area - State, Province. The most common geographic data element.
Double Dependent Locality - The smallest population center data element. This depends on the Locality and DependentLocality elements.
Double Dependent Locality - Urbanization. The smaller population center data element. This depends on the Locality element. In terms of US Addresses, this element applies only to Puerto Rican addresses. It is used to break ties when a ZIP Code is linked to multiple instances of the same address.
Last Name - US Only. For addresses missing a secondary like a suite or apartment, we can use the last name and append that information for residential addresses.
Locality - City, Municipality. The most common population center data element.
Postal Code - The complete postal code for a particular delivery point. If all three elements are provided and the PostalCode is incorrect, it can be corrected from the data on the Locality and AdministrativeArea.
- https://address.melissadata.net/V3/WEB/GlobalAddress/doGlobalAddress
- curl
- C#
- Python
- Java
- JavaScript
- Node.js
- PHP
- Go
- Ruby
- R
- C#+Newtonsoft
- Java8+Apache
- Payload
curl -i -X GET \
'https://address.melissadata.net/V3/WEB/GlobalAddress/doGlobalAddress?id=REPLACE-WITH-YOUR-LICENSE-KEY&a1=22382+Avenida+Empresa&admarea=CA&ctry=USA&loc=Rancho+Santa+Margarita&postal=92688'Successful response
- application/json
- application/xml
Lists error codes from any errors caused by the most recent request as a whole. For more information, see Global Address Verification Result Codes.
{ "Version": "3.0.1.174", "TransmissionReference": "Test", "TransmissionResults": "", "TotalRecords": "1", "Records": [ { … } ] }
- application/json
- application/xml
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.
CountryOfOrigin:<ISO2, ISO3, or ISO#>- This is used to determine whether or not to include the country name as the last line in FormattedAddress.DeliveryLines:< On | Off >- This options allows you to specify if the Address Lines 1-8 should contain just the delivery address or the entire address. Default ofoffhas Address Lines 1-8 return the entire address.DetailedResults:< ON | OFF >- This is for users that have experience or code using Address Object and would like to have those codes alongside the Global Address result codes. Default ofOFFwill not return extra result codes.ExtendedDateTime:< ON | OFF >- Additional information related to time zone names and UTC information for both standard and daylight savings will be made available in the Extras section. Default ofOFFwill not provide additional output information.GBExtras:< ON | OFF >- Allows you to choose to add the UPRN output. Default ofOFFwill not provide additional output information.IncludeRemnant:< ON | OFF >- In cases where Global Address identifies a piece of the input as extra information, we label this as Remnant and can append it to the beginning of the address lines. Default ofONwill append remnant (extra information) to the beginning of the address lines.LineSeparator:< SEMICOLON | PIPE | CR | LF | CRLF | TAB | BR>- This is the line separator used for the FormattedAddress result. Default ofSEMICOLONuses a semicolon (;).MelissaCityKeys:< ON | OFF >- When this option is enabled, ID fields representing a unique combination of ZIP Code, City, County, State, and Country will be appended to the Extras section. Currently available for the US. Default ofOFFwill not provide additional output information.OriginDateTime:< String with UTC data >- (BETA) A string DateTime value with UTC data to use in the calculation of the local date time. For example: OriginDateTime:2022-01-13 18:33:16 (UTC-8:00).OutputGeo:< ON | OFF >- Allows you to specify if you want geocoding output in the response. Default ofONwill return latitude and longitude when available.OutputScript:< NOCHANGE | LATIN | NATIVE >- This is the script type used for all applicable fields. Default ofNOCHANGEwill return the same script that is sent in.Suggestion:< ON | OFF >- (BETA) Available only for single-record requests and currently supports addresses in the US, CA, and GB. In cases where Global Address cannot fully verify an address, alternate suggestions may be returned in the Suggestions response field. Default ofOFFwill not provide alternate address suggestions.USExtras:< ON | OFF >- These are additional US only output will that can be made available in the Extras section. These outputs are related to Census, County, and School information. Default ofOFFwill not provide additional output information.USPreferredCityNames:< ON | OFF >Allows you to override the city name and return only the USPS preferred city name. Default ofOFFwill leave valid vanity city names as preferred by the USPS.USStandardizationType:< Auto | Short | Long >Allows you to specify the standardization of the address abbreviation. Default ofShortwill leave the US address in short abbreviated form as preferred by the USPS.
The input field for the address. This should contain the delivery address information (house number, thoroughfare, building, suite, etc.) but should not contain locality information (locality, administrative area, postal code, etc.) which have their own inputs.
State, Province. The most common geographic data element.
Urbanization. The smaller population center data element. This depends on the Locality element. In terms of US Addresses, this element applies only to Puerto Rican addresses. It is used to break ties when a ZIP Code is linked to multiple instances of the same address.
The smallest population center data element. This depends on the Locality and DependentLocality elements.
US Only. For addresses missing a secondary like a suite or apartment, we can use the last name and append that information for residential addresses.
City, Municipality. The most common population center data element.
ZIP, Postcode. The complete postal code for a particular delivery point. If all three elements are provided and the PostalCode is incorrect, it can be corrected from the data on the Locality and AdministrativeArea.
A unique identifier for the current record. Use this to match the record submitted with the record returned.
- https://address.melissadata.net/V3/WEB/GlobalAddress/doGlobalAddress
- curl
- C#
- Python
- Java
- JavaScript
- Node.js
- PHP
- Go
- Ruby
- R
- C#+Newtonsoft
- Java8+Apache
- Payload
curl -i -X POST \
https://address.melissadata.net/V3/WEB/GlobalAddress/doGlobalAddress \
-H 'Content-Type: application/json' \
-d '{
"CustomerID": "REPLACE-WITH-YOUR-LICENSE-KEY",
"Options": "USPreferredCityNames:ON,OutputGeo:ON",
"Records": [
{
"AddressLine1": "22382 Avenida Empresa",
"AdministrativeArea": "CA",
"Country": "US",
"Locality": "Rancho Santa Margarita",
"Organization": "Melissa",
"PostalCode": "92688",
"RecordID": "1"
},
{
"AddressLine1": "Caecilienstr. 42-44",
"Country": "Germany",
"Locality": "Cologne",
"Organization": "Melissa",
"PostalCode": "50667",
"RecordID": "2"
}
],
"TransmissionReference": "Test"
}'Successful response
- application/json
- application/xml
Lists error codes from any errors caused by the most recent request as a whole. For more information, see Global Address Verification Result Codes.
{ "Version": "3.0.1.174", "TransmissionReference": "Test", "TransmissionResults": "", "TotalRecords": "2", "Records": [ { … }, { … } ] }