Dun & Bradstreet Scraper - Companies, DUNS, Revenue & Employees avatar

Dun & Bradstreet Scraper - Companies, DUNS, Revenue & Employees

Pricing

from $5.00 / 1,000 company results

Go to Apify Store
Dun & Bradstreet Scraper - Companies, DUNS, Revenue & Employees

Dun & Bradstreet Scraper - Companies, DUNS, Revenue & Employees

Scrape companies from the Dun & Bradstreet directory via D&B's own API - address, industry, DUNS, revenue (numeric + per-year), real employee counts, key principal, executives & website. Search with filters, browse industries by region/city, or paste profile URLs. JSON/CSV out.

Pricing

from $5.00 / 1,000 company results

Rating

0.0

(0)

Developer

Muhamed Didovic

Muhamed Didovic

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Dun & Bradstreet Scraper — Companies, DUNS, Revenue & Real Employee Counts

Extract structured company data from the Dun & Bradstreet business directory (dnb.com) — company name, full address, industry, DUNS, revenue (formatted + numeric + per-year), REAL employee counts, key principal, named executives, stock ticker, website and more — straight from D&B's own directory API. No D&B subscription, no manual copy-paste, no coding required. Export as JSON, CSV, Excel, or via API.

How it works

How Dun & Bradstreet Scraper works

✨ Why use this scraper?

  • D&B's own directory API, not fragile HTML — the actor calls the same JSON endpoints the dnb.com site uses, so fields arrive structured and stable
  • Real employee counts — where other D&B scrapers return null for gated fields, this one recovers the structured values D&B still ships (e.g. 12,909 (Actual, Consolidated) for Take-Two)
  • Revenue three ways — formatted ($6.66 billion), absolute numeric USD (6656400000), and per-fiscal-year history with accuracy flags; when D&B masks the display string the numeric value is recovered and the formatted figure rebuilt
  • Key principal + named executives with titles, plus counts of principals and contacts on file
  • Three ways in — keyword search (with employee-count + hierarchy-role filters), industry browsing (revenue-sorted directory listings scoped by country → region → city), and direct profile URLs
  • Server-side filters — narrow keyword searches by min/max employees and company role (Parent/HQ, Branch, Subsidiary, Domestic/Global Ultimate) before a single row is billed
  • Country targeting — search within US, GB, DE, FR, CA, AU and more (D&B is geo-aware)
  • Opt-in contact-email enrichment — the actor can visit each company's own website (taken from its D&B profile) and extract a contact email
  • ✅ Automatic pagination + de-duplication by DUNS; exports to JSON, CSV, Excel, XML, integrates with Google Sheets, Make, Zapier, Slack

🎯 Use cases

  • B2B lead generation & sales prospecting — build targeted prospect lists by industry keyword and country, prioritised by revenue and headcount
  • CRM & data enrichment — append DUNS, industry, address, revenue, employees and website to your accounts
  • Market sizing / TAM analysis — pull every company matching a sector keyword with real firmographics instead of guesswork
  • Corporate hierarchy mappinglocationType distinguishes Parent vs Branch locations
  • Decision-maker identification — key principal and named executives with titles on each profile
  • Risk, credit & supplier research — DUNS-anchored firmographics for KYB and vendor onboarding
  • Competitive & industry intelligence — industry taxonomy, similar companies, per-year revenue trends, ESG rank where published

📥 Supported inputs

InputExampleWhat happens
Search terms (queries)software, logistics, Take-TwoSearches the D&B business directory like the site's own search box, paginating automatically (~25 companies/page)
Search filters (minEmployees, maxEmployees, companyRole)101500, parentServer-side filters on keyword searches — e.g. only Parent/HQ companies with 101–500 employees
Industry slugs (industryPaths)software_publishers, legal_servicesBrowses D&B's industry directory — revenue-sorted, 50 companies/page, scoped by countryregioncity
Region / city (region, city)california, san_franciscoNarrows industry browsing geographically (D&B caps each industry+geo listing at ~1,000 companies — go city-level for deeper coverage)
Country (country)us, gb, de, fr, ca, auScopes searches and browsing to one country; US has the richest coverage
dnb.com URLs (startUrls)profile, industry-listing, or search URLsAuto-classified: profile URLs fetch that company directly, company-information.* URLs are browsed, company-search.html?term= URLs run as extra queries

Mix all of them in the same run; rows are de-duplicated by DUNS across every source.

⚠️ Proxy requirement

Dun & Bradstreet blocks datacenter IPs. A residential proxy is required — the default input config already pins Apify RESIDENTIAL with country: US, which is the most reliable setup for full coverage.

🔄 How it works

  1. Each search term is sent to D&B's companysearch directory API, scoped to your country and any employee/role filters; each industry slug goes to the companyinformation listing API (revenue-sorted, 50/page), scoped by country/region/city.
  2. Result pages are walked automatically and de-duplicated by DUNS across all sources.
  3. With deep profiles enabled (default), each company's companyprofile API payload is fetched in parallel — adding revenue, employees, key principal, executives, ticker, industry taxonomy and website.
  4. Subscription-gated fields that D&B masks are converted to clean nulls — never placeholder garbage — while structured values that survive the masking (real employee counts, numeric revenue) are recovered.
  5. Each merged company row is pushed to the dataset — one row per company.

No login, no captcha solving, no browser rendering.

⚙️ Input parameters

FieldTypeDefaultDescription
queriesarray["software"]Company names or keywords to search
countrystring"us"ISO alpha-2 country code
startUrlsarray[]Any dnb.com URLs — profile, industry-listing, or search (auto-classified)
industryPathsarray[]D&B industry slugs to browse (e.g. software_publishers)
regionstringState/region slug for industry browsing (e.g. california)
citystringCity slug for industry browsing (e.g. san_francisco)
minEmployees / maxEmployeesintegerEmployee-count filter on keyword searches
companyRolestring"any"parent / branch / subsidiary / domestic-ultimate / global-ultimate
scrapeCompanyProfilesbooleantrueDeep mode: fetch each company's full profile (one extra request per company)
enrichEmailsbooleanfalseOpt-in: extract a contact email from each company's own website
maxItemsPerQueryinteger200Cap per search term
maxItemsinteger1000Global cap across all queries + startUrls
maxConcurrencyinteger10Parallel profile fetches
proxyobjectApify RESIDENTIAL, USResidential proxy required

📊 Output overview

One row per company. List mode (deep profiles off) carries the search-card fields: name, trade styles, DUNS, address/city/state/zip/country, industry, location type, profile URL. Deep mode (default) merges in the full profile: revenue (three representations), employee counts (consolidated + this site, with reliability flags), key principal, executives, website + domain, parent industry + full industry list + taxonomy path, stock exchange/ticker, Fortune-style ranking, company summary, corporate-linkage counts, similar companies, and legal-form flags.

📦 Output sample

{
"type": "company",
"source": "dnb",
"duns": "2d66458a75c9d054a6e33addf02f1573",
"companyName": "Take-Two Interactive Software, Inc.",
"tradeStyleNames": "Take-Two",
"profileUrl": "https://www.dnb.com/business-directory/company-profiles.take-two_interactive_software_inc.2d66458a75c9d054a6e33addf02f1573.html",
"address": "110 W 44TH St",
"city": "New York",
"state": "New York",
"zipCode": "10036-4011",
"country": "United States",
"countryRegion": "New York, NY, United States",
"industry": "Computer Systems Design and Related Services",
"parentIndustry": "Professional, Scientific, and Technical Services",
"industries": [
"Computer Systems Design and Related Services",
"Software Publishers",
"Electronics and Appliance Retailers",
"Computer software development",
"Home entertainment computer software"
],
"locationType": "Parent",
"website": "www.take2games.com",
"companyDomain": "take2games.com",
"keyPrincipal": "Strauss Zelnick",
"formattedRevenue": "$6.66 billion",
"revenueUsd": 6656400000,
"employeesConsolidated": { "value": 12909, "reliability": "Actual", "scope": "Consolidated" },
"employeesThisSite": { "value": 1152, "reliability": "Modelled", "scope": "Individual" },
"stockTicker": "TTWO",
"stockExchange": "NASDAQ:TTWO",
"companySummary": "Take-Two Interactive Software, Inc. is a global developer, publisher, and marketer of interactive entertainment…",
"executives": [
{ "name": "Strauss Zelnick", "position": "Executive Chairman of the Board and Chief Executive Officer" }
],
"totalContactsOnFile": 671,
"totalPrincipals": 4,
"revenueReliability": "Actual",
"annualRevenues": [
{ "year": "2026", "revenueUsd": 6656400000, "accuracy": "Actual" }
],
"industryPath": [
{ "name": "Professional, Scientific, and Technical Services", "url": "https://www.dnb.com/business-directory/industry-analysis.professional_scientific_and_technical_services.html" }
],
"ranking": { "value": 618, "description": "Fortune 1000 Revenue Rank" },
"isPrivate": false,
"scrapedAt": "2026-07-10T22:31:23.313Z"
}

🗂 Key output fields

GroupFields
Identifierstype, source, duns (D&B's public encrypted DUNS hash), companyName, tradeStyleNames, profileUrl, scrapedAt
Locationaddress, city, state, zipCode, country, countryRegion
Classificationindustry, parentIndustry, industries[], industryPath[], locationType (Parent / Branch / …)
FinancialsformattedRevenue, revenueUsd (absolute USD), revenueReliability (Actual / Modelled), annualRevenues[] (per fiscal year with accuracy)
PeoplekeyPrincipal, executives[] (name + title), totalPrincipals, totalContactsOnFile
SizeemployeesConsolidated.{value,reliability,scope}, employeesThisSite.{value,reliability,scope}
MarketstockExchange, stockTicker, ranking (e.g. Fortune 1000 rank), similarCompanies[], esgRank
Webwebsite, companyDomain
Legal formisPrivate, isPartnership, isProprietorship
Email enrichment (when enrichEmails: true)contactEmail, contactWebsite, emailEnrichment (detailed provenance object)

❓ FAQ

Why does the actor need a residential proxy? dnb.com blocks datacenter and cloud IP ranges. A residential proxy (Apify RESIDENTIAL group, country: US recommended) is the reliable path — the default input config already pins this.

Where does the data come from? From D&B's own public directory API — the same companysearch and companyprofile JSON endpoints the dnb.com Business Directory site itself calls. No HTML scraping, no browser, no login.

Why are some fields null? D&B gates certain values behind its paid products (exact phone, incorporation year, some financial line items) and masks them in the public payload. The scraper converts masked values to clean nulls instead of shipping placeholder garbage. Note that several commonly-gated fields — employee counts and numeric revenue — are recovered from structured parts of the payload that survive the masking, which most alternative scrapers miss.

Is duns the raw 9-digit DUNS number? No — D&B does not expose raw DUNS numbers publicly. The duns field is D&B's public encrypted DUNS hash (32 hex chars), which is stable per company and works as a join key and in profile URLs.

How many companies can one keyword return? Broad keywords match large sets (e.g. software in the US matches ~48,000 companies; plumbing ~163,000). Use maxItemsPerQuery / maxItems to cap billing, narrow with the employee/role filters, or use more specific terms.

Where do I find industry slugs for industryPaths? In any dnb.com industry URL: https://www.dnb.com/business-directory/company-information.software_publishers.us.html → the slug is software_publishers. Industry listings are revenue-sorted (biggest companies first) and D&B caps each industry+geo listing at ~1,000 companies — add region and city to reach deeper into a sector.

Do the employee/role filters apply to industry browsing? No — they're companysearch API parameters, so they apply to keyword queries only. Industry listings come pre-sorted by revenue instead.

How does email enrichment work and what does it cost? When enrichEmails: true, the actor takes each company's own website from its D&B profile, visits its contact/about pages, and extracts a contact email. Best-effort: you're only billed per email actually found, never for misses.

Can I scrape logged-in or subscriber data? No. The scraper accesses only the public business directory — no D&B Hoovers content, no credit reports, no authenticated endpoints.

💬 Support

🛠 Additional services

  • Custom output shape, additional fields, or one-off datasets: muhamed.didovic@gmail.com
  • Need a similar scraper for other business directories (Crunchbase, GoodFirms, Clutch, IndiaMART, etc.)? Drop an email.
  • For API access (no Apify fee, just a usage fee for the API): muhamed.didovic@gmail.com

🔎 Explore more scrapers

If this Dun & Bradstreet Scraper was useful, see other scrapers and actors at memo23's Apify profile — covering business directories, job boards, real estate, social media, and more.


⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Dun & Bradstreet, Inc. or any of its subsidiaries or affiliates. "Dun & Bradstreet", "D&B" and "D-U-N-S" are trademarks of Dun & Bradstreet, Inc. All trademarks mentioned are the property of their respective owners.

The scraper accesses only the publicly available dnb.com Business Directory and its public JSON endpoints — no D&B Hoovers subscriber content, credit reports, authenticated endpoints, or content behind a D&B login. Users are responsible for ensuring their use complies with dnb.com's Terms of Service, applicable data-protection law (GDPR, CCPA, etc.), and any contractual obligations of their own organisation.


SEO Keywords

dun and bradstreet scraper, dnb scraper, dnb.com scraper, scrape dun & bradstreet, duns number lookup, dnb business directory scraper, company firmographics scraper, b2b lead generation scraper, company revenue data scraper, employee count data, key principal data, business directory api, company data extraction, dnb api, firmographic data, kyb data scraper, company intelligence scraper, sales prospecting data, tam analysis data, crm enrichment scraper, corporate hierarchy data, dnb company profiles, dun bradstreet company search, business credit data alternative