> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Dun & Bradstreet: Dnb Match And Enrich Company

> Match and enrich a company with licensed D&B Data Blocks. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Match and enrich a company with licensed D\&B Data Blocks.

<Info>
  Tool ID: `dnb_match_and_enrich_company`
</Info>

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get dnb_match_and_enrich_company --json
```

## Example response

The static output schema is not detailed enough to generate a reliable example. Use `deepline tools get dnb_match_and_enrich_company --json` for the complete live contract.

## Input reference

Resolve a company and request licensed Data Blocks in one request. Supply blockIDs plus a D-U-N-S number, or countryISOAlpha2Code with a company identifier such as name, url or registrationNumber. Returns the full D\&B extended-match response. Requires a customer Direct+ key and secret with the relevant D\&B entitlement.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.name` | `string` | No | — | Business name as supplied by the caller. Minimum length: 1. |
| `payload.countryISOAlpha2Code` | `string` | No | — | ISO 3166-1 alpha-2 country code. Minimum length: 2. Maximum length: 2. |
| `payload.streetAddressLine1` | `string` | No | — | Minimum length: 1. |
| `payload.addressLocality` | `string` | No | — | Minimum length: 1. |
| `payload.addressRegion` | `string` | No | — | Minimum length: 1. |
| `payload.postalCode` | `string` | No | — | Minimum length: 1. |
| `payload.telephoneNumber` | `string` | No | — | Minimum length: 1. |
| `payload.registrationNumber` | `string` | No | — | Minimum length: 1. |
| `payload.candidateMaximumQuantity` | `integer` | No | `9` | Minimum: 1. Maximum: 50. |
| `payload.confidenceLowerLevelThresholdValue` | `integer` | No | — | Minimum: 1. Maximum: 10. |
| `payload.duns` | `string` | No | — | Minimum length: 1. Pattern: `^[0-9]&#123;9&#125;$`. |
| `payload.url` | `string` | No | — | Company website or domain, as accepted by D\&B. Minimum length: 1. |
| `payload.email` | `string` | No | — | Minimum length: 1. |
| `payload.inLanguage` | `string` | No | — | Minimum length: 1. |
| `payload.exclusionCriteria` | `string` | No | — | D\&B exclusion selector; the public example uses ExcludeOutofBusiness. Minimum length: 1. |
| `payload.customerReference1` | `string` | No | — | Minimum length: 1. |
| `payload.blockIDs` | `string` | Yes | — | Comma-separated licensed block IDs with exact levels and versions. Examples: companyinfo\_L2\_v1,hierarchyconnections\_L1\_v1,principalscontacts\_L3\_v2. Content and coverage depend on your D\&B contract. Minimum length: 1. |
| `payload.tradeUp` | `"hq"` | No | — | Allowed: `hq`. Minimum length: 1. |
| `payload.orderReason` | `string` | No | — | D\&B purpose-of-use code when required by your entitlement; use the reason applicable to your use case. Minimum length: 1. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Resolve a company and request licensed Data Blocks in one request. Supply blockIDs plus a D-U-N-S number, or countryISOAlpha2Code with a company identifier such as name, url or registrationNumber. Returns the full D&B extended-match response. Requires a customer Direct+ key and secret with the relevant D&B entitlement.",
    "properties": {
      "name": {
        "type": "string",
        "description": "Business name as supplied by the caller.",
        "minLength": 1
      },
      "countryISOAlpha2Code": {
        "type": "string",
        "description": "ISO 3166-1 alpha-2 country code.",
        "minLength": 2,
        "maxLength": 2
      },
      "streetAddressLine1": {
        "type": "string",
        "minLength": 1
      },
      "addressLocality": {
        "type": "string",
        "minLength": 1
      },
      "addressRegion": {
        "type": "string",
        "minLength": 1
      },
      "postalCode": {
        "type": "string",
        "minLength": 1
      },
      "telephoneNumber": {
        "type": "string",
        "minLength": 1
      },
      "registrationNumber": {
        "type": "string",
        "minLength": 1
      },
      "candidateMaximumQuantity": {
        "type": "integer",
        "default": 9,
        "minimum": 1,
        "maximum": 50
      },
      "confidenceLowerLevelThresholdValue": {
        "type": "integer",
        "minimum": 1,
        "maximum": 10
      },
      "duns": {
        "type": "string",
        "minLength": 1,
        "pattern": "^[0-9]{9}$"
      },
      "url": {
        "type": "string",
        "description": "Company website or domain, as accepted by D&B.",
        "minLength": 1
      },
      "email": {
        "type": "string",
        "minLength": 1
      },
      "inLanguage": {
        "type": "string",
        "minLength": 1
      },
      "exclusionCriteria": {
        "type": "string",
        "description": "D&B exclusion selector; the public example uses ExcludeOutofBusiness.",
        "minLength": 1
      },
      "customerReference1": {
        "type": "string",
        "minLength": 1
      },
      "blockIDs": {
        "type": "string",
        "description": "Comma-separated licensed block IDs with exact levels and versions. Examples: companyinfo_L2_v1,hierarchyconnections_L1_v1,principalscontacts_L3_v2. Content and coverage depend on your D&B contract.",
        "minLength": 1
      },
      "tradeUp": {
        "type": "string",
        "minLength": 1,
        "enum": [
          "hq"
        ]
      },
      "orderReason": {
        "type": "string",
        "description": "D&B purpose-of-use code when required by your entitlement; use the reason applicable to your use case.",
        "minLength": 1
      }
    },
    "required": [
      "blockIDs"
    ],
    "anyOf": [
      {
        "required": [
          "duns"
        ]
      },
      {
        "required": [
          "countryISOAlpha2Code",
          "name"
        ]
      },
      {
        "required": [
          "countryISOAlpha2Code",
          "url"
        ]
      },
      {
        "required": [
          "countryISOAlpha2Code",
          "email"
        ]
      },
      {
        "required": [
          "countryISOAlpha2Code",
          "telephoneNumber"
        ]
      },
      {
        "required": [
          "countryISOAlpha2Code",
          "registrationNumber"
        ]
      },
      {
        "required": [
          "countryISOAlpha2Code",
          "streetAddressLine1"
        ]
      },
      {
        "required": [
          "countryISOAlpha2Code",
          "postalCode"
        ]
      }
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `unknown` | Yes | — | Provider response payload. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "description": "Provider response payload."
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Dun & Bradstreet provider guide](/docs/providers/dnb/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.