Discover/Dnb API
live

Dnb APIdunsnumberlookup.dnb.com

Search Dun & Bradstreet's global company database by name or registration number. Returns DUNS records with operating status, address, and location type.

This API takes change requests — .
Endpoint health
verified 2h ago
search_by_registration_number
search_by_company_name
2/2 passing latest checkself-healing
Endpoints
2
Updated
3h ago

What is the Dnb API?

The Dun & Bradstreet D-U-N-S Number Lookup API exposes 2 endpoints that search D&B's global company database by company name or registration number. The search_by_company_name endpoint accepts up to five address-based filters alongside the required country code, returning up to 10 matching company records per query. Each record includes fields such as company name, location type, operating status, registration number, and address.

This call costs1 credit / call— charged only on success
Try it
City name to filter results.
State, province, or region to filter results.
Street address to filter results.
Telephone number to filter results.
Postal or ZIP code to filter results.
Company name to search for.
ISO alpha-2 country code (e.g. 'GB' for United Kingdom, 'DE' for Germany, 'CA' for Canada, 'AU' for Australia). The service supports a specific set of countries.
api.parse.bot/scraper/394ce9b4-a9c9-4929-bb92-ba877499d43e/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/394ce9b4-a9c9-4929-bb92-ba877499d43e/search_by_company_name?company_name=Microsoft&country_code=GB' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace dunsnumberlookup-dnb-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Dun & Bradstreet DUNS Number Lookup — search, then drill down."""
from parse_apis.dunsnumberlookup_dnb_com_api import DunsLookup, InputFormatInvalid

client = DunsLookup()

# Search for companies by name in the United Kingdom.
for company in client.companies.search(company_name="Microsoft", country_code="GB", limit=5):
    print(company.company_name, "|", company.location_type, "|", company.operating_status)

# Take the first hit and use its registration number for an exact lookup.
hit = client.companies.search(company_name="Microsoft", country_code="GB", limit=1).first()
if hit is not None and hit.registration_number:
    # Exact lookup by the registration number discovered above.
    try:
        match = client.companies.lookup(
            registration_number=hit.registration_number,
            country_code=hit.country_code,
            limit=1,
        ).first()
    except InputFormatInvalid:
        print("Invalid registration number or country code")
        match = None

    if match is not None:
        print(match.company_name, "|", match.address, match.city, match.postal_code)

print("exercised: companies.search / companies.lookup")
All endpoints · 2 totalmissing one? ·

Search for companies by name within a specific country. Returns up to 10 matching company records. The search is performed against the Dun & Bradstreet global database. Optional address-related filters (city, state, postal code, address, telephone) narrow results. Each result includes location type (e.g. Parent/Headquarters, Branch/Division, Subsidiary, Single Location) and operating status (Active or Out of business).

Input
ParamTypeDescription
citystringCity name to filter results.
statestringState, province, or region to filter results.
addressstringStreet address to filter results.
telephonestringTelephone number to filter results.
postal_codestringPostal or ZIP code to filter results.
company_namerequiredstringCompany name to search for.
country_coderequiredstringISO alpha-2 country code (e.g. 'GB' for United Kingdom, 'DE' for Germany, 'CA' for Canada, 'AU' for Australia). The service supports a specific set of countries.
Response
{
  "type": "object",
  "fields": {
    "companies": "array of company objects, each containing company_name, location_type, operating_status, country_code, registration_number, address, city, postal_code, state, country, and standalone flag",
    "total_count": "integer — number of matching company records returned",
    "contains_delisted_results": "boolean — whether results include delisted companies"
  },
  "sample": {
    "data": {
      "companies": [
        {
          "city": "READING",
          "state": "",
          "address": "MICROSOFT CAMPUS THAMES VALLEY PARK",
          "country": "United Kingdom",
          "standalone": false,
          "postal_code": "RG6 1WG",
          "company_name": "MICROSOFT LIMITED",
          "country_code": "GB",
          "location_type": "Parent/Headquarters",
          "operating_status": "Active",
          "registration_number": "01624297"
        }
      ],
      "total_count": 10,
      "contains_delisted_results": false
    },
    "status": "success"
  }
}

About the Dnb API

What the API returns

Both endpoints return an array of company objects under the companies field, each carrying company_name, location_type, operating_status, country_code, registration_number, and address details. The response also includes total_count (how many records matched) and contains_delisted_results (a boolean indicating whether any returned companies have been delisted from active registries).

Searching by company name

The search_by_company_name endpoint requires company_name and country_code (ISO alpha-2, e.g. GB, DE, CA). Optional parameters — city, state, postal_code, address, and telephone — let you narrow results when a name is common across multiple entities. The endpoint returns up to 10 matches, so combining name with at least one address filter is advisable for high-frequency names.

Searching by registration number

The search_by_registration_number endpoint requires registration_number and country_code. Because registration numbers are unique within a jurisdiction, this endpoint typically returns a single exact match, making it the preferred route when you already hold a Companies House number (UK), Handelsregisternummer (DE), or equivalent identifier. The response shape is identical to the name-search endpoint.

Coverage and data scope

Both endpoints query the D&B global database, which covers companies across multiple countries. Country coverage depends on D&B's own registry integrations per jurisdiction. The operating_status field reflects D&B's classification of whether a business is active, inactive, or otherwise flagged, and location_type distinguishes between headquarters, branches, and single-location entities.

Reliability & maintenanceVerified

The Dnb API is a managed, monitored endpoint for dunsnumberlookup.dnb.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when dunsnumberlookup.dnb.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official dunsnumberlookup.dnb.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2h ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Verify a supplier's operating status and registered address before onboarding them as a vendor
  • Resolve a company's official registration number from a known trade name and country code
  • Identify whether a business entity is a headquarter or branch location using the location_type field
  • Detect delisted or inactive companies via the contains_delisted_results and operating_status fields
  • Cross-reference a Companies House number against D&B records to confirm entity identity
  • Build a KYC pre-screening step that confirms company existence and active status by country
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Dun & Bradstreet offer an official developer API?+
Yes. D&B provides the D&B Direct API for enterprise customers, documented at developer.dnb.com. It requires a commercial contract and covers a broader set of firmographic and financial data fields. This Parse API targets the public D-U-N-S Number Lookup tool at dunsnumberlookup.dnb.com and does not require a D&B contract.
How does search_by_company_name handle ambiguous or common names?+
The endpoint returns up to 10 records per query. When a name matches many entities, using the optional filters — city, state, postal_code, address, or telephone — alongside the required country_code reduces noise. Without any filters, results are ranked by D&B's own relevance logic and may include entities from different cities or regions within the same country.
Does the API return a DUNS number itself?+
The documented response fields include company_name, location_type, operating_status, country_code, registration_number, and address. A DUNS number as a distinct field is not explicitly exposed in the current endpoint response schema. The API covers registration numbers as issued by national registries. You can fork it on Parse and revise it to surface any additional identifier fields that appear in the underlying response.
Is there pagination support for queries that match more than 10 companies?+
The current endpoints return up to 10 results per call with no documented pagination parameters. If your query returns exactly 10 results, there may be additional matches not returned. The API covers single-page result sets only. You can fork it on Parse and revise to add offset or page parameters if the source supports them.
Does the API provide financial data, credit scores, or contact details for matched companies?+
Not currently. The endpoints return identity and registration data: name, address, operating status, location type, registration number, and country. Financial, credit, and contact-level data are not part of the response. You can fork it on Parse and revise to add endpoints targeting additional D&B data surfaces if your use case requires those fields.
Page content last updated . Spec covers 2 endpoints from dunsnumberlookup.dnb.com.
Related APIs in B2b DirectorySee all →
dnb.com API
Search millions of companies in Dun & Bradstreet's global business directory to find detailed company profiles and verify D-U-N-S numbers. Look up key business information like company details and identifiers to support due diligence, sales prospecting, and business intelligence needs.
kbopub.economie.fgov.be API
Look up detailed information about Belgian companies including their official details, management structure, business activities, and legal capacities from the KBO/BCE public registry. Find key data like company names, directors, officers, and operational classifications to verify business credentials or conduct company research.
developer.company-information.service.gov.uk API
Search for UK registered companies and retrieve detailed information including company profiles, officer names, and their dates of birth. Access comprehensive corporate records directly from the official Companies House register to verify business details and identify key personnel.
drimble.nl API
Search and access detailed business information from Drimble.nl, including company addresses, SBI classifications, and activity descriptions. Find specific companies or browse listings to get comprehensive details about Dutch businesses.
find-and-update.company-information.service.gov.uk API
Search and access detailed information about UK companies registered at Companies House, including company profiles, filing histories, officers, and financial charges. Filter companies by name, status, type, SIC code, and more.
companyweb.be API
Search for Belgian companies and instantly access their key details like founding year, business activities, and employee count. Get comprehensive company profiles directly from Belgium's official business database.
registroimprese.it API
Search Italian companies by name or ID to instantly access official business registration details including company status, founding information, and corporate structure from the authoritative Italian Business Registry. Get comprehensive company profiles with verified legal and operational data all in one place.
kvk.nl API
Search for Dutch businesses and retrieve detailed company information such as registration numbers, addresses, and business details directly from the official KVK trade register. Look up specific companies to access their official registration data and verify business information in the Netherlands.