Resources
The Data.com DUNSRight Match API is a REST API with one resource: DatacloudCompany. Use this resource to return company information from Data.comand identify and flag differences between fields in the request and fields from the matching Data.com record. Use POST and GET requests with this API.
There is a 24–hour rolling quota on the number of API calls you can make. Your organization gets 1,000 daily calls for every license purchased. Call quotas are implemented at the Salesforce organization level. For example, an organization with 10 Data.com Clean licenses would have a daily limit of 10,000 Match API calls (1,000 x 10 = 10,000).
- Usage
The Data.com DUNSRight Match API DatacloudCompany resource does two things.
- Matches the requested company information with companies in the Data.com database using the DUNSRight match engine.
- Identifies and flags differences between requested fields and fields in the Data.com database.
- URLs
Short URL:
/services/data/vXX.X/match/
\Long URL:
/services/data/vXX.X/match/DunsRightMatchEngine/DatacloudCompany/DunsRightMatchRule
All parameters in the
matchOptions
section must be included in the request body when you use the short URL.- Availability
API version 30.0 and later
- Formats
JSON, XML
- HTTP Methods
POST
- Minimum Required Fields
No required fields. For best results, include company name, website, and city in the request.
Use the
matchOptions
parameter in the request to set all of your match options.When using the short URL, all parameters in the
matchOptions
section must be included in the POST request body. When using the long URL, only specify the fields you want in the response. Default values are used for other parameters in the matchOptions section. These include"maxMatchResults": "6"
and"minMatchConfidence": "8"
.For companies with multiple locations, add the city where the company is located to narrow your search.
- Key Request Fields
The key request fields are:
Name
Street
Phone
Website
The entities
section of the request includes:
- attributes, including the object you want to match against, and
- names and values for fields that you want to match
You must include the name and value for at least one field that you want included in the response. There are no required fields; but you can specify more fields to improve the accuracy of the matched records.
Here are the matchable fields.
Field | Type | Description |
---|---|---|
City | String | The name of the city where the company is located. |
Country | String | A string that represents the standard abbreviation for the country where the company is located. |
DunsNumber | String | A randomly generated nine-digit number that’s assigned by Dun & Bradstreet (D&B) to identify unique business establishments.. |
Name | String | The company’s name. |
Phone | String | A numerical string that contains a corporate phone number for the company. |
State | String | The two-letter standard abbreviation for a state. |
Street | String | A postal address for the company. |
Zip | String | A numeric postal code designation for the address. |
The parameters that you’re required to include in the matchOptions section differ depending on the URL you use.
- When using the short URL, specify all parameters in the matchOptions section.
- When using the long URL, you only need to specify the fields you want in the response. Default values are used for other parameters in the matchOptions section. These include
"maxMatchResults": "6"
and"minMatchConfidence": "8"
.
Here are the fields that can be included in the response.
Requestable Fields | Type | Description |
---|---|---|
AnnualRevenue | String | The amount of money that the company makes in one year. |
City | String | The name of the city where the company is located. |
CompanyId | Long integer (64-bit integer) | The unique numerical identifier for the company. |
Country | String | A string that represents the standard abbreviation for the country where the company is located. |
Description | String | A brief summary about the company. |
DunsNumber | String | A randomly generated nine-digit number that’s assigned by Dun & Bradstreet (D&B) to identify unique business establishments.. |
Fax | String | The phone number that’s used for sending and receiving faxes. |
Industry | String | A description for the area of focus in which the company does business. |
IsInactive | String | A true or false response. True means that the record is no longer active. False indicates that the contact is still valid and active. |
NaicsCode | String | North American Industry Classification System (NAICS) codes were created to provide details about a business’s service orientation. The code descriptions are focused on what a business does. |
NaicsDesc | String | A description of the NAICS classification. |
Name | String | The company’s name. |
NumberOfEmployees | String | The number of employees who are working for the company. |
Ownership | String | The type of ownership of the company: Public , Private , Government , or Other |
Phone | String | A numerical string that contains a corporate phone number for the company. |
Sic | Integer | Standard Industrial Codes (SIC) is a numbering convention that indicates what type of service a business provides. |
SicDesc | String | A description of the SIC classification. |
Site | String | The type of location of the company, such as “Headquarters.” |
State | String | The two-letter standard abbreviation for a state. |
Street | String | A postal address for the company. |
TickerSymbol | String | The symbol that uniquely identifies companies that are traded on public stock exchanges. |
TradeStyle | String | A legal name under which a company conducts business. |
Website | String | The standard URL for the company’s home page. |
YearStarted | String | The year when the company was founded. |
Zip | String | A numeric postal code designation for the address. |
Here are additional parameters that you can specify in the matchOptions
section of the request.
matchEngine
The name of the match engine that’s used by this API.
maxMatchResults
The number of results to be returned in a response. The maximum value is 10.
minMatchConfidence
The degree of confidence that the response matches the information that’s provided in the request. The default confidence level is 8. The confidence level can be set from 5 through 10.
rule
The name of the matching rules that are used by this API.
sObjectType
The standard object that’s queried by this API.
Use API resource property requests to retrieve important resources and parameters, including a list of matchable fields and match engine URLs. These can be used when making match requests with the Data.com DUNSRight Match API.
GET request: /services/data/v32.0/match/
Response:
GET request: /services/data/v32.0/match/DunsRightMatchEngine
Response:
GET request: /services/data/v32.0/match/DunsRightMatchEngine/DatacloudCompany
Response: