Dun & Bradstreet Scraper - Companies, DUNS, Revenue & Employees
Pricing
from $5.00 / 1,000 company results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
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

✨ 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
nullfor 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 mapping —
locationTypedistinguishes 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
| Input | Example | What happens |
|---|---|---|
Search terms (queries) | software, logistics, Take-Two | Searches the D&B business directory like the site's own search box, paginating automatically (~25 companies/page) |
Search filters (minEmployees, maxEmployees, companyRole) | 101–500, parent | Server-side filters on keyword searches — e.g. only Parent/HQ companies with 101–500 employees |
Industry slugs (industryPaths) | software_publishers, legal_services | Browses D&B's industry directory — revenue-sorted, 50 companies/page, scoped by country → region → city |
Region / city (region, city) | california, san_francisco | Narrows 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, au | Scopes searches and browsing to one country; US has the richest coverage |
dnb.com URLs (startUrls) | profile, industry-listing, or search URLs | Auto-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
- Each search term is sent to D&B's
companysearchdirectory API, scoped to your country and any employee/role filters; each industry slug goes to thecompanyinformationlisting API (revenue-sorted, 50/page), scoped by country/region/city. - Result pages are walked automatically and de-duplicated by DUNS across all sources.
- With deep profiles enabled (default), each company's
companyprofileAPI payload is fetched in parallel — adding revenue, employees, key principal, executives, ticker, industry taxonomy and website. - 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. - Each merged company row is pushed to the dataset — one row per company.
No login, no captcha solving, no browser rendering.
⚙️ Input parameters
| Field | Type | Default | Description |
|---|---|---|---|
queries | array | ["software"] | Company names or keywords to search |
country | string | "us" | ISO alpha-2 country code |
startUrls | array | [] | Any dnb.com URLs — profile, industry-listing, or search (auto-classified) |
industryPaths | array | [] | D&B industry slugs to browse (e.g. software_publishers) |
region | string | — | State/region slug for industry browsing (e.g. california) |
city | string | — | City slug for industry browsing (e.g. san_francisco) |
minEmployees / maxEmployees | integer | — | Employee-count filter on keyword searches |
companyRole | string | "any" | parent / branch / subsidiary / domestic-ultimate / global-ultimate |
scrapeCompanyProfiles | boolean | true | Deep mode: fetch each company's full profile (one extra request per company) |
enrichEmails | boolean | false | Opt-in: extract a contact email from each company's own website |
maxItemsPerQuery | integer | 200 | Cap per search term |
maxItems | integer | 1000 | Global cap across all queries + startUrls |
maxConcurrency | integer | 10 | Parallel profile fetches |
proxy | object | Apify RESIDENTIAL, US | Residential 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
| Group | Fields |
|---|---|
| Identifiers | type, source, duns (D&B's public encrypted DUNS hash), companyName, tradeStyleNames, profileUrl, scrapedAt |
| Location | address, city, state, zipCode, country, countryRegion |
| Classification | industry, parentIndustry, industries[], industryPath[], locationType (Parent / Branch / …) |
| Financials | formattedRevenue, revenueUsd (absolute USD), revenueReliability (Actual / Modelled), annualRevenues[] (per fiscal year with accuracy) |
| People | keyPrincipal, executives[] (name + title), totalPrincipals, totalContactsOnFile |
| Size | employeesConsolidated.{value,reliability,scope}, employeesThisSite.{value,reliability,scope} |
| Market | stockExchange, stockTicker, ranking (e.g. Fortune 1000 rank), similarCompanies[], esgRank |
| Web | website, companyDomain |
| Legal form | isPrivate, 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
- For issues or feature requests, please use the Issues tab on the actor's Apify Console page.
- Author's website: https://muhamed-didovic.github.io/
- Email: muhamed.didovic@gmail.com
🛠 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