Dun & Bradstreet Scraper
Pricing
from $0.89 / 1,000 companies
Dun & Bradstreet Scraper
Extract company data from Dun & Bradstreet's public business directory. Search by name, industry, location, or NAICS/SIC code. Returns firmographic data: address, phone, website, industry classification, revenue range, employee count, founding year, company hierarchy, and key executives.
Pricing
from $0.89 / 1,000 companies
Rating
0.0
(0)
Developer
ParseBird
Maintained by CommunityActor stats
1
Bookmarked
10
Total users
4
Monthly active users
4 days ago
Last modified
Categories
Share
Dun & Bradstreet Scraper
The Dun & Bradstreet Scraper searches D&B's Business Directory by company name or keyword and extracts company name, DUNS number, address, industry, and location type — with optional deep enrichment for revenue, key principal, and register data.
| Search any keyword or company name across 190+ countries and get structured firmographic data — DUNS number, address, industry classification, parent/subsidiary status, and (optionally) revenue and key principal — ready for lead lists, KYC checks, or market research. |
Copy to your AI assistant
Use the Apify Actor "parsebird/dnb-scraper" (Dun & Bradstreet Scraper) via the ApifyClient: client.actor("parsebird/dnb-scraper").call(run_input={"queries": ["software"], "country": "US", "maxItemsPerQuery": 200, "scrapeCompanyProfiles": False}) — inputs are queries (array of company names or keywords — required), country (two-letter ISO code, default "US"), maxItemsPerQuery (integer, default 50, paginated automatically), scrapeCompanyProfiles (boolean, default false — visits each company's D&B profile for revenue, key principal, and financials), and proxyConfiguration (Apify Proxy, Unblocker required and used by default); output items contain companyName, duns, companyProfileUrl, address, city, region, zipCode, country, countryRegion, industryName, locationType, tradeStyleNames, searchTerm, scrapedAt, and — when scrapeCompanyProfiles is on — revenue, revenueValue, revenueCurrency, revenueYear, keyPrincipal, parentIndustryName, registeredDuns, totalPrincipals, competitorsIndustry, similarCompaniesCount, employees, phone, and incorporatedYear; full API spec at https://apify.com/parsebird/dnb-scraper/api and get an API token at https://console.apify.com/account/integrations.
What does the Dun & Bradstreet Scraper do?
Dun & Bradstreet maintains one of the largest global business directories, indexing companies by DUNS number, industry, revenue, and corporate family structure. The Dun & Bradstreet Scraper automates D&B's Business Directory search so you don't have to click through it by hand:
- 🔍 Search by company name or industry keyword (e.g. "software", "logistics", "renewable energy")
- 🌍 Filter by country — 190+ two-letter ISO codes, from the US (deepest coverage) to niche markets
- 📇 Get DUNS number, full address, industry classification (NAICS-based), and parent/subsidiary/branch location type for every result
- 📈 Optionally enrich each company with its full D&B profile: formatted and numeric revenue, revenue year and currency, key principal name, register (DUNS) number, employee count, phone, and similar-company count
- 🔁 Automatic pagination up to your requested item count per query
- ⚡ Runs on Apify's infrastructure with automatic proxy handling — no need to manage D&B's bot protection yourself
Feed it a short list of keywords or hundreds of them — each query is paginated and enriched independently.
Country coverage
D&B's directory is global. Set the country parameter to focus your search on any two-letter ISO code, for example:
| Code | Country |
|---|---|
US | United States — richest coverage, most complete revenue and principal data |
GB | United Kingdom |
DE | Germany |
FR | France |
CA | Canada |
AU | Australia |
| … | 190+ other two-letter ISO country codes |
The US market has by far the deepest data, including the most complete revenue, employee, and key-principal coverage. Other countries return solid core firmographic data (name, address, industry) with lighter financial detail.
What data can you extract from D&B's Business Directory?
Core fields (every result):
| Field | Description |
|---|---|
companyName | Company primary name |
duns | D&B directory identifier for the company |
companyProfileUrl | Link to the company's D&B profile |
address / city / region / zipCode / country | Full location |
countryRegion | Combined region string |
industryName | Industry classification |
locationType | Parent or branch location |
tradeStyleNames | Trade/DBA names |
searchTerm | The term this record came from |
scrapedAt | Timestamp of extraction |
Deep profile fields (only when scrapeCompanyProfiles is on):
| Field | Description |
|---|---|
revenue | Formatted revenue, e.g. $5.63 billion |
revenueValue | Revenue as a number |
revenueCurrency | Revenue currency (e.g. USD) |
revenueYear | Fiscal year of the revenue figure |
keyPrincipal | Lead executive on file |
parentIndustryName | Higher-level industry |
registeredDuns | Registered (numeric) DUNS number |
totalPrincipals | Number of principals on file |
competitorsIndustry | Industry used for competitor matching |
similarCompaniesCount | Count of close industry peers |
employees / phone / incorporatedYear | Returned when D&B exposes them publicly (otherwise null) |
Not every field is present on every company — D&B masks some financial and contact detail behind its own paywall, and those fields come back as null rather than fabricated data.
Input parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
queries | array | Yes | — | Company names or keywords to search, e.g. software, logistics. |
country | string | No | US | Two-letter country code (US, GB, DE, FR, CA, AU, …). |
maxItemsPerQuery | integer | No | 50 | Max companies to collect per term. Paginated automatically. |
scrapeCompanyProfiles | boolean | No | false | Visit each company's profile for revenue, key principal, financials, and more. Richer but slower. |
proxyConfiguration | object | No | Apify Unblocker | Apify Proxy settings. Unblocker is required — D&B blocks direct requests and standard residential/datacenter proxies with a Cloudflare challenge. |
Quick company list:
{"queries": ["software"],"country": "US","maxItemsPerQuery": 200}
Deep firmographics:
{"queries": ["logistics", "renewable energy"],"country": "US","maxItemsPerQuery": 100,"scrapeCompanyProfiles": true}
Search within another country:
{"queries": ["automotive"],"country": "DE","maxItemsPerQuery": 150}
Output example
{"companyName": "Take-Two Interactive Software, Inc.","duns": "2d66458a75c9d054a6e33addf02f1573","registeredDuns": "829681063","companyProfileUrl": "https://www.dnb.com/business-directory/company-profiles/take-two-interactive-software-inc.2d66458a75c9d054a6e33addf02f1573","address": "110 W 44TH St","city": "New York","region": "New York","zipCode": "10036-4011","country": "United States","industryName": "Computer Systems Design and Related Services","locationType": "Parent","revenue": "$6.66 B","revenueValue": 6656400000,"revenueCurrency": "USD","revenueYear": "2026","keyPrincipal": "Strauss Zelnick","parentIndustryName": "Professional, Scientific, and Technical Services","totalPrincipals": "4","competitorsIndustry": "Computer Systems Design and Related Services","similarCompaniesCount": 4,"searchTerm": "software","scrapedAt": "2026-09-05T11:16:09.000Z"}
Download results in JSON, CSV, Excel, HTML, or XML directly from the Apify Console, or pull them via the Dataset API / Apify SDK.
How to use the Dun & Bradstreet Scraper
- Open the Dun & Bradstreet Scraper on the Apify Store, or call it via the API below.
- Enter one or more company names or keywords, pick a country, and set how many results you need per term.
- Turn on Scrape company profiles if you need revenue and key-principal data.
- Run the Actor and download the dataset as JSON, CSV, or Excel — or read it straight from your own code.
Python:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_API_TOKEN>")run = client.actor("parsebird/dnb-scraper").call(run_input={"queries": ["software"],"country": "US","maxItemsPerQuery": 200,"scrapeCompanyProfiles": True,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["companyName"], item["duns"], item.get("revenue"))
JavaScript (Node.js):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });const run = await client.actor('parsebird/dnb-scraper').call({queries: ['software'],country: 'US',maxItemsPerQuery: 200,scrapeCompanyProfiles: true,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Use cases
- Sales lead generation — build a targeted prospect list by industry keyword and country, complete with address and revenue band
- KYC and vendor due diligence — verify a company's registered name, DUNS number, and industry classification before onboarding
- Market research — size an industry by pulling every company matching a keyword in a given country
- Competitive intelligence — pull similar-company counts and key principals for a set of competitors
- Data enrichment — append DUNS numbers and firmographic data to an existing company list
How it works
- Sends each search term to D&B's Business Directory search API, filtered by your chosen country.
- Paginates automatically (25 results per page) until your requested
maxItemsPerQueryis reached or D&B has no more matches. - Deduplicates results by DUNS number as it paginates.
- If Scrape company profiles is on, visits each company's public D&B profile page and extracts revenue, key principal, register number, employee count, and more.
- Pushes one row per company to the dataset.
How much does it cost to scrape D&B's Business Directory?
This Actor uses Pay-Per-Event pricing — you pay per company returned, not per API call or compute unit. Compute and proxy costs are included in the event prices.
| Event | When it's charged | Free | Bronze | Silver | Gold |
|---|---|---|---|---|---|
company-scraped | Every company row pushed to the dataset | $0.00149 | $0.00129 | $0.00109 | $0.00089 |
company-profile | Additionally, when Scrape company profiles is on and the company's full profile was fetched | $0.00499 | $0.00449 | $0.00399 | $0.00349 |
Search-only runs cost $1.49 per 1,000 companies on the Free plan ($0.89 on Gold). With full profiles, each company costs company-scraped + company-profile — $6.48 per 1,000 on the Free plan ($4.38 on Gold). If a profile can't be fetched, that company is billed at the search-only rate. Apify's free monthly platform usage credits apply to this Actor like any other.
FAQ
Why do some fields come back null?
D&B masks certain financial and contact fields (like incorporatedYear or a second principal's name) behind its own paywall. This Actor only returns what D&B actually exposes publicly — it never fabricates masked values.
Does scrapeCompanyProfiles cost more per row?
Yes. Each profile is an extra protected request to D&B, so companies whose full profile was fetched are also charged a company-profile event (see pricing above). Leave it off if you only need directory data.
Why is US coverage better than other countries? D&B's own data is deepest for the US market. Other countries reliably return company name, address, and industry, but revenue and principal data is sparser outside the US.
Can I search for an exact company name instead of a keyword?
Yes — queries accepts anything you'd type into D&B's own search box, from a broad industry keyword to a specific company name.
Can I schedule this to run automatically? Yes — use Apify Schedules to re-run a set of queries daily, weekly, or on any interval, and pair it with webhooks or the Google Sheets, Slack, Zapier, or Make integrations to route the results.
Can I access this via API? Yes — every Actor on Apify has a full REST API, plus native clients for Python and JavaScript. See the code samples above.
Found a search term or country this Actor handles poorly? Open an issue on the Issues tab — reports on specific queries help improve coverage.
Is it legal to scrape Dun & Bradstreet's Business Directory?
Yes. This Actor only reads company information that D&B has already published on its public Business Directory pages — the same data any visitor can see without logging in. That said, always respect D&B's terms of service and applicable data-protection law for how you subsequently use any personal data, such as a key principal's name. See Apify's blog post on the legality of web scraping for a broader overview.
Related Actors
- Impressum & EU Legal Notice Scraper — company legal-notice data (address, VAT ID, director) straight from any domain
- Website Contact Finder — general-purpose contact-detail extraction for any website
- Zefix.ch Scraper — search the Swiss commercial register by name, canton, or legal form
- FirmenABC.at Scraper — Austrian company registry data
- UK Companies House Scraper — official UK company registration records
- Pappers.fr Company Scraper — French company registry data
- Northdata Scraper — cross-border company and ownership data
