Dun & Bradstreet · Arazzo Workflow

D&B Authenticate And Match Company

Version 1.0.0

Obtain a Direct+ token, resolve a candidate record to a D-U-N-S Number, and pull its company information block.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Business DataCompany DataD-U-N-S NumberCreditRiskMaster DataData EnrichmentIdentity ResolutionComplianceSupply ChainSales IntelligenceMonitoringArazzoWorkflows

Provider

dun-and-bradstreet

Workflows

authenticate-and-match-company
Token, match a candidate to a D-U-N-S Number, then enrich the top match.
Generates a Direct+ access token from credentials, runs cleanseMatch on the supplied candidate record, captures the top-ranked D-U-N-S Number, and retrieves the requested Data Blocks for that D-U-N-S Number.
3 steps inputs: blockIDs, countryISOAlpha2Code, grantType, name, postalCode, streetAddressLine1 outputs: matchGrade, matchedDuns, primaryName
1
authenticate
Exchange Direct+ credentials for an OAuth 2.0 bearer access token using the client-credentials grant.
2
matchCompany
Submit the candidate business record and return a ranked list of D-U-N-S matches with match-grade and confidence-code.
3
enrichTopMatch
Retrieve the requested Data Blocks for the top-ranked matched D-U-N-S Number.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: D&B Authenticate And Match Company
  summary: Obtain a Direct+ token, resolve a candidate record to a D-U-N-S Number, and pull its company information block.
  description: >-
    The canonical Direct+ identity-resolution flow. The workflow exchanges
    client credentials for an OAuth 2.0 bearer token, submits a candidate
    business record to cleanseMatch to obtain a ranked list of D-U-N-S
    matches, and then retrieves the Company Information Data Block for the
    top-ranked candidate. Each step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-610.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-610.20
      capability_name: Master Data Management
      spec: dun-and-bradstreet-enrich-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: authenticationApi
  url: ../openapi/dun-and-bradstreet-authentication-api-openapi.yml
  type: openapi
- name: enrichApi
  url: ../openapi/dun-and-bradstreet-enrich-api-openapi.yml
  type: openapi
- name: identityResolutionApi
  url: ../openapi/dun-and-bradstreet-identity-resolution-api-openapi.yml
  type: openapi
workflows:
- workflowId: authenticate-and-match-company
  summary: Token, match a candidate to a D-U-N-S Number, then enrich the top match.
  description: >-
    Generates a Direct+ access token from credentials, runs cleanseMatch on
    the supplied candidate record, captures the top-ranked D-U-N-S Number, and
    retrieves the requested Data Blocks for that D-U-N-S Number.
  inputs:
    type: object
    required:
    - grantType
    - name
    - countryISOAlpha2Code
    properties:
      grantType:
        type: string
        description: OAuth 2.0 grant type for the token request (client_credentials).
        default: client_credentials
      name:
        type: string
        description: Business name to resolve.
      countryISOAlpha2Code:
        type: string
        description: ISO 3166-1 alpha-2 country code of the candidate.
      streetAddressLine1:
        type: string
        description: Optional street address line 1 to sharpen the match.
      postalCode:
        type: string
        description: Optional postal code to sharpen the match.
      blockIDs:
        type: string
        description: Comma-separated Data Block IDs to retrieve for the matched D-U-N-S Number.
        default: companyinfo_L2_v1
  steps:
  - stepId: authenticate
    description: >-
      Exchange Direct+ credentials for an OAuth 2.0 bearer access token using
      the client-credentials grant.
    operationId: generateAccessToken
    requestBody:
      contentType: application/json
      payload:
        grant_type: $inputs.grantType
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      accessToken: $response.body#/access_token
  - stepId: matchCompany
    description: >-
      Submit the candidate business record and return a ranked list of
      D-U-N-S matches with match-grade and confidence-code.
    operationId: cleanseMatch
    parameters:
    - name: Authorization
      in: header
      value: Bearer $steps.authenticate.outputs.accessToken
    - name: name
      in: query
      value: $inputs.name
    - name: countryISOAlpha2Code
      in: query
      value: $inputs.countryISOAlpha2Code
    - name: streetAddressLine1
      in: query
      value: $inputs.streetAddressLine1
    - name: postalCode
      in: query
      value: $inputs.postalCode
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      topDuns: $response.body#/matchCandidates/0/organization/duns
      topMatchGrade: $response.body#/matchCandidates/0/matchQualityInformation/matchGrade
  - stepId: enrichTopMatch
    description: >-
      Retrieve the requested Data Blocks for the top-ranked matched D-U-N-S
      Number.
    operationId: getDataBlocksByDuns
    parameters:
    - name: Authorization
      in: header
      value: Bearer $steps.authenticate.outputs.accessToken
    - name: duns
      in: path
      value: $steps.matchCompany.outputs.topDuns
    - name: blockIDs
      in: query
      value: $inputs.blockIDs
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      duns: $response.body#/organization/duns
      primaryName: $response.body#/organization/primaryName
  outputs:
    matchedDuns: $steps.matchCompany.outputs.topDuns
    matchGrade: $steps.matchCompany.outputs.topMatchGrade
    primaryName: $steps.enrichTopMatch.outputs.primaryName

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/dun-and-bradstreet-authenticate-and-match-company-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.