Dun & Bradstreet Company Data Scraper avatar

Dun & Bradstreet Company Data Scraper

Pricing

from $2.10 / 1,000 results

Go to Apify Store
Dun & Bradstreet Company Data Scraper

Dun & Bradstreet Company Data Scraper

Extracts company firmographics from the Dun & Bradstreet business directory: search by name, browse any NAICS industry by country, state and city, or pull full profiles with revenue, employees, key principals and corporate family. 120M+ businesses worldwide. HTTP-only, no login.

Pricing

from $2.10 / 1,000 results

Rating

0.0

(0)

Developer

Ibnu Adzim

Ibnu Adzim

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Extract company firmographics from the Dun & Bradstreet business directory — company names, addresses, D‑U‑N‑S numbers, revenue, industry classification, key principals and corporate structure — for over 120 million businesses worldwide.

Why use this actor

  • No account, no login, no API key. D&B's commercial data products start in the thousands per seat; this reads the free public directory.
  • Real D‑U‑N‑S numbers. Full profiles return the actual 9‑digit D‑U‑N‑S identifier, the standard key for joining business data across systems.
  • Five ways in, one output format. Search by company name, browse an entire industry, drill into a state or city, pull complete profiles, or dump the industry taxonomy.
  • Global coverage. United States (1.15M retail companies alone), India (5.8M), Brazil (2.8M), Japan, Germany, France, UK, Canada, Australia, Indonesia, Singapore and more.
  • Honest about what's withheld. D&B paywalls some fields per company. Those come back as null with a maskedFieldCount telling you exactly how many were held back — never as filler text that looks like real data.
  • Stable JSON suitable for spreadsheets, CRMs, databases and enrichment pipelines. Export to JSON, CSV or Excel. Automatic retries; runs on Apify's schedule.

How it works

  1. Pick a mode — search by name, browse by industry, fetch full profiles, get industry research, or list the industry taxonomy.
  2. Fill in what that mode needs: company names, an industry path, or profile URLs.
  3. Optionally narrow by country, state/region and city, or by employee-count range.
  4. The actor collects every matching company, following pagination automatically and de‑duplicating as it goes.
  5. Results land in the dataset, one row per company, ready to export.

No scrapers, browsers or blocks to babysit.


Modes

ModeWhat it doesNeeds
searchFind companies by namecompanyNames
industryBrowse every company in an industryindustryPaths
profileFull firmographic record for specific companiescompanyUrls
industryAnalysisIndustry research: description, activities, top companies, geographyindustryPaths
taxonomyList all 327 industry paths with NAICS codes

Start with taxonomy if you plan to use industry or industryAnalysis — it gives you every valid industry path in one run.


Input

Search companies by name

{
"mode": "search",
"companyNames": ["apple"],
"country": "us",
"minEmployees": 1000,
"maxEmployees": 100000,
"maxItems": 100,
"enrichWithProfile": false
}

Browse an industry, narrowed to a city

{
"mode": "industry",
"industryPaths": ["retail_trade"],
"country": "us",
"regionName": "california",
"cityName": "los_angeles",
"maxItems": 500
}

Full profiles for specific companies

{
"mode": "profile",
"companyUrls": [
"https://www.dnb.com/business-directory/company-profiles.apple_inc.ec7f550b3a97b94d919d837672573959.html"
]
}
FieldTypeDescription
modestringsearch, industry, profile, industryAnalysis or taxonomy
companyNamesarrayCompany names to search for (mode search)
industryPathsarrayIndustry paths such as retail_trade (modes industry, industryAnalysis)
companyUrlsarrayProfile URLs or bare selectors (mode profile)
countrystringTwo-letter country code: us, gb, de, in, br, id
regionNamestringState/region slug, e.g. california
cityNamestringCity slug, e.g. los_angeles. Works with or without a region
minEmployees / maxEmployeesintegerEmployee-count range (mode search)
enrichWithProfilebooleanAlso fetch each company's full profile. One extra request per company
maxItemsintegerCap per input. 0 = no cap
pageSizeintegerResults per request, max 50
maxConcurrencyintegerRequests in flight, default 4
minRequestIntervalintegerMinimum seconds between requests
proxyConfigurationobjectApify Proxy settings. Residential recommended

Output

Every row carries _input, _source, _scrapedAt and a recordType telling you what it is: COMPANY, COMPANY_PROFILE, INDUSTRY, SEARCH_SUMMARY or ERROR. Each query also emits one SEARCH_SUMMARY row with the total D&B reports, so you always know how much exists versus how much you retrieved.

search — a COMPANY row

{
"_input": "search:apple",
"_source": "S1-bd-api",
"_scrapedAt": "2026-08-21T10:05:28Z",
"recordType": "COMPANY",
"companyAddress": "1 Apple Park Way",
"companyCity": "Cupertino",
"companyCountry": "United States",
"companyProfileLink": "/business-directory/company-profiles.apple_inc.ec7f550b3a97b94d919d837672573959",
"companyRegion": "California",
"companyZipCode": "95014-0642",
"countryRegion": "Cupertino, CA, United States",
"duns": "ec7f550b3a97b94d919d837672573959",
"industryName": "Communications Equipment Manufacturing",
"locationType": "Parent",
"primaryName": "Apple Inc.",
"tradeStyleNames": "Apple",
"urlSelector": "apple_inc.ec7f550b3a97b94d919d837672573959",
"companySelector": "apple_inc.ec7f550b3a97b94d919d837672573959",
"companyUrlBuilt": "https://www.dnb.com/business-directory/company-profiles.apple_inc.ec7f550b3a97b94d919d837672573959.html",
"searchRank": 1,
"maskedFieldCount": 0,
"countryQueried": "us",
"companyNameQueried": "apple"
}

industry — a COMPANY row

{
"_input": "industry:retail_trade",
"_source": "S1-bd-api",
"_scrapedAt": "2026-08-21T10:05:38Z",
"recordType": "COMPANY",
"duns": "1d6aec28aff542b40d3c2193a9a258f4",
"primaryName": "Amazon.com, Inc.",
"primaryNameForUrl": "amazoncom_inc",
"primaryAddress": {
"addressCountry": { "isoAlpha2Code": "US", "countryName": "United States" },
"addressLocality": { "name": "Seattle" },
"addressRegion": { "name": "Washington", "abbreviatedName": "WA" },
"postalCode": "98109-5210",
"streetAddress": { "line1": "410 Terry Ave N" }
},
"addressLocalityNameFormatted": "Seattle",
"addressRegionNameFormatted": "Washington",
"addressCountryName": "United States",
"salesRevenue": "716,924",
"companyNameUrl": "amazoncom_inc.1d6aec28aff542b40d3c2193a9a258f4",
"companyUrlBuilt": "https://www.dnb.com/business-directory/company-profiles.amazoncom_inc.1d6aec28aff542b40d3c2193a9a258f4.html",
"searchRank": 1,
"industryPathQueried": "retail_trade"
}

profile — a COMPANY_PROFILE row

Key fields lifted to the top level for spreadsheets; the complete nested record (overview, financials, corporate family, competitors, similar companies, breadcrumb) is kept alongside them.

{
"_input": "profile:apple_inc.ec7f550b3a97b94d919d837672573959",
"recordType": "COMPANY_PROFILE",
"companyNameResolved": "Apple Inc.",
"dunsNumber": "060704780",
"directoryKey": "ec7f550b3a97b94d919d837672573959",
"websiteResolved": "www.apple.com",
"revenueFormatted": "$416.16 billion",
"keyPrincipalResolved": "Timothy D Cook",
"companyLocationResolved": "1 Apple Park Way Cupertino, CA, 95014-0642 United States",
"stockExchangeResolved": "NASDAQ:AAPL",
"maskedFieldCount": 58,
"overview": {
"tradeStyleName": "Apple",
"parentIndustryName": "Manufacturing",
"industries": {
"Communications Equipment Manufacturing": "communications_equipment_manufacturing",
"Computer and Peripheral Equipment Manufacturing": "computer_and_peripheral_equipment_manufacturing"
}
},
"financials": {
"annualIncomes": [
{ "year": "2025", "revenue": 416161.0, "revenueAccuracy": "Actual" }
]
},
"companyLinkage": { "totalPrincipals": 13, "totalContacts": "50,061" }
}

taxonomy — an INDUSTRY row

{
"_input": "taxonomy",
"recordType": "INDUSTRY",
"sectorName": "Mining, Quarrying, and Oil and Gas Extraction",
"industryTitle": "Mining, Quarrying, and Oil and Gas Extraction",
"industryPath": "mining_quarrying_and_oil_and_gas_extraction",
"naicsCode": "21",
"industryUrl": "/business-directory/industry-analysis.mining_quarrying_and_oil_and_gas_extraction.html"
}

SEARCH_SUMMARY — one per query

{
"recordType": "SEARCH_SUMMARY",
"mode": "search",
"totalMatches": 20195,
"returnedCount": 2,
"requestsMade": 1,
"resultWindowReached": false,
"notes": "D&B reports 20195 matching companies but its directory only pages through 1000 per query; split the work by country or employee-count band to reach the rest",
"companyNameQueried": "apple"
}
FieldTypeDescription
primaryNamestringCompany name
dunsstringD&B's directory key for the company
dunsNumberstringThe real 9-digit D‑U‑N‑S number (profile rows only)
companyUrlBuiltstringDirect link to the company's D&B profile page
industryNamestringIndustry classification
locationTypestringParent, Subsidiary, Branch, Single Location
salesRevenue / revenueFormattedstringAnnual revenue where published
keyPrincipalResolvedstringNamed executive (profile rows)
stockExchangeResolvedstringTicker where listed
maskedFieldCountintegerHow many fields D&B withheld for this company
totalMatchesintegerHow many companies D&B says match your query
resultWindowReachedbooleanWhether the per-query row limit was hit

Notes and limits

  • About 1,000 companies per query. D&B's directory stops paging at roughly 1,000 rows regardless of how many matches it reports. To collect more of a large industry, split the work — run it per state, or per city, or per employee-count band. Every SEARCH_SUMMARY row tells you totalMatches versus returnedCount so you can see when this applies.
  • Some fields are withheld per company. D&B publishes different amounts for different businesses; detailed financials in particular are usually held back for large public companies. Withheld fields are null, and maskedFieldCount reports how many there were. Revenue, key principal, website, address and industry are the most reliably present.
  • enrichWithProfile costs one request per company. Leave it off for large listing runs and turn it on for shortlists.
  • Use Residential proxy on the platform for the most reliable results.
  • Contact/people data is not collected. This actor returns company information only.
  • Last verified against the live site: 2026‑08‑21.