D&B Business Directory Scraper — Company Data API avatar

D&B Business Directory Scraper — Company Data API

Pricing

from $4.50 / 1,000 results

Go to Apify Store
D&B Business Directory Scraper — Company Data API

D&B Business Directory Scraper — Company Data API

Scrape dnb.com companies with D-U-N-S number, address, phone and website, revenue and employee counts, NAICS and SIC industries, key principal, ownership type and ticker. Similar companies and incremental tracking included.

Pricing

from $4.50 / 1,000 results

Rating

0.0

(0)

Developer

Black Falcon Data

Black Falcon Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

What does D&B Business Directory Scraper do?

D&B Business Directory Scraper extracts structured company data from dnb.com — including contact details, full descriptions, and location data. It supports keyword search, location filters, and controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (full descriptions, company metadata, and contact information) where the source provides them.

How to use this actor

  • 👉 Register for a free Apify account — no credit card required.
  • 🎉 Just click Sign up free on Apify → and complete a quick signup.
  • 💰 A free Apify account includes $5 in monthly credits — enough to test this actor.
  • ⏳ Scrape during the free trial, with no commitment or upfront payment required.

Key features

  • 🏢 Employer details: companyName name the employer behind each record.
  • 🏘️ Address: streetAddress and postalCode as separate fields for every record that lists them.
  • 📇 Contact details: website, emails and phone where the record publishes them.
  • 🌍 Region selection: Choose United States, Canada, United Kingdom, Ireland, Germany, France, Netherlands, Spain, Italy, Sweden, Denmark, Norway, Australia, India, Japan, Singapore, Brazil and Mexico with the country input.
  • 🔍 Keyword search: search dnb.com by keyword with the query input.
  • 🔗 Paste-mode: paste dnb.com URLs into startUrls to scrape exactly the pages you picked in the browser.
  • 📋 Detail enrichment: toggle two-stage scraping: first collect listings, then enrich each with full description + detail-page-only fields. Off by default to keep runs fast; flip on when you need the deep payload.
  • ♻️ Incremental mode: recurring runs emit only directory entries that are new or updated — keep your supplier-outreach lists fresh without re-fetching the full directory. Saves 80–95% on weekly syncs.
  • 🔔 Notifications: Telegram, Slack, Discord, WhatsApp Cloud API, and generic webhook out of the box. Pair with incremental for daily new-listing alerts without pipeline glue.
  • 📦 Compact mode: compact directory entries — name, contact, location, industry — ready to import into your CRM or outreach tool.
  • 🔌 MCP connectors: push your leads into Notion via Apify's MCP connectors — a tidy run-summary page, no export step, no glue code. Opt-in, deterministic field-mapping (no AI). More destinations as Apify's connector catalog grows.

What data can you extract from dnb.com?

Each result includes Core company fields (listingId, searchQuery, contentQuality, scrapedAt, changeType, duns, dunsNumber, and title, and more), detail fields when enrichment is enabled (detailFetched and description), contact information (emails, primaryEmail, phone, and contacts), and company metadata (companyName). In standard mode, all fields are always present — unavailable data points are returned as null, never omitted. In compact mode, only core fields are returned.

Detail enrichment is on by default and adds richer fields such as full descriptions, company metadata, and contact information where the source provides them.

Input

The main inputs are a search keyword, an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

  • query — Company name or industry keyword, e.g. "Tesla" or "software publishers". Required if no startUrls provided.
  • country — ISO-2 country code to restrict the directory search to — the only geographic filter the directory supports. (default: "US")
  • minEmployees — Only companies with at least this many employees (whole company; this site's headcount when that is all D&B shows). Reads the full company profile; companies with no published headcount are left out.
  • maxEmployees — Only companies with at most this many employees (same headcount as Min Employees).
  • companyRole — Only companies playing this role in their corporate family tree: a parent / headquarters, a branch, a subsidiary, or the top of the tree - the domestic ultimate (top of the family in its own country, also when the global parent is abroad) or the global ultimate (top of the whole family). Ultimate roles are D&B's own classification, checked with D&B for every company; a company D&B does not list in that role is not returned. Reads the full company profile. (default: "any")
  • maxResults — Maximum total companies (0 = unlimited). (default: 100)
  • startUrls — Paste raw directory search URLs from dnb.com. Each URL becomes its own search task; results are merged and deduped by company across all URLs. When provided, startUrls REPLACE the query/country fields (each supported URL becomes one task; unsupported URLs are skipped, and if none is supported the run stops with an input error). (default: [])
  • includeDetails — Fetch the full company profile for every result (D-U-N-S number, website, phone, revenue history, employee counts, industries, principals). (default: true)
  • enrichEmails — Visit each company's own website (taken from the full profile) and collect the public contact email addresses shown there. Requires Include Full Company Profiles. Adds run time. (default: false)
  • descriptionMaxLength — Truncate the company description to N chars. 0 = no truncation. (default: 0)
  • compact — Core fields only (for AI-agent/MCP workflows). (default: false)
  • excludeEmptyFields — Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards. (default: false)
  • ...and 17 more parameters

Input examples

Basic search — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

{
"query": "Tesla",
"maxResults": 50
}

Incremental tracking — Only emit records that changed since the previous run with this stateKey.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set emitUnchanged: true to include unchanged records as well.

{
"query": "Tesla",
"maxResults": 200,
"incrementalMode": true,
"stateKey": "tesla-tracker"
}

Compact output for AI agents — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

{
"query": "Tesla",
"maxResults": 50,
"compact": true
}

Output

Each run produces a dataset of structured company records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

Example company record

{
"listingId": "36542b49a0935267d0ec851cd15fe70cb82dbbc681dcb645abae213cf6f54136",
"searchQuery": "bakery",
"contentQuality": "full",
"detailFetched": true,
"scrapedAt": "2026-10-26T16:12:14.508Z",
"source": "dnb.com",
"contentHash": "4548a6477b5b2db339bab973972211b66133e792d4203f949cdf6393f70546dd",
"duns": "2e1d3327a0d5b4298af4271677177692",
"dunsNumber": "008908956",
"companyName": "Schnuck Markets, Inc.",
"title": "Schnuck Markets, Inc.",
"entityName": "Schnuck Markets, Inc.",
"tradeStyleNames": [
"Nancy Anne Bakery"
],
"profileUrl": "https://www.dnb.com/business-directory/company-profiles/schnuck-markets-inc.2e1d3327a0d5b4298af4271677177692",
"portalUrl": "https://www.dnb.com/business-directory/company-profiles/schnuck-markets-inc.2e1d3327a0d5b4298af4271677177692",
"sourceUrl": "https://www.dnb.com/business-directory/company-profiles/schnuck-markets-inc.2e1d3327a0d5b4298af4271677177692",
"streetAddress": "11420 Lackland Rd",
"locality": "Saint Louis",
"region": "Missouri",
"postalCode": "63146-3561",
"countryName": "United States",
"countryCode": "Saint Louis, MO, United States",
"fullAddress": "11420 Lackland Rd Saint Louis, MO, 63146-3561 United States",
"location": "Saint Louis, Missouri, United States",
"locationType": "Parent",
"website": "https://www.schnucks.com",
"phone": "(314) 994-9900",
"keyPrincipal": "Scott C Schnuck",
"contacts": [
{
"name": "Scott C Schnuck",
"position": "Chief Executive Officer"
},
{
"name": "IBOB HARDESTER CISCO",
"position": "Principal"
}
],
"contactCount": 715,
"principalCount": 4,
"salesRevenue": "$2.10 B",
"revenueUsd": 2103525033,
"revenueReliability": "Modelled",
"salesCurrency": "USD",
"revenueYear": 2026,
"employeesThisSite": 375,
"employeesThisSiteReliability": "Actual",
"employeesConsolidated": 35125,
"employeesConsolidatedReliability": "Actual",
"employeesRange": "10,000+",
"employeeGrowthRate": 125,
"employeeGrowthPeriod": "1-3 years",
"primaryIndustry": "Grocery and Convenience Retailers",
"secondaryIndustry": "Health and Personal Care Retailers",
"parentIndustry": "Retail Trade",
"competitorIndustry": "Supermarkets and Other Grocery Retailers (except Convenience Retailers)",
"industries": [
{
"name": "Grocery and Convenience Retailers",
"naics": "4451"
},
{
"name": "Health and Personal Care Retailers",
"naics": "4561"
},
{
"name": "Restaurants and Other Eating Places",
"naics": "7225"
},
{
"name": "Consumer Goods Rental",
"naics": "5322"
},
{
"name": "Ret groceries",
"sic": "5411"
}
],
"naicsCodes": [
"4451",
"4561",
"7225",
"5322"
],
"sicCodes": [
"5411"
],
"ownershipType": "Private",
"entityType": "Parent",
"isHeadquarters": true,
"isPrivate": true,
"globalHeadquarters": "Schnuck Markets, Inc.",
"similarCompanies": [
{
"name": "SCHNUCK MARKETS, INC.",
"profileUrl": "https://www.dnb.com/business-directory/company-profiles/schnuck-markets-inc.39cc715dae85899352d75c3c56264022",
"portalUrl": "https://www.dnb.com/business-directory/company-profiles/schnuck-markets-inc.39cc715dae85899352d75c3c56264022",
"location": "Saint Louis, MO, United States",
"industry": "Supermarkets and Other Grocery Retailers (except Convenience Retailers)",
"employees": "100-999"
}
],
"description": "Schnuck Markets, Inc. is part of the Grocery and Convenience Retailers industry and is located in Saint Louis Missouri United States."
}

Incremental fields

When incremental mode is on, each record also carries:

  • changeType — one of NEW, UPDATED, REAPPEARED.
  • isRepost, repostOfId, repostDetectedAt — populated when a new listing matches the tracked content of a previously expired one. Set skipReposts: true to drop detected reposts from the output.

How to scrape dnb.com

  1. Go to D&B Business Directory Scraper in Apify Console.
  2. Enter a search keyword and optional location filter.
  3. Set maxResults to control how many results you need.
  4. Keep includeDetails on (the default) for full descriptions, contact info, or turn it off for faster, cheaper runs.
  5. Click Start and wait for the run to finish.
  6. Export the dataset as JSON, CSV, or Excel.

Use cases

  • Extract company data from dnb.com for market research and competitive analysis.
  • Monitor new and changed records on scheduled runs without processing the full dataset every time.
  • Use structured location data for regional analysis, mapping, and geo-targeting.
  • Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
  • Export clean, structured data to dashboards, spreadsheets, or data warehouses.

How much does it cost to scrape dnb.com?

D&B Business Directory Scraper uses pay-per-event pricing. You pay a small fee when the run starts and then for each result that is actually produced.

  • Run start: $0.0045 per run
  • Per result: $0.0045 per company record

Example costs:

  • 10 results: $0.049
  • 25 results: $0.12
  • 100 results: $0.45
  • 200 results: $0.9
  • 500 results: $2.25

Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of records that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 records per run, daily polling (30 runs/month). Costs scale linearly with the number of records.

Churn rateFull re-scrape run costIncremental run costSavings vs full re-scrapeMonthly cost after baseline
5% — stable niche query$1.13$0.06$1.07 (95%)$1.82
15% — moderate broad query$1.13$0.17$0.96 (85%)$5.20
30% — high-volume aggregator$1.13$0.34$0.79 (70%)$10.26

Full re-scrape monthly cost at the same cadence: $33.88. First month with incremental costs $2.89 / $6.15 / $11.05 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage is included in the per-result fee shown above.

FAQ

How many results can I get from dnb.com?

The number of results depends on the search query and available records on dnb.com. Use the maxResults parameter to control how many results are returned per run.

Does D&B Business Directory Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed records on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

Can I integrate D&B Business Directory Scraper with other apps?

Yes. D&B Business Directory Scraper works with Apify's integrations to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

Can I use D&B Business Directory Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the Apify API. Client libraries are available for JavaScript, Python, and other languages.

Can I use D&B Business Directory Scraper through an MCP Server?

Yes. Apify provides an MCP Server that lets AI assistants and agents call this actor directly. Use compact mode, descriptionMaxLength, a single descriptionFormat, and excludeEmptyFields to keep payloads manageable for LLM context windows.

This actor extracts publicly available data from dnb.com. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

Your feedback

If you have questions, need a feature, or found a bug, please open an issue on the actor's page in Apify Console. Your feedback helps us improve.

You might also like

Getting started with Apify

New to Apify? Create a free account with $5 credit — no credit card required.

  1. Sign up — $5 platform credit included
  2. Open this actor and configure your input
  3. Click Start — export results as JSON, CSV, or Excel

Need more later? See Apify pricing.

Disclaimer

This actor accesses only publicly available data on dnb.com. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with D&B Business Directory's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by D&B Business Directory or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

Search keywords

dnb scraper, dnb api, apify dnb, dnb data extraction, d&b business directory scraper, d&b business directory api, apify d&b business directory, d&b business directory data extraction, dnb.com scraper, dnb.com data, dnb.com api, d&b business directory united states, d&b business directory united states scraper, d&b business directory canada, d&b business directory canada scraper, d&b business directory united kingdom, d&b business directory united kingdom scraper, d&b business directory ireland, d&b business directory ireland scraper, d&b business directory germany, d&b business directory germany scraper, d&b business directory france, d&b business directory france scraper, d&b business directory netherlands, d&b business directory netherlands scraper, d&b business directory spain, d&b business directory spain scraper, d&b business directory italy, d&b business directory italy scraper, d&b business directory sweden, d&b business directory sweden scraper, d&b business directory denmark, d&b business directory denmark scraper, d&b business directory norway, d&b business directory norway scraper, d&b business directory australia, d&b business directory australia scraper, d&b business directory india, d&b business directory india scraper, d&b business directory japan.