Submit a batch request to validate and retrieve business information.
The service requires at least one of the following input combinations:
Set A - a1, city, state, postal
Set B - freeform
Set C - phone
Set D - stock
Set E - web
Columns - The column names or groups to be output.
Entering the column name will return the column. Specifying a group name will return all columns in the group.
Delimit multiple columns with a ,.
For example: ColumnName,ColumnName.
- [DEFAULT] These columns are returned by default.
AddressLine1CityCompanyNameCurrentCompanyNameMelissaEnterpriseKeyPostalCodeRecordIDRecordsStateSuiteTotalContactsTransmissionReferenceTransmissionResults
- [NO GROUP] These columns must be requested individually.
ContactsEmployeesEstimateLocationTypePhoneSalesEstimateStockTickerWebAddress
GrpAddressDetailsCountryCodeCountryNameDeliveryIndicatorMelissaAddressKeyMelissaAddressKeyBasePlus4
GrpBusinessCodesEINNAICSCode1NAICSCode2NAICSCode3SICCode1SICCode2SICCode3
GrpBusinessDescriptionNAICSDescription1NAICSDescription2NAICSDescription3SICDescription1SICDescription2SICDescription3
GrpGeoCodeLatitudeLongitude
GrpCensusCensusBlockCensusTractCountyFIPSCountyNamePlaceCodePlaceName
Required. The License Key issued by Melissa.
Options - Pass in options you want to set for the request.
List options in the format OptionName:Parameter, with multiple options delimited with a ,. For example: OptionName:Parameter,OptionName:Parameter
CentricHint:< company | address | phone >- This option allows you to choose what the service will center the search around.MaxContacts:< 1 | 5 | 10 >- This option changes the upper limit on the number of contacts returned. Default is5.ReturnDominantBusiness:< yes | no >- This option handles the returning of the dominant business name and demographics for a particular site when the company information is missing or does not match. Default isyes.SICNAICSConfidence:< strict | loose >- This option handles how SIC Codes are returned, depending on our SIC Code confidence level. Default isloose.
- US Business Coder Server.https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderUS
curl -i -X POST \
https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderUS \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"cols": "",
"id": "{REPLACE-WITH-YOUR-LICENSE-KEY}",
"opt": "",
"Records": [
{
"a1": "22382 Avenida Empresa",
"a2": " ",
"city": "Rancho Santa Margarita",
"comp": "Melissa Data",
"ctry": "US",
"freeform": " ",
"mak": " ",
"mek": " ",
"phone": "8006354772",
"postal": "92688",
"rec": "1",
"state": "California",
"stock": " ",
"suite": " ",
"web": " "
}
],
"t": "Business Coder Test"
}'A response is the result of a request. This consists of returned results codes and parsed, corrected, and/or appended request elements, depending on the options selected.
Returns the generic service level result/error codes. For more information, see Business Coder Result Codes.
{ "TransmissionResults": " ", "TransmissionReference": "Business Coder Test", "Version": "9.0.1.1091", "TotalRecords": "1", "Records": [ { … } ] }