Dun & Bradstreet (D&B) Company Directory & Leads Scraper avatar

Dun & Bradstreet (D&B) Company Directory & Leads Scraper

Pricing

from $0.002 / company record

Go to Apify Store
Dun & Bradstreet (D&B) Company Directory & Leads Scraper

Dun & Bradstreet (D&B) Company Directory & Leads Scraper

US companies from the Dun & Bradstreet business directory with street address, city, state, ZIP, industry and sales revenue. Filter by state, city and industry; exports add phone and website where found, executives on request.

Pricing

from $0.002 / company record

Rating

0.0

(0)

Developer

ScrapeBench

ScrapeBench

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

2 hours ago

Last modified

Categories

Features

Limited permissions

Share

Pain points

  • The D&B directory shows 50 companies a page and stops at page 20, so a list such as machinery rental companies in Texas (6,000+) shows only its first 1,000.
  • Phone, website and executives sit on each company's own profile page, one click per company.
  • Each listing page mixes name, street, city, state and ZIP+4 in one block, so it cannot be sorted or filtered by area without copying it out first.

What we solve

  • Returns the companies D&B lists in the states, cities and industries you pick, largest by sales revenue first, with street, city, state, ZIP+4, industry group and revenue as separate columns. Up to the directory's own limits: in the largest cities a big industry group returns its 1,000 largest by revenue, and the run log states the gap.
  • Reaches past the directory's 1,000-company page limit by reading each industry group, and each city where a group is bigger than that.
  • Adds a phone, website and street address to exported companies where one is found ('Include contact details', on by default; about a third of companies in a 372-company sample), charged only on the rows that get one.
  • Adds phone, website, CEO and chairman, employee range, ticker and headquarters/branch from each company's profile when you turn on 'includeProfiles', for your largest results first (charged per profile read, and Apify bills that page fetch to your account; both costs are stated in the input).

Summary

Build a US company list by industry and place from the Dun & Bradstreet business directory. Pick states, cities and industries (the 20 NAICS sectors, from construction to health care) and get each company's name, street address, city, state, ZIP+4, NAICS industry group and sales revenue in US$ millions, plus a link to its D&B profile, largest by revenue first. D&B's own directory counts about 17.5 million US companies across those sectors (its sector totals); we store it sector by sector, and a free notice names any state and sector not stored yet. Data comes from that stored copy, so a run returns in seconds. On the first stored state and sector (Vermont construction: 4,000+ companies, 99.3% of the total D&B states for it) street address was on 99% of rows and revenue on 98.2%. An export also adds a phone and website where one is found by company name and town (34% of companies got a phone in a 372-company sample across five sectors), charged only on the rows that get one. Turn on 'includeProfiles' to add phone, website and top executives for as many of your largest results as you set in 'maxProfiles'. Pay per company returned, and per profile.

Who it's for

  • B2B sales and SDR teams building prospect lists by industry and city
  • Suppliers and distributors listing every manufacturer or contractor in a state
  • Analysts sizing a market by company count and revenue per city
  • Data teams adding D&B address and revenue to a company list

How to use

This actor does two jobs. Run it, then collect results from the run's dataset (export to JSON/CSV/Excel, or pull via the Apify API).

Get a list (export): no names, just filters; returns the whole matching list.

{
"mode": "export",
"states": [
"Vermont"
],
"categories": [
"construction"
],
"maxResults": 200
}

Check specific firms (lookup): put company names or licence numbers in queries, states; Inputs below says how each is matched.

{
"queries": [
"Vermont Comfort"
],
"states": [
"Vermont"
],
"maxResults": 5
}

See Inputs below for every available field.

What you get

One row per record:

FieldDescription
nameCompany name as D&B lists it
streetStreet address
cityCity
regionState (full name)
postal_codeZIP or ZIP+4
countryUS
categoryThe NAICS sector the company was listed under (e.g. Construction)
categoriesSector and NAICS industry group
phoneMain phone where found (exports with 'Include contact details', or 'includeProfiles'); empty otherwise
websiteWebsite where found (same as phone)
listing_idD&B's own key for the company (a 32-character code, not the 9-digit D-U-N-S Number)
extrasrevenue_musd (sales revenue, US$ millions), state_code, industry group, NAICS code, unincorporated flag; with profiles: executives, employees_range, revenue_text, ticker, site_type (headquarters / branch), ownership
source'snapshot' (stored copy)
source_urlThe company's profile page on dnb.com

Sample:

{
"name": "VERMONT COMFORT LLC",
"street": "51 Channel Rd",
"city": "Wallingford",
"region": "Vermont",
"postal_code": "05773-1100",
"country": "US",
"category": "Construction",
"categories": [
"Construction",
"Building Finishing Contractors"
],
"phone": null,
"website": null,
"listing_id": "1eb07a6617d203cac4e2af7f69eefc3f",
"extras": {
"state_code": "VT",
"revenue_musd": 0.51,
"unincorporated": false,
"naics": [
"2383"
],
"industry": "Building Finishing Contractors"
},
"source": "snapshot",
"source_url": "https://www.dnb.com/business-directory/company-profiles/vermont-comfort-llc.1eb07a6617d203cac4e2af7f69eefc3f"
}

Inputs

FieldRequiredTypeDefaultDescription
modenostring"auto"export: no names, just filters; returns the whole matching list. lookup: put business names in 'queries'. auto picks the mode for you.
querynostring—A business name (or listing number) to look up in the stored copy of the directory. Kept alongside 'queries' for saved tasks.
queriesnoarray[]A business name (or listing number) to look up in the stored copy of the directory. Several values in one run; combined with 'query'.
statenostring—Only listings in this state. Kept alongside 'states' for saved tasks.
statesnoarray[]Only listings in this state. Several values in one run; combined with 'state'.
citynostring—Only listings in this city. Kept alongside 'cities' for saved tasks.
citiesnoarray[]Only listings in this city. Several values in one run; combined with 'city'.
categoriesnoarray[]Only rows from this industry (one or more). Available: accommodation_and_food_services, administrative_and_support_and_waste_management_and_remediation_services, agriculture_forestry_fishing_and_hunting, arts_entertainment_and_recreation, construction, educational_services, finance_and_insurance, health_care_and_social_assistance, information, management_of_companies_and_enterprises, manufacturing, mining_quarrying_and_oil_and_gas_extraction, other_services_(except_public_administration), professional_scientific_and_technical_services, public_administration, real_estate_and_rental_and_leasing, retail_trade, transportation_and_warehousing, utilities, wholesale_trade.
includeContactsnobooleantrueAdd each business's phone, website and street address where available, looked up by business name. Charged as a separate 'Contact details found' event per row that gets one; a row without a contact costs only the row price. Only fields the source left empty are filled. Turn off for the list alone. Applies to exports; a look-up returns the stored record as it is.
includeProfilesnobooleanfalseReads the profile page of each delivered company (the largest first) through Apify's Web Fetch unblocker. Each company whose profile is read is charged as a 'Company profile' event, and Apify bills the page fetch to YOUR account as its own line item (~$1.50 per 1,000 pages, ~45 s a page, read while the run's time lasts). Off: rows come from the stored directory copy only.
maxProfilesnointeger50With 'Add profile fields' on: how many companies get their profile read (the largest first). A profile takes ~45 s; 8 are read at a time.
maxResultsnointeger500Per query in lookup mode; per run in export mode. An export returns the largest first, so this is the N largest.
proxyConfigurationnoobject{"useApifyProxy": false}Used only for live lookups; exports read the stored snapshot.

Pricing (Pay Per Event)

You pay per result (dataset-item) — no charge for empty runs. Example: 500 company records at $0.002/result ≈ $1.00.

Notices (an unknown industry, data not stored yet, an old copy) are free. In an export with 'Include contact details' on (the default), each company that gets a phone, website or street address is also charged a 'Contact details found' event ($0.005); a company without one costs only the row. With 'includeProfiles' on, each company whose profile is read is also charged a 'Company profile' event ($0.004), and Apify bills each profile page fetched by its Web Fetch unblocker to your account (about $1.50 per 1,000 pages), up to 'maxProfiles' a run (default 50).

Use cases

  • Prospecting: every construction company in Vermont with street address and revenue, ready for a CRM import.
  • Territory planning: one industry across several cities in a state, sorted by revenue.
  • Market sizing: count companies and sum revenue per industry group before buying a full data plan.
  • Enrichment: look up companies by name and add D&B's address, revenue and (with profiles) phone, website and CEO.

Why this actor

  • Largest companies first, and past the directory's 1,000-per-list page limit by reading each industry group and city (Vermont construction: 99.3% of D&B's stated total).
  • Address split into street, city, state and ZIP+4; revenue as a number.
  • Phone and website added to exports where found, paid only when found; executives on request, with the extra cost stated up front.
  • Pay per company; notices are free.

Limitations & updates

Covers companies listed in the free D&B Business Directory, in the states and sectors stored so far (a free notice names any that are not). No D-U-N-S Number, email, credit score or financials beyond sales revenue. In big cities a very large industry group returns its 1,000 largest companies by revenue. Data is served from a stored copy, so it can be weeks old; the run log states its date. Exports find a phone for about a third of companies; executives need 'includeProfiles', which Apify bills to your account per page.

FAQ

Where does the data come from?

The free Dun & Bradstreet Business Directory on dnb.com. We keep a stored copy of its company lists and serve your run from it, so results come back in seconds. The run log states the date of the copy.

Do I get the D-U-N-S Number?

No. The free directory does not publish the 9-digit D-U-N-S Number; it shows its own 32-character company key, which is returned as listing_id.

How do I choose industries?

Use the sector names in 'categories', as listed in the input (e.g. 'construction', 'retail_trade', 'health_care_and_social_assistance'). Each row also carries its NAICS industry group. An unknown name returns the list of sectors as a free row.

Do exported companies come with a phone number?

Where one can be found. With 'Include contact details' on (the default), an export looks each company up by name and town and adds its phone, website and street address when it finds a confident match: in a 372-company sample 34% got a phone and 27% a website, fewer in professional services (22%). Each company that gets one is charged a 'Contact details found' event ($0.005); the rest cost only the row. Names written as a person ('LAST, FIRST') are not looked up. A name look-up returns the stored record only; turn the option off for the plain list.

What does 'includeProfiles' add, and what does it cost?

Phone, website, CEO and chairman, employee range, ticker, headquarters/branch and ownership, read from each company's D&B profile page through Apify's Web Fetch unblocker. Each company whose profile is read is charged a 'Company profile' event ($0.004); a profile that could not be read is not charged. Apify also bills the page fetch to your account as its own line (about $1.50 per 1,000 pages). A page takes ~45 seconds and 8 are read at a time, so set 'maxProfiles' (default 50, up to 500) and give the run enough time; your largest results get profiles first, and rows it does not reach come without those fields and a free notice says how many.

How do I look up companies by name?

Put the names in 'queries' and give a state (and, if you know it, an industry): the lookup then reads only that part of the stored copy and answers fast. A name with no state searches the whole country's copy, which works but is slow, and a common name can match many companies.

Which states are covered?

The stored copy is built state by state and sector by sector. A state and sector not stored yet returns a free notice instead of rows, so you are never charged for it.

Does it get every company?

Nearly, in smaller states: Vermont construction returned 99.3% of the companies D&B states for it. The directory shows at most 1,000 companies per list, so in the largest cities a very big industry group returns its 1,000 largest by revenue.

How am I charged?

One 'Company record' event per company returned; a company listed under two industry groups is charged once. In an export, one 'Contact details found' event ($0.005) per company that gets a phone, website or street address. With 'includeProfiles' on, one 'Company profile' event per profile actually read. Notices are free.

Guides & use cases

Written up on scrapebench.dev — the bench that runs and verifies this actor against the live source every night:

More actors, coverage and nightly verification results: scrapebench.dev

Works with AI assistants (MCP)

Callable as an MCP tool, so Claude, Cursor, VS Code Copilot and other MCP clients can run it directly. Grab the config from the MCP tab on this page — Apify hosts the server and keeps that snippet current, and OAuth signs you in on first connect, so no API token goes in your config file.

Then just ask:

"List construction companies in Vermont with their addresses and annual revenue from the Dun & Bradstreet directory."

That is states ['Vermont'] with categories ['construction']: 4,000+ companies on the latest data. Set maxResults to keep a first call small. Runs started this way bill exactly like any other run.

Data & lawful use

This actor collects publicly available information that Dun & Bradstreet, Inc. (D&B), publisher of the free D&B Business Directory at dnb.com publishes for public lookup — licence records, business listings and the contact details professionals list there. Some of it identifies individuals (sole proprietors, licence holders, agents), so treat any names, phone numbers and emails in your results as personal data.

When you run this actor, you decide what is collected and what it is used for, so you are the controller of that data and we act only as your processor (Apify Standard Actor Contract). You need a lawful basis for your use, must honour opt-out and deletion requests, and must follow the marketing rules that apply to you (CAN-SPAM, TCPA, GDPR, CCPA and similar). Don't use the output for unsolicited bulk messaging, for screening covered by the FCRA, or for anything the source's own terms forbid.

Your results are stored in your own Apify account. We don't keep a copy of your results and don't sell or share them.

Disclaimer

This is an independent tool. It is not affiliated with, endorsed by or sponsored by Dun & Bradstreet, Inc. (D&B), publisher of the free D&B Business Directory at dnb.com. Names and marks are used only to describe the data source. Records are provided as published by the source and may be out of date or incomplete. For anything consequential (hiring, a permit, a legal decision), confirm the record with the issuing agency. You are responsible for making sure your use complies with applicable law and the source's terms.

Need help?

Open an issue on this actor's Issues tab and we'll respond there. Bug reports, missing fields and feature requests are all welcome. Guides and examples: scrapebench.dev.

If you are a person named in this data and want your record removed from our copy, email apify-help@scrapebench.dev; the source agency remains the official record.

Your run may be used to improve our services. If something looks off, or you want this actor to fit your use better, please share your run data with us: Apify Console → Settings → Security → Share run data with developers. It lets us see exactly what went wrong and keep improving the actor.

If this actor saved you time, a short review on its Store page helps other buyers find it.